/* ------------------
   Reset basique
------------------ */
* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

/* ------------------
   Layout global
------------------ */
.container { width:90%; max-width:1100px; margin:0 auto; padding:20px 0; }

/* ------------------
   HEADER CLAIR
------------------ */
.site-header { background:#fff; color:#0d3b72; }

/* bandeau haut (logo + infos + CTA) */
.header-top { background:#fff; border-bottom:1px solid #eee; }
.header-top__inner {
  display:grid; grid-template-columns:auto 1fr auto;
  gap:24px; align-items:center;
}
.brand img { height:70px; display:block; }

.info-cards { display:flex; gap:20px; justify-content:center; }
.info-card {
  display:flex; align-items:center; gap:12px;
  background:#f5f7fb; border:1px solid #e3e7ef;
  padding:10px 14px; border-radius:10px;
}
.info-card .icon { color:#0d3b72; }
.info-card__title { font-weight:700; color:#0d3b72; }
.info-card__title a { color:inherit; text-decoration:none; }
.info-card__title a:hover { text-decoration:underline; }
.info-card__sub { font-size:.85rem; color:#7a8599; text-transform:uppercase; letter-spacing:.02em; }

.header-actions { display:flex; align-items:center; gap:12px; margin-left:auto; }
.socials { display:flex; gap:10px; }
.social{
  width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;
  background:#eef3fb;border-radius:8px;color:#0d3b72;text-decoration:none;
}
.social:hover{ filter:brightness(0.95); }

.btn{ display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-weight:800; }
.btn-call{
  background:#28a745;color:#fff;padding:12px 18px;border-radius:10px;
  box-shadow:0 6px 0 rgba(0,0,0,0.1);
}
.btn-call:hover{ filter:brightness(0.95); }
.btn-call .icon{ color:#fff; }

/* Burger (mobile) */
.nav-toggle{
  display:none; width:44px; height:36px; background:#ff7a00;
  border:0; border-radius:8px; cursor:pointer; position:relative;
}
.nav-toggle span{
  position:absolute; left:9px; right:9px; height:3px; background:#fff; border-radius:2px;
  transition: all .3s ease;
}
.nav-toggle span:nth-child(1){ top:9px; }
.nav-toggle span:nth-child(2){ top:16px; }
.nav-toggle span:nth-child(3){ top:23px; }

/* Burger -> croix quand ouvert */
body.nav-open .nav-toggle span:nth-child(1){ transform: rotate(45deg); top:16px; }
body.nav-open .nav-toggle span:nth-child(2){ opacity:0; }
body.nav-open .nav-toggle span:nth-child(3){ transform: rotate(-45deg); top:16px; }

/* ------------------
   NAVIGATION ORANGÉE – design moderne
------------------ */
.mainbar {
  background:#ff7a00; position:sticky; top:0; z-index:100;
  box-shadow:0 2px 6px rgba(0,0,0,.08);
}
.mainmenu {
  list-style:none; margin:0; padding:0;
  display:flex; justify-content:center; gap:30px;
  position:relative;
}
.mainmenu > li { position:relative; }
.mainmenu > li > a{
  display:inline-block; padding:12px 8px;
  font-weight:700; text-decoration:none; color:#fff;
  position:relative; transition:color .3s ease;
}
.mainmenu > li > a::after{
  content:""; position:absolute; left:0; bottom:10px;
  width:0%; height:3px; background:#fff; transition:width .3s ease; border-radius:2px;
}
.mainmenu > li > a:hover::after{ width:100%; }

/* Dropdown moderne (desktop) */
.has-dropdown .dropdown{
  position:absolute; top:100%; left:0; min-width:220px;
  background:#fff; border-radius:10px; padding:8px 0;
  box-shadow:0 12px 25px rgba(0,0,0,.15); display:none; overflow:hidden;
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown{ display:block; }
.dropdown li a{
  display:block; padding:10px 16px; color:#333; font-weight:600;
  text-decoration:none; transition:background .2s ease, color .2s ease;
}
.dropdown li a:hover{ background:#fff3eb; color:#e66a00; }

/* ------------------
   Sections de page
------------------ */
main{
  background:#fff; padding:40px 20px; margin:20px auto;
  border-radius:8px; box-shadow:0 2px 6px rgba(0,0,0,.1);
}
h1,h2,h3{ color:#0d3b72; margin-bottom:15px; }
p,ul,ol{ margin-bottom:15px; }
ul{ padding-left:20px; }

/* ------------------
   FOOTER NOIR – 3 colonnes
------------------ */
.site-footer{
  background:#000; color:#ddd;
  padding:50px 20px 30px; margin-top:40px;
}
.footer-grid{
  display:grid; grid-template-columns:1fr 1fr 1fr; gap:40px;
}
.footer-col h4{
  color:#fff; margin-bottom:12px; font-size:1.1rem;
}
.footer-col p{
  font-size:.95rem; line-height:1.6;
}
.footer-col { text-align:left; }
.footer-col:first-child { text-align:center; }
.footer-logo{ height:60px; margin-bottom:12px; display:block; }

.footer-contact li,
.footer-links li{ list-style:none; margin-bottom:8px; }
.footer-contact a,
.footer-links a{ color:#ddd; text-decoration:none; transition:color .3s; }
.footer-contact a:hover,
.footer-links a:hover{ color:#fff; }

.site-footer .btn-call{
  display:inline-block; margin-top:15px;
  background:#28a745; color:#fff;
  padding:10px 18px; border-radius:8px;
  font-weight:700; text-decoration:none; transition:background .3s;
}
.site-footer .btn-call:hover{ background:#218838; }

.footer-bottom{
  border-top:1px solid #333; margin-top:30px; padding-top:15px;
  text-align:center; font-size:.85rem; color:#777;
}

/* ------------------
   Bouton générique
------------------ */
.btn-generic{
  display:inline-block; padding:10px 20px; background:#0d3b72;
  color:#fff; border-radius:4px; text-decoration:none; transition:background .3s;
}
.btn-generic:hover{ background:#0b2f5b; }

/* ------------------
   Footer – ajustements listes
------------------ */
.footer-contact, .footer-links { padding-left:0; }
.footer-contact li, .footer-links li,
.footer-contact a, .footer-links a { text-align:left; display:block; }
.footer-contact { padding-left: 0; margin: 0; }
.footer-contact li { display:flex; align-items:center; gap:8px; line-height:1.4; }
.footer-contact li a { display:inline !important; white-space:nowrap; }

/* ------------------
   Blocs PRIX + ZONES
------------------ */
.pricing-zones__grid{
  display:grid; grid-template-columns: 1fr 2fr;
  gap:28px; align-items:start;
}
.price-panel .price-card.dark{
  background:#0d3b72; color:#fff; border-radius:16px; padding:28px;
  box-shadow:0 8px 24px rgba(13,59,114,.25);
}
.price-card__icon{ width:64px; height:64px; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.15); border-radius:12px; margin-bottom:18px; }
.price-card__title{ font-size:1.9rem; line-height:1.25; margin:0 0 10px; color:#fff; }
.price-card__desc{ color:#dfe8f5; margin:0 0 16px; }
.price-card__rule{ border:0; border-top:1px dotted rgba(255,255,255,.35); margin:18px 0; }
.price-card__list{ list-style:none; padding:0; margin:0; }
.price-card__list li{ display:flex; align-items:flex-start; gap:12px; padding:10px 0; font-size:1.05rem; }
.price-card__list .tick{ display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; border-radius:6px; background:#38c172; color:#0d3b72; font-weight:800; }
.price-card__footer{ text-align:center; }
.price-card__from{ color:#dfe8f5; margin-bottom:6px; }
.price-card__price{ font-size:2.2rem; font-weight:900; margin-bottom:6px; }
.price-card__price span{ font-size:1.1rem; font-weight:800; }
.price-card__note{ color:#dfe8f5; font-size:.95rem; margin-bottom:16px; }
.price-card__cta{ display:block; text-align:center; border-radius:12px; padding:14px 18px; font-size:1.05rem; font-weight:900; }

.zones-panel{ background:#0d3b72; color:#fff; border-radius:16px; padding:28px; box-shadow:0 8px 24px rgba(13,59,114,.25); }
.zones-panel h2{ color:#fff; margin-bottom:10px; }
.zones-panel .muted{ color:#dfe8f5; margin-bottom:18px; }
.zones-list{ list-style:none; padding:0; margin:16px 0 0; display:grid; gap:10px; }
.zones-list a{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px; background:#fff; border:1px solid #eaeef5; border-radius:10px;
  text-decoration:none; color:#0d3b72; font-weight:700;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.zones-list a::after{ content:"›"; font-size:20px; color:#e66a00; }
.zones-list a:hover{ transform:translateY(-1px); box-shadow:0 6px 16px rgba(0,0,0,.08); border-color:#ff7a00; }

/* ------------------
   Responsives génériques
------------------ */
@media (max-width: 960px){
  .pricing-zones__grid{ grid-template-columns: 1fr; }
  .price-panel .price-card.dark{ padding:22px; }
  .price-card__title{ font-size:1.6rem; }
}
@media (max-width:900px){
  .footer-grid{ grid-template-columns:1fr; text-align:center; }
  .footer-logo{ margin:0 auto 12px; }
}
@media (max-width:720px){
  .brand img{ height:56px; }
  .btn-call{ padding:10px 14px; font-size:.95rem; }
}

/* ------------------
   MOBILE HEADER : logo | téléphone | burger
------------------ */
@media (max-width:1100px){
  .header-top__inner{
    display:grid;
    grid-template-columns: auto 1fr auto;       /* logo | tel | burger */
    grid-template-areas: "brand actions burger";
    align-items:center;
    gap:16px;
  }
  .brand{ grid-area:brand; justify-self:start; }
  .header-actions{ grid-area:actions; justify-self:center; margin-left:0 !important; }
  .nav-toggle{ grid-area:burger; display:inline-block !important; justify-self:end; }
  .info-cards, .socials{ display:none !important; }
}

/* Mobile : aplatir visuellement la barre orange mais garder le menu attaché */
@media (max-width:1100px){
  .mainbar{
    background:transparent;
    box-shadow:none;
    position:static;  /* pas sticky */
    height:0; padding:0; border:0;
  }
}

/* ------------------
   MENU MOBILE PLEIN ÉCRAN + z-index au-dessus du hero
------------------ */
@media (max-width:980px){
  .site-header{ position:relative; z-index:100000; }
  .mainmenu{
    position:fixed; left:0; right:0; top:0; bottom:0;
    padding-top:110px;
    background:#ff7a00;
    flex-direction:column; gap:0;
    transform:translateY(-100%);
    transition:transform .3s ease;
    z-index:100001;
  }
  body.nav-open .mainmenu{ transform:translateY(0); }

  /* Style des liens en plein écran */
  .mainmenu > li > a{
    display:block; padding:18px 24px; font-size:1.1rem;
    border-top:1px solid rgba(255,255,255,0.25);
  }
  .mainmenu > li > a::after{ display:none; }

  /* Dropdown mobile intégré (ouvert via .open posé en JS) */
  .has-dropdown .dropdown{
    position:static; box-shadow:none; border-radius:0;
    padding:0; display:none; background:#ff9233;
  }
  .has-dropdown.open .dropdown{ display:block; }
  .dropdown li a{ color:#fff; padding:12px 24px; }
  .dropdown li a:hover{ background:#e66a00; color:#fff; }
}

/* Bloque le scroll quand le menu est ouvert */
body.nav-open{ overflow:hidden; }

/* ------------------
   Bouton croix pour fermer le menu mobile
------------------ */
.menu-close{
  position:absolute; top:20px; right:20px;
  font-size:2.2rem; font-weight:700; line-height:1;
  color:#fff; background:none; border:none; cursor:pointer;
  z-index:100002;
}
.menu-close:hover{ color:#ffd9b3; }

/* ===== CTA FINAL (hauteurs égales) ===== */
.cta-final {
  background:#ffcc57;           /* bande jaune */
  padding:40px 0;
}
.cta-final__grid{
  display:flex;                  /* FLEX au lieu de grid pour hauteurs égales */
  align-items:stretch;
  gap:0;
  border-radius:12px;
  overflow:hidden;               /* coins nets */
  box-shadow:0 8px 24px rgba(0,0,0,.08);
}

/* Colonne image (gauche) */
.cta-final__image{
  flex:0 0 48%;                  /* ~48% image / 52% texte */
  display:flex;
  min-height:320px;
}
.cta-final__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Colonne contenu (droite) */
.cta-final__content{
  flex:1;
  background:#ff7a00;
  color:#fff;
  padding:40px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.cta-final__content h2{
  margin-bottom:12px; font-size:1.8rem; color:#fff;
}
.cta-final__content p{
  margin-bottom:20px; color:#fff;
}
.cta-final__cta{
  margin-bottom:20px; font-size:1.1rem; justify-content:center;
}
.cta-final__info{
  display:flex; flex-wrap:wrap; gap:20px; font-size:.95rem; color:#fff;
}
.cta-final__info .icon{ margin-right:6px; }

/* Responsive */
@media (max-width:900px){
  .cta-final__grid{
    flex-direction:column;       /* empile en mobile */
    border-radius:12px;
  }
  .cta-final__image{
    flex:0 0 auto; height:220px; /* image haute en mobile */
  }
  .cta-final__content{
    padding:30px;
  }
}

/* Affiche la croix uniquement en mode mobile (menu plein écran) */
.menu-close {
  display: none;
}

@media (max-width:980px){
  .menu-close {
    display: block;
  }
}





/* ===================== HERO conversion ===================== */
.hero{
  background: linear-gradient(135deg, #fff7ef 0%, #ffffff 55%);
  padding: 42px 0 50px;
  border-bottom: 1px solid #f3f3f3;
}
.hero__grid{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
}

.hero__content { padding-top: 8px; }
.hero__eyebrow{
  display:inline-block;
  background:#fff3eb;
  color:#e66a00;
  font-weight:800;
  letter-spacing:.02em;
  padding:6px 10px;
  border-radius:999px;
  margin-bottom:12px;
}
.hero__title{
  color:#0d3b72;
  font-size: clamp(1.6rem, 2.3vw + 1rem, 2.4rem);
  line-height: 1.2;
  font-weight: 900;
  margin: 6px 0 10px;
}
.hero__title span{ color:#ff7a00; display:block; }
.hero__subtitle{
  color:#49566b;
  font-size:1.05rem;
  margin-bottom:18px;
}

/* Pills grid (Frustrations / Résultats / Valeur) */
.hero__pillgrid{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:14px;
  margin: 14px 0 16px;
}
@media (max-width: 900px){
  .hero__pillgrid{ grid-template-columns: 1fr; }
}
.hero__pill{
  background:#ffffff;
  border:1px solid #eaeef5;
  border-radius:12px;
  padding:14px;
  box-shadow:0 4px 14px rgba(0,0,0,.05);
}
.hero__pill-title{
  font-weight:900;
  color:#0d3b72;
  margin-bottom:8px;
}
.hero__pill ul{
  margin:0; padding-left:18px; color:#334155;
}
.hero__pill li{ margin:4px 0; }

/* CTAs */
.hero__ctas{ display:flex; flex-wrap:wrap; gap:12px; margin:16px 0 10px; }
.hero__cta{ font-size:1.05rem; }
.hero__cta-secondary{
  background:#0d3b72; color:#fff; padding:12px 18px; border-radius:10px;
  box-shadow:0 6px 0 rgba(0,0,0,0.1); text-decoration:none; font-weight:900;
}
.hero__cta-secondary:hover{ filter:brightness(.95); }

/* Trust badges */
.hero__trust{ display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.hero__badge{
  background:#eef3fb; color:#0d3b72; font-weight:800; font-size:.9rem;
  padding:6px 10px; border-radius:999px; border:1px solid #e3e7ef;
}

/* Carte formulaire */
.hero__card{
  background:#0d3b72;
  color:#fff;
  border-radius:16px;
  padding:22px;
  box-shadow:0 10px 28px rgba(13,59,114,.25);
  position: relative;
  top: 4px;
}
.hero__card h3{
  margin:0 0 6px; font-size:1.35rem; font-weight:900; color:#fff;
}
.hero__card-sub{
  color:#dfe8f5; margin-bottom:14px; font-size:.98rem;
}
.hero__form{ display:grid; gap:10px; }
.hero__form label{ display:grid; gap:6px; font-size:.95rem; }
.hero__form input,
.hero__form textarea{
  width:100%;
  border:1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  color:#fff;
  border-radius:10px;
  padding:10px 12px;
  outline:none;
}
.hero__form input::placeholder,
.hero__form textarea::placeholder{ color:#e8eff9; opacity:.85; }
.hero__form input:focus,
.hero__form textarea:focus{
  border-color:#fff; box-shadow:0 0 0 2px rgba(255,255,255,.25);
}
.hero__rgpd{
  display:flex; align-items:start; gap:8px;
  font-size:.9rem; color:#e8eff9;
}
.hero__rgpd a{ color:#fff; text-decoration:underline; }
.hero__submit{ width:100%; justify-content:center; }

.hero__help{
  margin-top:10px; font-size:.95rem; color:#dfe8f5;
}
.hero__help a{ color:#fff; font-weight:800; text-decoration:none; }
.hero__help a:hover{ text-decoration:underline; }

/* Honeypot */
.hp-field{ position:absolute; left:-9999px; top:-9999px; opacity:0; height:0; width:0; }

/* ===== HERO Electricité ===== */
.hero--electricite .hero__bg {
  background-image: url('{{ url_for("static", filename="img/hero-electricite.jpg") }}');
  background-size: cover;
  background-position: center;
}

