/*
Clefs des Sols — Vitrine One-Page
Fichier CSS principal avec tous les styles modernisés
*/

/* Variables et styles de base */
:root {
  --c1: #1F3D2B;
  --c2: #F5F1E8;
  --c3: #7FB79A;
  --shadow: 0 4px 24px 0 rgba(31,61,43,0.07);
  --radius: 1.2rem;
  --nav-h: 64px;
}

html {
  scroll-behavior: smooth;
  background: var(--c2);
  color: var(--c1);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 18px;
  min-height: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--c2);
  min-height: 100vh;
}

/* Header et Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,241,232,0.98);
  box-shadow: 0 2px 8px 0 rgba(31,61,43,0.04);
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

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

nav a {
  color: var(--c1);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 0.6rem;
  border-radius: 0.6rem;
  transition: background 0.2s, color 0.2s;
}

nav a.nav-cta {
  background: var(--c3);
  color: #fff;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(127,183,154,0.35);
}

nav a.nav-cta:hover,
nav a.nav-cta:focus {
  background: var(--c1);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(31,61,43,0.35);
}

nav a.active, nav a:focus, nav a:hover {
  background: var(--c3);
  color: #fff;
  outline: none;
}

/* Layout principal */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  margin: 0 auto 4rem auto;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s;
}

/* Section Hero */
section.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--c2);
  overflow: hidden;
  box-shadow: none;
  margin: 1rem -50vw 0;
  padding: 0;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  z-index: 0;
  background: url('../assets/images/hero.jpeg') center/cover no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  image-rendering: crisp-edges;
  filter: brightness(0.95) saturate(1.3) contrast(1.05) hue-rotate(2deg);
  transform: scale(1.01);
  will-change: transform, filter;
  transition: filter 0.3s ease;
  backface-visibility: hidden;
}

/* Optimisation haute résolution */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-bg {
    background-size: cover;
    background-position: center;
    transform: scale(1.005);
    filter: brightness(0.97) saturate(1.25) contrast(1.03) hue-rotate(1deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 2rem 1rem 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  background: rgba(31,61,43,0.15);
  border-radius: var(--radius);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.hero-logo {
  width: 280px;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  margin-bottom: 2rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 8px 32px 0 rgba(31,61,43,0.2);
  border: 4px solid var(--c3);
  display: block;
  padding: 1rem;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin: 0.5rem 0 0.2rem 0;
  letter-spacing: -2px;
}

.hero .tagline {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--c3);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta {
  padding: 0.85rem 2.1rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 2rem;
  border: none;
  cursor: pointer;
  background: var(--c3);
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(127,183,154,0.10);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.cta.secondary {
  background: transparent;
  color: var(--c3);
  border: 2px solid var(--c3);
}

.cta:focus, .cta:hover {
  background: var(--c1);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 16px 0 rgba(31,61,43,0.08);
  outline: none;
}

/* Section Qui nous sommes */
.about {
  background: var(--c2);
  box-shadow: none;
  margin-bottom: 0;
  padding: 3rem 0;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,251,249,0.9) 100%);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  margin: -2rem auto 4rem auto;
  max-width: 1200px;
  box-shadow: 0 20px 60px rgba(31,61,43,0.1);
  position: relative;
  overflow: hidden;
}

.about-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c3), transparent);
  opacity: 0.3;
}

.about-logo-section {
  flex: 0 0 auto;
  position: relative;
  transform: translateX(-1rem);
}

.about-logo-modern {
  width: 320px;
  height: auto;
  max-height: 240px;
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  box-shadow: 0 12px 48px rgba(31,61,43,0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.about-logo-modern::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border: 2px solid var(--c3);
  border-radius: 2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.about-logo-modern:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 24px 80px rgba(31,61,43,0.25);
}

.about-logo-modern:hover::after {
  opacity: 0.3;
}

.about-content-section {
  flex: 1;
  position: relative;
}

.about-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--c1);
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
  position: relative;
  display: inline-block;
}

.about-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--c3), var(--c2));
  border-radius: 2px;
}

.about-intro {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--c1);
  margin-bottom: 2rem;
  font-weight: 500;
  opacity: 0.9;
}

.about-separator {
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--c3), transparent);
  border-radius: 2px;
  margin-top: 1rem;
}

.about-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--c1);
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.about-intro {
  font-size: 1.2rem;
  color: var(--c3);
  line-height: 1.6;
}

.founder-section {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  background: url('../assets/images/WhatsApp Image 2026-03-05 at 13.18.54 (4).jpeg') center/cover no-repeat;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.founder-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  z-index: 0;
}

.founder-section > * {
  position: relative;
  z-index: 1;
}

.founder-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px 0 rgba(31,61,43,0.12);
}

.founder-section.reverse {
  flex-direction: row-reverse;
  background: url('../assets/images/WhatsApp Image 2026-03-05 at 13.18.54 (5).jpeg') center/cover no-repeat;
}

.founder-visual {
  flex: 0.9;
  min-width: 240px;
}

.founder-img-container {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 4px 20px 0 rgba(31,61,43,0.15);
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
  margin: 0;
  flex: 0.9;
  min-width: 240px;
}

.founder-section.reverse .founder-img-container {
  margin-right: -2rem;
  transform: translateX(1rem);
}

.founder-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.founder-img-container:hover img {
  transform: scale(1.05);
}

.founder-section:not(.reverse) .founder-img-container {
  margin-left: -2rem;
  transform: translateX(-1rem);
}

.founder-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--c3);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.founder-info {
  flex: 1.5;
  min-width: 320px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
  padding: 2rem;
  margin: 1rem;
}

.founder-info.visible {
  opacity: 1;
  transform: translateY(0);
}

.founder-info h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--c1);
  margin-bottom: 1rem;
}

.founder-bio {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--c1);
  margin-bottom: 1.5rem;
}

.founder-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.expertise-tag {
  background: rgba(127,183,154,0.15);
  color: var(--c3);
  padding: 0.4rem 1rem;
  border-radius: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(127,183,154,0.3);
}

.about-mission {
  background: linear-gradient(135deg, var(--c1), #2a4f3a);
  color: #fff;
  padding: 3rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 2rem;
}

.mission-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.mission-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* Section Services */
.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--c1);
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.services-intro {
  font-size: 1.2rem;
  color: var(--c3);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 3rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: visible;
}

.service-item.opacity {
  opacity: 0;
  transform: translateY(60px);
}

.service-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px 0 rgba(31,61,43,0.15);
}

.service-item.reverse {
  flex-direction: row-reverse;
}

.service-item:not(.reverse) .service-visual {
  margin-left: -8rem;
  transform: translateX(-3rem);
}

.service-item.reverse .service-visual {
  margin-right: -8rem;
  transform: translateX(3rem);
}

.service-visual {
  flex: 1;
  min-width: 480px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -2rem 0;
  z-index: 2;
}

.service-icon-large {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--c3), #6fa589);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(127,183,154,0.3);
  position: relative;
  z-index: 2;
  transition: transform 0.4s, box-shadow 0.4s;
}

.service-item:hover .service-icon-large {
  transform: scale(1.1);
  box-shadow: 0 12px 48px 0 rgba(127,183,154,0.4);
}

.service-pattern {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  background: repeating-linear-gradient(
    45deg,
    rgba(127,183,154,0.1),
    rgba(127,183,154,0.1) 10px,
    transparent 10px,
    transparent 20px
  );
  border-radius: 50%;
  z-index: 1;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.service-content {
  flex: 1.5;
  min-width: 320px;
}

.service-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--c1);
  margin-bottom: 1rem;
}

.service-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--c1);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.service-features li {
  position: relative;
  padding: 0.8rem 0 0.8rem 2rem;
  font-size: 1rem;
  color: var(--c1);
  border-bottom: 1px solid rgba(31,61,43,0.1);
}

.service-features li:before {
  content: "🌿";
  position: absolute;
  left: 0;
  top: 0.8rem;
  font-size: 1rem;
}

.service-cta {
  background: var(--c3);
  color: #fff;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.service-cta:hover {
  background: var(--c1);
  transform: translateY(-2px);
}

/* Section Galerie */
.gallery-section {
  background: linear-gradient(135deg, #f8faf6, #e8f2ea);
  padding: 4rem 0;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.gallery-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c3), var(--c1), var(--c3));
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.gallery-header {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--c1);
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.gallery-intro {
  font-size: 1.2rem;
  color: var(--c3);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0;
  cursor: grab;
}

.carousel-track:active {
  cursor: grabbing;
}

.carousel-track::-webkit-scrollbar {
  height: 8px;
}

.carousel-track::-webkit-scrollbar-track {
  background: rgba(31,61,43,0.1);
  border-radius: 4px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: var(--c3);
  border-radius: 4px;
}

.carousel-track::-webkit-scrollbar-thumb:hover {
  background: var(--c1);
}

.gallery-item {
  flex: 0 0 auto;
  width: 450px;
  height: 300px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px 0 rgba(31,61,43,0.15);
  scroll-snap-align: center;
  transition: transform 0.4s, box-shadow 0.4s;
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px) scale(0.9);
}

.gallery-item.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px 0 rgba(31,61,43,0.25);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(31,61,43,0.9), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-text {
  color: #fff;
}

.gallery-overlay-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.gallery-overlay-text p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.carousel-btn {
  background: var(--c3);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 16px 0 rgba(127,183,154,0.3);
  pointer-events: auto;
}

.carousel-btn:hover {
  background: var(--c1);
  transform: scale(1.1);
  box-shadow: 0 6px 24px 0 rgba(31,61,43,0.4);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 3rem auto 0;
  padding: 0 2rem;
}

.filter-btn {
  background: rgba(255,255,255,0.8);
  color: var(--c1);
  border: 2px solid transparent;
  padding: 0.8rem 1.5rem;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}

.filter-btn:hover {
  background: rgba(255,255,255,1);
  border-color: var(--c3);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--c3);
  color: #fff;
  border-color: var(--c3);
}



/* Footer/Contact */
footer {
  background: linear-gradient(135deg, rgba(31,61,43,0.78), rgba(74,139,106,0.72)), url('https://www.meinier.ch/sites/default/files/styles/banner/public/images/bannieres/meinier-histoire-1.jpg?itok=MFOli4f9') center/cover no-repeat;
  background-attachment: scroll, fixed;
  color: #fff;
  padding: 4rem 0 2rem;
  border-radius: var(--radius);
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1.2s cubic-bezier(.4,0,.2,1);
}

footer.visible {
  transform: scaleX(1);
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c3), #fff, var(--c3));
  animation: shimmer 3s ease-in-out infinite;
}

footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 1s ease-out 0.5s;
}

footer.visible::after {
  opacity: 1;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s ease-out 0.8s, transform 1s ease-out 0.8s;
}

footer.visible .contact-container {
  opacity: 1;
  transform: translateY(0);
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  transition: opacity 1s ease-out 1s, transform 1s ease-out 1s;
}

footer.visible .contact-header {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.contact-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  transform: translateY(-20px);
  opacity: 0;
  transition: transform 0.8s ease-out 1.2s, opacity 0.8s ease-out 1.2s;
}

footer.visible .contact-header h2 {
  transform: translateY(0);
  opacity: 1;
}

.mission-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.about-vision {
  margin: 3rem 0;
}

.vision-header {
  text-align: center;
  margin-bottom: 2rem;
}

.vision-header h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--c1);
  margin-bottom: 0.5rem;
}

.vision-intro {
  color: var(--c3);
  font-size: 1.1rem;
  opacity: 0.8;
}

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

.vision-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(31,61,43,0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(127,183,154,0.1);
}

.vision-item:hover {
  box-shadow: 0 4px 20px rgba(31,61,43,0.12);
  transform: translateY(-2px);
}

.vision-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c1);
}

.vision-toggle:hover {
  background: rgba(127,183,154,0.05);
}

.vision-toggle:hover .vision-icon {
  background: linear-gradient(135deg, var(--c3), #6fa589);
  color: #fff;
  transform: scale(1.05);
}

.vision-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(127,183,154,0.1), rgba(127,183,154,0.05));
  border-radius: 50%;
  color: var(--c3);
  transition: all 0.3s ease;
}

.vision-icon svg {
  width: 20px;
  height: 20px;
}

.vision-title {
  flex: 1;
}

.vision-arrow {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
  opacity: 0.6;
}

.vision-item.active .vision-arrow {
  transform: rotate(180deg);
}

.vision-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
}

.vision-item.active .vision-content {
  max-height: 200px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.vision-content p {
  color: var(--c1);
  line-height: 1.6;
  opacity: 0.9;
  padding-left: 3.5rem;
}

.contact-intro {
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.8s ease-out 1.4s, opacity 0.8s ease-out 1.4s;
}

footer.visible .contact-intro {
  transform: translateY(0);
  opacity: 1;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.8s ease-out 1.6s, opacity 0.8s ease-out 1.6s;
}

footer.visible .contact-content {
  transform: translateY(0);
  opacity: 1;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(127,183,154,0.2);
}

.contact-form h3 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(127,183,154,0.3);
  border-radius: var(--radius);
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c3);
  background: rgba(255, 255, 255, 0.15);
}

.contact-form .cta {
  width: 100%;
  text-align: center;
  margin-top: 1rem;
}

footer.visible .contact-intro {
  transform: translateY(0);
  opacity: 0.9;
}

.contact-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out 1.6s, transform 1s ease-out 1.6s;
}

footer.visible .contact-content {
  opacity: 1;
  transform: translateY(0);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  transition: transform 0.3s, background 0.3s;
  opacity: 0;
  transform: translateX(-40px);
}

footer.visible .contact-item:nth-child(1) {
  transition: opacity 0.8s ease-out 1.8s, transform 0.8s ease-out 1.8s;
}

footer.visible .contact-item:nth-child(2) {
  transition: opacity 0.8s ease-out 2s, transform 0.8s ease-out 2s;
}

footer.visible .contact-item:nth-child(3) {
  transition: opacity 0.8s ease-out 2.2s, transform 0.8s ease-out 2.2s;
}

footer.visible .contact-item {
  opacity: 1;
  transform: translateX(0);
}

.contact-item:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.15);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: rgba(127,183,154,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transform: scale(0);
  transition: transform 0.6s ease-out;
}

footer.visible .contact-item:nth-child(1) .contact-icon {
  transition-delay: 1.9s;
}

footer.visible .contact-item:nth-child(2) .contact-icon {
  transition-delay: 2.1s;
}

footer.visible .contact-item:nth-child(3) .contact-icon {
  transition-delay: 2.3s;
}

footer.visible .contact-icon {
  transform: scale(1);
}

.contact-icon svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
}

.contact-details h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.contact-details a {
  color: var(--c3);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.contact-details a:hover {
  color: #fff;
  text-decoration: underline;
}

.contact-details p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin: 0;
}

.contact-social {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease-out 2.4s, transform 0.8s ease-out 2.4s;
}

footer.visible .contact-social {
  opacity: 1;
  transform: translateX(0);
}

.contact-social h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: 2rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.2);
  opacity: 0;
  transform: translateY(20px);
}

footer.visible .social-link:nth-child(1) {
  transition: all 0.8s ease-out 2.6s;
}

footer.visible .social-link:nth-child(2) {
  transition: all 0.8s ease-out 2.8s;
}

footer.visible .social-link {
  opacity: 1;
  transform: translateY(0);
}

.social-link:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
  color: var(--c3);
}

.social-link svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.contact-cta {
  text-align: center;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  transition: opacity 1s ease-out 3s, transform 1s ease-out 3s;
}

footer.visible .contact-cta {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.contact-cta .cta.primary {
  background: var(--c3);
  color: #fff;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 6px 20px 0 rgba(127,183,154,0.3);
}

.contact-cta .cta.primary:hover {
  background: #fff;
  color: var(--c1);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px 0 rgba(255,255,255,0.3);
}

.contact-response {
  margin-top: 1rem;
  color: var(--c3);
  font-size: 1rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out 3.2s, transform 0.8s ease-out 3.2s;
}

footer.visible .contact-response {
  opacity: 1;
  transform: translateY(0);
}

.contact-footer {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out 3.4s, transform 0.8s ease-out 3.4s;
}

footer.visible .contact-footer {
  opacity: 1;
  transform: translateY(0);
}

.contact-footer p {
  margin: 0.5rem 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

/* Social floating icons */
.social-float {
  position: fixed;
  right: 2.1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.social-float .social-btn {
  pointer-events: auto;
  background: rgba(245,241,232,0.92);
  border-radius: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 2px 12px 0 rgba(31,61,43,0.10);
  transition: all 0.3s;
  text-decoration: none;
  color: var(--c1);
}

.social-float .social-btn:hover {
  background: var(--c3);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 20px 0 rgba(127,183,154,0.3);
}

/* Responsive */
@media (max-width: 900px) {
  main { max-width: 98vw; }
  section { padding: 1.2rem 0.4rem; }
  .about, .services-list { gap: 1rem; }
  .gallery-img { min-width: 180px; max-width: 220px; height: 120px; }
  .founder-section { gap: 2rem; padding: 1.5rem; }
  .founder-visual { min-width: 240px; }
  .founder-info { min-width: 280px; }
  .service-item { gap: 2rem; padding: 2rem; }
  .service-visual { min-width: 240px; }
  .service-content { min-width: 280px; }
  .carousel-container { padding: 0 3rem; }
  .gallery-item { width: 400px; height: 280px; }
  .gallery-header h2 { font-size: 2rem; }
  .gallery-intro { font-size: 1.1rem; }
  .contact-header h2 { font-size: 2rem; }
  .contact-intro { font-size: 1.1rem; }
  .contact-content { gap: 3rem; }
  .contact-item { padding: 1.2rem; }
  .contact-icon { width: 50px; height: 50px; }
  .contact-icon svg { width: 24px; height: 24px; }
}

/* ----------------------------------------------------------------
   MOBILE — remise en ordre des images (désactive les décalages desktop)
---------------------------------------------------------------- */
@media (max-width: 900px) {
  /* Logo "Qui nous sommes" recentré */
  .about-logo-section {
    transform: none;
    margin: 0 auto;
  }

  /* Photos co-fondateurs : dans leur cadre, sans débordement */
  .founder-section:not(.reverse) .founder-img-container,
  .founder-section.reverse .founder-img-container {
    margin-left: 0;
    margin-right: 0;
    transform: none;
  }

  /* Photos des prestations : bien contenues dans la carte */
  .service-item:not(.reverse) .service-visual,
  .service-item.reverse .service-visual {
    margin-left: 0;
    margin-right: 0;
    transform: none;
  }

  /* Vignettes "Notre approche" : plus de débordement à gauche */
  .approche-icon.photo {
    margin: 0 auto 1.25rem;
    transform: none;
    width: 100%;
    max-width: 100%;
    height: 200px;
  }
  .approche-card:hover .approche-icon.photo {
    transform: scale(1.04);
  }
}

@media (max-width: 500px) {
  .approche-icon.photo {
    height: 170px;
  }
}

@media (max-width: 650px) {
  :root { --nav-h: 54px; }
  header { padding: 0.5rem 0.75rem; }
  nav {
    gap: 0.35rem 0.6rem;
    width: 100%;
  }
  nav a {
    font-size: 0.82rem;
    padding: 0.35rem 0.55rem;
  }
  nav a.nav-cta {
    padding: 0.4rem 0.9rem;
    font-size: 0.82rem;
  }
  .hero h1 { font-size: 2rem; }
  
  .about-container {
    flex-direction: column;
    gap: 2rem;
    padding: 3rem 1.5rem;
    margin: -1rem auto 3rem auto;
  }
  
  .about-logo-modern {
    width: 260px;
    max-height: 200px;
    padding: 1.4rem;
    margin: 0 auto;
  }
  
  .about-title {
    font-size: 2.2rem;
    text-align: center;
  }
  
  .about-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .about-intro {
    font-size: 1.1rem;
    text-align: center;
  }
  
  .about-separator {
    margin: 1rem auto 0 auto;
  }
  .about { padding: 2rem 0; }
  .founder-section, .founder-section.reverse {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .founder-visual, .founder-info {
    min-width: 0;
    max-width: 100%;
  }
  .about-header { margin-bottom: 2.5rem; }
  .about-header h2 { font-size: 1.8rem; }
  .founder-info h3 { font-size: 1.5rem; }
  .founder-bio { font-size: 1rem; }
  .about-mission { padding: 2rem 1.5rem; }
  .services-header h2 { font-size: 1.8rem; }
  .services-intro { font-size: 1.1rem; }
  .service-item, .service-item.reverse {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .service-visual, .service-content {
    min-width: 0;
    max-width: 100%;
  }
  .service-content h3 { font-size: 1.5rem; }
  .service-content p { font-size: 1rem; }
  .service-icon-large {
    width: 100px;
    height: 100px;
  }
  .service-pattern {
    width: 150px;
    height: 150px;
  }
  .gallery-section { padding: 3rem 0; }
  .gallery-header h2 { font-size: 1.8rem; }
  .gallery-intro { font-size: 1rem; }
  .carousel-container { padding: 0 2rem; }
  .gallery-item { width: 320px; height: 240px; }
  .carousel-controls { gap: 1rem; }
  .carousel-btn { width: 45px; height: 45px; }
  .carousel-counter { padding: 0.6rem 1.2rem; font-size: 1rem; }
  .gallery-filters { gap: 0.8rem; padding: 0 1rem; }
  .filter-btn { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
  footer { padding: 3rem 0 1.5rem; }
  .contact-header h2 { font-size: 1.8rem; }
  .contact-intro { font-size: 1rem; }
  .contact-content { grid-template-columns: 1fr; gap: 2rem; }
  .contact-item { padding: 1rem; }
  .contact-icon { width: 45px; height: 45px; }
  .contact-icon svg { width: 22px; height: 22px; }
  .contact-details h3 { font-size: 1.1rem; }
  .contact-details a { font-size: 1rem; }
  .contact-details p { font-size: 1rem; }
  .social-link { padding: 0.8rem 1.2rem; }
  .contact-cta .cta.primary { padding: 0.8rem 2rem; font-size: 1rem; }
  .services-list { flex-direction: column; gap: 1rem; }
  .gallery-img { min-width: 120px; max-width: 150px; height: 80px; }
  .social-float { right: 1rem; bottom: 1rem; gap: 0.7rem; }
  .social-float .social-btn { width: 38px; height: 38px; font-size: 1.1rem; }
}

@media (max-width: 480px) {
  html { font-size: 15px; }
  .hero-logo { 
    width: 220px; 
    height: auto;
    max-height: 140px;
    padding: 0.8rem;
  }
  .hero h1 { font-size: 1.4rem; }
  .about-header h2 { font-size: 1.6rem; }
  .founder-section { padding: 1rem; }
  .founder-img-container { aspect-ratio: 4/5; }
  .founder-overlay { top: 0.5rem; right: 0.5rem; padding: 0.3rem 0.8rem; font-size: 0.8rem; }
  .expertise-tag { font-size: 0.8rem; padding: 0.3rem 0.8rem; }
  .services-header h2 { font-size: 1.6rem; }
  .service-item { padding: 1rem; }
  .service-icon-large {
    width: 80px;
    height: 80px;
  }
  .service-pattern {
    width: 120px;
    height: 120px;
  }
  .gallery-section { padding: 2rem 0; }
  .gallery-header h2 { font-size: 1.6rem; }
  .gallery-intro { font-size: 0.95rem; }
  .carousel-container { padding: 0 1rem; }
  .gallery-item { width: 280px; height: 200px; }
  .gallery-overlay-text h3 { font-size: 1rem; }
  .gallery-overlay-text p { font-size: 0.8rem; }
  .carousel-controls { gap: 0.5rem; }
  .carousel-btn { width: 40px; height: 40px; }
  .carousel-counter { padding: 0.5rem 1rem; font-size: 0.9rem; }
  .gallery-filters { gap: 0.5rem; padding: 0 0.5rem; }
  .filter-btn { padding: 0.5rem 1rem; font-size: 0.8rem; }
  footer { padding: 2rem 0 1rem; }
  .contact-container { padding: 0 1rem; }
  .contact-header h2 { font-size: 1.6rem; }
  .contact-intro { font-size: 0.95rem; }
  .contact-content { gap: 1.5rem; }
  .contact-item { padding: 0.8rem; gap: 1rem; }
  .contact-icon { width: 40px; height: 40px; }
  .contact-icon svg { width: 20px; height: 20px; }
  .contact-details h3 { font-size: 1rem; }
  .contact-details a { font-size: 0.95rem; }
  .contact-details p { font-size: 0.95rem; }
  .social-link { padding: 0.6rem 1rem; font-size: 0.9rem; }
  .social-link svg { width: 18px; height: 18px; }
  .contact-cta .cta.primary { padding: 0.6rem 1.5rem; font-size: 0.9rem; }
  .contact-response { font-size: 0.9rem; }
  .gallery-img { min-width: 90px; max-width: 110px; height: 54px; }
}

/* Accessibilité : prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* ----------------------------------------------------------------
   Section : Notre approche (ajoutée pour le contenu client)
---------------------------------------------------------------- */
.approche {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--c2) 0%, #EAE4D2 100%);
}

.approche-header {
  max-width: 900px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.approche-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--c1);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.approche-intro {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--c1);
  opacity: 0.82;
  margin: 0;
}

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

.approche-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid rgba(31, 61, 43, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.approche-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(31, 61, 43, 0.12);
}

.approche-icon {
  font-size: 2.4rem;
  line-height: 1;
}

.approche-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--c1);
  margin: 0;
}

.approche-card p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c1);
  opacity: 0.82;
  margin: 0;
  flex-grow: 1;
}

.approche-card p strong {
  color: var(--c1);
  opacity: 1;
  font-weight: 700;
}

.approche-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  color: var(--c3);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.approche-link::after {
  content: "↗";
  font-size: 0.9rem;
}

.approche-link:hover {
  color: var(--c1);
  border-bottom-color: var(--c1);
}

.approche-footer {
  max-width: 800px;
  margin: 3rem auto 0;
  text-align: center;
  font-style: italic;
  color: var(--c1);
  opacity: 0.7;
}

@media (max-width: 700px) {
  .approche { padding: 3rem 1rem; }
  .approche-header h2 { font-size: 1.8rem; }
  .approche-intro { font-size: 1rem; }
  .approche-card { padding: 1.6rem 1.3rem; }
}

/* Carrousel : tag de catégorie */
.gallery-tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  background: var(--c3);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

/* service-cta transformé en <a> : conserver l'apparence du bouton */
a.service-cta {
  text-decoration: none;
  display: inline-block;
}

/* contact-cta transformé en <a> */
a.cta.primary {
  text-decoration: none;
  display: inline-block;
}

/* ----------------------------------------------------------------
   Icônes SVG services + approche (remplacement des emojis)
---------------------------------------------------------------- */
.service-icon-large svg {
  width: 56px;
  height: 56px;
  color: #fff;
}

.approche-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(127,183,154,0.18), rgba(127,183,154,0.08));
  border-radius: 14px;
  color: var(--c1);
  margin-bottom: 0.4rem;
}

.approche-icon svg {
  width: 30px;
  height: 30px;
}

.approche-card:hover .approche-icon {
  background: linear-gradient(135deg, var(--c3), #6fa589);
  color: #fff;
  transition: all 0.35s ease;
}

.approche-icon.photo {
  background: none;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  width: 100%;
  max-width: 320px;
  height: 240px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 12px 40px 0 rgba(31,61,43,0.3);
  margin: -2rem auto 1.5rem;
  transform: none;
}

.approche-icon.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.approche-card:hover .approche-icon.photo {
  transform: scale(1.05);
  box-shadow: 0 16px 60px 0 rgba(31,61,43,0.35);
}

@media (max-width: 700px) {
  .service-icon-large svg { width: 42px; height: 42px; }
  .approche-icon { width: 48px; height: 48px; }
  .approche-icon svg { width: 26px; height: 26px; }
  
  .vision-header h3 { font-size: 1.6rem; }
  .vision-intro { font-size: 1rem; }
  .vision-toggle { padding: 1.2rem; font-size: 1rem; }
  .vision-icon { width: 35px; height: 35px; }
  .vision-icon svg { width: 18px; height: 18px; }
  .vision-item.active .vision-content { max-height: 250px; }
  .vision-content p { padding-left: 3rem; font-size: 0.95rem; }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-form h3 {
    font-size: 1.1rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
}

/* ----------------------------------------------------------------
   Vignettes photo pour les services (remplacement SVG → photos)
---------------------------------------------------------------- */
.service-icon-large.photo {
  background: none;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  width: 460px;
  height: 320px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 20px 80px 0 rgba(31,61,43,0.4);
}

.service-icon-large.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-item:hover .service-icon-large.photo {
  transform: scale(1.06);
  box-shadow: 0 14px 48px 0 rgba(31,61,43,0.25);
}

/* ----------------------------------------------------------------
   Galerie en vedette — entête allégée, carrousel agrandi
---------------------------------------------------------------- */
.gallery-section {
  padding: 3rem 0 5rem;
}

.gallery-header {
  max-width: 900px;
  margin: 0 auto 2rem;
  text-align: center;
  padding: 0 1rem;
}

.gallery-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c3);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.gallery-header h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0;
  color: var(--c1);
  letter-spacing: -0.01em;
}

.gallery-header .gallery-intro {
  display: none; /* entête plus compacte — la galerie parle d'elle-même */
}

/* Conteneur du carrousel : occupe quasi toute la largeur, agrandi */
.gallery-section .carousel-container {
  padding: 0 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

.gallery-section .carousel-track {
  gap: 2rem;
  padding: 1rem 0 2rem;
}

/* Items beaucoup plus grands */
.gallery-section .gallery-item {
  width: min(88vw, 1100px);
  height: min(62vh, 640px);
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 48px rgba(31, 61, 43, 0.18);
  background: #e8e4d8;
}

.gallery-section .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

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

/* Overlay : toujours visible en bas sur une bande dégradée */
.gallery-section .gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(31,61,43,0.85) 0%, rgba(31,61,43,0.5) 55%, rgba(31,61,43,0) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.8rem 2rem;
  opacity: 1;
  transition: none;
}

.gallery-section .gallery-overlay-text {
  color: #fff;
  max-width: 85%;
}

.gallery-section .gallery-overlay-text h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.gallery-section .gallery-tag {
  display: inline-block;
  padding: 0.28rem 0.8rem;
  background: rgba(127, 183, 154, 0.95);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.gallery-section .gallery-subtitle {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.2rem 0.7rem;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Contrôles : compteur entre les flèches */
.gallery-section .carousel-controls {
  position: static;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.5rem;
  pointer-events: auto;
}

.gallery-section .carousel-counter {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c1);
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
  min-width: 55px;
  text-align: center;
}

/* Responsive — phone */
@media (max-width: 780px) {
  .gallery-section { padding: 2rem 0 3rem; }
  .gallery-header h2 { font-size: 1.3rem; }
  .gallery-section .carousel-container { padding: 0 1rem; }
  .gallery-section .carousel-track { gap: 1rem; }
  .gallery-section .gallery-item { width: 92vw; height: 58vh; }
  .gallery-section .gallery-overlay { padding: 1.2rem; }
  .gallery-section .gallery-overlay-text h3 { font-size: 1.15rem; }
  .gallery-section .gallery-tag { font-size: 0.65rem; }
}

/* ----------------------
   Skills marquee (défilement compétences — drag/swipe)
   ---------------------- */
.skills-marquee {
  margin: 3.5rem auto;
  max-width: 1200px;
  padding: 2rem 0 1.5rem;
  position: relative;
}

.skills-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.skills-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c1);
  margin: 0;
  letter-spacing: 0.02em;
}

.skills-hint {
  font-size: 0.85rem;
  color: rgba(31,61,43,0.55);
  margin: 0.4rem 0 0;
  font-style: italic;
}

.skills-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  touch-action: pan-x;
}

.skills-viewport::-webkit-scrollbar { display: none; }

.skills-viewport.dragging {
  cursor: grabbing;
}

.skills-track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  padding: 0.4rem 0;
}

.skill-tag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.4rem;
  background: linear-gradient(135deg, rgba(127,183,154,0.18), rgba(31,61,43,0.08));
  border: 1px solid rgba(31,61,43,0.12);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c1);
  white-space: nowrap;
  transition: transform 0.25s ease, background 0.25s ease;
  pointer-events: none; /* le drag passe au viewport */
}

@media (max-width: 780px) {
  .skills-marquee { padding: 1.2rem 0; margin: 2rem auto; }
  .skills-header h3 { font-size: 1.2rem; }
  .skill-tag { font-size: 0.85rem; padding: 0.55rem 1.1rem; }
}
