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

html {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Sections */
.section {
  padding: 4rem 2rem;
}

.section:nth-child(even) {
  background: #f8f9fa;
}

#avant-apres {
  padding-top: 1rem;
}

#services {
  padding-bottom: 2rem;
  position: relative;
  background-image: url('images/ap4.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

#services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.75);
  z-index: 0;
}

#services .container {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-logo {
  display: block;
  margin: 0 auto 0 rem;
  width: 60px;
  height: 60px;
  filter: brightness(0) saturate(100%) invert(35%) sepia(95%) saturate(1000%) hue-rotate(170deg) brightness(95%) contrast(101%);
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  color: #1C2A33;
  text-align: center;
  font-weight: 700;
  position: relative;
  padding: 0;
  letter-spacing: 0;
  text-transform: none;
  display: inline-block;
  width: 100%;
  line-height: 1.3;
  font-family: 'Montserrat', sans-serif;
}

.section-title-small {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  padding: 0;
  color: #1C2A33;
  font-weight: 700;
  line-height: 1.3;
  font-family: 'Montserrat', sans-serif;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: #026ea7;
  border-radius: 2px;
}

@keyframes titlePulse {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.02);
    filter: brightness(1.1);
  }
}

@keyframes lineExpand {
  0%, 100% {
    width: 120px;
    opacity: 0.6;
  }
  50% {
    width: 180px;
    opacity: 1;
  }
}

@keyframes titleGlow {
  0%, 100% {
    width: 0%;
    opacity: 0;
  }
  50% {
    width: 100%;
    opacity: 0.3;
  }
}

.btn-gallery {
  display: inline-block;
  background: #026ea7;
  color: white;
  padding: 0.6rem 1.5rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(2, 110, 167, 0.3);
  margin-bottom: 1.5rem;
}

.btn-gallery:hover {
  background: #025580;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 110, 167, 0.4);
}

.gallery-header {
  text-align: center;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Section Avis */
.avis-section {
  padding: 1rem 2rem 5rem;
  background: white;
  text-align: center;
  margin-top: -2rem;
  margin-bottom: 3rem;
  overflow: hidden;
}

.avis-section-title {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  color: #1C2A33;
  text-align: center;
  font-weight: 700;
  position: relative;
  padding-bottom: 0;
  text-transform: none;
  line-height: 1.3;
  font-family: 'Montserrat', sans-serif;
}

.avis-section-title::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: #026ea7;
  border-radius: 2px;
}

.avis-section-title-small {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  padding: 0;
  color: #1C2A33;
  font-weight: 700;
  line-height: 1.3;
  font-family: 'Montserrat', sans-serif;
}

.avis-subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.avis-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  perspective: 1200px;
}

.avis-carousel-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avis-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.avis-card {
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(2, 110, 167, 0.1);
  border: 1px solid #e6f4fb;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  width: 350px;
  min-height: 280px;
  opacity: 0.5;
  transform: scale(0.85) translateZ(-100px);
  pointer-events: none;
}

.avis-card.active {
  transform: scale(1) translateZ(0);
  opacity: 1;
  z-index: 10;
  box-shadow: 0 15px 45px rgba(2, 110, 167, 0.2);
  pointer-events: all;
}

.avis-card.prev {
  transform: translateX(-400px) scale(0.85) translateZ(-100px) rotateY(10deg);
  opacity: 0.6;
  z-index: 5;
}

.avis-card.next {
  transform: translateX(400px) scale(0.85) translateZ(-100px) rotateY(-10deg);
  opacity: 0.6;
  z-index: 5;
}

.avis-card.hidden {
  transform: scale(0.7) translateZ(-200px);
  opacity: 0;
  z-index: 1;
}

.avis-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.avis-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #026ea7 0%, #0373ab 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.avis-info h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #026ea7;
  font-weight: 700;
}

.avis-info p {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: #888;
}

.avis-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.avis-stars .star {
  color: #ffd700;
  font-size: 1.2rem;
}

.avis-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  font-style: italic;
}

.avis-quote {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 3rem;
  color: rgba(2, 110, 167, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

/* Navigation du carousel d'avis */
.avis-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: #026ea7;
  border: none;
  padding: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avis-arrow:hover {
  color: #025580;
  transform: translateY(-50%) scale(1.2);
}

.avis-arrow.prev {
  left: 20px;
}

.avis-arrow.next {
  right: 20px;
}

/* Indicateurs du carousel d'avis */
.avis-indicators {
  display: none;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.avis-indicator {
  width: 40px;
  height: 3px;
  background: #ddd;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.4s ease;
}

.avis-indicator.active {
  background: #026ea7;
  width: 60px;
}

.avis-indicator:hover {
  background: #0373ab;
}

@media (max-width: 1024px) {
  .avis-card {
    width: 320px;
  }

  .avis-card.prev {
    transform: translateX(-360px) scale(0.85) translateZ(-100px) rotateY(10deg);
  }

  .avis-card.next {
    transform: translateX(360px) scale(0.85) translateZ(-100px) rotateY(-10deg);
  }
}

@media (max-width: 768px) {
  .section-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 0 rem;
  }

  .section-title-small {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }

  .avis-section {
    padding: 1.5rem 1.5rem;
  }

  .avis-section-title {
    font-size: 1.4rem;
    margin-bottom: 3rem;
  }

  .avis-section-title-small {
    font-size: 1.4rem;
    margin-bottom: 3rem;
  }

  .avis-container {
    min-height: 350px;
  }

  .avis-card {
    width: 280px;
    padding: 1.5rem;
    min-height: 250px;
  }

  .avis-card.prev,
  .avis-card.next {
    transform: scale(0.75) translateZ(-100px);
    opacity: 0.3;
  }

  .avis-card.prev {
    transform: translateX(-200px) scale(0.75) translateZ(-100px);
  }

  .avis-card.next {
    transform: translateX(200px) scale(0.75) translateZ(-100px);
  }

  .avis-quote {
    font-size: 2.5rem;
  }

  .avis-arrow {
    padding: 0.8rem;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
  }

  .avis-arrow.prev {
    left: 10px;
  }

  .avis-arrow.next {
    right: 10px;
  }
}

/* Section Statistiques */
.stats-section {
  background: white;
  padding: 3rem 2rem;
  position: relative;
}

.stats-container {
  display: none;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 10px;
  background: white;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(35%) sepia(95%) saturate(1000%) hue-rotate(170deg) brightness(95%) contrast(101%);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: #026ea7;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 1.1rem;
  color: #026ea7;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .stats-section {
    padding: 1.5rem 0.8rem;
  }

  .stats-section::before {
    background-attachment: scroll;
    opacity: 0;
  }

  .stats-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
    padding: 0 1rem 1.2rem 1rem;
    background: white;
  }

  .stat-item {
    padding: 0.8rem 0.2rem;
    background: white;
    gap: 0.5rem;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
  }

  .stat-number {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.5rem;
  }
}

@media (max-width: 480px) {
  .stats-section {
    padding: 1.2rem 0.5rem;
  }

  .stats-section::before {
    background-attachment: scroll;
    opacity: 0;
  }

  .stats-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.3rem;
    padding: 0 0.8rem 1rem 0.8rem;
    background: white;
  }

  .stat-item {
    padding: 0.6rem 0.15rem;
    background: white;
    gap: 0.4rem;
  }

  .stat-icon {
    width: 35px;
    height: 35px;
  }

  .stat-number {
    font-size: 1rem;
  }

  .stat-label {
    font-size: 0.45rem;
  }
}

/* Section Devis */
.devis-section {
  background: #2474b9;
  padding: 5rem 2rem;
  margin-top: 3rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.devis-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: floatShape 15s ease-in-out infinite;
}

.devis-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  animation: floatShape 20s ease-in-out infinite reverse;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 30px); }
}

.devis-container {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.devis-section h2 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  font-weight: 800;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.5px;
}

.devis-section p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  line-height: 1.6;
}

.devis-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.devis-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #026ea7 0%, #0373ab 50%, #026ea7 100%);
}

.form-group {
  margin-bottom: 1.2rem;
  text-align: left;
  position: relative;
}

.form-group label {
  display: block;
  color: #026ea7;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #e6f4fb;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #f8fbff;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #026ea7;
  background: white;
  box-shadow: 0 0 0 4px rgba(2, 110, 167, 0.1);
  transform: translateY(-2px);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.btn-submit {
  display: inline-block;
  background: linear-gradient(135deg, #026ea7 0%, #0373ab 100%);
  color: white;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(2, 110, 167, 0.4);
  position: relative;
  overflow: hidden;
  margin-top: 0.5rem;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #025580 0%, #026ea7 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(2, 110, 167, 0.5);
}

.btn-submit:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(2, 110, 167, 0.4);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #026ea7 0%, #025580 100%);
  color: white;
  padding: 2rem 2rem 6rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-section h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: white;
  font-weight: 700;
  text-decoration: underline;
}

.footer-section p,
.footer-section a {
  color: #ccc;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.9rem;
}

.footer-section a:hover {
  color: #0373ab;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.8rem;
  justify-content: flex-start;
}

.footer-social a {
  width: 35px;
  height: 35px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.footer-social a svg {
  fill: #026ea7;
  width: 18px;
  height: 18px;
}

.footer-social a:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .devis-section {
    padding: 3rem 1.5rem;
  }

  .devis-section h2 {
    font-size: 2rem;
  }

  .devis-section p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .devis-form {
    padding: 2rem 1.5rem;
  }

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

  .form-group input,
  .form-group textarea {
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
  }

  .btn-submit {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    width: 100%;
  }

  .footer {
    padding: 1.5rem 1.5rem 8rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: left;
    margin-bottom: 1rem;
  }

  .footer-logo {
    filter: brightness(0) invert(1);
  }

  .footer-section h3 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
    text-decoration: underline;
    color: white;
  }

  .footer-section p,
  .footer-section a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .footer-links {
    align-items: flex-start;
    gap: 0.3rem;
  }

  .footer-social {
    justify-content: flex-start;
    gap: 0.6rem;
    margin-top: 0.6rem;
  }

  .footer-social a {
    background: white;
    width: 32px;
    height: 32px;
  }

  .footer-social a svg {
    fill: #026ea7;
    width: 16px;
    height: 16px;
  }

  .footer-bottom {
    padding-top: 0.8rem;
    margin-top: 0.8rem;
    text-align: center;
    font-size: 0.8rem;
  }

  .footer-section.footer-links-section {
    display: none;
  }
}

@media (max-width: 480px) {
  .devis-section h2 {
    font-size: 1.6rem;
  }

  .devis-section p {
    font-size: 0.95rem;
  }

  .devis-form {
    padding: 1.5rem 1rem;
  }
}
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.created-by {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.creator-logo {
  height: 50px;
  width: auto;
  transition: opacity 0.3s ease;
}

.creator-logo:hover {
  opacity: 0.7;
}

/* Gallery Section - Carousel de réalisations */
.gallery-section {
  overflow: hidden;
  position: relative;
  background: white;
  padding-top: 2rem;
  margin-top: -2rem;
}

.gallery-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 0;
}

.gallery-section .container {
  position: relative;
  z-index: 1;
}

.slideshow-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 2rem;
  padding: 2rem 0;
}

.gallery-section .slideshow-wrapper {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
}

.slideshow-track {
  display: flex;
  gap: 2rem;
  width: 100%;
  overflow: hidden;
  transition: transform 0.5s ease;
}

.gallery-slide {
  flex: 0 0 auto;
  width: calc(50% - 1rem);
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.gallery-slide:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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

.slide-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.8rem 1.5rem;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: #026ea7;
  border: 2px solid #026ea7;
  padding: 1rem 1.2rem;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-arrow:hover {
  background: #026ea7;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.gallery-arrow.prev {
  left: 0;
}

.gallery-arrow.next {
  right: 0;
}

/* Responsive Tablette */
@media (max-width: 1024px) {
  .gallery-slide {
    width: calc(50% - 0.75rem);
  }

  .gallery-slide img {
    height: 400px;
  }
}

/* Responsive Mobile */
@media (max-width: 768px) {
  .gallery-section {
    padding: 3rem 0;
  }

  .gallery-section .container {
    padding: 0;
  }

  .slideshow-wrapper {
    margin-top: 2rem;
    padding: 0;
    overflow: visible;
  }

  .slideshow-track {
    gap: 1rem;
    justify-content: center;
  }

  .gallery-slide {
    width: 70%;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .gallery-slide img {
    height: 400px;
    border-radius: 10px;
  }

  .slide-caption {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    bottom: 1rem;
  }

  .gallery-arrow {
    width: 40px;
    height: 40px;
    padding: 0.5rem;
    font-size: 1.2rem;
  }

  .gallery-arrow.prev {
    left: 10px;
  }

  .gallery-arrow.next {
    right: 10px;
  }
}

/* Responsive Petit Mobile */
@media (max-width: 480px) {
  .gallery-slide {
    width: 100vw;
    border-radius: 0;
  }

  .gallery-slide img {
    height: 350px;
    border-radius: 0;
  }

  .btn-gallery {
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
  }

  .footer-container {
    gap: 2rem;
  }

  .footer-section h3 {
    font-size: 1.1rem;
  }

  .footer-section p,
  .footer-section a {
    font-size: 0.9rem;
  }
}

/* Icônes sociales fixes */
.fixed-social-icons {
  position: fixed;
  right: 3rem;
  top: 65%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
}

@media (max-width: 768px) {
  .fixed-social-icons {
    display: none;
  }
}

.fixed-social-link {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #026ea7 0%, #0373ab 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(2, 110, 167, 0.4);
  transition: all 0.3s ease;
}

.fixed-social-link:hover {
  background: linear-gradient(135deg, #0373ab 0%, #026ea7 100%);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(2, 110, 167, 0.6);
}

@media (max-width: 768px) {
  .fixed-social-icons {
    right: 10px;
  }

  .fixed-social-link {
    width: 45px;
    height: 45px;
  }

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

/* Pop-up */
.popup-container {
  position: fixed;
  bottom: 20px;
  left: -400px;
  width: 320px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(2, 110, 167, 0.3);
  padding: 1.5rem;
  z-index: 9999;
  border: 2px solid #026ea7;
  animation: slideInLeft 0.8s ease-out 2s forwards;
}

@keyframes slideInLeft {
  from {
    left: -400px;
    opacity: 0;
  }
  to {
    left: 20px;
    opacity: 1;
  }
}

.popup-container.hidden {
  animation: slideOutLeft 0.5s ease-out forwards;
}

@keyframes slideOutLeft {
  from {
    left: 20px;
    opacity: 1;
  }
  to {
    left: -400px;
    opacity: 0;
  }
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  color: #026ea7;
  cursor: pointer;
  font-weight: 300;
  line-height: 1;
  transition: all 0.3s ease;
}

.popup-close:hover {
  color: #025580;
  transform: rotate(90deg);
}

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

.popup-logo {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  filter: brightness(0) saturate(100%) invert(35%) sepia(95%) saturate(1000%) hue-rotate(170deg) brightness(95%) contrast(101%);
}

.popup-content h3 {
  font-size: 1.4rem;
  color: #026ea7;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.popup-content p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.popup-btn {
  display: inline-block;
  background: #026ea7;
  color: white;
  padding: 0.8rem 1.8rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(2, 110, 167, 0.3);
}

.popup-btn:hover {
  background: #025580;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 110, 167, 0.4);
}

.popup-contact {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e6f4fb;
  font-size: 0.9rem;
  color: #026ea7;
  font-weight: 600;
}

@media (max-width: 768px) {
  .popup-container {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .popup-container {
    width: 220px;
    left: -230px;
    bottom: 10px;
    padding: 1rem;
  }

  @keyframes slideInLeft {
    from {
      left: -230px;
      opacity: 0;
    }
    to {
      left: 10px;
      opacity: 1;
    }
  }

  @keyframes slideOutLeft {
    from {
      left: 10px;
      opacity: 1;
    }
    to {
      left: -230px;
      opacity: 0;
    }
  }
}

/* Nos Partenaires */
.partners-section {
  padding: 1rem 2rem 4rem;
  background: white;
  overflow: hidden;
  margin-top: 2rem;
}

.partners-section .section-title-small {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
}

.partners-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 2rem;
}

.partners-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: scrollPartners 30s linear infinite;
  will-change: transform;
}

.partners-track:hover {
  animation-play-state: paused;
}

@keyframes scrollPartners {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partner-logo-item {
  flex: 0 0 auto;
  width: 200px;
  height: 120px;
  background: white;
  border: 2px solid #e6f4fb;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(2, 110, 167, 0.08);
  padding: 15px;
}

.partner-logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.partner-logo-item:hover img {
  filter: grayscale(0%);
}

.partner-logo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(2, 110, 167, 0.15);
}

.partner-logo-placeholder {
  text-align: center;
  color: #026ea7;
  font-weight: 600;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .partners-section {
    padding: 1rem 1.5rem 3rem;
    margin-top: 0;
  }

  .partners-track {
    gap: 2rem;
  }

  .partner-logo-item {
    width: 150px;
    height: 100px;
    padding: 10px;
  }

  .partner-logo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .partner-logo-placeholder {
    font-size: 0.95rem;
  }
}

/* Section Processus Grid */
.processus-section-grid {
  padding: 3rem 2rem;
  background: white;
}

.processus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.processus-card {
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
  padding: 1.8rem 1.5rem;
  border-radius: 12px;
  border: 2px solid #e6f4fb;
  box-shadow: 0 6px 20px rgba(2, 110, 167, 0.1);
  transition: all 0.3s ease;
  position: relative;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
}

.processus-card.animate {
  animation: fadeInUpCard 0.6s ease-out forwards;
}

.processus-card:nth-child(1).animate {
  animation-delay: 0.1s;
}

.processus-card:nth-child(2).animate {
  animation-delay: 0.2s;
}

.processus-card:nth-child(3).animate {
  animation-delay: 0.3s;
}

.processus-card:nth-child(4).animate {
  animation-delay: 0.4s;
}

@keyframes fadeInUpCard {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.processus-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(2, 110, 167, 0.2);
  border-color: #026ea7;
}

.processus-card-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(2, 110, 167, 0.1);
  line-height: 1;
}

.processus-card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.processus-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.processus-card h3 {
  font-size: 1.3rem;
  color: #026ea7;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.processus-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #555;
}

@media (max-width: 768px) {
  .processus-section-grid {
    padding: 3rem 1.5rem;
  }

  .processus-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .processus-card {
    padding: 2rem 1.5rem;
  }

  .processus-card-number {
    font-size: 2.5rem;
    top: 1rem;
    right: 1rem;
  }

  .processus-card-icon {
    width: 60px;
    height: 60px;
  }

  .processus-card h3 {
    font-size: 1.3rem;
  }
}

/* Section Processus Main */
.processus-section-main {
  padding: 0;
  background: white;
  margin: 0;
  width: 100%;
  max-width: 100vw;
  display: none;
}

.processus-section-main .processus-container {
  max-width: 100vw;
  margin: 0;
  padding: 0;
  background: transparent;
}

.processus-section-main .processus-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.processus-section-main .processus-step {
  flex: 1;
  background: white;
  padding: 1.2rem 1rem;
  border-radius: 50%;
  text-align: center;
  border: 1px solid #026ea7;
  box-shadow: 0 4px 15px rgba(2, 110, 167, 0.3);
  transition: all 0.3s ease;
  min-height: 120px;
  max-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  aspect-ratio: 1/1;
}

.processus-section-main .processus-step.animate {
  animation: fadeInUpProcess 0.6s ease-out forwards;
}

.processus-section-main .processus-step:nth-child(1).animate {
  animation-delay: 0.1s;
}

.processus-section-main .processus-step:nth-child(3).animate {
  animation-delay: 0.2s;
}

.processus-section-main .processus-step:nth-child(5).animate {
  animation-delay: 0.3s;
}

.processus-section-main .processus-step:nth-child(7).animate {
  animation-delay: 0.4s;
}

.processus-section-main .processus-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(2, 110, 167, 0.5);
  border-color: #0373ab;
}

.processus-section-main .processus-icon {
  width: 45px;
  height: 45px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.processus-section-main .processus-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.processus-section-main .processus-step h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #026ea7;
  margin: 0;
}

.processus-section-main .processus-arrow {
  flex: 0 0 auto;
  width: 120px;
  height: 2px;
  background: #026ea7;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
}

.processus-section-main .processus-arrow::before {
  content: '';
  position: absolute;
  width: 35px;
  height: 35px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(2, 110, 167, 0.3);
}

.processus-section-main .processus-arrow::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background-image: url('../images/minilogo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(0) saturate(100%) invert(35%) sepia(95%) saturate(1000%) hue-rotate(170deg) brightness(95%) contrast(101%);
  z-index: 1;
}

@keyframes fadeInUpProcess {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Lightbox pour les images */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 50px;
  font-size: 50px;
  color: white;
  cursor: pointer;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.lightbox-close:hover {
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .processus-section-main {
    padding: 2rem 1rem;
  }

  .processus-section-main .processus-container {
    padding: 1rem;
  }

  .processus-section-main .processus-steps {
    flex-direction: column;
    gap: 0.5rem;
  }

  .processus-section-main .processus-arrow {
    width: 2px;
    height: 70px;
  }

  .processus-section-main .processus-step::before {
    content: attr(data-number);
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: 25px;
    height: 25px;
    background: #026ea7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: white;
  }

  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 40px;
  }
}

@media (max-width: 480px) {
  .popup-container {
    width: 220px;
    left: -230px;
    bottom: 10px;
    padding: 1rem;
  }

  @keyframes slideInLeft {
    from {
      left: -230px;
      opacity: 0;
    }
    to {
      left: 10px;
      opacity: 1;
    }
  }

  @keyframes slideOutLeft {
    from {
      left: 10px;
      opacity: 1;
    }
    to {
      left: -230px;
      opacity: 0;
    }
  }
}
/* Personnalisation bannière cookies TermsFeed */

/* Bouton "Accepter" */
.cc-nb-okagree,
.cc-cp-foot-save {
  background-color: #0373ab !important;
  border-color: #0373ab !important;
  color: white !important;
}

.cc-nb-okagree:hover,
.cc-cp-foot-save:hover {
  background-color: #025a8a !important;
  border-color: #025a8a !important;
}

/* Bouton "Refuser" */
.cc-nb-reject,
.cc-cp-foot-bypr {
  background-color: transparent !important;
  border: 2px solid #0373ab !important;
  color: #0373ab !important;
}

.cc-nb-reject:hover,
.cc-cp-foot-bypr:hover {
  background-color: #0373ab !important;
  color: white !important;
}

/* Bouton "Personnaliser" / "Gérer les préférences" */
.cc-nb-changep {
  color: #0373ab !important;
  text-decoration: underline;
}

.cc-nb-changep:hover {
  color: #025a8a !important;
}