/*
Theme Name: Low-Tech Énergies
Theme URI: https://low-tech-energies.com
Author: Low-Tech Énergies
Author URI: https://low-tech-energies.com
Description: Thème personnalisé pour Low-Tech Énergies - Expert en rénovation énergétique globale et confort thermique
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: low-tech-energies
Tags: renovation, energie, comfort-thermique, bepos
*/

/* ===========================
   VARIABLES CSS
   =========================== */
:root {
  /* Couleurs principales */
  --color-primary: #76A0A6;
  --color-secondary: #9BCCE2;
  --color-accent: #EC9344;
  --color-eco: #B5C44E;
  --color-warm: #F4CE3F;
  --color-dark: #1A1A1A;
  --color-light: #F2F7F8;
  --color-white: #FFFFFF;
  
  /* Dégradé principal */
  --gradient-primary: linear-gradient(135deg, #6b949a 0%, #76A0A6 38%, #9BCCE2 100%);
  
  /* Typographie */
  --font-primary: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  
  /* Espacements */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Transitions */
  --transition: all 0.3s ease;
}

/* ===========================
   RESET & BASE
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--color-dark);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-secondary);
}

/* ===========================
   TYPOGRAPHIE
   =========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: var(--spacing-sm);
}

/* ===========================
   LAYOUT GÉNÉRAL
   =========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-lg) 0;
}

.section-alt {
  background-color: var(--color-light);
}

/* ===========================
   HEADER
   =========================== */
.site-header {
  background-color: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--color-accent);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
  gap: 1rem;
}

.site-logo img {
  height: 80px;
  width: auto;
  display: block;
  opacity: 1;
  filter: none;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
}

.main-navigation a {
  font-weight: 500;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 4px;
  transition: var(--transition);
}

.main-navigation a:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-primary);
}

/* Bouton de fermeture du menu mobile - caché par défaut */
.mobile-menu-close {
  display: none;
}

@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-navigation {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 86vw);
    max-width: 86vw;
    height: 100vh;
    background-color: var(--color-white);
    padding: var(--spacing-lg) var(--spacing-md);
    transition: var(--transition);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transform: translate3d(110%, 0, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
  }
  
  .main-navigation.active {
    display: block;
    transform: translate3d(0, 0, 0) !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .main-navigation ul {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  /* Afficher le bouton de fermeture uniquement sur mobile */
  .mobile-menu-close {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-primary);
    width: 40px;
    height: 40px;
    line-height: 1;
    padding: 0;
    transition: var(--transition);
  }
  
  .mobile-menu-close:hover {
    color: var(--color-accent);
    transform: rotate(90deg);
  }

  .site-logo img {
    height: 68px;
  }

  .logo-desktop {
    max-width: min(250px, calc(100vw - 96px)) !important;
  }
}

/* ===========================
   BOUTONS CTA
   =========================== */
.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.cta-button:hover {
  background-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-button-secondary {
  background-color: var(--color-secondary);
}

.cta-button-outline {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.cta-button-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero-section {
  /* Dégradé plus dense pour conserver un bon contraste avec le texte */
  background: linear-gradient(135deg,
    #163a43 0%,
    #215564 25%,
    #2c7287 50%,
    #215564 75%,
    #122f37 100%) !important;
  
  color: var(--color-white);
  padding: calc(var(--spacing-xl) / 2) 0;
  text-align: center;
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(7, 20, 24, 0.22), rgba(7, 20, 24, 0.32));
  pointer-events: none;
}

/* Animation pour dégradé vibrant (Option 3) */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Classe utilitaire pour le dégradé principal */
.bg-gradient-primary {
  background: var(--gradient-primary) !important;
  color: white !important;
}

/* Toutes les sections avec fond vert utilisent maintenant le dégradé */
.section[style*="linear-gradient"] {
  background: var(--gradient-primary) !important;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-stats {
  width: min(100%, 860px);
  margin-left: auto !important;
  margin-right: auto !important;
}

.hero-stat {
  min-width: 120px;
}

.hero-section h1 {
  font-size: clamp(1.75rem, 3.8vw, 2.8rem);
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.hero-section p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.hero-cta-group {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--spacing-md);
}

/* ===========================
   CARDS & GRIDS
   =========================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin: var(--spacing-md) 0;
  align-items: stretch;
}

.card {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: var(--spacing-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 3rem;
  color: var(--color-secondary);
  margin-bottom: var(--spacing-sm);
  text-align: center;
  display: block;
}

.card h3 {
  color: var(--color-primary);
}

/* ===========================
   IMAGES & THUMBNAILS
   =========================== */
.post-thumbnail,
.realisation-thumbnail {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: var(--spacing-sm);
}

.realisation-card img,
.card img {
  width: 100%;
  height: auto;
  border-radius: 8px 8px 0 0;
}

/* Image placeholders élégants */
.img-placeholder {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #9BCCE2 0%, #76A0A6 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  position: relative;
  overflow: hidden;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  100% {
    left: 100%;
  }
}

/* Logo */
.custom-logo {
  max-width: 340px !important;
  height: auto !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.custom-logo-link {
  display: inline-block !important;
  line-height: 0 !important;
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
}

.site-logo {
  display: flex;
  align-items: center;
}

/* Logo responsive - deux versions */
.logo-mobile {
  display: none !important;
  width: auto !important;
  max-width: 200px !important;
  height: auto !important;
}

.logo-desktop {
  display: block !important;
  width: auto !important;
  max-width: 340px !important;
  height: auto !important;
}

@media (max-width: 768px) {
  .logo-desktop {
    display: none !important;
  }
  
  .logo-mobile {
    display: block !important;
    max-width: 200px !important;
  }
  
  .custom-logo {
    max-width: 200px !important;
  }
}

@media (max-width: 480px) {
  .logo-mobile {
    max-width: 160px !important;
  }
}

/* Icons */
.icon-economie,
.icon-bepos,
.icon-confort,
.icon-durable,
.icon-innovation,
.icon-expertise {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  display: block;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: var(--spacing-lg) 0 var(--spacing-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.footer-column h4 {
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: var(--color-light);
}

.footer-column a:hover {
  color: var(--color-secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-sm);
  text-align: center;
  margin-top: var(--spacing-md);
}

/* Réseaux sociaux */
.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  text-decoration: none;
}

.social-link svg {
  transition: transform 0.3s ease;
}

.social-link:hover svg {
  transform: scale(1.1);
}

/* YouTube - Couleur officielle #FF0000 */
.social-youtube {
  background-color: #FF0000;
  color: white;
}

.social-youtube:hover {
  background-color: #CC0000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

/* LinkedIn - Couleur officielle #0A66C2 */
.social-linkedin {
  background-color: #0A66C2;
  color: white;
}

.social-linkedin:hover {
  background-color: #004182;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
}


/* ===========================
   VIDEO RESPONSIVE
   =========================== */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  margin: var(--spacing-md) 0;
  border-radius: 12px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* ===========================
   FORMULAIRES
   =========================== */
.form-group {
  margin-bottom: var(--spacing-sm);
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .section {
    padding: var(--spacing-md) 0;
  }
  
  .hero-section {
    padding: 4.5rem 0 3rem;
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-section h1 {
    font-size: clamp(1.9rem, 6.3vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .hero-section p {
    font-size: 1.05rem;
    line-height: 1.6;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .hero-cta-group .cta-button {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem !important;
    padding: 1rem !important;
  }

  .hero-stat {
    min-width: 0;
  }
  
  .site-header {
    padding: 0.4rem 0;
  }

  .header-container {
    gap: 0.75rem;
  }

  .site-logo img {
    height: 60px;
  }

  .logo-desktop {
    max-width: min(230px, calc(100vw - 88px)) !important;
  }

  .mobile-menu-toggle {
    flex-shrink: 0;
    padding: 0.25rem;
  }
}

@media (max-width: 480px) {
  .hero-section h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }
  
  .hero-section p {
    font-size: 0.98rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .logo-desktop {
    max-width: min(210px, calc(100vw - 82px)) !important;
  }
}

/* ===========================
   STYLES PAGES SPÉCIFIQUES
   =========================== */

/* Grilles deux colonnes responsive */
@media (max-width: 992px) {
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Cards avec icônes - amélioration hover */
.card-icon {
  transition: var(--transition);
}

.card:hover .card-icon {
  transform: scale(1.1);
}

/* Listes à puces stylisées dans les cards */
.card ul {
  padding-left: 0;
  list-style: none;
  flex-grow: 1;
}

/* Contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-panel {
  border-top: 4px solid var(--color-accent);
}

.contact-panel-stack .card {
  background: #fdfefe;
}

/* FAQ */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq-item {
  border: 1px solid #dbe7ea;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  background: #f6fafb;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-answer {
  padding: 1rem 1.2rem 1.2rem;
  line-height: 1.7;
}

.faq-answer p,
.faq-answer ul {
  margin-bottom: 0.8rem;
}

.faq-answer ul {
  padding-left: 1.1rem;
}

/* References */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.kpi-card {
  background: #f6fafb;
  border-left: 4px solid var(--color-primary);
  border-radius: 10px;
  padding: 1.4rem;
  text-align: center;
}

.kpi-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.testimonial-card {
  border-top: 4px solid var(--color-primary);
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
}

.testimonial-name {
  margin: 0;
  font-weight: 700;
}

.testimonial-meta {
  margin: 0;
  color: #667;
  font-size: 0.9rem;
}

.testimonial-text {
  margin-bottom: 0.8rem;
  color: #475;
  line-height: 1.7;
}

.testimonial-stars {
  color: #ec9344;
  letter-spacing: 0.05em;
  margin: 0;
}

@media (max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .kpi-grid {
    grid-template-columns: 1fr;
  }
}

.card ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  background-color: var(--color-secondary);
  border-radius: 50%;
}

/* Sections avec statistiques/chiffres */
.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.5rem;
}

/* Amélioration des boutons CTA dans les cards */
.card .cta-button {
  margin-top: auto !important;
  display: block !important;
  text-align: center;
  width: 100% !important;
}

/* Espacement harmonieux pour les sections alternées */
.section + .section-alt,
.section-alt + .section {
  margin-top: 0;
}

/* Bordures subtiles pour séparer les contenus */
.card + .card {
  margin-top: 1.5rem;
}

/* Grid responsive pour petits écrans */
@media (max-width: 768px) {
  .card-grid {
    gap: var(--spacing-sm);
  }
  
  [style*="gap: 4rem"] {
    gap: 2rem !important;
  }
  
  [style*="gap: 3rem"] {
    gap: 1.5rem !important;
  }
  
  /* Statistiques empilées sur mobile */
  [style*="grid-template-columns: repeat(auto-fit"] {
    grid-template-columns: 1fr !important;
  }
}

/* Amélioration lisibilité sur fond dégradé */
.section[style*="linear-gradient"] h2,
.section[style*="linear-gradient"] h3,
.section[style*="linear-gradient"] p,
.section[style*="linear-gradient"] li {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Espacement cohérent des titres dans les cards */
.card h3 {
  margin-bottom: 1rem;
}

.card h4 {
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

/* Pricing / Tarifs mis en évidence */
.card [style*="font-size: 1.3rem"][style*="font-weight: 700"] {
  padding: 1rem;
  background-color: var(--color-light);
  border-radius: 8px;
  text-align: center;
  border: 2px solid var(--color-accent);
}

/* Amélioration des liens dans le contenu */
.section a:not(.cta-button) {
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.section a:not(.cta-button):hover {
  border-bottom-color: var(--color-secondary);
}

/* Espacement vertical harmonieux */
section + section {
  margin-top: 0;
}

/* Amélioration responsive des flex containers */
@media (max-width: 768px) {
  [style*="display: flex"][style*="gap: 1rem"] {
    flex-direction: column;
    align-items: stretch !important;
  }
  
  [style*="display: flex"] .cta-button {
    width: 100%;
  }
  
  /* Réseaux sociaux responsive */
  .footer-social {
    flex-direction: column;
    gap: 1rem;
  }
  
  .social-link {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* Animation douce au chargement des cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

/* Amélioration des icônes emoji dans les titres */
span[style*="font-size: 3rem"] {
  display: block;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Optimisation print */
@media print {
  .hero-section,
  .cta-button,
  .site-header,
  .site-footer {
    display: none;
  }
  
  .section {
    page-break-inside: avoid;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* ===========================
   HOME 2026 - DOUBLE PORTES
   =========================== */
.home-doors-hero {
  padding: 4.5rem 0 3.8rem;
  overflow: hidden;
}

.home-hero-photo {
  background-color: #1e4954;
  background-image: var(--home-hero-photo) !important;
  background-size: cover !important;
  background-position: center 42% !important;
  background-repeat: no-repeat !important;
}

.home-doors-hero::before {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02) 40%, transparent 66%),
    linear-gradient(180deg, rgba(7, 28, 35, 0.38), rgba(7, 28, 35, 0.56));
}

.home-doors-hero .hero-content {
  position: relative;
  z-index: 1;
}

.home-doors-hero .hero-content h1 {
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

.home-doors-subtitle {
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.home-doors-subtitle {
  max-width: 760px;
  margin: 1rem auto 2rem;
}

.home-demo-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  background: #e6e7e9;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}

.home-demo-split-section {
  padding: 0;
  background: #e6e7e9;
}

.home-demo-split-section .container {
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.home-demo-media,
.home-demo-text {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.home-demo-media {
  position: relative;
  min-height: 580px;
  background: #e6e7e9;
}

.home-demo-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 22, 28, 0.04), rgba(8, 22, 28, 0.2));
  pointer-events: none;
}

.home-demo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #e6e7e9;
}

.home-demo-text {
  padding: clamp(1.4rem, 3vw, 3.2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: #e6e7e9;
}

.home-demo-text > * {
  max-width: 560px;
}

.home-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 800;
  color: #5f8e95;
}

.home-demo-split-section.is-ready .home-demo-media,
.home-demo-split-section.is-ready .home-demo-text {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.home-demo-split-section.is-ready .home-demo-media {
  transform: translateX(-28px);
}

.home-demo-split-section.is-ready .home-demo-text {
  transform: translateX(28px);
}

.home-demo-split-section.is-ready .home-demo-media.is-visible,
.home-demo-split-section.is-ready .home-demo-text.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.lte-integrators-map-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 1.2rem;
  margin: 1.2rem 0;
}

.lte-integrators-map-layout-live {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
}

.lte-map-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: end;
  margin: 1rem 0 1.1rem;
}

.lte-map-filter-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #2f5d66;
}

.lte-map-filter-field input,
.lte-map-filter-field select {
  width: 100%;
  border: 1px solid #c7d9de;
  border-radius: 8px;
  padding: 0.68rem 0.75rem;
  background: #ffffff;
  color: #163e47;
}

.lte-live-map {
  width: 100%;
  min-height: 420px;
  border-radius: 14px;
  border: 1px solid rgba(84, 130, 138, 0.35);
  overflow: hidden;
}

.lte-integrators-count {
  margin: 0 0 0.7rem;
  font-weight: 700;
  color: #174d58;
}

.lte-integrator-item .cta-button {
  margin-top: 0.55rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.86rem;
}

.lte-map-note {
  margin-top: 0.9rem;
}

.lte-france-map-demo {
  position: relative;
  min-height: 340px;
  border-radius: 14px;
  border: 1px solid rgba(84, 130, 138, 0.3);
  background:
    radial-gradient(circle at 24% 30%, rgba(118, 160, 166, 0.2), transparent 34%),
    radial-gradient(circle at 76% 72%, rgba(236, 147, 68, 0.15), transparent 38%),
    linear-gradient(165deg, #f2f7f8, #e3edf0 55%, #dbe8ec);
  overflow: hidden;
}

.lte-france-map-demo::before {
  content: "France - demonstration";
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3d6971;
}

.lte-map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  background: #ffffff;
  color: #153f4a;
  border: 1px solid rgba(118, 160, 166, 0.45);
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(12, 34, 41, 0.12);
}

.lte-map-pin::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  display: inline-block;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.lte-map-pin-nord {
  top: 24%;
  left: 54%;
}

.lte-map-pin-ouest {
  top: 42%;
  left: 30%;
}

.lte-map-pin-est {
  top: 49%;
  left: 68%;
}

.lte-map-pin-sud {
  top: 74%;
  left: 56%;
}

.lte-integrator-list {
  display: grid;
  gap: 0.9rem;
}

.lte-integrator-item {
  background: #ffffff;
  border: 1px solid #d7e4e7;
  border-radius: 10px;
  padding: 0.9rem 1rem;
}

.lte-integrator-item h3 {
  margin-bottom: 0.45rem;
  color: #174e5a;
  font-size: 1.05rem;
}

.lte-integrator-item p {
  margin: 0.2rem 0;
}

.dual-doors-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.door-card {
  background: linear-gradient(180deg, rgba(9, 33, 40, 0.44), rgba(9, 33, 40, 0.34));
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 14px;
  padding: 1.6rem;
  text-align: left;
  backdrop-filter: blur(3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

.door-card h2 {
  color: #ffffff;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.door-card p {
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.42);
}

.door-card-tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #f7c98d;
  margin-bottom: 0.5rem;
}

.door-card-primary {
  border-color: rgba(236, 147, 68, 0.8);
}

.section-head-center {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 2rem;
}

.home-assurance-strip {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background: #f7fbfb;
}

.home-assurance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-assurance-item {
  background: #ffffff;
  border: 1px solid #d9e8ea;
  border-radius: 12px;
  padding: 1.2rem;
}

.home-assurance-item h3,
.home-assurance-item h2 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--color-primary);
}

.video-teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 940px;
  margin: 0 auto;
}

.video-teaser-placeholder {
  min-height: 170px;
  border-radius: 14px;
  border: 1px dashed #b9d0d4;
  background: linear-gradient(160deg, #f3f9fa 0%, #f8fcfc 48%, #f0f6f7 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

.video-teaser-placeholder span {
  display: inline-block;
  font-weight: 600;
  font-size: 0.86rem;
  color: #2f6269;
  margin-bottom: 0.35rem;
}

.video-teaser-placeholder p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #425f63;
}

.home-teasers-muted {
  padding-top: 2.1rem;
  padding-bottom: 2.1rem;
}

.home-teasers-muted .section-head-center {
  margin-bottom: 1.2rem;
}

.home-teasers-muted h2 {
  font-size: clamp(1.35rem, 2.1vw, 1.7rem);
}

/* ===========================
   HOME IMAGES DISTRIBUEES
   =========================== */
.home-installation-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  align-items: center;
}

.home-installation-image,
.home-benefit-card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(12, 37, 42, 0.12);
  background: #dfe8ea;
}

.home-installation-image img,
.home-benefit-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-installation-image {
  min-height: 420px;
}

.home-installation-text {
  background: #ffffff;
  border: 1px solid #d7e6e9;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(15, 40, 46, 0.08);
}

.home-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.home-benefit-card {
  min-height: 260px;
}

.home-installation-image-grid img {
  object-position: center 42%;
}

.home-benefit-living img {
  object-position: center 46%;
}

.home-benefit-control img {
  object-position: center 60%;
}

.home-benefit-cut img {
  object-position: center 40%;
}

.home-benefit-panel img {
  object-position: center 35%;
}

.home-benefit-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.9rem 1rem;
  color: #ffffff;
  font-weight: 500;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 28, 35, 0.86) 92%);
}

.home-installation-focus,
.home-benefits-gallery {
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
}

.home-demo-split-section {
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 1024px) {
  .home-demo-split,
  .home-installation-layout {
    grid-template-columns: 1fr;
  }

  .lte-integrators-map-layout {
    grid-template-columns: 1fr;
  }

  .lte-map-filters {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .lte-france-map-demo {
    min-height: 280px;
  }

  .home-demo-video,
  .home-installation-image {
    min-height: 320px;
  }

  .home-demo-media {
    min-height: 320px;
  }

  .home-demo-text {
    padding: 1.4rem;
  }

  .home-benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-demo-video,
  .home-installation-image,
  .home-benefit-card {
    min-height: 220px;
  }

  .lte-map-pin {
    font-size: 0.72rem;
    padding: 0.24rem 0.5rem;
  }

  .lte-live-map {
    min-height: 320px;
  }

  .video-teaser-placeholder {
    min-height: 150px;
  }
}

/* ===========================
   GABARITS PRESTATAIRE/SOLUTION
   =========================== */
.chantier-sequence {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
  padding: 0;
}

.chantier-step {
  background: #ffffff;
  border: 1px solid #d6e5e8;
  border-radius: 10px;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chantier-step-number {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #e9f2f4;
  color: var(--color-primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chantier-step-label {
  font-size: 0.92rem;
  line-height: 1.45;
}

.chantier-step-active {
  border-color: #edb67c;
  box-shadow: 0 0 0 2px rgba(236, 147, 68, 0.2);
  background: #fffaf5;
}

.chantier-step-active .chantier-step-number {
  background: var(--color-accent);
  color: #ffffff;
}

.sequence-note {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--color-accent);
  background: #fff8f2;
}

.lte-clean-list {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.lte-clean-list li {
  margin-bottom: 0.6rem;
}

/* ===========================
   RESSOURCES
   =========================== */
.resource-card .cta-button {
  margin-top: auto;
}

.gated-resource-card form {
  margin-top: 0.8rem;
}

/* ===========================
   CHATBOT PLACEHOLDER
   =========================== */
.lte-chatbot-widget {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  width: min(360px, calc(100vw - 2rem));
}

.lte-chatbot-toggle {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #5e8b92 0%, #6faab3 100%);
  color: #fff;
  font-weight: 700;
  padding: 0.82rem 1rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(35, 85, 96, 0.25);
}

.lte-chatbot-panel {
  margin-top: 0.7rem;
  background: #fff;
  border: 1px solid #cde0e4;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}

.lte-chatbot-panel h3 {
  font-size: 1.1rem;
  color: var(--color-primary);
}

.lte-chatbot-widget.is-disabled .lte-chatbot-toggle {
  background: #afc2c6;
  cursor: not-allowed;
  box-shadow: none;
}

@media (max-width: 992px) {
  .dual-doors-grid,
  .video-teaser-grid,
  .home-assurance-grid {
    grid-template-columns: 1fr;
  }

  .chantier-sequence {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .lte-chatbot-widget {
    right: 0.65rem;
    left: 0.65rem;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-demo-video {
    animation: none;
  }
}
