/*
Theme Name: JED Aménagement
Theme URI: https://jed-amenagement.fr
Author: JED Aménagement
Author URI: https://jed-amenagement.fr
Description: Thème WordPress professionnel et réactif pour entreprise d'aménagement extérieur, terrassement & démolition, maçonnerie, VRD, location de bennes et entretien paysager.
Version: 1.1.3.20261104.2355
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jed-amenagement
Tags: custom-header, custom-menu, featured-images, two-columns, full-width-template, theme-options, translation-ready
*/

/* ==========================================================================
   DESIGN SYSTEM - JED Aménagement
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #ea580c;        /* Construction Orange */
  --primary-hover: #c2410c;
  --secondary: #0f172a;      /* Slate 900 */
  --secondary-light: #1e293b;/* Slate 800 */
  --accent: #f59e0b;         /* Amber */
  --text-dark: #1e293b;      /* Slate 800 */
  --text-light: #f8fafc;     /* Slate 50 */
  --text-muted: #64748b;     /* Slate 500 */
  --bg-light: #f8fafc;       /* Slate 50 */
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;   /* Slate 200 */
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --max-width: 1280px;
}

/* Base styles */
*, ::before, ::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

body.home,
body.front-page {
  background-color: #0f172a;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--secondary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-weight: 400;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}
/* WordPress Admin Bar Compatibility */
body.admin-bar .navbar {
  top: 32px !important;
}
@media screen and (max-width: 782px) {
  body.admin-bar .navbar {
    top: 46px !important;
  }
}


/* Navbar styling */
body.home .navbar:not(.navbar-scrolled),
body.front-page .navbar:not(.navbar-scrolled) {
  background: #0f172a;
}

.navbar-scrolled {
  background: rgba(15, 23, 42, 0.98) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.logo-img {
  height: 50px;
  width: auto;
}

.site-title {
  color: var(--text-light);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-title span {
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.5rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--secondary-light);
  min-width: 260px;
  width: max-content;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-lg);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.65rem 1.3rem;
  color: var(--text-light);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}

.dropdown-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary);
  padding-left: 1.5rem;
}

/* Contact Info Top bar on desktop */
.contact-bar {
  background: #0f172a;
  color: var(--text-light);
  font-size: 0.8rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: margin-top 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

body.home .contact-bar:not(.navbar-scrolled .contact-bar),
body.front-page .contact-bar:not(.navbar-scrolled .contact-bar) {
  background: rgba(15, 23, 42, 0.65);
}

.contact-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-bar-links {
  display: flex;
  gap: 1.5rem;
}

.contact-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.contact-bar-item a {
  color: var(--text-light);
}

.contact-phones {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--text-light);
}

.contact-phones .fa-phone {
  color: var(--primary);
  font-size: 0.85rem;
}

.contact-phones .phone-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
}

.contact-phones .phone-link:hover {
  color: var(--primary);
}

.phone-separator {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  margin: 0 0.35rem;
}

/* Top bar remains stable on scroll: no height jump, no masking, no white gap */
.navbar-scrolled .contact-bar {
  margin-top: 0;
  opacity: 1;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 10001;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: var(--transition-smooth);
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

.menu-toggle .bar {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle.active .bar-1 {
  transform: translateY(7.5px) rotate(45deg);
}
.menu-toggle.active .bar-2 {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.active .bar-3 {
  transform: translateY(-7.5px) rotate(-45deg);
}

.menu-toggle .fallback-icon {
  display: none;
}

/* Homepage Slider Section Wrapper */
.homepage-slider-section {
  position: relative;
  width: 100%;
  margin-top: 0;
  padding-top: var(--navbar-actual-height, 108px);
  background-color: #0f172a;
}

/* Élimination stricte de toute marge haute résiduelle sur Smart Slider 3 */
.homepage-slider-section .n2_clear,
.homepage-slider-section ss3-force-full-width,
.homepage-slider-section .n2-section-smartslider,
.homepage-slider-section #n2-ss-1-align,
.homepage-slider-section .n2-padding {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Ajustement impeccable des images de fond du slider sans interstice */
.homepage-slider-section .n2-ss-slider .n2-ss-slide-background-image img {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}

/* Fallback Hero Section / Slider */
.hero {
  position: relative;
  height: 90vh;
  min-height: 550px;
  background-color: var(--secondary);
  overflow: hidden;
  margin-top: 0;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center 25%;
}

.slide.active {
  opacity: 1;
}

.slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  padding-top: 80px;
  color: var(--text-light);
  max-width: 800px;
}

.hero-tagline {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s forwards 0.2s;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  transform: translateY(30px);
  opacity: 0;
  animation: slideUp 0.8s forwards 0.4s;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(248, 250, 252, 0.8);
  transform: translateY(40px);
  opacity: 0;
  animation: slideUp 0.8s forwards 0.6s;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  transform: translateY(50px);
  opacity: 0;
  animation: slideUp 0.8s forwards 0.8s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-light);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn-secondary:hover {
  background: var(--secondary);
  color: var(--text-light);
  transform: translateY(-2px);
}

.hero-ctas .btn-secondary {
  border-color: var(--text-light);
  color: var(--text-light);
}

.hero-ctas .btn-secondary:hover {
  background: var(--text-light);
  color: var(--secondary);
}

/* Key Features (Quick Stats) */
.features-strip {
  position: relative;
  margin-top: -60px;
  z-index: 100;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  border-color: var(--primary);
}

.feature-icon-wrapper {
  background: rgba(234, 88, 12, 0.1);
  color: var(--primary);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}

.feature-title {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Sections */
.section {
  padding: 6rem 0;
  background-color: var(--bg-light);
}

.section-bg {
  background-color: var(--bg-white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-subtitle {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

/* Anti-overflow mobile safety rules */
html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

*, ::before, ::after {
  box-sizing: border-box;
}

img, iframe, video, table, svg {
  max-width: 100% !important;
}

/* Services Slider & Grid */
.services-slider-container {
  position: relative;
  width: 100%;
  margin-bottom: 2rem;
  padding: 0 10px;
}

.services-slider-track-wrapper {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-md);
  padding: 10px 0;
}

/* Services & Articles Grid Layout (Desktop Base) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
}

.services-grid.services-slider-track {
  grid-template-columns: none;
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  gap: 1.5rem;
  width: 100%;
}

.services-slider-track .service-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .services-slider-track .service-card {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 768px) {
  .services-slider-track .service-card {
    flex: 0 0 100%;
  }
}

.services-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--text-light);
  border: 2px solid var(--primary);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.services-slider-nav:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.services-slider-prev {
  left: -15px;
}

.services-slider-next {
  right: -15px;
}

@media (max-width: 768px) {
  .services-slider-prev { left: -5px; }
  .services-slider-next { right: -5px; }
}

.services-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.services-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.services-slider-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 6px;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img {
  transform: scale(1.08);
}

.service-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-text,
.service-card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-link,
.service-card-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  margin-top: auto;
  text-decoration: none;
  transition: color 0.2s ease;
}

.service-link:hover,
.service-card-link:hover {
  color: var(--primary-hover);
}

.service-link i,
.service-card-link i {
  transition: transform 0.2s ease;
}

.service-link:hover i,
.service-card-link:hover i {
  transform: translateX(5px);
}

/* Latest News Section Layout */
.latest-news-section {
  margin-top: 5rem;
  margin-bottom: 2.5rem;
}

.latest-news-section .section-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

/* Call To Action Strip */
.cta-strip {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: var(--text-light);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip-content {
  position: relative;
  z-index: 5;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.25rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.cta-numbers {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.cta-number-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-heading);
}

.cta-phone-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-phone-val {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--text-light);
  margin-top: 0;
  padding-top: calc(106px + 2rem);
  padding-bottom: 2rem;
  position: relative;
}

.page-hero-title {
  color: var(--text-light);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.6);
  align-items: center;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs span {
  color: var(--primary);
}

/* Content grid with sidebar */
.content-layout {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 3rem;
  padding: 3rem 0;
}

.content-layout-fullwidth {
  padding: 2.5rem 0 4rem 0;
}

.main-content {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.main-content.fullwidth {
  width: 100%;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.main-content p {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.main-content h3 {
  margin: 2rem 0 1rem 0;
  color: var(--secondary);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.widget {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.widget-title {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
  position: relative;
}

/* Zones checklist list */
.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.sidebar-list-item i {
  color: var(--primary);
}

/* List with Orange Bullet */
.orange-bullet-list {
  margin-bottom: 1.5rem;
  padding-left: 1rem;
}

.orange-bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.orange-bullet-list li::before {
  content: '■';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--primary);
  font-size: 0.8rem;
}

/* Interactive Galleries Layout */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-white);
  color: var(--secondary);
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.gallery-img-wrapper {
  height: 250px;
  position: relative;
  overflow: hidden;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img-wrapper img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  color: var(--text-light);
  font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info {
  padding: 1.25rem;
}

.gallery-title {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.gallery-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Lightbox Styling */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption {
  color: var(--text-light);
  text-align: center;
  margin-top: 1.5rem;
  max-width: 600px;
}

.lightbox-title {
  font-size: 1.25rem;
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.lightbox-desc {
  font-size: 0.9rem;
  color: rgba(248, 250, 252, 0.8);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: var(--text-light);
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
}

.lightbox-close:hover {
  color: var(--primary);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 3rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
}

.lightbox-nav:hover {
  color: var(--primary);
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

/* Contact forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  background: var(--bg-light);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}

.checkbox-label input {
  accent-color: var(--primary);
}

.rgpd-consent {
  margin-top: 1.5rem;
}

.rgpd-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.rgpd-label input {
  margin-top: 3px;
  accent-color: var(--primary);
}

/* Rappel Gratuit Floating Widget */
.floating-rappel {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
}

.rappel-btn {
  background: var(--primary);
  color: var(--text-light);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.rappel-btn:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

.rappel-popup {
  position: absolute;
  bottom: 80px;
  right: 0;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  width: 320px;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.rappel-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rappel-title {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.25rem;
}

/* Success Modal styling */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.success-modal.active {
  opacity: 1;
  visibility: visible;
}

.success-modal-content {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 450px;
  width: 90%;
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.success-modal.active .success-modal-content {
  transform: scale(1);
}

.success-icon {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem auto;
}

.success-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.success-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Cookie consent banner styling */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: calc(100% - 4rem);
  max-width: 450px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  color: var(--text-light);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(40px);
  transition: var(--transition-smooth);
}

.cookie-banner.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-title {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-title i {
  color: var(--accent);
}

.cookie-text {
  font-size: 0.8rem;
  color: rgba(248, 250, 252, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
}

.cookie-btn {
  flex: 1;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.cookie-btn-accept {
  background: var(--primary);
  color: var(--text-light);
}

.cookie-btn-accept:hover {
  background: var(--primary-hover);
}

.cookie-btn-deny {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-deny:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Footer styling */
.footer {
  background: var(--secondary);
  color: var(--text-light);
  padding: 5rem 0 2rem 0;
  border-top: 4px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  height: 55px;
  width: auto;
  align-self: flex-start;
  margin-bottom: 1.5rem;
}

.footer-slogan {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.footer-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-info-item i {
  color: var(--primary);
  margin-top: 3px;
}

.footer-title {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.footer-link-item a {
  color: var(--text-muted);
}

.footer-link-item a:hover {
  color: var(--primary);
  padding-left: 5px;
}

/* Social link in footer */
.fb-follow-btn {
  display: inline-flex;
  align-items: center;
  background: #1877f2;
  color: var(--text-light);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  gap: 0.75rem;
  margin-top: 1rem;
}

.fb-follow-btn:hover {
  background: #166fe5;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal-links a:hover {
  color: var(--primary);
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */
@media (min-width: 1201px) and (max-width: 1380px) {
  .nav-menu {
    gap: 0.35rem;
  }
  .nav-link {
    font-size: 0.8rem;
    padding: 0.4rem 0.3rem;
  }
  .logo-img {
    height: 40px;
  }
  .site-title {
    font-size: 1.1rem;
  }
  .site-title span {
    display: none;
  }
}

body.menu-open {
  overflow: hidden !important;
}

@media (max-width: 1200px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  
  /* Mobile fixed contact bar showing glued phones */
  .contact-bar {
    display: block;
    padding: 0.35rem 0;
    font-size: 0.78rem;
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .contact-bar-container {
    justify-content: center;
    padding: 0 0.75rem;
  }

  .contact-bar-links {
    justify-content: center;
    gap: 0;
  }

  .contact-bar-links .contact-hours,
  .contact-bar-right {
    display: none;
  }

  .contact-phones {
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .nav-container {
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .logo-wrapper {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 60px);
    overflow: hidden;
  }

  .logo-img {
    height: 40px;
    width: auto;
    max-width: 40px;
    object-fit: contain;
    flex-shrink: 0;
  }

  .site-title {
    min-width: 0;
    overflow: hidden;
    font-size: 1.05rem;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .site-title span {
    display: none !important; /* Empeche la baseline de pousser le menu burger hors de l ecran */
  }

  .menu-toggle {
    display: flex !important;
    margin-left: auto;
    flex-shrink: 0;
  }
  
  .homepage-slider-section {
    margin-top: 0;
    padding-top: var(--navbar-actual-height, 100px);
    background-color: #0f172a;
  }
  
  .hero {
    margin-top: 0;
    padding-top: 100px;
    height: auto;
    min-height: 480px;
    padding: 3rem 0;
  }
  
  .page-hero {
    margin-top: 0;
    padding-top: calc(100px + 1.5rem);
    padding-bottom: 1.5rem;
  }
  .page-hero-title {
    font-size: 1.6rem;
  }

  .nav-menu {
    position: fixed;
    top: var(--navbar-actual-height, 100px);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--navbar-actual-height, 100px));
    background: var(--secondary);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    transition: left 0.3s ease-in-out;
    overflow-y: auto;
    z-index: 99999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.05);
    margin-top: 0.5rem;
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: none;
    padding: 0.5rem 1rem;
    display: none;
  }
  
  .nav-item.active .dropdown-menu,
  .nav-item.open .dropdown-menu,
  .dropdown.open .dropdown-menu,
  .menu-item-has-children.open .dropdown-menu {
    display: block !important;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .content-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .services-grid:not(.services-slider-track) {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .features-strip {
    margin-top: -30px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal-links {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .checkbox-group {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .homepage-slider-section {
    margin-top: 0;
    padding-top: var(--navbar-actual-height, 72px);
    background-color: #0f172a;
  }

  /* Empeche le slider de s'ecraser a moitie de hauteur sur mobile */
  .homepage-slider-section .n2-section-smartslider,
  .homepage-slider-section .n2-ss-slider {
    min-height: 260px !important;
  }

  .services-grid:not(.services-slider-track) {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .main-content {
    padding: 1.5rem 1rem;
  }

  .content-layout, .content-layout-fullwidth {
    padding: 2.5rem 0;
  }
}

/* ==========================================================================
   SCROLL REVEAL MOTION DESIGN (INTERSECTION OBSERVER)
   ========================================================================== */
.reveal-init {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-init.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Feature Cards Motion */
.feature-card.reveal-init {
  transform: translateY(28px) scale(0.97);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease;
}

.feature-card.reveal-init.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* Services Carousel Motion */
.services-slider-container.reveal-init {
  transform: translateY(36px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-slider-container.reveal-init.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* CTA Strip Motion */
.cta-strip.reveal-init {
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-strip.reveal-init.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .reveal-init {
    transform: translateY(16px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .feature-card.reveal-init {
    transform: translateY(16px) scale(1);
    transition-delay: 0s !important;
  }

  .services-slider-container.reveal-init {
    transform: translateY(18px);
  }
}

/* Accessibility: User preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal-init,
  .feature-card.reveal-init,
  .services-slider-container.reveal-init,
  .cta-strip.reveal-init {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   COMPOSANTS MODERNES REUTILISABLES (DESIGN SYSTEM 2026)
   ========================================================================== */

/* En-têtes de pages & badges */
.page-intro-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 2.5rem auto;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff7ed;
  color: var(--primary);
  border: 1px solid #fed7aa;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.pill-badge i {
  color: var(--primary);
}

/* Ruban de navigation interactif par pilules */
.nav-pills-ribbon {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 2rem 0 3.5rem 0;
  position: relative;
  z-index: 10;
}

.nav-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.35rem;
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-pill-item .pill-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.28s ease;
  flex-shrink: 0;
}

.nav-pill-item:hover {
  background: var(--secondary);
  color: #ffffff;
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -3px rgba(15, 23, 42, 0.16);
}

.nav-pill-item:hover .pill-icon {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.08);
}

/* Blocs cartes de contenu (Galeries & Sections structurées) */
.content-card-block {
  scroll-margin-top: 130px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
  position: relative;
  transition: border-color 0.2s ease;
}

.content-card-block:hover {
  border-color: #cbd5e1;
}

.content-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.content-card-title {
  color: var(--secondary);
  margin: 0 0 0.35rem 0;
  font-size: 1.55rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.content-number-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--secondary);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.content-card-block.accent-primary .content-number-badge {
  background: var(--primary);
}

.content-card-desc {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Bouton retour en haut de page */
.back-to-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #f8fafc;
  border: 1px solid var(--border-color);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.back-to-nav-btn:hover {
  color: var(--primary);
  border-color: #fed7aa;
  background: #fff7ed;
  transform: translateY(-1px);
}

/* Grille de profils d'équipe (Page Présentation) */
.team-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0 3.5rem 0;
}

.team-profile-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.team-profile-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.team-avatar-wrapper {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.25rem auto;
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary);
  box-shadow: 0 6px 12px rgba(234, 88, 12, 0.2);
}

.team-member-name {
  color: var(--secondary);
  font-size: 1.35rem;
  margin: 0 0 0.25rem 0;
  font-weight: 700;
}

.team-role-tag {
  display: inline-block;
  background: #fff7ed;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  letter-spacing: 0.3px;
}

.team-member-bio {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.team-phone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--secondary);
  color: #ffffff;
  text-decoration: none;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.team-phone-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Encadré d'appel à l'action / Devis */
.cta-callout-box {
  background: #f8fafc;
  border-left: 5px solid var(--primary);
  padding: 1.75rem 2rem;
  border-radius: 12px;
  margin: 2.5rem 0;
}

.cta-callout-title {
  margin-top: 0;
  color: var(--secondary);
  font-size: 1.25rem;
  font-weight: 700;
}

.cta-callout-text {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.cta-callout-text a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.cta-callout-text a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Grille et blocs de la page Contact */
.contact-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-info-panel {
  background: var(--secondary);
  color: #ffffff;
  padding: 2rem 1.75rem;
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  width: 100%;
  box-sizing: border-box;
}

.contact-info-panel h2 {
  color: #ffffff;
  margin-top: 0;
  font-size: 1.75rem;
}

.contact-info-panel p {
  color: #94a3b8;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

.contact-info-row {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon-square {
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: #ffffff;
}

.contact-icon-square.dark {
  background: #1e293b;
  color: var(--primary);
}

.contact-info-text strong {
  display: block;
  color: #f8fafc;
}

.contact-info-text a {
  color: var(--primary);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-info-text span {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.contact-map-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  margin-top: 1.5rem;
  width: 100%;
}

.contact-map-frame iframe {
  width: 100%;
  height: 340px;
  min-height: 340px;
  display: block;
  border: 0;
}

@media (max-width: 600px) {
  .contact-map-frame iframe {
    height: 280px;
    min-height: 280px;
  }
}

.contact-form-panel {
  background: var(--bg-white);
  padding: 2rem 1.75rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  width: 100%;
  box-sizing: border-box;
}

.contact-form-panel h2 {
  color: var(--secondary);
  margin-top: 0;
  font-size: 1.75rem;
}

.contact-form-panel p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Responsiveness composants 2026 */
@media (max-width: 900px) {
  .nav-pills-ribbon {
    gap: 0.5rem;
  }
  .nav-pill-item {
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: flex-start;
    padding: 0.65rem 1rem;
  }
  .content-card-block {
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
  }
}

@media (max-width: 600px) {
  .nav-pill-item {
    flex: 1 1 100%;
  }
}

@media (max-width: 380px) {
  .contact-phones {
    font-size: 0.72rem;
  }
  .phone-separator {
    margin: 0 0.15rem;
  }
}

/* ==========================================================================
   SERVICES & LOCATION DE BENNES (10, 18, 35 m3)
   ========================================================================== */
.service-hero-box {
  background: #f8fafc;
  padding: 2.25rem;
  border-radius: 14px;
  margin-bottom: 2.5rem;
  border-left: 5px solid var(--primary);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.service-hero-box h2 {
  margin-top: 0;
  color: #0f172a;
  font-size: 1.7rem;
  font-weight: 700;
}

.service-hero-box p {
  font-size: 1.1rem;
  color: #1e293b;
  line-height: 1.8;
  margin: 0;
}

/* Grille des volumes de bennes (10, 18, 35 m3) */
.benne-volumes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 3rem 0;
}

.benne-volume-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.benne-volume-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.12);
  border-color: #cbd5e1;
}

.benne-volume-card.accent-primary {
  border-top: 4px solid var(--primary);
}

.benne-volume-card .benne-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 0.35rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.benne-volume-card.accent-primary .benne-badge {
  background: var(--primary);
}

.benne-volume-card h3 {
  color: #0f172a;
  font-size: 1.25rem;
  margin: 0 0 0.75rem 0;
  font-weight: 700;
}

.benne-volume-card p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.benne-usage-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

/* Grille des types de déchets */
.service-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 3rem 0;
}

.service-feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease;
}

.service-feature-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
}

.service-feature-card h3 {
  color: #0f172a;
  font-size: 1.15rem;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-feature-card p {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

/* Encadré étapes démarche */
.process-steps-box {
  background: #f1f5f9;
  padding: 2.25rem;
  border-radius: 14px;
  margin: 3rem 0;
}

.process-steps-box h3 {
  color: #0f172a;
  margin-top: 0;
  font-size: 1.35rem;
}

.process-steps-box ol {
  margin: 1rem 0 0 0;
  padding-left: 1.25rem;
  line-height: 2;
  color: #334155;
  font-size: 1rem;
}




/* ==========================================================================
   POLISH RESPONSIVE MOBILE & TABLET (V1.1.0)
   ========================================================================== */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

table, .wp-block-table {
  max-width: 100%;
  overflow-x: auto;
  display: block;
}

@media (max-width: 768px) {
  .floating-rappel {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .rappel-btn {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
  }
  .rappel-popup {
    width: calc(100vw - 2.5rem);
    max-width: 320px;
    right: 0;
  }
  .page-hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .page-hero-title {
    font-size: 1.5rem;
    word-break: break-word;
  }
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 600px) {
  .contact-form-panel {
    padding: 1.5rem 1rem !important;
  }
  .fluentform .ff-t-cell {
    width: 100% !important;
    display: block !important;
    margin-bottom: 0.75rem !important;
  }
}
