@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@400;500;600;700;800&display=swap');

/* Corps de texte — Inter */
body,
p, li, span, label,
input, textarea, select,
.feature-desc,
.choose-item p,
.testimonial-text,
.actualite-excerpt,
.footer-tagline,
.footer-contact-col p,
.gamme-card-desc,
.gamme-selector-sub,
.how-intro,
.how-step p,
.devis-description,
.install-content p,
.hero-context,
.hero-signature,
.stat-label,
.footer-made,
.footer-adresse,
.proj-step span,
.proj-metric-label {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Titres & éléments d'interface — Poppins */
h1, h2, h3, h4, h5, h6,
.elementor-heading-title,
.btn,
.cta-button,
.cta-primary,
.cta-secondary,
.how-cta,
.install-cta,
.devis-submit,
.devis-badge,
.devis-title,
.devis-label,
.gamme-card-title,
.how-title,
.how-step h3,
.how-number,
.footer-nav-col h4,
.footer-contact-col h4,
.footer-cta-btn,
.section-title,
.gamme-selector-title,
.casiers-section .section-title h2,
.feature-title,
.choose-item h4,
.testimonial-author strong,
.testimonial-avatar,
.stat-number,
.photo-caption h3,
.actualite-title,
.faq-question,
.devis-step-dot span,
.tile-label,
.proj-step strong,
.proj-metric-val,
.proj-metric--wide strong,
.proj-eyebrow,
.header-contact-btn {
  font-family: Poppins, Inter, system-ui, sans-serif !important;
}


/* ══════════════════════════════════════════════════════════════
   2. SUPPRESSION OUTLINE / HIGHLIGHT BOUTONS & LIENS
   ══════════════════════════════════════════════════════════════ */

button:focus,
button:active,
button:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.menu-toggle,
.menu-toggle:focus,
.menu-toggle:active,
.menu-toggle:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

button,
a,
.menu-toggle {
  -webkit-tap-highlight-color: transparent !important;
}

.menu-toggle:hover {
  background: transparent !important;
  box-shadow: none !important;
}

header *:focus,
header *:focus-visible,
nav *:focus,
nav *:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}


/* ══════════════════════════════════════════════════════════════
   3. LIENS — SUPPRESSION SOULIGNEMENTS PARASITES
   ══════════════════════════════════════════════════════════════ */

header a {
  text-decoration: none !important;
}

a.btn,
a.cta-button,
a.cta-primary,
a.cta-secondary,
a.how-cta,
a.install-cta,
a.header-contact-btn,
a[class*="cta"],
a[class*="btn"],
a.gamme-card,
a.photo-item,
a.footer-cta-btn,
a.footer-nav-col ul li a,
a.actualite-link {
  text-decoration: none !important;
}

/* Suppression du pseudo-element ::after parasite sur les liens-boutons */
a.btn::after,
a.cta-button::after,
a.cta-primary::after,
a.cta-secondary::after,
a.how-cta::after,
a.install-cta::after,
a.footer-cta-btn::after {
  content: none !important;
}


/* ══════════════════════════════════════════════════════════════
   4. ACTUALITÉ LINK — UNDERLINE ANIMÉ (préservé)
   ══════════════════════════════════════════════════════════════ */

.actualite-link {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
}

.actualite-link::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -2px !important;
  width: 0 !important;
  height: 2px !important;
  background: #3E7A16 !important;
  border-radius: 2px !important;
  transition: width 0.25s ease !important;
  display: block !important;
}

.actualite-link:hover::after {
  width: 100% !important;
}


/* ══════════════════════════════════════════════════════════════
   5. SECTION INSTALLATION — IMAGE FULL HEIGHT DESKTOP
   ══════════════════════════════════════════════════════════════ */

@media (min-width: 769px) {
  .install-container {
    display: flex !important;
    align-items: stretch !important;
  }

  .install-image {
    align-self: stretch !important;
    display: flex !important;
    position: relative !important;
    min-height: 480px !important;
  }

  .install-image img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 20px !important;
  }
}


/* ══════════════════════════════════════════════════════════════
   6. FAQ — ÉTATS OUVERT / FERMÉ / HOVER
   ══════════════════════════════════════════════════════════════ */

#faq .faq-item .faq-question[aria-expanded="false"] {
  background-color: #f8f8f8 !important;
  color: #333 !important;
}

#faq .faq-item .faq-question[aria-expanded="true"] {
  background-color: #ffffff !important;
  color: #55a11f !important;
}

#faq .faq-item .faq-question[aria-expanded="true"] span {
  color: #55a11f !important;
}

#faq .faq-item .faq-question[aria-expanded="true"] .faq-icon {
  stroke: #55a11f !important;
}

#faq .faq-item .faq-question:hover {
  background-color: #eeeeee !important;
}


/* ══════════════════════════════════════════════════════════════
   7. HEADER — AFFINEMENTS VISUELS
   ══════════════════════════════════════════════════════════════ */

/* Assure que le logo ne prend pas de border-radius */
.logo img,
.header-content .logo img {
  border-radius: 0 !important;
}

/* ── Navigation links : poids verrouillé sur toutes les pages ── */
#clsw .nav-btn,
#clsw .nav-btn:hover,
#clsw .nav-btn:focus,
#clsw .nav-btn:active,
#clsw .nav-btn:visited,
body #clsw .nav-btn,
html body #clsw .nav-btn {
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  color: #4B5563 !important;
  font-size: 0.88rem !important;
}

/* ── Bouton "Demander un devis" : raffiné ── */
#clsw .btn-cta {
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.03em !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 14px rgba(89, 161, 31, 0.35) !important;
  transition: box-shadow 0.25s ease, transform 0.2s ease !important;
}
#clsw .btn-cta:hover {
  box-shadow: 0 8px 24px rgba(89, 161, 31, 0.45) !important;
  transform: translateY(-1px) !important;
}

/* Contact btn — assure l'alignement vertical de l'icône */
.header-contact-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
}


/* ══════════════════════════════════════════════════════════════
   8. GAMME CARDS — HARMONISATION HOVER
   ══════════════════════════════════════════════════════════════ */

.gamme-card {
  text-decoration: none !important;
}

.gamme-card:hover {
  text-decoration: none !important;
  color: inherit !important;
}

/* Badge tempéré — couleur cohérente */
.gamme-card-badge--tempere {
  color: #B87500 !important;
  background: rgba(242, 159, 5, 0.12) !important;
}

.gamme-card:hover .gamme-card-badge--tempere {
  background: rgba(242, 159, 5, 0.22) !important;
}


/* ══════════════════════════════════════════════════════════════
   9. SECTIONS PRODUITS — IMAGES DESKTOP
   ══════════════════════════════════════════════════════════════ */

/* Assure que les images produit gardent leur border-radius */
.casier-image-desktop img {
  border-radius: 14px !important;
}

/* Hover zoom cohérent */
.casier-image-desktop:hover img {
  transform: scale(1.03) !important;
}


/* ══════════════════════════════════════════════════════════════
   10. SECTION GALERIE PHOTOS — CAPTIONS
   ══════════════════════════════════════════════════════════════ */

.photo-item,
.photo-item * {
  text-decoration: none !important;
}

.photo-item:hover .photo-caption h3 {
  color: #3E7A16 !important;
}

/* "Voir le produit" au hover */
.photo-caption::after {
  font-family: Inter, system-ui, sans-serif !important;
  font-weight: 600 !important;
}


/* ══════════════════════════════════════════════════════════════
   11. SECTION PROJECTION (widget personnalisé)
   ══════════════════════════════════════════════════════════════ */

/* Eyebrow */
.proj-eyebrow {
  font-family: Inter, system-ui, sans-serif !important;
}

/* Steps — strong en Poppins */
.proj-step strong {
  font-family: Poppins, Inter, system-ui, sans-serif !important;
}

/* Metric val — chiffres en Poppins */
.proj-metric-val {
  font-family: Poppins, Inter, system-ui, sans-serif !important;
}

/* Metric wide — libellé en Poppins */
.proj-metric--wide strong {
  font-family: Poppins, Inter, system-ui, sans-serif !important;
}

/* CTA du widget — cohérent avec .btn */
.proj-cta,
a.proj-cta {
  font-family: Poppins, Inter, system-ui, sans-serif !important;
  text-decoration: none !important;
}

a.proj-cta::after {
  content: none !important;
}


/* ══════════════════════════════════════════════════════════════
   12. FORMULAIRE DEVIS — COHÉRENCE TYPOGRAPHIQUE
   ══════════════════════════════════════════════════════════════ */

.devis-label {
  font-family: Poppins, Inter, system-ui, sans-serif !important;
  font-weight: 600 !important;
}

.devis-input,
.devis-textarea {
  font-family: Inter, system-ui, sans-serif !important;
}

.tile-label {
  font-family: Poppins, Inter, system-ui, sans-serif !important;
}

.tile-sub {
  font-family: Inter, system-ui, sans-serif !important;
}

.devis-step-dot p {
  font-family: Inter, system-ui, sans-serif !important;
}

/* Bouton submit */
.devis-submit {
  font-family: Poppins, Inter, system-ui, sans-serif !important;
}

/* Retour btn */
#devisPrevBtn {
  font-family: Inter, system-ui, sans-serif !important;
}


/* ══════════════════════════════════════════════════════════════
   13. SECTION ACTUALITÉS — SLIDER
   ══════════════════════════════════════════════════════════════ */

.actualite-title {
  font-family: Poppins, Inter, system-ui, sans-serif !important;
}

.actualite-date,
.actualite-excerpt {
  font-family: Inter, system-ui, sans-serif !important;
}

/* Flèches slider — visible au hover du wrapper */
.slider-nav {
  font-family: inherit !important;
}


/* ══════════════════════════════════════════════════════════════
   14. SECTION HOW-TO — NUMÉROS & TITRES
   ══════════════════════════════════════════════════════════════ */

.how-number {
  font-family: Poppins, Inter, system-ui, sans-serif !important;
  font-weight: 800 !important;
}

.how-title,
.how-step h3 {
  font-family: Poppins, Inter, system-ui, sans-serif !important;
}

.how-intro,
.how-step p {
  font-family: Inter, system-ui, sans-serif !important;
}


/* ══════════════════════════════════════════════════════════════
   15. SOCIAL PROOF — STATS & TÉMOIGNAGES
   ══════════════════════════════════════════════════════════════ */

.stat-number {
  font-family: Poppins, Inter, system-ui, sans-serif !important;
  font-weight: 800 !important;
}

.stat-label {
  font-family: Inter, system-ui, sans-serif !important;
}

.testimonial-text {
  font-family: Inter, system-ui, sans-serif !important;
}

.testimonial-author strong {
  font-family: Poppins, Inter, system-ui, sans-serif !important;
}

.testimonial-author span {
  font-family: Inter, system-ui, sans-serif !important;
}

.testimonial-avatar {
  font-family: Poppins, Inter, system-ui, sans-serif !important;
}


/* ══════════════════════════════════════════════════════════════
   16. FOOTER UNIFIÉ — COHÉRENCE GLOBALE
   ══════════════════════════════════════════════════════════════ */

/* Logos footer — pas de border-radius */
.footer-logo,
.footer-partners img,
.footer-logo-container img {
  border-radius: 0 !important;
}

/* Liens footer */
.footer-nav-col ul li a,
.footer-contact-col a,
.footer-cta-btn {
  text-decoration: none !important;
}

.footer-nav-col ul li a {
  font-family: Inter, system-ui, sans-serif !important;
}

.footer-contact-col p,
.footer-tagline,
.footer-made,
.footer-adresse {
  font-family: Inter, system-ui, sans-serif !important;
}

.footer-nav-col h4,
.footer-contact-col h4,
.footer-cta-btn {
  font-family: Poppins, Inter, system-ui, sans-serif !important;
}


/* ══════════════════════════════════════════════════════════════
   17. IMAGES GLOBALES — BORDER-RADIUS COHÉRENT
   ══════════════════════════════════════════════════════════════ */

/* Logos et icônes : jamais de border-radius */
img[alt*="logo" i],
img[alt*="Logo" i],
img[alt*="CKSQUARE" i],
img[alt*="Mecasystem" i],
img[alt*="Logawin" i],
img[alt*="Contact" i],
footer img,
header img,
.logo img,
.footer-partners img,
.footer-logo,
.footer-logo-container img,
.header-contact-btn img,
.partners-logos img {
  border-radius: 0 !important;
}

/* Features icons */
.feature-icon-wrap img {
  border-radius: 0 !important;
}


/* ══════════════════════════════════════════════════════════════
   18. BOUTON GLOBAL .btn — INLINE-FLEX POUR ICÔNE SVG
   ══════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-family: Poppins, Inter, system-ui, sans-serif !important;
}

/* Sur mobile, le btn redevient centré */
@media (max-width: 768px) {
  .btn {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* ══════════════════════════════════════════════════════════════
   19. SECTION MISSION — ALIGNEMENT RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  #mission .section-title,
  #mission h2,
  #mission h3,
  #mission p {
    text-align: center !important;
  }
}

@media (max-width: 768px) {
  #mission .section-title,
  #mission h2,
  #mission h3,
  #mission p {
    text-align: center !important;
  }
}


/* ══════════════════════════════════════════════════════════════
   20. CONTACT STRIP — LIENS BLANCS COHÉRENTS
   ══════════════════════════════════════════════════════════════ */

.contact-strip a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: Inter, system-ui, sans-serif !important;
}

.contact-strip a:hover {
  opacity: 0.85 !important;
  color: #ffffff !important;
}


/* ══════════════════════════════════════════════════════════════
   21. SCROLL REVEAL — COMPATIBILITÉ ELEMENTOR
   ══════════════════════════════════════════════════════════════ */

/* Assure que les éléments .reveal sont bien initialisés
   même dans un contexte Elementor */
.elementor-widget-html .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1),
              transform .7s cubic-bezier(.22,.61,.36,1);
}

.elementor-widget-html .reveal.reveal--left {
  transform: translateX(-40px);
}

.elementor-widget-html .reveal.reveal--right {
  transform: translateX(40px);
}

.elementor-widget-html .reveal.visible {
  opacity: 1 !important;
  transform: translate(0) scale(1) !important;
}


/* ══════════════════════════════════════════════════════════════
   22. RESPONSIVE GLOBAL — COHÉRENCE MOBILE
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* Titres centrés dans les sections produits */
  .casier-content h2,
  .casier-content h3,
  .casier-content p,
  .feature-title,
  .feature-desc {
    text-align: center !important;
  }

  /* Steps de la section projection */
  .proj-step:hover {
    transform: none !important;
  }

  /* Visual de la section projection — pas de transform initial */
  .proj-visual {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Formulaire devis */
  .devis-next-btn {
    width: 100% !important;
    max-width: 100% !important;
  }

}

@media (max-width: 480px) {

  /* Tailles typographiques forcées pour cohérence */
  h2 {
    font-size: clamp(1.25rem, 5.5vw, 1.6rem) !important;
  }

  h3 {
    font-size: clamp(1rem, 4.5vw, 1.15rem) !important;
  }

}


/* ══════════════════════════════════════════════════════════════
   23. PERFORMANCE — RÉDUCTION DE MOUVEMENT
   ══════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .proj-eyebrow-dot {
    animation: none !important;
  }
}


/* ══════════════════════════════════════════════════════════════
   FIN DU FICHIER CSS PERSONNALISÉ
   Casiers Libre Service — v1.0
   ══════════════════════════════════════════════════════════════ */
