@charset "UTF-8";
/* CSS Document */
/* ==========================================================================
   ATELIER PEINTURE TOIT FAÇADE - ULTIMATE PREMIUM CSS3 STYLESHEET
   Style moderne, dynamique & responsive (Design System & Essential Blocks Boosted)
   ========================================================================== */
/* --------------------------------------------------------------------------
   1. VARIABLES & DESIGN SYSTEM (DESIGN TOKENS)
   -------------------------------------------------------------------------- */ :root {
  /* Typographie */
  --font-primary: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  /* Palette de Couleurs Principale */
  --base: #f95e11;
  --base-hover: #e04e03;
  --base-titles: #ea2a04;
  --base-light: rgba(249, 94, 17, 0.08);
  --base-glow: rgba(249, 94, 17, 0.35);
  /* Couleurs Neutres & Sombres */
  --gray-dark: #222222;
  --gray-body: #4a4a4a;
  --gray-light: #f8f9fa;
  --gray-border: #e9ecef;
  --black: #0d0d0d;
  --black-card: #141414;
  --white: #ffffff;
  /* Gradient Signatures */
  --grad-primary: linear-gradient(135deg, #f95e11 0%, #ea2a04 100%);
  --grad-dark: linear-gradient(145deg, #181818 0%, #0d0d0d 100%);
  --grad-phone: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
  --grad-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%);
  /* Ombres Portées (Elevations) */
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.12);
  --shadow-colored: 0 10px 30px rgba(249, 94, 17, 0.3);
  --shadow-phone: 0 10px 25px rgba(220, 53, 69, 0.4);
  /* Micro-Transitions */
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: all 0.25s var(--ease-out);
  --transition-smooth: all 0.4s var(--ease-out);
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
}
/* --------------------------------------------------------------------------
   2. REINITIALISATION & TYPOGRAPHIE FLUIDE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}
body {
  font-family: var(--font-primary);
  color: var(--gray-body);
  background-color: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Typographie Dynamique Fluid (Resize automatique) */
h1, .display-4 {
  font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h2, .h2 {
  font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem);
  letter-spacing: -0.01em;
}
h3, .h3 {
  font-size: clamp(1.25rem, 1.5vw + 1rem, 1.75rem);
}
/* Utilitaires Couleurs & Fond */
.text-base {
  color: var(--base) !important;
}
.text-base-titles {
  color: var(--base-titles) !important;
}
.text-gray {
  color: var(--gray-body) !important;
}
.bg-base {
  background: var(--grad-primary) !important;
}
.bg-light-section {
  background-color: #fdfaf8;
}
.bg-dark-section {
  background: var(--grad-dark);
}
/* --------------------------------------------------------------------------
   3. EN-TÊTE & NAVBAR STICKY
   -------------------------------------------------------------------------- */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1030;
  transition: var(--transition-fast);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.top-bar {
  font-size: 0.85rem;
  background: var(--black) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-bar a:hover {
  color: var(--base) !important;
  transition: var(--transition-fast);
}
.navbar-brand {
  transition: var(--transition-fast);
}
.navbar-brand:hover {
  transform: scale(1.02);
}
.navbar-nav .nav-link {
  color: var(--black);
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  position: relative;
  transition: var(--transition-fast);
    font-size: 14px;
}
/* Soulignement animé au survol des liens */
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
  border-radius: 2px;
}
.navbar-nav .nav-link:hover {
  color: var(--base-titles);
}
.navbar-nav .nav-link:hover::after {
  width: 80%;
}
/* --------------------------------------------------------------------------
   4. BOUTONS & ACTIONSS (CALL TO ACTION)
   -------------------------------------------------------------------------- */
/* Bouton Rouge Téléphone Héro */
.btn-phone-hero {
  background: var(--grad-phone);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 1.25rem;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: var(--shadow-phone);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.btn-phone-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.6s;
}
.btn-phone-hero:hover::before {
  left: 100%;
}
.btn-phone-hero:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(220, 53, 69, 0.5);
}
/* Bouton Principal de Marque (Orange) */
.btn-base {
  background: var(--grad-primary);
  color: var(--white) !important;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  box-shadow: var(--shadow-colored);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-base:hover {
  background: linear-gradient(135deg, #ea2a04 0%, #c82000 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(249, 94, 17, 0.5);
}
/* Animation Icône Téléphone Pulse */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}
.icon-pulse {
  animation: pulse-ring 2s infinite ease-in-out;
}
/* --------------------------------------------------------------------------
   5. CARTES, IMAGES & BLOCS ESSENTIAL BLOCKS
   -------------------------------------------------------------------------- */
/* Wrappers d'images intelligents */
.img-eb-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  background-color: var(--black);
}
.img-eb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.4s ease;
  display: block;
}
.img-eb-wrapper:hover img {
  transform: scale(1.08);
  filter: brightness(1.05);
}
/* Overlay Translucide sur les Images */
.bg-dark-translucent {
  background: var(--grad-overlay);
  backdrop-filter: blur(4px);
}
/* Cartes de Services Elevées */
.card {
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg) !important;
}
/* --------------------------------------------------------------------------
   6. ACCORDÉON CUSTOM (FAQ)
   -------------------------------------------------------------------------- */
.custom-eb-accordion .accordion-item {
  border: 1px solid var(--gray-border) !important;
  border-radius: var(--radius-md) !important;
  transition: var(--transition-fast);
}
.custom-eb-accordion .accordion-item:hover {
  border-color: rgba(249, 94, 17, 0.3) !important;
}
.custom-eb-accordion .accordion-button {
  background-color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  box-shadow: none !important;
  color: var(--black-card);
  transition: var(--transition-fast);
}
.custom-eb-accordion .accordion-button:not(.collapsed) {
  background-color: var(--base-light);
  color: var(--base-titles) !important;
  border-bottom: 1px solid rgba(249, 94, 17, 0.15);
}
.custom-eb-accordion .accordion-button::after {
  transition: transform 0.3s var(--ease-bounce);
}
.custom-eb-accordion .accordion-body {
  padding: 1.25rem 1.5rem;
  line-height: 1.7;
  background-color: #fcfcfc;
}
/* --------------------------------------------------------------------------
   7. MENU LATÉRAL MOBILE (BURGER DRAWER)
   -------------------------------------------------------------------------- */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  background-color: var(--white);
  z-index: 1060;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
  transition: right 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.mobile-nav-drawer.active {
  right: 0;
}
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}
.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}
.drawer-link {
  color: var(--gray-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  display: block;
}
.drawer-link:hover {
  color: var(--base);
  background-color: var(--base-light);
  transform: translateX(5px);
}
/* --------------------------------------------------------------------------
   8. GALERIE FOOTER & LIGHTBOX
   -------------------------------------------------------------------------- */
.footer-zoom-img {
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), filter 0.3s ease;
  height: 85px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.footer-zoom-img:hover {
  transform: scale(1.08);
  filter: brightness(1.15);
  box-shadow: var(--shadow-md);
}
/* --------------------------------------------------------------------------
   9. FORMULAIRE DE CONTACT PREMIUM
   -------------------------------------------------------------------------- */
#devisForm .form-control, #devisForm .form-select {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
#devisForm .form-control:focus, #devisForm .form-select:focus {
  border-color: var(--base) !important;
  box-shadow: 0 0 0 4px var(--base-glow) !important;
  outline: none;
}
/* --------------------------------------------------------------------------
   10. RESPONSIVE DESIGN & ADAPTATIONS MOBILES
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 1.5rem;
  }
  .phone-cta-wrapper {
    width: 100%;
    background: var(--grad-phone);
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-phone);
  }
  .btn-phone-hero {
    background: transparent;
    box-shadow: none;
    padding: 6px 12px;
    font-size: 1.15rem;
    width: 100%;
    justify-content: center;
  }
  .btn-phone-hero:hover {
    background: transparent;
    box-shadow: none;
    transform: none;
  }
}
@media (max-width: 575.98px) {
  .mobile-nav-drawer {
    width: 85vw;
  }
  .btn-base, .btn-phone-hero {
    width: 100%;
  }
}
/* Respect des préférences utilisateur (Accessibilité) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}