/* ============================================================
   Appros-Energies — Site vitrine
   www.appros-energies.fr
   ============================================================ */

:root {
  --navy:               #0b2e4f;
  --navy-dark:          #081f38;
  --blue:               #155ca6;
  --blue-2:             #1c5d8c;
  --brand-blue:         #0080bf;
  --brand-blue-dark:    #045a86;
  --brand-blue-darkest: #04263b;
  --teal:               #0080bf;
  --teal-dark:          #045a86;
  --amber:              #e8a33d;
  --ink:                #1c2a36;
  --ink-soft:           #4a5a68;
  --paper:              #f6f8fa;
  --white:              #ffffff;
  --line:               #e2e8ef;
  --radius:             14px;
  --shadow:    0 10px 30px rgba(11,46,79,0.10);
  --shadow-sm: 0 4px  14px rgba(11,46,79,0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.55; }
a     { color: inherit; text-decoration: none; }
img   { max-width: 100%; display: block; }
h1,h2,h3 { margin: 0 0 .5em 0; line-height: 1.2; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
section { padding: 56px 0; }

/* ── Typographie utilitaire ─────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--teal-dark);
  background: rgba(0,128,191,0.10);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}

.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head h2 { font-size: 2rem; color: var(--navy); }
.section-head p  { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }
.section-head.wide { max-width: none; }
.section-head.wide p { max-width: 680px; }
@media (min-width: 760px) { .section-head.wide h2 { white-space: nowrap; } }

/* ── Barre d'ancres rapides ─────────────────────────────────── */
.jumpnav { background: var(--white); border-bottom: 1px solid var(--line); }
.jumpnav-inner { display: flex; overflow-x: auto; scrollbar-width: none; }
.jumpnav-inner::-webkit-scrollbar { display: none; }
.jumpnav-inner a {
  display: flex; align-items: center; gap: 6px;
  padding: 13px 20px; font-size: .85rem; font-weight: 600;
  color: var(--ink-soft); white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s; text-decoration: none;
}
.jumpnav-inner a:hover { color: var(--teal-dark); border-bottom-color: var(--teal); }
.jn-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0,128,191,0.10); color: var(--teal-dark);
  font-size: .7rem; font-weight: 800; flex-shrink: 0;
}

/* ── Boutons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary  { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover  { background: var(--teal-dark); transform: translateY(-2px); }
.btn-ghost    { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-ghost:hover    { background: rgba(255,255,255,0.12); }
.btn-outline  { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover  { background: var(--navy); color: #fff; }

/* ── Header ─────────────────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.logo     { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 36px; width: auto; display: block; }
@media (max-width: 420px) { .logo-img { height: 28px; } }

nav ul  { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
nav a   { font-size: .94rem; font-weight: 600; color: var(--ink-soft); transition: color .15s ease; }
nav a:hover { color: var(--teal-dark); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-cta  { display: none; }
.burger   { display: inline-flex; font-size: 1.4rem; background: none; border: none; color: var(--navy); cursor: pointer; }
.nav-links { display: flex; }
@media (min-width: 860px) { .nav-cta { display: inline-flex; } .burger { display: none; } }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.08), transparent 40%),
    linear-gradient(160deg, var(--brand-blue) 0%, var(--brand-blue-dark) 60%, var(--brand-blue-darkest) 100%);
  color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,128,191,0.35), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; left: -160px; bottom: -160px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,163,61,0.18), transparent 70%);
}
.hero-inner { position: relative; z-index: 2; }
.hero .eyebrow { background: rgba(255,255,255,0.12); color: #bfe0f5; }
.hero h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  font-weight: 800; letter-spacing: -.01em;
}
@media (min-width: 640px) { .hero h1 { white-space: nowrap; } }
.hero h1 span { color: #7fc4f0; }
.hero p.lead  { font-size: 1.15rem; color: #cfe0ec; max-width: 600px; margin: 18px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 46px; }

.quote-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius); padding: 22px 26px; max-width: 560px;
  font-style: italic; color: #e7f0f6; font-size: .98rem;
}
.quote-card cite { display: block; margin-top: 10px; font-style: normal; font-weight: 700; color: #7fc4f0; font-size: .82rem; letter-spacing: .04em; }

.stat-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-top: 32px; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 22px;
}
.stat b    { display: block; font-size: 1.7rem; color: #fff; }
.stat span { font-size: .85rem; color: #a9c1d1; }

/* ── Valeurs ────────────────────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.value-card  {
  text-align: center; padding: 36px 24px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.value-badge {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--teal));
}
.value-card h3 { color: var(--navy); font-size: 1.15rem; }
.value-card p  { color: var(--ink-soft); font-size: .94rem; }

.model-highlight {
  margin-top: 30px;
  background: linear-gradient(120deg, rgba(0,128,191,0.08), rgba(11,46,79,0.05));
  border: 1px solid rgba(0,128,191,0.25); border-radius: var(--radius);
  padding: 22px 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.model-highlight b { color: var(--teal-dark); }

/* ── Courtier vs conseil ────────────────────────────────────── */
.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.compare-col  { border-radius: var(--radius); padding: 28px 26px; border: 1px solid var(--line); }
.compare-col h3 { font-size: 1.1rem; margin-bottom: 16px; }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.compare-col li { position: relative; padding-left: 20px; font-size: .92rem; color: var(--ink-soft); }
.compare-col li::before { content: "\2715"; position: absolute; left: 0; top: 1px; font-weight: 800; }
.compare-bad  { background: #fdf4f3; border-color: #f3d9d6; }
.compare-bad h3 { color: #b0473f; }
.compare-bad li::before { color: #b0473f; }
.compare-good { background: rgba(0,128,191,0.06); border-color: rgba(0,128,191,0.25); }
.compare-good h3 { color: var(--teal-dark); }
.compare-good li::before { content: "\2713"; color: var(--teal-dark); }

.broker-alert {
  margin-top: 28px; display: flex; gap: 18px; align-items: flex-start;
  background: #fdf6ea; border: 1px solid #f0dcb0;
  border-radius: var(--radius); padding: 24px 26px;
}
@media (max-width: 640px) { .broker-alert { flex-direction: column; } }
.broker-alert-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(232,163,61,0.18); color: #a5680f;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex: none;
}
.broker-alert h3 { font-size: 1.02rem; color: #7a4a0a; margin: 0 0 8px; }
.broker-alert p  { font-size: .92rem; color: #5c4a30; margin: 0 0 12px; }
.broker-alert-question {
  background: rgba(255,255,255,0.6); border-left: 3px solid var(--amber);
  padding: 10px 14px; font-style: italic; margin: 0 !important;
}

/* ── Activit&eacute;s ─────────────────────────────────────────────────── */
.activities { background: var(--white); }
.why-row {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 22px;
  margin-bottom: 36px; padding-bottom: 32px; border-bottom: 1px solid var(--line);
}
@media (max-width: 860px) { .why-row { grid-template-columns: 1fr; } }
.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-num  {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0,128,191,0.10); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem; flex: none;
}
.why-item b    { display: block; color: var(--navy); font-size: .96rem; margin-bottom: 4px; }
.why-item span { color: var(--ink-soft); font-size: .88rem; }

.activity-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media (max-width: 900px) { .activity-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .activity-grid { grid-template-columns: 1fr; } }
.activity-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; background: var(--paper);
  transition: transform .15s ease, box-shadow .15s ease;
}
.activity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.activity-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 18px;
  background: var(--navy); color: #fff;
}
.activity-card:nth-child(2) .activity-icon { background: var(--teal); }
.activity-card:nth-child(3) .activity-icon { background: var(--amber); }
.activity-card:nth-child(4) .activity-icon { background: #b0473f; }
.activity-card h3 { font-size: 1.08rem; color: var(--navy); }
.activity-card p  { color: var(--ink-soft); font-size: .94rem; margin: 0; }

/* ── Cible / Situation client ───────────────────────────────── */
.target { background: var(--brand-blue-darkest); color: #fff; }
.target .section-head p  { color: #b9cbd8; }
.target .section-head h2 { color: #fff; }

.case-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; } }
.case-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 26px 24px;
}
.case-card.case-card-wide { grid-column: span 2; }
@media (max-width: 900px) { .case-card.case-card-wide { grid-column: span 1; } }
.case-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,128,191,0.25); color: #7fc4f0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .95rem; margin-bottom: 14px;
}
.case-card h3 { color: #fff; font-size: 1.08rem; }
.case-card p  { color: #c3d6e2; font-size: .92rem; margin: 0; }
.case-points  { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.case-points li { position: relative; padding-left: 16px; font-size: .86rem; color: #a9c1d1; }
.case-points li::before { content: "\2013"; position: absolute; left: 0; top: 0; color: #7fc4f0; font-weight: 800; }

.price-factors { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 12px; }
.price-factors li {
  display: grid; grid-template-columns: 26px 1fr;
  grid-template-areas: "rank label" "rank bar";
  column-gap: 12px; align-items: center;
}
.pf-rank  { grid-area: rank; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .78rem; }
.pf-label { grid-area: label; color: #fff; font-size: .92rem; font-weight: 600; }
.pf-bar   { grid-area: bar; display: block; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--teal), rgba(127,196,240,0.35)); margin-top: 6px; }
.case-callout { background: rgba(232,163,61,0.12); border: 1px solid rgba(232,163,61,0.35); border-radius: 12px; padding: 14px 16px; color: #ffe4b8 !important; font-size: .9rem !important; }

/* ── Offre ──────────────────────────────────────────────────── */
.offer {
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff; border-radius: 24px; margin: 0 24px; padding: 52px 44px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; box-shadow: var(--shadow);
}
.offer h2 { font-size: 1.7rem; margin-bottom: 10px; }
.offer p   { max-width: 520px; color: #d9f0fb; margin: 0 0 6px; }
.offer .tag {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; background: rgba(255,255,255,0.18);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.offer .btn-primary { background: #fff; color: var(--teal-dark); }
.offer .btn-primary:hover { background: #e6f4fb; }

/* ── Contact ────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.contact-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm);
}
.contact-card .avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; margin-bottom: 16px; font-size: 1.1rem;
}
.contact-card h3   { margin-bottom: 2px; color: var(--navy); font-size: 1.1rem; }
.contact-card .role { color: var(--ink-soft); font-size: .85rem; margin-bottom: 16px; }
.contact-card a.line { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--ink); margin-bottom: 8px; }
.contact-card a.line:hover { color: var(--teal-dark); }
.contact-note { text-align: center; margin-top: 36px; color: var(--ink-soft); font-size: .92rem; }
.contact-note a { color: var(--teal-dark); font-weight: 700; }

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--brand-blue-darkest); color: #a9c1d1;
  padding: 36px 0; font-size: .88rem;
}
.footer-inner  { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-inner a { color: #cfe0ec; font-weight: 600; }
.footer-inner a:hover { color: #fff; }
.footer-brand  { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-logo   { height: 26px; width: auto; opacity: .95; }

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .offer  { margin: 0 12px; padding: 34px 26px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
