/* ============================================================
   ESPACE VERT 16 â€” CSS Premium Global
   ============================================================ */

/* â”€â”€ Variables & Reset â”€â”€ */
:root {
  --green:        #2E7D5A;
  --green-dark:   #1F5A41;
  --green-light:  #4CAF80;
  --blue:         #204B76;
  --blue-light:   #2E6DAA;
  --orange:       #F28C28;
  --orange-dark:  #D4760F;
  --beige:        #F5F1E8;
  --beige-light:  #FAF8F3;
  --white:        #FFFFFF;
  --text-dark:    #1D2733;
  --text-mid:     #3D4A5C;
  --text-light:   #6B7A8D;
  --border:       #E2DDD4;
  --shadow-sm:    0 2px 8px rgba(30,40,60,.08);
  --shadow-md:    0 8px 32px rgba(30,40,60,.12);
  --shadow-lg:    0 24px 64px rgba(30,40,60,.16);
  --radius:       12px;
  --radius-lg:    20px;
  --radius-full:  9999px;
  --transition:   all .3s cubic-bezier(.4,0,.2,1);
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body:    'Inter', 'Source Sans 3', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* â”€â”€ Typography â”€â”€ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; color: var(--text-mid); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-mid);
}

/* â”€â”€ Layout â”€â”€ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section--alt {
  background: var(--beige-light);
}

.section--dark {
  background: var(--green-dark);
  color: var(--white);
}

.section--dark h2,
.section--dark h3,
.section--dark p { color: var(--white); }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center { text-align: center; }

/* â”€â”€ Section Headers â”€â”€ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(46,125,90,.1);
  padding: .35rem .9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .section-label { margin-inline: auto; }
.section-header h2 { margin-bottom: .75rem; }
.section-header p {
  max-width: 640px;
  margin-inline: auto;
  font-size: 1.05rem;
  color: var(--text-mid);
}

/* â”€â”€ Buttons â”€â”€ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  padding: .85rem 1.75rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(242,140,40,.35);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(242,140,40,.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--green-dark);
  border: 2px solid var(--green);
}
.btn-secondary:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(46,125,90,.3);
}
.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(46,125,90,.4);
}

.btn-danger {
  background: rgba(176,48,48,.10);
  color: #b03030;
  border: 1.5px solid rgba(176,48,48,.20);
}
.btn-danger:hover {
  background: rgba(176,48,48,.90);
  color: #fff;
  border-color: rgba(176,48,48,.90);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}

.btn-lg {
  font-size: 1.05rem;
  padding: 1rem 2.25rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* â”€â”€ Header / Navbar â”€â”€ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: var(--transition);
}

#header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo-text strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green-dark);
}

.nav-logo-text span {
  font-size: .72rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: .04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-dark);
  padding: .5rem .85rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
  background: rgba(46,125,90,.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9rem;
  color: var(--green-dark);
  padding: .5rem 1rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--green);
  transition: var(--transition);
}

.nav-phone:hover {
  background: var(--green);
  color: var(--white);
}

.nav-phone svg { width: 16px; height: 16px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  padding: .75rem 1rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-mobile a:hover { background: var(--beige); color: var(--green); }

.nav-mobile .nav-mobile-cta {
  margin-top: .5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

/* â”€â”€ Floating CTA (mobile) â”€â”€ */
#float-cta {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
}

#float-cta a {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9rem;
  padding: .9rem 1.3rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px rgba(242,140,40,.55);
  animation: pulse-cta 2.5s ease-in-out infinite;
}

@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 8px 30px rgba(242,140,40,.55); }
  50% { box-shadow: 0 8px 40px rgba(242,140,40,.8); }
}

/* â”€â”€ Hero â”€â”€ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0F3D2A 0%, #1F5A41 40%, #204B76 100%);
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,61,42,.92) 0%, rgba(31,90,65,.88) 45%, rgba(32,75,118,.85) 100%);
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
}

.hero-leaves {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.leaf {
  position: absolute;
  opacity: .18;
  animation: float-leaf linear infinite;
}

.leaf svg { fill: #4CAF80; }

@keyframes float-leaf {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: .18; }
  90% { opacity: .12; }
  100% { transform: translateY(-120px) rotate(360deg); opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: 5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  animation: fade-up .6s ease both;
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.25rem;
  animation: fade-up .7s .1s ease both;
}

.hero-title span { color: #6DD9A5; }

.hero-subtitle {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  animation: fade-up .7s .2s ease both;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  animation: fade-up .7s .3s ease both;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  animation: fade-up .7s .4s ease both;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  font-weight: 500;
}

.hero-trust-item svg { color: #6DD9A5; flex-shrink: 0; }

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: fade-left .8s .3s ease both;
}

.hero-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.hero-card h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.hero-card h3 span { font-size: 1.25rem; }

.hero-card ul li {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  padding-block: .3rem;
}

.hero-card ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #6DD9A5;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
}

.hero-stat {
  text-align: center;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 1rem .5rem;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.hero-stat span {
  font-size: .75rem;
  color: rgba(255,255,255,.65);
}

/* â”€â”€ Breadcrumb â”€â”€ */
body.has-breadcrumb-offset {
  padding-top: 72px;
}

.breadcrumb {
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: 1px solid var(--border);
  background: var(--beige-light);
}

.breadcrumb .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.has-breadcrumb-offset .reassurance-bar,
.has-breadcrumb-offset #header + .breadcrumb,
.has-breadcrumb-offset #header + .reassurance-bar {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.has-breadcrumb-offset .breadcrumb + .page-hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .85rem;
  color: var(--text-light);
}

.breadcrumb li { display: flex; align-items: center; gap: .5rem; }
.breadcrumb a { color: var(--green); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--border); }

/* â”€â”€ Page Hero (internal pages) â”€â”€ */
.page-hero {
  background: linear-gradient(135deg, #0F3D2A 0%, #1F5A41 50%, #204B76 100%);
  padding: 7rem 0 4rem;
  margin-top: 72px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content { position: relative; z-index: 1; }
.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 640px; margin-bottom: 1.75rem; }

/* â”€â”€ Card â”€â”€ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(46,125,90,.2);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.card-icon--green { background: rgba(46,125,90,.1); color: var(--green); }
.card-icon--blue { background: rgba(32,75,118,.1); color: var(--blue); }
.card-icon--orange { background: rgba(242,140,40,.1); color: var(--orange); }

.card-body { padding: 2rem; }

.card-body h3 { margin-bottom: .75rem; }
.card-body p { font-size: .95rem; margin-bottom: 0; }

/* â”€â”€ Service cards (maÃ§onnerie / espaces verts) â”€â”€ */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition);
  scroll-margin-top: 100px;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(46,125,90,.25);
  transform: translateY(-3px);
}

.service-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.service-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.service-card-header h2 {
  font-size: 1.4rem;
  color: var(--green-dark);
  margin-bottom: .25rem;
}

.service-card-header p { font-size: .9rem; margin: 0; }

.service-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.service-meta-item h4 {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .5rem;
  font-weight: 700;
}

.service-meta-item ul li {
  font-size: .88rem;
  color: var(--text-mid);
  padding: .2rem 0;
  padding-left: 1rem;
  position: relative;
}

.service-meta-item ul li::before {
  content: 'â†’';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: .75rem;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(46,125,90,.08);
  color: var(--green-dark);
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .75rem;
  border-radius: var(--radius-full);
  margin-top: .5rem;
}

/* â”€â”€ Advantages / Why us â”€â”€ */
.advantage-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.advantage-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.advantage-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.advantage-content h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.advantage-content p { font-size: .9rem; margin: 0; }

/* â”€â”€ Testimonials â”€â”€ */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover { box-shadow: var(--shadow-md); }

.testimonial-quote {
  font-size: 2.5rem;
  color: var(--green);
  line-height: 1;
  margin-bottom: .75rem;
  opacity: .4;
}

.testimonial-text {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-info strong { display: block; font-size: .95rem; }
.testimonial-info span { font-size: .8rem; color: var(--text-light); }

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: .5rem;
  color: #F59E0B;
  font-size: .9rem;
}

/* â”€â”€ FAQ Accordion â”€â”€ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: .75rem;
  transition: var(--transition);
}

.faq-item.open { border-color: rgba(46,125,90,.3); box-shadow: var(--shadow-sm); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .975rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover { background: var(--beige-light); color: var(--green); }
.faq-item.open .faq-question { color: var(--green-dark); background: rgba(46,125,90,.04); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--green);
}

.faq-item.open .faq-icon {
  background: var(--green);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* â”€â”€ Gallery â”€â”€ */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.gallery-filter-btn {
  padding: .5rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .875rem;
  background: var(--white);
  color: var(--text-mid);
  border: 2px solid var(--border);
  transition: var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--beige);
  cursor: pointer;
}

.gallery-item-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--green-dark), var(--blue));
  position: relative;
  transition: var(--transition);
}

.gallery-item:hover .gallery-item-inner { transform: scale(1.03); }

.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: var(--white);
  padding: 2rem 1.25rem .75rem;
  font-size: .85rem;
  font-weight: 600;
}

/* â”€â”€ CTA Section â”€â”€ */
.cta-section {
  background: linear-gradient(135deg, var(--green-dark), var(--blue));
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}

.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 600px; margin-inline: auto; margin-bottom: 2.5rem; }

.cta-reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.cta-reassurance-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.75);
  font-size: .875rem;
  font-weight: 500;
}

.cta-reassurance-item svg { color: #6DD9A5; }

/* â”€â”€ Reassurance bar â”€â”€ */
.reassurance-bar {
  background: var(--green-dark);
  padding: 1.25rem 0;
}

.reassurance-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.reassurance-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: rgba(255,255,255,.85);
  font-size: .875rem;
  font-weight: 500;
}

.reassurance-item svg { color: #6DD9A5; flex-shrink: 0; }

/* â”€â”€ Stats band â”€â”€ */
.stats-band {
  background: var(--beige-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: .4rem;
}

.stat-item span {
  font-size: .9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* â”€â”€ Contact Form â”€â”€ */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .875rem;
  color: var(--text-dark);
  margin-bottom: .5rem;
}

.form-group label span { color: var(--orange); margin-left: 2px; }

.form-control {
  width: 100%;
  padding: .85rem 1.1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(46,125,90,.1);
}

.form-control::placeholder { color: var(--text-light); }

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

select.form-control { cursor: pointer; }

.form-success {
  display: none;
  background: rgba(46,125,90,.1);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: var(--green-dark);
  font-weight: 600;
  text-align: center;
  margin-top: 1rem;
}

/* â”€â”€ Contact info cards â”€â”€ */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.contact-info-card:hover { box-shadow: var(--shadow-md); border-color: rgba(46,125,90,.2); }

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.contact-info-icon--phone { background: rgba(242,140,40,.12); }
.contact-info-icon--email { background: rgba(32,75,118,.1); }
.contact-info-icon--address { background: rgba(46,125,90,.1); }
.contact-info-icon--hours { background: rgba(46,125,90,.08); }
.contact-info-icon--zone { background: rgba(32,75,118,.08); }

.contact-info-body strong {
  display: block;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  margin-bottom: .4rem;
}

.contact-info-body a, .contact-info-body p {
  font-size: .95rem;
  color: var(--text-dark);
  margin: 0;
  font-weight: 500;
}

.contact-info-body a:hover { color: var(--green); }

/* â”€â”€ Map placeholder â”€â”€ */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--beige);
  border: 1px solid var(--border);
}

.map-wrapper iframe {
  width: 100%;
  height: 350px;
  display: block;
  border: none;
  filter: grayscale(20%) contrast(1.05);
}

/* â”€â”€ Footer â”€â”€ */
#footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.75);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .nav-logo-text strong { color: var(--white); }
.footer-brand .nav-logo-text span { color: rgba(255,255,255,.5); }
.footer-brand p { font-size: .9rem; margin-top: 1rem; line-height: 1.7; color: rgba(255,255,255,.6); }

.footer-siret {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  margin-top: .75rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links li { margin-bottom: .6rem; }

.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}

.footer-links a:hover { color: var(--white); padding-left: .35rem; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .8rem;
}

.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}

.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: rgba(255,255,255,.75); }

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

/* â”€â”€ Animations â”€â”€ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-left {
  from { opacity: 0; transform: translateX(32px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* â”€â”€ Page-specific intro â”€â”€ */
.page-intro {
  background: var(--beige-light);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
}

.page-intro p { margin: 0; font-size: 1.05rem; }

/* â”€â”€ Method section â”€â”€ */
.method-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.method-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}

.method-step:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.method-step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.method-step h3 { font-size: 1rem; margin-bottom: .5rem; }
.method-step p { font-size: .875rem; margin: 0; }

/* â”€â”€ Values â”€â”€ */
.value-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.value-card:hover { box-shadow: var(--shadow-md); border-color: rgba(46,125,90,.2); }

.value-icon {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(46,125,90,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-content h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.value-content p { font-size: .9rem; margin: 0; }

/* â”€â”€ About team â”€â”€ */
.about-visual {
  background: linear-gradient(135deg, var(--green-dark), var(--blue));
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: 'ðŸŒ¿';
  position: absolute;
  font-size: 8rem;
  opacity: .08;
  top: -1rem;
  right: -1rem;
}

.about-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  border: 3px solid rgba(255,255,255,.3);
}

.about-visual h3 { color: var(--white); margin-bottom: .25rem; }
.about-visual p { color: rgba(255,255,255,.75); font-size: .9rem; }

.about-highlights {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  text-align: left;
}

.about-highlight {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-size: .875rem;
  color: rgba(255,255,255,.85);
}

.about-highlight svg { color: #6DD9A5; flex-shrink: 0; }

/* â”€â”€ Utility â”€â”€ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--beige);
  color: var(--text-mid);
  font-size: .8rem;
  font-weight: 600;
  padding: .3rem .75rem;
  border-radius: var(--radius-full);
}

.tag--green { background: rgba(46,125,90,.08); color: var(--green-dark); }
.tag--blue { background: rgba(32,75,118,.08); color: var(--blue); }
.tag--orange { background: rgba(242,140,40,.1); color: var(--orange-dark); }

.divider {
  height: 1px;
  background: var(--border);
  margin-block: 2rem;
}

.highlight-box {
  background: rgba(46,125,90,.06);
  border: 1px solid rgba(46,125,90,.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.highlight-box p { color: var(--green-dark); font-weight: 500; }

.important-note {
  background: rgba(32,75,118,.06);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
}

.important-note p { color: var(--blue); font-weight: 600; margin: 0; }


/* ── Ajustements demandés client ── */
.advantage-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.advantage-grid .advantage-card {
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 2rem 1.75rem 1.85rem;
}

.advantage-grid .advantage-number {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  font-size: 1.35rem;
  margin: 0 auto;
}

.testimonials-slider .auto-slider {
  --slides-per-view: 3;
  --slider-gap: 1.5rem;
}

.auto-slider .slider-viewport {
  overflow: hidden;
}

.auto-slider .slider-track {
  display: flex;
  align-items: stretch;
  gap: var(--slider-gap, 1.5rem);
  will-change: transform;
}

.auto-slider[data-slider-mode="cards"] .slider-slide {
  flex: 0 0 calc((100% - (var(--slider-gap, 1.5rem) * (var(--slides-per-view) - 1))) / var(--slides-per-view));
  min-width: 0;
}

.gallery-block-slider {
  --slides-per-view: 1;
  --slider-gap: 0px;
}

.gallery-block-slider .slider-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.testimonial-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-author {
  margin-top: auto;
}

.gallery-slider {
  position: relative;
}

.gallery-panel {
  display: none;
}

.gallery-panel.active {
  display: block;
}

.gallery-grid--block {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.gallery-grid--block .gallery-item {
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(32, 75, 118, .08);
}

.gallery-grid--block .gallery-item-inner {
  font-size: clamp(2.1rem, 4vw, 2.9rem);
}

.service-card {
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
}

.service-card.reveal + .service-card.reveal {
  margin-top: 1.75rem;
}

.value-grid .value-card {
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 2rem 1.75rem 1.85rem;
}

.value-grid .value-icon {
  width: 58px;
  height: 58px;
  font-size: 1.7rem;
  margin: 0 auto;
}

.value-grid .value-content {
  width: 100%;
}

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { gap: 2.5rem; }
  .advantage-grid, .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  #float-cta { display: block; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-block: 3rem;
  }

  .hero-btns { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .stats-grid { grid-template-columns: repeat(2,1fr); }

  .service-card-header { flex-direction: column; gap: .75rem; }
  .testimonials-slider .auto-slider { --slides-per-view: 2; }
  .gallery-grid--block { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .btn-group { flex-direction: column; }
  .btn-group .btn { justify-content: center; }
  .nav-phone { display: none; }
  .reassurance-items { gap: 1rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { justify-content: center; }
  .advantage-grid, .value-grid { grid-template-columns: 1fr; }
  .testimonials-slider .auto-slider { --slides-per-view: 1; }
  .gallery-grid--block { grid-template-columns: 1fr; }
}

/* ── Barre de réassurance & Widget ── */
.reassurance-bar {
  background: var(--green-dark);
  padding: 1.5rem 0; 
  position: relative;
  min-height: 80px;
}

.elig-widget {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column; 
  gap: 1rem;
}

.elig-main-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.elig-widget h3 {
  color: var(--white) !important;
  font-size: 1rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.elig-search-wrapper {
  display: flex;
  background: var(--white);
  padding: 4px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: var(--transition);
}

.elig-search-wrapper:focus-within {
  border-color: var(--orange);
}

.elig-widget input {
  border: none;
  background: transparent;
  padding: 0.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  width: 270px; /* Augmenté pour voir tout le texte ville/cp */
  outline: none;
}

.btn-elig {
  background: var(--orange);
  color: var(--white);
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-elig:hover {
  background: var(--orange-dark);
}

/* ── Zone de résultat (Le message sous le widget) ── */
#hero-elig-result {
  width: 100%;
  text-align: center;
  min-height: 1.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--white);
  animation: fade-up 0.3s ease;
}

#hero-elig-result .success { color: #6DD9A5; font-weight: 700; }
#hero-elig-result .error { color: #FFB7B7; }

/* ── Adaptabilité Mobile ── */
@media (max-width: 768px) {
  .elig-main-row {
    flex-direction: column;
    gap: 1rem;
  }
  
  .elig-search-wrapper {
    width: 100%;
    max-width: 300px;
  }

  .elig-widget input {
    width: 100%;
  }
}
}

/* === Modern gallery upgrade — VERSION EXPERTE FINALE === */
.gallery-shell {
  width: 100%;
  max-width: 100%;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.gallery-filter-btn {
  padding: .7rem 1.15rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9rem;
  background: var(--white);
  color: var(--text-mid);
  border: 1px solid rgba(32, 75, 118, .14);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
  transition: transform .28s ease, box-shadow .28s ease, background-color .28s ease, color .28s ease, border-color .28s ease;
  cursor: pointer;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  box-shadow: 0 14px 30px rgba(46,125,90,.18);
  transform: translateY(-1px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  align-items: stretch; /* Aligne les cartes sur la même hauteur par ligne */
  width: 100%;
  max-width: 100%;
}

.gallery-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(32, 75, 118, .1);
  background: #fff;
  box-shadow: 0 14px 35px rgba(20, 41, 66, .08);
  transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
  isolation: isolate;
  height: 100%;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(20, 41, 66, .14);
  border-color: rgba(46,125,90,.22);
}

/* --- LE MODÈLE D'IMAGE (CADRE) --- */
.gallery-media {
  position: relative;
  width: 100%;
  /* CORRECTION EXPERTE : On utilise un ratio 4/3 pour que l'image soit entière et ne cache pas le texte */
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f8f9fa;
}

.gallery-media img {
  width: 100% !important;
  height: 100% !important;
  /* L'image remplit le modèle sans être déformée */
  object-fit: cover; 
  display: block;
  transition: transform .6s ease;
}

.gallery-card:hover .gallery-media img {
  transform: scale(1.05);
}

/* --- LE BLOC TEXTE (COMMENTAIRES) --- */
.gallery-body {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.2rem;
  /* CORRECTION : Permet au texte de prendre toute la place nécessaire sans être caché */
  flex-grow: 1; 
}

.gallery-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.gallery-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  color: var(--text-light);
  font-size: .84rem;
}

.gallery-description {
  margin: 0;
  font-size: .92rem;
  line-height: 1.6;
  color: var(--text-mid);
}

.gallery-empty {
  margin-top: 1.25rem;
  text-align: center;
  color: var(--text-light);
}

/* --- ÉLÉMENTS SUR L'IMAGE --- */
.gallery-badge {
  position: absolute;
  top: .9rem;
  left: .9rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .7rem;
  border-radius: var(--radius-full);
  background: rgba(15, 30, 46, .62);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.gallery-zoom {
  position: absolute;
  right: .9rem;
  bottom: .9rem;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--green-dark);
  box-shadow: 0 12px 24px rgba(20, 41, 66, .16);
}

/* --- LIGHTBOX (ZOOM) --- */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  align-items: center;
  justify-content: center;
  /* 1. Ajout de padding en haut pour décoller du bord */
  padding-top: 40px; 
}

.gallery-lightbox.open {
  display: flex;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 14, 22, .9);
  backdrop-filter: blur(10px);
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100vw - 2rem));
  margin: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.gallery-lightbox-figure {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center; /* 2. Aligne l'image et le texte sur le même axe */
  justify-content: center;
}

.gallery-lightbox-media {
  border-radius: 24px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  /* 3. Réduction hauteur image pour libérer le texte (65vh au lieu de 80) */
  max-height: 65vh; 
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.gallery-lightbox-media img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 65vh !important;
  object-fit: contain !important;
  display: block;
  margin: auto;
}

.gallery-lightbox-caption {
  padding: 1rem 1.1rem 0;
  color: var(--white);
  /* 2. Centre les deux textes Maçonnerie et Maçonnerie 7 */
  text-align: center; 
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-lightbox-caption h3 {
  color: var(--white);
  margin-bottom: .35rem;
}

.gallery-lightbox-caption p {
  color: rgba(255,255,255,.8);
}

.gallery-lightbox-badge {
  display: inline-flex;
  margin-bottom: .75rem;
  padding: .42rem .75rem;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.14);
  font-size: .78rem;
  font-weight: 700;
  color: var(--white);
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  font-size: 1.8rem;
  transition: transform .25s ease, background-color .25s ease;
  cursor: pointer;
  border: none;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
  background: rgba(255,255,255,.22);
  transform: scale(1.04);
}

.gallery-lightbox-close {
  position: absolute;
  top: -60px;
  right: 0;
}

@media (max-width: 900px) {
  .gallery-lightbox-dialog {
    width: 95vw;
    grid-template-columns: 1fr;
    gap: .75rem;
    padding-top: 3.25rem;
  }
  .gallery-lightbox-nav { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
  }
  .gallery-lightbox-prev { left: .5rem; }
  .gallery-lightbox-next { right: .5rem; }
  .gallery-lightbox-close { top: 10px; right: 10px; }
}

@media (max-width: 640px) {
  .gallery-filters {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: .25rem;
    scrollbar-width: none;
  }
  .gallery-filters::-webkit-scrollbar { display: none; }
  .gallery-filter-btn { flex: 0 0 auto; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-media { aspect-ratio: 3 / 2; } 
  .gallery-lightbox-caption { padding-inline: .2rem; }
  /* Ajustement mobile pour garder le texte visible */
  .gallery-lightbox-media { max-height: 55vh; }
}


/* === Gallery slider 3x2 bridge fix === */
.gallery-slider {
  display: grid;
  gap: 1.25rem;
}

.gallery-slider-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem;
}

.gallery-slider-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  text-align: center;
  color: var(--text-dark);
}

.gallery-slider-status span {
  color: var(--text-light);
  font-size: .9rem;
}

.gallery-slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(46,125,90,.18);
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.gallery-slider-btn:hover {
  transform: translateY(-2px);
  background: var(--green-dark);
  box-shadow: 0 18px 32px rgba(46,125,90,.24);
}

.gallery-slider-viewport {
  overflow: hidden;
  width: 100%;
}

.gallery-slider-track {
  display: flex;
  width: 100%;
  transition: transform .65s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.gallery-slide {
  flex: 0 0 100%;
  width: 100%;
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.gallery-slider-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .55rem;
}

.gallery-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  padding: 0;
  background: rgba(32, 75, 118, .18);
  border: 1px solid rgba(32, 75, 118, .08);
  transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.gallery-slider-dot.is-active {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(46,125,90,.12);
  transform: scale(1.08);
}

.gallery-card {
  min-height: 100%;
  height: 100%;
  padding: 0;
  appearance: none;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

@media (max-width: 980px) {
  .gallery-media {
    height: 235px;
  }

  .gallery-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-slider-controls {
    grid-template-columns: auto 1fr auto;
  }

  .gallery-slider-pagination {
    grid-column: 1 / -1;
    order: 4;
  }
}

@media (max-width: 640px) {
  .gallery-slider-controls {
    grid-template-columns: auto 1fr auto;
    gap: .75rem;
  }

  .gallery-media {
    height: 220px;
  }

  .gallery-page-grid {
    grid-template-columns: 1fr;
  }

  .gallery-slider-status strong {
    font-size: .95rem;
  }
}



/* --- Correction Visibilité Témoignages PC --- */

/* 1. On s'assure que la section est visible partout */
.testimonials-section, 
#testimonials {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 2. Organisation en grille pour les écrans PC (min 1024px) */
@media (min-width: 1024px) {
    .testimonials-container {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important; /* 3 colonnes sur PC */
        gap: 2rem;
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem 0;
    }

    .testimonial-card {
        display: flex !important; /* Force l'affichage des cartes */
        height: auto;
        margin-bottom: 0;
    }
}

/* 3. Si tu utilises un slider (Swiper ou autre) qui bug sur PC, 
      ce code transforme le slider en liste statique propre */
@media (min-width: 1024px) {
    .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        transform: none !important;
    }
    
    .swiper-slide {
        width: 100% !important;
        margin: 0 !important;
    }

    /* Cache les flèches et la pagination du slider sur PC car inutile en grille */
    .swiper-button-next, 
    .swiper-button-prev, 
    .swiper-pagination {
        display: none !important;
    }
}

/* ==========================================================================
   NOUVELLE SECTION : ASSURANCE ET GARANTIE
   ========================================================================== */
.assurance-section {
    background-color: #fcfbf8; /* Un beige très clair pour la distinguer de l'alternance blanc/beige existante */
}

.assurance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Badge RC PRO (Reconstitution stylisée de image_1.png) */
.rc-pro-badge {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: var(--radius-lg, 12px);
    border: 1px solid var(--border, #e0e0e0);
    margin-top: 2rem;
    box-shadow: var(--shadow-sm, 0 2px 4px rgba(0,0,0,0.05));
    transition: transform 0.3s ease;
}

.rc-pro-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md, 0 4px 8px rgba(0,0,0,0.1));
}

.rc-pro-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    color: #c49a3a; /* Couleur dorée de image_1.png */
}

.rc-pro-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #c49a3a; /* Couleur dorée de image_1.png */
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.05em;
}

.rc-pro-text p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Bloc de l'attestation (Adaptation de image_0.png) */
.attestation-visual {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--radius-lg, 12px);
    border: 1px solid var(--border, #e0e0e0);
    text-align: center;
    box-shadow: var(--shadow-md, 0 4px 8px rgba(0,0,0,0.1));
}

.axa-logo-block {
    margin-bottom: 1.5rem;
}

.axa-logo-img {
    height: 40px;
    width: auto;
    pointer-events: auto !important; /* Pour que le logo AXA soit cliquable si besoin */
}

.attestation-visual h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--blue, #204B76);
}

.siret-mention {
    font-size: 0.8rem;
    color: var(--text-light, #777);
    margin-bottom: 1.5rem;
}

.document-thumb {
    position: relative;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 1.5rem auto;
    border-radius: var(--radius, 8px);
    overflow: hidden;
    border: 1px solid var(--border, #e0e0e0);
    cursor: pointer;
    box-shadow: var(--shadow-sm, 0 2px 4px rgba(0,0,0,0.05));
}

.document-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    filter: blur(0.5px); /* Légère blur pour ne pas rendre le texte lisible */
    pointer-events: none !important; /* Protection des images comme sur le reste du site */
}

.document-thumb:hover .document-img {
    transform: scale(1.05);
}

.document-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(var(--blue-rgb, 32, 75, 118), 0.7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.document-thumb:hover .document-overlay {
    opacity: 1;
}

/* Responsive */
@media (max-width: 991px) {
    .assurance-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 575px) {
    .rc-pro-badge {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}