/* Eric Feydel – Expert en bâtiment : surcharges du template Corpox (maquette) */
.demo-construction {
  --color-primary: #cf0b0e;
  --color-secondary: #cf0b0e;
  --shadow-7: 0 0 20px 5px rgb(207 11 14 / 25%);
}
html { scroll-behavior: smooth; }
#accueil, #expert, #missions, #situations, #faq, #contact { scroll-margin-top: 80px; }

/* Logo */
.tmp-header .logo img, .popup-mobile-menu .logo img { max-height: 56px; width: auto; }
.tmp-footer .logo img { max-height: 60px; width: auto; }
@media (max-width: 575px) { .tmp-header .logo img { max-height: 44px; } }

/* Bouton téléphone de l'en-tête */
.ef-header-phone { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 991px) { .ef-header-phone span { display: none; } .ef-header-phone { padding: 0 14px; } }
.ef-mobile-phone { display: inline-flex; align-items: center; gap: 8px; }

/* Hero : voile sombre (lisibilité, esprit home-expertise) */
.demo-construction.active-light-mode .demo-banner-area-start-solar::after {
  background: linear-gradient(0deg, rgba(17, 17, 17, .88) 0%, rgba(17, 17, 17, .55) 100%);
}
.demo-construction .demo-banner-area-start-solar .inner .title { font-size: 62px; }
@media (max-width: 991px) { .demo-construction .demo-banner-area-start-solar .inner .title { font-size: 40px; } }
@media (max-width: 575px) { .demo-construction .demo-banner-area-start-solar .inner .title { font-size: 30px; } }
.ef-hero-tags { color: #fff; font-weight: 600; letter-spacing: .02em; margin: 0 auto 30px; opacity: .95; }
.ef-hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.ef-btn-outline { display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 28px; border: 1px solid rgba(255,255,255,.7); border-radius: 6px; color: #fff; font-weight: 600; }
.ef-btn-outline:hover { background: #fff; color: var(--color-primary); }

/* Teintes orange du thème -> rouge */
.demo-construction.active-light-mode .service-layout-presentation-box .advance-tab-button ul li .tab-button::before { background: rgba(207, 11, 14, .06); }
.demo-construction.active-light-mode .form-group input,
.demo-construction.active-light-mode .contact-form-1 .form-group textarea { border-color: rgba(207, 11, 14, .18); }

/* Carte contact */
.ef-contact-card { padding: 36px; height: 100%; }
.ef-contact-logo { display: block; width: 220px; max-width: 70%; height: auto; margin: 0 auto 28px; }
.ef-contact-list { list-style: none; padding: 0; margin: 0; }
.ef-contact-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; font-size: 16px; }
.ef-contact-list li i { color: var(--color-primary); margin-top: 4px; flex: none; width: 18px; height: 18px; }
.ef-contact-list a { color: inherit; word-break: break-word; }
.ef-form-result { font-size: 15px; margin: 0; }
.ef-footer-contact li { word-break: break-word; }

/* Correctifs V1 */
.header-default .logo a img, .popup-mobile-menu .inner .header-top .logo a img, .logo a img { max-width: 240px; max-height: 56px; width: auto; height: auto; }
.tmp-footer .logo a img { max-width: 260px; max-height: 60px; }
@media (max-width: 479px) { .header-default .logo a img, .logo a img { max-width: 190px; max-height: 46px; } }
.tmp-get-in-touch-area .section-inner::after { content: "Appelez"; }
.tmp-footer .footer-link li, .tmp-footer .footer-link li a { text-transform: none; }
.ef-footer-contact li { font-size: 16px; line-height: 1.6; }
.footer-style-default .footer-top .tmp-footer-widget .footer-link li,
.footer-style-default .footer-top .tmp-footer-widget .footer-link li a { text-transform: none; }
.popup-mobile-menu .inner .header-top .logo a img { max-width: 200px; max-height: 46px; }
.popup-mobile-menu .ef-mobile-phone { margin-left: 20px; }

/* ===== Multipage + grille des missions (V5) ===== */

/* Grille des missions : 8 cartes alignées */
.ef-mission-card { display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; border-radius: 10px; background: #fff; color: inherit; transition: transform .25s, box-shadow .25s; }
.ef-mission-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.08); }
.ef-mission-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.ef-mission-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ef-mission-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.ef-mission-title { font-size: 19px; line-height: 1.35; margin: 0 0 10px; }
.ef-mission-text { display: block; font-size: 15px; line-height: 1.6; color: var(--color-body); flex: 1; }
.ef-mission-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 15px; color: var(--color-primary); }
.ef-mission-more i, .ef-mission-more svg { width: 16px; height: 16px; }

/* En-tête des pages intérieures */
.demo-construction .ef-page-hero { height: auto; padding: 120px 0 110px; }
.demo-construction .ef-page-hero .inner .title { font-size: 52px; margin-bottom: 18px; }
@media (max-width: 991px) { .demo-construction .ef-page-hero .inner .title { font-size: 36px; } .demo-construction .ef-page-hero { padding: 80px 0 70px; } }
@media (max-width: 575px) { .demo-construction .ef-page-hero .inner .title { font-size: 28px; } }
.ef-breadcrumb { color: rgba(255,255,255,.85); font-size: 15px; margin-bottom: 18px; }
.ef-breadcrumb a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ef-page-hero .tmp-personal-portfolio-content p.description { margin-bottom: 0 !important; }

/* Détail des missions */
.ef-mission-detail { padding: 40px 0; border-top: 1px solid rgba(0,0,0,.07); scroll-margin-top: 90px; }
.ef-mission-detail:first-child { border-top: 0; }
.ef-mission-detail-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.ef-mission-num { display: inline-block; font-weight: 700; color: var(--color-primary); margin-bottom: 8px; }
.ef-mission-detail .title { font-size: 32px; margin-bottom: 14px; }
@media (max-width: 767px) { .ef-mission-detail .title { font-size: 26px; } }

/* Étapes */
.ef-step { padding: 30px 26px; height: 100%; border-radius: 10px; background: #fff; }
.ef-step-num { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 50%; background: var(--color-primary); color: #fff; font-weight: 700; margin-bottom: 18px; }
.ef-step .title { font-size: 20px; margin-bottom: 10px; }
.ef-step p { margin: 0; font-size: 15px; }

/* Bandeau d'appel à l'action */
.ef-cta-band { background: #161616; padding: 70px 0; }
.ef-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.ef-cta-band .title { color: #fff; font-size: 36px; margin-bottom: 10px; }
.ef-cta-band p { color: rgba(255,255,255,.8); margin: 0; }
.ef-cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 767px) { .ef-cta-band .title { font-size: 28px; } }

/* Contact, carte, mentions */
.ef-form-title { font-size: 28px; margin-bottom: 20px; }
.ef-map { width: 100%; height: 420px; border: 0; border-radius: 10px; display: block; }
.ef-legal h2 { font-size: 24px; margin: 34px 0 12px; }
.ef-legal h2:first-child { margin-top: 0; }
.tmp-footer-widget h2.title { font-size: 20px; }
.ef-center { display: flex; justify-content: center; }
.ef-mission-detail-img img { aspect-ratio: 16 / 10; }

/* Réseaux sociaux (V6) */
.ef-social { margin-top: 20px; gap: 10px; }
.ef-social-label { margin: 24px 0 0; font-weight: 600; }
.ef-contact-card .ef-social { margin-top: 10px; }

/* Points forts et cibles (V7) */
.ef-point, .ef-cible { height: 100%; padding: 30px 26px; border-radius: 10px; background: #fff; }
.ef-point-icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(207, 11, 14, .08); color: var(--color-primary); margin-bottom: 18px; }
.ef-point-icon i, .ef-point-icon svg { width: 24px; height: 24px; }
.ef-point-title { font-size: 20px; margin-bottom: 10px; }
.ef-point p, .ef-cible p { margin: 0; font-size: 15px; line-height: 1.6; }
.ef-cibles-area { background: rgba(207, 11, 14, .03); }
.ef-point-icon i { font-size: 22px; line-height: 1; }

/* Page détail mission (V8, base service-details) */
.tmp-service-details .single-categories li a { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tmp-service-details .single-categories li.ef-side-current a { color: var(--color-primary); font-weight: 600; }
.ef-side-title { font-size: 22px; margin: 0; }
.tmp-service-details .feature-list-service .title { font-size: 19px; }
.tmp-service-details h2.title { font-size: 30px; }
@media (max-width: 767px) { .tmp-service-details h2.title { font-size: 24px; } }
.thumbnail-service-details-small-2 img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
.contact-with-us-service::after { background-image: none; background: linear-gradient(160deg, #cf0b0e 0%, #8e0709 100%); }
.active-light-mode .tmp-single-wized .wized-body .single-categories li.ef-side-current a { color: var(--color-primary); background: rgba(207, 11, 14, .08); font-weight: 600; }

/* ===== Version PHP ===== */
/* Menu actif (desktop + mobile) */
.mainmenu-nav .mainmenu > li > a.active, .popup-mobile-menu .mainmenu li a.active { color: var(--color-primary) !important; }
/* Lien d'évitement (accessibilité) */
.ef-skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000; background: #fff; color: #111; padding: 10px 16px; border-radius: 0 0 6px 0; }
.ef-skip-link:focus { left: 0; }
/* Icône flottante mobile (téléphone / e-mail) */
.ef-cta-flottant { display: none; position: fixed; left: 16px; top: 50%; transform: translateY(-50%); z-index: 9999; width: 54px; height: 54px; border-radius: 50%; background: var(--color-primary); color: #fff; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(207, 11, 14, .35); }
.ef-cta-flottant:hover, .ef-cta-flottant:focus { color: #fff; background: #a5090b; }
@media (max-width: 768px) { .ef-cta-flottant { display: flex; } }
.ef-cta-flottant:focus-visible { outline: 3px solid #1b1b1c; outline-offset: 3px; }
/* Messages du formulaire */
.ef-form-result.ef-ok { color: #1b7a34; font-weight: 600; }
.ef-form-result.ef-erreur { color: var(--color-primary); font-weight: 600; }
.ef-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
/* FAQ des pages longue traîne */
.ef-page-faq { padding-top: 10px; }
/* Plan du site */
.ef-sitemap h2 { font-size: 24px; margin-bottom: 18px; }
.ef-sitemap ul { list-style: none; padding: 0; margin: 0 0 30px; }
.ef-sitemap li { margin: 0 0 10px; }
.ef-sitemap li a { color: inherit; border-bottom: 1px solid rgba(207, 11, 14, .25); }
.ef-sitemap li a:hover { color: var(--color-primary); }
.ef-sitemap-bloc { background: #fff; border-radius: 10px; padding: 30px; height: 100%; }
.ef-sitemap-cols { column-count: 2; column-gap: 40px; }
@media (max-width: 767px) { .ef-sitemap-cols { column-count: 1; } }
.ef-sitemap-cols li { break-inside: avoid; }
/* Pages légales */
.ef-legal h1 { font-size: 40px; margin-bottom: 10px; }
.ef-legal h3 { font-size: 20px; margin: 24px 0 10px; }
.ef-legal h4 { font-size: 17px; margin: 18px 0 8px; }
.ef-legal p { text-align: justify; }
/* Méthode / compétences */
.ef-method-num { color: var(--color-primary); font-weight: 700; }
.ef-objectif { font-size: 20px; font-weight: 600; max-width: 820px; margin: 18px auto 0; }
.ef-note-vendeur { background: rgba(207, 11, 14, .05); border-left: 4px solid var(--color-primary); padding: 16px 20px; border-radius: 6px; margin-top: 16px; }
.ef-etape ul { padding-left: 18px; margin: 10px 0 0; }
.ef-etape li { font-size: 15px; margin-bottom: 4px; }
/* Pages longue traîne */
.tmp-service-details .single-categories li a { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ef-side-title { font-size: 22px; margin: 0; }
.tmp-service-details .feature-list-service .title { font-size: 19px; }
.tmp-service-details h2.title { font-size: 30px; }
@media (max-width: 767px) { .tmp-service-details h2.title { font-size: 24px; } }
.thumbnail-service-details-small-2 img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
.contact-with-us-service::after { background-image: none; background: linear-gradient(160deg, #cf0b0e 0%, #8e0709 100%); }
.tmp-service-details .discription strong, .tmp-service-details .discription b { color: #1b1b1c; }

/* Pied de page pleine largeur + colonne « Visitez aussi » élargie */
.tmp-footer .ef-footer-full { max-width: 100%; padding-left: 60px; padding-right: 60px; }
@media (max-width: 1199px) { .tmp-footer .ef-footer-full { padding-left: 40px; padding-right: 40px; } }
@media (max-width: 767px) { .tmp-footer .ef-footer-full { padding-left: 16px; padding-right: 16px; } }
@media (min-width: 1200px) { .tmp-footer .ef-footer-visitez .footer-link li a { white-space: nowrap; } }
/* Largeurs des colonnes du pied de page sur grand écran (texte de présentation élargi) */
@media (min-width: 1200px) {
  .tmp-footer .ef-fcol-logo { flex: 0 0 auto; width: 28%; }
  .tmp-footer .ef-fcol-visitez { flex: 0 0 auto; width: 34%; }
  .tmp-footer .ef-fcol-exp { flex: 0 0 auto; width: 15%; }
  .tmp-footer .ef-fcol-contact { flex: 0 0 auto; width: 23%; }
}
@media (min-width: 1200px) and (max-width: 1399px) { .tmp-footer .ef-footer-full { padding-left: 40px; padding-right: 40px; } }
.footer-style-default .footer-top .ef-fcol-logo .tmp-footer-widget .subtitle { padding-right: 0; }
/* Icône Google (Font Awesome) alignée sur les icônes Feather des réseaux sociaux */
.ef-icone-google { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; }
