/* HTE-ELECTRICITE — styles du site
   Vous pouvez modifier les couleurs ci-dessous. */
:root {
  --navy: #10243a;
  --blue: #1769aa;
  --cyan: #35c3dc;
  --yellow: #ffd91a;
  --light: #f3f7fb;
  --text: #263648;
  --muted: #637386;
  --white: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--text); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { width: min(1160px, calc(100% - 40px)); margin: auto; }
.topbar { background: var(--navy); color: #e2edf7; padding: 8px 20px; font-size: .88rem; display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
header { background: #fff; position: sticky; top: 0; z-index: 20; box-shadow: 0 3px 18px #10243a12; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 900; line-height: 1.15; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--navy); background: var(--yellow); font-size: 1.9rem; }
.brand small { display: block; letter-spacing: 2px; font-size: .66rem; color: var(--blue); margin-top: 5px; }
nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: .94rem; font-weight: 700; }
nav a:hover, nav a.active { color: var(--blue); }
.nav-button, .btn { display: inline-block; padding: 12px 18px; border-radius: 8px; font-weight: 800; border: 0; cursor: pointer; }
.nav-button, .btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover, .nav-button:hover { background: #0f528b; }
.btn-light { color: var(--navy); background: #fff; }
.hero { background: linear-gradient(110deg, #0a1d31ee, #124a71b8), url('https://images.unsplash.com/photo-1621905251918-48416bd8575a?auto=format&fit=crop&w=2000&q=85') center/cover; color: #fff; }
.hero-inner { padding: 88px 0; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 45px; }
.eyebrow { color: var(--blue); font-weight: 900; text-transform: uppercase; letter-spacing: 2px; font-size: .78rem; }
.hero .eyebrow { color: var(--yellow); }
h1 { font-size: clamp(2.4rem, 5vw, 4.3rem); line-height: 1.08; letter-spacing: -1.5px; margin: 12px 0 20px; }
h1 span { color: var(--yellow); }
h2 { color: var(--navy); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.2; margin: 8px 0 16px; }
h3 { color: var(--navy); line-height: 1.25; }
.hero p { color: #e4edf6; font-size: 1.1rem; max-width: 650px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 25px; }
.hero-panel { padding: 28px; border-radius: 16px; border: 1px solid #ffffff40; background: #ffffff12; backdrop-filter: blur(6px); }
.hero-panel h2 { color: #fff; font-size: 1.35rem; }
.checkline { margin: 12px 0; color: #eef6ff; }
.checkline b { color: var(--yellow); margin-right: 8px; }
section { padding: 70px 0; }
.section-title { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-title p, .muted { color: var(--muted); }
.light-section { background: var(--light); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { padding: 26px; border: 1px solid #e0e9f1; background: #fff; border-radius: 14px; box-shadow: 0 8px 24px #10243a08; }
.icon { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; background: #e5f7fb; font-size: 1.7rem; }
.card p { color: var(--muted); }
.promo { text-align: center; }
.promo img { display: block; width: min(800px, 100%); margin: auto; border-radius: 16px; box-shadow: 0 12px 35px #10243a20; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 42px; }
.photo { min-height: 340px; border-radius: 16px; background: url('https://images.unsplash.com/photo-1621905252507-b35492cc74b4?auto=format&fit=crop&w=1200&q=85') center/cover; }
.bullets { padding: 0; list-style: none; }
.bullets li { margin: 12px 0; font-weight: 700; color: var(--navy); }
.bullets li::before { content: "✓"; color: var(--blue); font-weight: 900; margin-right: 10px; }
.cta { background: linear-gradient(115deg, var(--navy), var(--blue)); color: white; }
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.cta h2 { color: white; margin-bottom: 8px; }
.cta p { color: #dce9f5; margin: 0; }
.page-hero { background: var(--navy); color: #fff; padding: 54px 0; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.3rem); margin-bottom: 10px; }
.page-hero p { color: #dce9f5; margin: 0; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; }
.contact-box { background: var(--light); border-radius: 14px; padding: 28px; }
.contact-item { margin: 20px 0; }
.contact-item strong { display: block; color: var(--navy); }
form { display: grid; gap: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
input, textarea, select { width: 100%; padding: 13px; border: 1px solid #d5e0ea; border-radius: 8px; font: inherit; }
textarea { min-height: 130px; resize: vertical; }
.note { color: var(--muted); font-size: .82rem; }
footer { background: #091a2b; color: #cbd8e5; padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer strong { color: #fff; }
footer a:hover { color: var(--yellow); }
@media (max-width: 850px) {
  .nav { align-items: flex-start; flex-direction: column; }
  nav { gap: 12px 17px; }
  .hero-inner, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 62px 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .cta .container { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 30px, 1160px); }
  .grid-3, .form-row { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .topbar { font-size: .78rem; }
}
