/* ==========================================================================
   VoltEco — feuille de style commune
   Palette issue du logo : vert énergie, bleu photovoltaïque, soleil orange
   ========================================================================== */

:root {
  --green: #2e8b47;
  --green-dark: #226f38;
  --green-light: #e6f4ea;
  --blue: #1461a8;
  --blue-dark: #0e4d8a;
  --navy: #0f2b46;
  --orange: #f7a823;
  --orange-dark: #e08e0b;
  --ink: #1c2b3a;
  --muted: #5b6b7b;
  --bg: #f5f8fb;
  --card: #ffffff;
  --line: #e3eaf1;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 43, 70, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 43, 70, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; }

/* ---------- Layout ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

section { padding: 72px 0; }

.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

h1, h2, h3 { line-height: 1.2; font-weight: 800; color: var(--navy); }

h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.6vw, 38px); }
h3 { font-size: 20px; }

.section-head p { color: var(--muted); font-size: 17px; margin-top: 12px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-align: center;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15, 43, 70, 0.18); }

.btn-primary {
  background: linear-gradient(135deg, #35a052, var(--green-dark));
  color: #fff;
}

.btn-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  backdrop-filter: blur(4px);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.24); }

.btn-outline {
  background: #fff;
  border-color: var(--green);
  color: var(--green-dark);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 54px; width: auto; }
.brand-name { font-weight: 800; font-size: 20px; }
.brand-name .v { color: var(--green-dark); }
.brand-name .e { color: var(--blue); }

.main-nav { display: flex; align-items: center; gap: 26px; }

.main-nav a {
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.main-nav a:hover, .main-nav a.active { color: var(--green-dark); border-color: var(--green); }

.main-nav .nav-highlight { color: var(--orange-dark); }
.main-nav .nav-highlight:hover, .main-nav .nav-highlight.active { color: var(--orange-dark); border-color: var(--orange); }

.main-nav .btn { padding: 11px 22px; font-size: 14.5px; border-bottom: none; }
.main-nav .btn:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 30px;
  color: var(--navy);
  cursor: pointer;
  line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 30, 52, 0.82) 0%, rgba(13, 43, 70, 0.55) 55%, rgba(15, 43, 70, 0.25) 100%);
}

.hero .wrap { position: relative; z-index: 2; }

.hero-content { max-width: 640px; padding: 90px 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 22px;
}

.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .accent { color: #8fe06a; }

.hero p.lead { font-size: 19px; color: rgba(255, 255, 255, 0.92); margin-bottom: 32px; max-width: 540px; }

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Barre de confiance ---------- */
.trust-bar { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0; }

.trust-items {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; color: var(--navy); }

.trust-item .dot {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

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

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card .icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.card .icon.blue { background: #e3eefb; }
.card .icon.orange { background: #fdf1da; }

.card img.card-illu { width: 110px; margin: 0 auto 18px; }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

.card ul { margin: 14px 0 0 18px; color: var(--muted); font-size: 15px; }
.card ul li { margin-bottom: 8px; }
.card ul li::marker { color: var(--green); }

/* Cartes avec bouton d'action aligné en bas */
.card-cta { display: flex; flex-direction: column; }
.card-cta .card-action { margin-top: auto; padding-top: 22px; }
.card-cta .btn { width: 100%; padding: 13px 18px; font-size: 15px; }

/* ---------- Partenaires & conseillers ---------- */
.avatar-initials {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #35a052, var(--green-dark));
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px rgba(46, 139, 71, 0.3);
}

.avatar-initials.orange { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); box-shadow: 0 10px 22px rgba(247, 168, 35, 0.3); }

.badge-rge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.badge-rge.orange { background: #fdf1da; color: var(--orange-dark); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }

.chips span {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 999px;
}

.card-placeholder {
  border: 2px dashed #c4d2df;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.card-placeholder .avatar-initials {
  background: #e6edf4;
  color: var(--muted);
  box-shadow: none;
}

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.steps.four { grid-template-columns: repeat(4, 1fr); }

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px 30px;
  box-shadow: var(--shadow);
}

.step .num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #35a052, var(--green-dark));
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(46, 139, 71, 0.35);
}

.step h3 { margin-bottom: 8px; font-size: 18px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Section réseau (fond sombre) ---------- */
.band {
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center;
  border-radius: 0;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9, 28, 48, 0.9), rgba(14, 61, 42, 0.82));
}

.band .wrap { position: relative; z-index: 2; }

.band h2, .band h3 { color: #fff; }
.band p { color: rgba(255, 255, 255, 0.88); }

.band .eyebrow { background: rgba(255, 255, 255, 0.14); color: #ffd27a; }

.band-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }

.band-list { list-style: none; margin-top: 22px; }

.band-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 16px;
}

.band-list .check {
  width: 26px; height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

/* ---------- Panneau chiffres / points forts ---------- */
.panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 34px;
  backdrop-filter: blur(6px);
}

.panel .row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.panel .row:last-child { margin-bottom: 0; }
.panel .row .ico { font-size: 26px; }
.panel .row strong { display: block; font-size: 16px; }
.panel .row span { color: rgba(255, 255, 255, 0.8); font-size: 14.5px; }

/* ---------- Split 2 colonnes ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.split .visual img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ---------- Fondateurs ---------- */
.founder { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; margin-bottom: 56px; }
.founder:last-child { margin-bottom: 0; }

.founder img {
  width: 240px; height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.founder .role { color: var(--green-dark); font-weight: 800; font-size: 15px; margin: 4px 0 16px; }
.founder p { color: var(--muted); margin-bottom: 12px; }

/* ---------- Formulaires ---------- */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 44px;
  max-width: 760px;
  margin: 0 auto;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }

.field label { font-weight: 700; font-size: 14px; color: var(--navy); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid #d5dee7;
  font-size: 15px;
  font-family: inherit;
  background: #fbfcfe;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(46, 139, 71, 0.12);
  background: #fff;
}

.form-card .btn { width: 100%; margin-top: 24px; }

.form-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 16px; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- CTA final ---------- */
.cta-final {
  background: linear-gradient(135deg, var(--navy), #123a5e);
  color: #fff;
  text-align: center;
  border-radius: 24px;
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
}

.cta-final::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 168, 35, 0.35), transparent 70%);
}

.cta-final h2 { color: #fff; margin-bottom: 14px; }
.cta-final p { color: rgba(255, 255, 255, 0.85); max-width: 560px; margin: 0 auto 30px; }
.cta-final .hero-ctas { justify-content: center; }

/* ---------- Page hero (pages internes) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #14406b 60%, #1a5a8f 100%);
  color: #fff;
  padding: 80px 0 70px;
  text-align: center;
}

.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, 0.85); max-width: 640px; margin: 0 auto; font-size: 18px; }
.page-hero .eyebrow { background: rgba(255, 255, 255, 0.14); color: #ffd27a; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.8); padding: 56px 0 0; margin-top: 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 40px;
}

.footer-brand .brand-name { font-size: 24px; }
.footer-brand .brand-name .v { color: #7ec96a; }
.footer-brand .brand-name .e { color: #6ab0e8; }
.footer-brand .tagline { color: var(--orange); font-weight: 700; font-size: 14px; margin: 4px 0 14px; }
.footer-brand p { font-size: 14.5px; }

.site-footer h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }

.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, 0.8); font-size: 15px; }
.site-footer a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  font-size: 13.5px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Prose (mentions légales…) ---------- */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 22px; margin: 36px 0 12px; }
.prose p, .prose li { color: var(--muted); font-size: 15.5px; margin-bottom: 10px; }
.prose ul { margin-left: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards, .cards.four { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps.four { grid-template-columns: repeat(2, 1fr); }
  .band-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  section { padding: 56px 0; }

  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 290px; height: 100vh;
    background: rgba(12, 32, 54, 0.97);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: flex-start;
    padding: 96px 34px;
    gap: 24px;
    transition: right 0.35s ease;
    z-index: 60;
  }

  .main-nav a { color: #fff; font-size: 19px; }
  .main-nav.open { right: 0; }

  .nav-toggle { display: block; z-index: 70; position: relative; }

  .cards, .cards.two, .cards.four, .steps, .steps.four { grid-template-columns: 1fr; }

  .hero { min-height: 540px; }
  .hero-content { padding: 70px 0; }

  .trust-items { flex-direction: column; align-items: flex-start; gap: 14px; }

  .founder { grid-template-columns: 1fr; }
  .founder img { width: 200px; height: 230px; }

  .form-card { padding: 30px 22px; }
  .form-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }

  .footer-bottom { flex-direction: column; text-align: center; }
}
