/* ============================================================
   AB CONFORT ELEC — abconfortelec.fr
   Feuille de style principale — design type "energia"
   ============================================================ */

:root {
  --green-dark: #395f35;
  --green: #59cf4c;
  --green-icon: #4d8045;
  --green-soft: #eef6ec;
  --beige: #e5dad7;
  --dark: #263745;
  --darker: #010e2a;
  --heading: #0b022b;
  --text: #5f6b76;
  --orange: #ff6f00;
  --light: #f6f6f4;
  --border: #eaeaea;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(11, 2, 43, .08);
  --shadow-lg: 0 18px 45px rgba(11, 2, 43, .14);
  --radius: 10px;
  --grad: linear-gradient(100deg, var(--green-dark), var(--green));
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { color: var(--heading); line-height: 1.3; font-weight: 700; font-family: 'Poppins', sans-serif; }

a { text-decoration: none; color: inherit; transition: color .25s; }
a:hover { color: var(--orange); }
a:active { color: #ffae00; }

ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

section { padding: 85px 0; }

/* ---------- Boutons (signature energia) ---------- */
.btn {
  display: inline-block;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-transform: capitalize;
  padding: 12px 35px;
  border-radius: 30px 0 30px 30px;
  border: none;
  cursor: pointer;
  transition: all .3s linear;
  font-family: inherit;
  text-align: center;
}
.btn:hover {
  color: #fff;
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 12px 26px rgba(57, 95, 53, .38);
}
.btn.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn.btn-outline:hover { background: #fff; color: var(--dark); box-shadow: none; }
.btn.btn-sm { padding: 9px 26px; font-size: 13.5px; }

/* ---------- Barre supérieure (beige) ---------- */
.topbar {
  background: var(--beige);
  color: var(--dark);
  font-size: 15px;
  font-weight: 700;
  padding: 9px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 10px; color: var(--dark); }
.topbar-item svg { width: 15px; height: 15px; fill: var(--green-icon); flex-shrink: 0; }
.topbar a { color: var(--dark); }
.topbar a:hover { color: var(--orange); }
.topbar-right { font-size: 13px; }

/* ---------- En-tête ---------- */
header.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 14px rgba(11, 2, 43, .08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
.logo { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.logo-badge {
  width: 62px; height: 62px; border-radius: 18px 0 18px 18px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(57, 95, 53, .35);
}
.logo-badge svg { width: 30px; height: 30px; fill: #fff; }
.logo-text { line-height: 1.15; }
.logo-text .logo-name {
  font-weight: 800; font-size: 22px; color: var(--heading);
  letter-spacing: .3px; display: block;
}
.logo-text .logo-name em { font-style: normal; color: var(--green-dark); }
.logo-text .logo-tag {
  font-size: 10.5px; color: #8a97a5; letter-spacing: 1.6px;
  text-transform: uppercase; display: block;
}

nav.main-nav > ul { display: flex; align-items: center; gap: 6px; }
nav.main-nav > ul > li { position: relative; }
nav.main-nav > ul > li > a {
  display: block;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 17px;
  color: var(--heading);
}
nav.main-nav > ul > li > a:hover,
nav.main-nav > ul > li > a.active { color: var(--orange); }

.has-sub > a::after {
  content: "";
  display: inline-block;
  margin-left: 8px;
  border: solid var(--heading);
  border-width: 0 2px 2px 0;
  padding: 2.5px;
  transform: rotate(45deg) translateY(-2px);
  transition: border-color .25s;
}
.has-sub > a:hover::after { border-color: var(--orange); }

.sub-menu {
  position: absolute;
  top: 100%; left: 0;
  min-width: 320px;
  background: #fff;
  border-top: 3px solid var(--green);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .28s;
  z-index: 100;
}
.has-sub:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu li a {
  display: block;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--heading);
  text-transform: uppercase;
  border-bottom: 1px solid #f2f2f2;
}
.sub-menu li:last-child a { border-bottom: none; }
.sub-menu li a:hover { background: var(--green-soft); color: var(--green-dark); padding-left: 28px; }

.header-cta { flex-shrink: 0; text-transform: uppercase; }

/* Burger mobile */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  width: 27px; height: 3px; border-radius: 2px;
  background: var(--heading);
  transition: all .3s;
}
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Héros vidéo (accueil) ---------- */
.hero-video {
  position: relative;
  height: 88vh;
  min-height: 560px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  padding: 0;
}
.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(1, 14, 42, .45), rgba(1, 14, 42, .55));
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}
.hero-content h1 {
  color: #fff;
  font-size: clamp(30px, 4.8vw, 58px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 34px;
  text-shadow: 0 4px 24px rgba(1, 14, 42, .5);
}
.hero-content h1 em { font-style: normal; color: var(--green); }
.hero-content .btn { font-size: 16px; padding: 14px 42px; }

/* ---------- Bandeau titre pages internes ---------- */
.page-hero {
  position: relative;
  padding: 95px 0;
  background: var(--dark);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(1, 14, 42, .9), rgba(1, 14, 42, .5));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 3.8vw, 46px); font-weight: 800; margin-bottom: 12px; }
.breadcrumb { color: #b9c5d1; font-size: 13.5px; }
.breadcrumb a { color: var(--green); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Titres de sections ---------- */
.sec-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.sec-head.left { margin: 0 0 40px; text-align: left; }
.sec-kicker {
  display: inline-block;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sec-head h2 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; margin-bottom: 14px; }
.sec-head p { font-size: 15.5px; }

/* ---------- Cartes solutions (carrousel layout3) ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 30px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-img { height: 225px; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.08); }
.card-img.card-illu {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--dark) 0%, #35505f 60%, var(--green-dark) 140%);
}
.card-img.card-illu svg { width: 96px; height: 96px; }
.card-body { padding: 28px 26px 32px; display: flex; flex-direction: column; flex: 1; text-align: center; }
.card-body h3 { font-size: 17px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .5px; }
.card-body h3 a:hover { color: var(--orange); }
.card-body p { font-size: 14px; margin-bottom: 22px; flex: 1; }
.card-link { align-self: center; }

/* ---------- Section deux colonnes ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-img { position: relative; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: 440px; object-fit: cover; }
.split-img .xp-chip {
  position: absolute; bottom: -22px; right: 26px;
  background: var(--grad);
  color: #fff;
  padding: 18px 28px;
  border-radius: 22px 0 22px 22px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.xp-chip b { display: block; font-size: 30px; font-weight: 800; line-height: 1.1; }
.xp-chip span { font-size: 12.5px; }

/* Duo d'images décalées (Qui sommes-nous) */
.about-imgs { position: relative; padding: 0 60px 60px 0; }
.about-imgs .img-main {
  width: 100%; height: 420px; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-imgs .img-over {
  position: absolute;
  right: 0; bottom: 0;
  width: 55%; height: 250px; object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
}

.checklist { margin: 22px 0 30px; }
.checklist li {
  padding-left: 34px;
  position: relative;
  margin-bottom: 12px;
  font-size: 15px;
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 7px 0 7px 7px;
  background: var(--green-soft);
}
.checklist li::after {
  content: "";
  position: absolute; left: 5px; top: 8px;
  width: 9px; height: 5px;
  border-left: 2.5px solid var(--green-dark);
  border-bottom: 2.5px solid var(--green-dark);
  transform: rotate(-45deg);
}

/* ---------- Bandeau LES AIDES DE L'ÉTAT ---------- */
.aides-band {
  position: relative;
  background: var(--dark) center/cover no-repeat;
  padding: 100px 0;
}
.aides-band::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(1, 14, 42, .93), rgba(1, 14, 42, .78));
}
.aides-band .container { position: relative; z-index: 2; max-width: 880px; text-align: center; }
.aides-band .sec-kicker { color: var(--green); }
.aides-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; margin-bottom: 20px; text-transform: uppercase; }
.aides-band p { color: #cdd6df; margin-bottom: 32px; }

/* ---------- Chiffres clés ---------- */
.stats { background: var(--dark); padding: 64px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}
.stat b { display: block; font-size: 42px; font-weight: 800; color: var(--green); line-height: 1.1; }
.stat span { color: #b9c5d1; font-size: 14.5px; }

/* ---------- Étapes ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px;
  position: relative;
  transition: transform .3s, box-shadow .3s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  width: 50px; height: 50px;
  border-radius: 16px 0 16px 16px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; }

/* ---------- Bandeau CTA ---------- */
.cta-band {
  background: linear-gradient(100deg, var(--darker) 20%, var(--dark) 100%);
  border-radius: 18px;
  padding: 58px 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(89, 207, 76, .3), transparent 70%);
}
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.8vw, 32px); margin-bottom: 8px; }
.cta-band p { color: #c3cfda; max-width: 560px; }
.cta-band .btn { position: relative; z-index: 2; }

/* ---------- Encarts avantages / grille icônes ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}
.feat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .3s, box-shadow .3s;
}
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feat .ico {
  width: 56px; height: 56px;
  border-radius: 18px 0 18px 18px;
  background: var(--green-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feat .ico svg { width: 26px; height: 26px; fill: var(--green-dark); }
.feat h3 { font-size: 16.5px; margin-bottom: 8px; }
.feat p { font-size: 14px; }

/* ---------- Bloc contact sombre (accueil) ---------- */
.contact-band { background: var(--dark); color: #c3cfda; }
.contact-band-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.contact-band h2 { color: #fff; font-size: clamp(24px, 3vw, 36px); margin-bottom: 22px; }
.contact-band .contact-line { display: flex; gap: 16px; margin-bottom: 20px; }
.contact-band .contact-line .ico {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 14px 0 14px 14px;
  background: rgba(89, 207, 76, .14);
  display: flex; align-items: center; justify-content: center;
}
.contact-band .contact-line .ico svg { width: 20px; height: 20px; fill: var(--green); }
.contact-band .contact-line b { color: #fff; display: block; font-size: 14.5px; margin-bottom: 2px; }
.contact-band .contact-line span, .contact-band .contact-line a { font-size: 14px; color: #c3cfda; }
.contact-band .contact-line a:hover { color: var(--green); }

.dark-form {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 40px 36px;
}
.dark-form h3 { color: #fff; font-size: 24px; margin-bottom: 4px; }
.dark-form > p { font-size: 13.5px; margin-bottom: 24px; color: #9fb0bf; }
.dark-form input, .dark-form textarea, .dark-form select {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 4px;
  color: #fff;
  height: 56px;
  padding: 0 20px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .3s;
  margin-bottom: 16px;
}
.dark-form textarea { height: 120px; padding: 14px 20px; resize: vertical; }
.dark-form input::placeholder, .dark-form textarea::placeholder { color: #8a97a5; }
.dark-form input:focus, .dark-form textarea:focus { border-color: var(--green); }
.dark-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Page solution : contenu long ---------- */
.article-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.article h2 { font-size: 27px; margin: 38px 0 14px; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 19px; margin: 26px 0 10px; }
.article p { margin-bottom: 16px; }
.article ul { margin: 0 0 18px 4px; }
.article ul li {
  padding-left: 26px; position: relative; margin-bottom: 9px;
}
.article ul li::before {
  content: "";
  position: absolute; left: 0; top: 10px;
  width: 9px; height: 9px;
  border-radius: 3px 0 3px 3px;
  background: var(--green);
}
.article img.article-img {
  border-radius: var(--radius);
  margin: 10px 0 26px;
  width: 100%;
  height: 380px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.article .illu-band {
  border-radius: var(--radius);
  margin: 10px 0 26px;
  height: 300px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--dark) 0%, #35505f 60%, var(--green-dark) 140%);
  box-shadow: var(--shadow);
}
.article .illu-band svg { width: 150px; height: 150px; }

.info-box {
  background: var(--green-soft);
  border-left: 4px solid var(--green-dark);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 22px 0;
  font-size: 14.5px;
}
.info-box b { color: var(--green-dark); }

/* Sidebar */
.sidebar { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 26px; }
.side-widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.side-widget h3 { font-size: 17px; margin-bottom: 16px; }
.side-nav li a {
  display: block;
  padding: 13px 16px;
  background: var(--light);
  border-radius: 6px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--heading);
}
.side-nav li a:hover, .side-nav li a.active { background: var(--grad); color: #fff; }
.side-cta {
  background: var(--dark);
  color: #c3cfda;
  text-align: center;
}
.side-cta h3 { color: #fff; }
.side-cta p { font-size: 13.5px; margin-bottom: 18px; }

/* ---------- Tableaux aides ---------- */
.table-wrap { overflow-x: auto; margin: 14px 0 26px; border-radius: 10px; box-shadow: var(--shadow); }
table.aid-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 520px; }
.aid-table th {
  background: var(--dark);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  text-align: left;
  padding: 14px 18px;
}
.aid-table td { padding: 13px 18px; font-size: 14px; border-bottom: 1px solid var(--border); }
.aid-table tr:last-child td { border-bottom: none; }
.aid-table tr:nth-child(even) td { background: var(--light); }
.aid-table .hl { color: var(--green-dark); font-weight: 700; }

.legend-chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 20px; }
.chip {
  font-size: 12.5px; font-weight: 700;
  padding: 5px 14px; border-radius: 20px;
}
.chip.blue { background: #e3efff; color: #1d5fb8; }
.chip.yellow { background: #fff6dd; color: #a97b00; }
.chip.violet { background: #f1e6fb; color: #7a3bb5; }
.chip.pink { background: #fde7ef; color: #c2337a; }

/* ---------- FAQ accordéon ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--heading);
  text-align: left;
  padding: 18px 54px 18px 22px;
  cursor: pointer;
  position: relative;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--green-dark);
  transition: transform .3s;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 22px 20px; font-size: 14.5px; }

/* ---------- Page contact ---------- */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: start; }
.contact-card {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 36px 32px;
  color: #c3cfda;
}
.contact-card h3 { color: #fff; font-size: 20px; margin-bottom: 24px; }
.contact-line { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-line .ico {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 14px 0 14px 14px;
  background: rgba(89, 207, 76, .15);
  display: flex; align-items: center; justify-content: center;
}
.contact-line .ico svg { width: 20px; height: 20px; fill: var(--green); }
.contact-line b { color: #fff; display: block; font-size: 14.5px; margin-bottom: 2px; }
.contact-line span, .contact-line a { font-size: 13.5px; }
.contact-line a:hover { color: var(--green); }

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card > p { font-size: 14px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 700; color: var(--dark); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0 18px;
  height: 54px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--heading);
  background: var(--light);
  outline: none;
  transition: border-color .25s, background .25s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--green);
  background: #fff;
}
.form-group textarea { min-height: 130px; height: auto; padding: 14px 18px; resize: vertical; }
.form-note { font-size: 12px; color: #8a97a5; margin-top: 14px; }
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}
.form-status.ok { display: block; background: var(--green-soft); color: var(--green-dark); }
.form-status.err { display: block; background: #fdeaea; color: #c0392b; }
.dark-form .form-status.ok { background: rgba(89, 207, 76, .15); color: var(--green); }
.dark-form .form-status.err { background: rgba(255, 100, 100, .12); color: #ff9d9d; }

.map-embed {
  border: 0; width: 100%; height: 360px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 60px;
}

/* ---------- Pied de page ---------- */
footer.site-footer { background: var(--darker); color: #9aa7b4; font-size: 14px; }
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 1.1fr;
  gap: 44px;
  padding: 75px 0 55px;
}
.footer-col h4 {
  color: #fff; font-size: 16px; margin-bottom: 22px;
  text-transform: uppercase; letter-spacing: .6px;
  position: relative; padding-bottom: 12px;
}
.footer-col h4::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 36px; height: 3px; border-radius: 2px;
  background: var(--grad);
}
.footer-about p { margin: 16px 0 0; font-size: 13.5px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 13.5px; }
.footer-col ul li a:hover { color: var(--green); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 15px; font-size: 13.5px; }
.footer-contact svg { width: 16px; height: 16px; fill: var(--green); flex-shrink: 0; margin-top: 5px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 0;
  font-size: 13px;
  text-align: center;
}
.footer-bottom .container {
  display: flex; justify-content: center; align-items: center;
  gap: 18px; flex-wrap: wrap;
}
.footer-bottom a:hover { color: var(--green); }

/* ---------- Bouton remonter ---------- */
.scroll-top {
  position: fixed;
  bottom: 24px; right: 30px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--darker);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 17px;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
  z-index: 900;
  box-shadow: 0 3px 6px rgba(37, 55, 69, .2);
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--green-dark); }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Fond alterné ---------- */
.bg-light { background: var(--light); }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .split, .article-grid, .contact-grid, .contact-band-grid { grid-template-columns: 1fr; }
  .split-img img { height: 340px; }
  .sidebar { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
  .header-cta { display: none; }
  .about-imgs { padding: 0 30px 40px 0; }
  .about-imgs .img-main { height: 340px; }
  .about-imgs .img-over { height: 190px; }
}

@media (max-width: 860px) {
  .burger { display: flex; }
  nav.main-nav {
    position: fixed;
    top: 0; right: -340px;
    width: 315px; height: 100vh;
    background: #fff;
    box-shadow: -10px 0 40px rgba(11, 2, 43, .18);
    padding: 90px 24px 40px;
    transition: right .35s;
    overflow-y: auto;
    z-index: 950;
  }
  nav.main-nav.open { right: 0; }
  nav.main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  nav.main-nav > ul > li > a { padding: 13px 14px; font-size: 16px; }
  .sub-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none;
    border-top: none;
    padding: 0 0 6px 16px;
    display: none;
  }
  .has-sub.open-sub .sub-menu { display: block; }
  .has-sub > a::after { float: right; margin-top: 9px; }
  section { padding: 60px 0; }
  .cta-band { padding: 40px 28px; }
  .topbar-right { display: none; }
  .hero-video { height: 72vh; }
}

@media (max-width: 640px) {
  .footer-main { grid-template-columns: 1fr; }
  .form-row, .dark-form .form-row { grid-template-columns: 1fr; }
  .split-img .xp-chip { right: 12px; }
  .logo-text .logo-name { font-size: 18px; }
}
