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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #292524;
  line-height: 1.6;
  background: #fff;
}

.font-display {
  font-family: 'Fraunces', Georgia, serif;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

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

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: #292524;
  color: white;
}

.btn-primary:hover {
  background: #1c1917;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(41, 37, 36, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid #292524;
  color: #292524;
}

.btn-outline:hover {
  background: #292524;
  color: white;
}

.btn-white {
  background: white;
  color: #292524;
}

.btn-white:hover {
  background: #f5f5f4;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  height: 110px;
  min-height: 110px;
  max-height: 110px;
  overflow: visible;
}

.header-top {
  padding: 12px 0;
  border-bottom: 1px solid #e7e5e4;
  height: auto;
  flex-shrink: 0;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  color: #292524;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: #292524;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.logo-img {
  height: 140px !important;
  width: auto;
  margin: -50px 0;
  display: block;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #57534e;
  font-weight: 500;
}

.header-phone:hover {
  color: #292524;
}

.header-nav {
  background: #fafaf9;
  border-bottom: 1px solid #e7e5e4;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 10px 0;
  list-style: none;
}

.nav-menu a {
  display: block;
  padding: 10px 18px;
  color: #57534e;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #292524;
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #e7e5e4;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 20px;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 14px 16px;
  color: #57534e;
  font-weight: 500;
  border-radius: 8px;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: #f5f5f4;
  color: #292524;
}

@media (max-width: 900px) {
  .header-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .header-contact .btn {
    display: none;
  }

  .logo-img {
    height: 90px !important;
    margin: -28px 0;
  }
}

/* Hero */
.hero {
  position: relative;
  height: 85vh;
  min-height: 600px;
  margin-top: 110px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(28, 25, 23, 0.75) 0%, rgba(28, 25, 23, 0.4) 50%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-text {
  max-width: 650px;
  padding: 60px 0;
}

.hero-badge {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 30px;
}

.hero-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: clamp(24px, 3vw, 36px);
  color: #d6d3d1;
  font-weight: 400;
  margin-bottom: 30px;
}

.hero-description {
  font-size: 18px;
  color: #d6d3d1;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.hero-dot.active {
  width: 32px;
  border-radius: 5px;
  background: white;
}

.hero-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero:hover .hero-arrows {
  opacity: 1;
}

.hero-arrow {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

@media (max-width: 600px) {
  .hero-arrow {
    width: 44px;
    height: 44px;
  }

  .hero-arrows {
    padding: 0 10px;
  }
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-gray {
  background: #fafaf9;
}

.section-dark {
  background: #292524;
  color: white;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  color: #78716c;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: #292524;
  line-height: 1.2;
}

.section-dark .section-title {
  color: white;
}

.section-subtitle {
  font-size: 18px;
  color: #78716c;
  margin-top: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

@media (max-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: #fafaf9;
  border-radius: 20px;
  padding: 35px 30px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
}

.service-icon.amber { background: #f59e0b; }
.service-icon.slate { background: #475569; }
.service-icon.green { background: #16a34a; }
.service-icon.stone { background: #57534e; }

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card p {
  color: #78716c;
  font-size: 15px;
}

.service-card .arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #292524;
  font-weight: 600;
  font-size: 14px;
  margin-top: 20px;
  transition: gap 0.2s;
}

.service-card:hover .arrow {
  gap: 10px;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 800px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

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

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,25,23,0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.gallery-item-info {
  display: none;
}

.gallery-item:hover .gallery-item-info {
  display: none;
}

.gallery-item-info h3 {
  color: white;
  font-weight: 600;
  font-size: 18px;
}

.gallery-item-info p {
  color: #d6d3d1;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Avantages */
.avantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

@media (max-width: 800px) {
  .avantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .avantages-grid {
    grid-template-columns: 1fr;
  }
}

.avantage-card {
  display: flex;
  gap: 16px;
  padding: 25px;
  background: #fafaf9;
  border-radius: 16px;
}

.avantage-icon {
  width: 48px;
  height: 48px;
  background: #292524;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.avantage-card h4 {
  font-weight: 600;
  margin-bottom: 4px;
}

.avantage-card p {
  color: #78716c;
  font-size: 14px;
}

/* Etapes */
.etapes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .etapes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .etapes-grid {
    grid-template-columns: 1fr;
  }
}

.etape {
  text-align: center;
}

.etape-num {
  width: 64px;
  height: 64px;
  background: #292524;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 22px;
  margin: 0 auto 16px;
}

.etape h4 {
  font-weight: 600;
  margin-bottom: 8px;
}

.etape p {
  color: #78716c;
  font-size: 14px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: #fafaf9;
  border-radius: 14px;
  margin-bottom: 15px;
  transition: background 0.2s;
}

.contact-info-card:hover {
  background: #f5f5f4;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: #292524;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.contact-info-card span {
  color: #78716c;
  font-size: 13px;
}

.contact-info-card strong {
  display: block;
  font-weight: 600;
  color: #292524;
}

.contact-form {
  background: #fafaf9;
  padding: 40px;
  border-radius: 20px;
}

.contact-form h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #57534e;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #d6d3d1;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #78716c;
  box-shadow: 0 0 0 3px rgba(120, 113, 108, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

.form-note {
  text-align: center;
  color: #78716c;
  font-size: 14px;
  margin-top: 15px;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-section p {
  color: #d6d3d1;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* Page Header */
.page-header {
  padding: 80px 0;
  background: #fafaf9;
  margin-top: 110px;
}

.page-header-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .page-header-content {
    grid-template-columns: 1fr;
  }
}

.page-header h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: #292524;
  margin-bottom: 20px;
}

.page-header p {
  color: #57534e;
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-header img {
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
}

/* Footer */
.footer {
  background: #1c1917;
  color: #a8a29e;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.footer-title {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.footer-desc {
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer h4 {
  color: white;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #a8a29e;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #292524;
  padding-top: 30px;
  text-align: center;
  font-size: 14px;
}

.footer-legal {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: #a8a29e;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: white;
}

.footer-legal span {
  color: #57534e;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
}

.lightbox-caption {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
}

.lightbox-caption h3 {
  font-size: 20px;
  font-weight: 600;
}

.lightbox-caption p {
  color: #a8a29e;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  padding: 20px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  z-index: 10;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

@media (max-width: 600px) {
  .lightbox-nav {
    font-size: 24px;
    padding: 15px 12px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

/* Filters */
.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 50px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  background: #f5f5f4;
  color: #57534e;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: #292524;
  color: white;
}

.gallery-section {
  display: none;
}

.gallery-section.active {
  display: grid;
}

/* Services details */
.services-list {
  list-style: none;
}

.services-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: #44403c;
}

.services-list li svg {
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

@media (max-width: 800px) {
  .two-columns {
    grid-template-columns: 1fr;
  }
}

.two-columns h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.two-columns p {
  color: #57534e;
  margin-bottom: 25px;
}

.eco-box {
  background: #f0fdf4;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
}

.eco-box svg {
  color: #16a34a;
  margin-bottom: 15px;
}

.eco-box h3 {
  font-family: 'Fraunces', Georgia, serif;
  margin-bottom: 10px;
}

.eco-box p {
  color: #57534e;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

@media (max-width: 700px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-num {
  font-size: 48px;
  font-weight: 700;
  color: white;
  margin-bottom: 5px;
}

.stat-label {
  color: #a8a29e;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 700px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  text-align: center;
  padding: 40px 30px;
  background: #fafaf9;
  border-radius: 20px;
}

.value-icon {
  width: 64px;
  height: 64px;
  background: #292524;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0 auto 20px;
}

.value-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.value-card p {
  color: #78716c;
}

/* Mobile CTA */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: #292524;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  z-index: 100;
}

@media (max-width: 900px) {
  .mobile-cta {
    display: flex;
  }
}

/* Page transitions - DÉSACTIVÉ (causait un layout shift sur le header fixed) */
/*
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

body {
  animation: fadeIn 0.4s ease;
}
*/

/* Applications grid */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 800px) {
  .applications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.application-card {
  background: white;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border: 1px solid #e7e5e4;
}

.application-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  border-color: #f59e0b;
}

.application-card .app-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #292524 0%, #44403c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #f59e0b;
}

.application-card:hover .app-icon {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.application-card h3 {
  color: #292524;
  font-weight: 600;
  font-size: 17px;
  margin: 0;
}

/* Form Modal Popup */
.form-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.form-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.form-modal-content {
  position: relative;
  z-index: 1;
  animation: modalAppear 0.3s ease;
}

@keyframes modalAppear {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ========================================
   RESPONSIVE MOBILE - Améliorations complètes
   ======================================== */

/* Tablette */
@media (max-width: 900px) {
  .hero {
    min-height: 85vh;
  }

  .hero-text {
    max-width: 100%;
    padding: 40px 0;
  }

  .hero-description {
    font-size: 16px;
    max-width: 100%;
  }

  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  /* Header mobile */
  .header-top .container {
    padding: 10px 15px;
  }

  .header-contact {
    display: none;
  }

  .logo-img {
    height: 80px !important;
    margin: -20px 0;
  }

  /* Hero mobile - AMÉLIORATIONS IMPORTANTES */
  .hero {
    min-height: 100vh;
    min-height: 100svh; /* Pour les navigateurs modernes */
  }

  .hero-overlay {
    background: linear-gradient(to bottom, rgba(28, 25, 23, 0.6) 0%, rgba(28, 25, 23, 0.85) 100%);
  }

  .hero-content {
    align-items: flex-end;
    padding-bottom: 100px;
  }

  .hero-text {
    padding: 30px 0;
    text-align: center;
  }

  .hero-badge {
    font-size: 12px;
    padding: 8px 16px;
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: 36px;
    margin-bottom: 8px;
  }

  .hero-subtitle {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 16px;
  }

  /* Cacher les flèches sur mobile - navigation par dots */
  .hero-arrows {
    display: none !important;
  }

  .hero-dots {
    bottom: 30px;
  }

  .hero-dot {
    width: 12px;
    height: 12px;
  }

  .hero-dot.active {
    width: 36px;
  }

  /* Sections mobile */
  .section {
    padding: 50px 0;
  }

  .container {
    padding: 0 20px;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-badge {
    font-size: 12px;
    padding: 6px 14px;
  }

  .section-title {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 15px;
  }

  /* Grilles services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 25px 20px;
  }

  .service-card h3 {
    font-size: 20px;
  }

  /* Avantages */
  .avantages-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .avantage {
    padding: 20px;
  }

  /* Applications grid */
  .applications-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .application-card {
    padding: 20px 15px;
  }

  .application-card .app-icon {
    width: 56px;
    height: 56px;
  }

  .application-card .app-icon svg {
    width: 26px;
    height: 26px;
  }

  .application-card h3 {
    font-size: 14px;
  }

  /* Étapes */
  .etapes-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .etape {
    text-align: center;
    padding: 25px 20px;
  }

  .etape-num {
    font-size: 28px;
  }

  /* Galerie */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .gallery-item {
    aspect-ratio: 1;
  }

  .filter-btn {
    padding: 10px 16px;
    font-size: 13px;
  }

  .gallery-filters {
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Lightbox mobile */
  .lightbox-nav {
    width: 44px;
    height: 44px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px 15px;
  }

  .stat-num {
    font-size: 32px;
  }

  .stat-label {
    font-size: 13px;
  }

  /* Contact */
  .contact-info-cards {
    gap: 15px;
  }

  .contact-info-card {
    padding: 20px;
  }

  .contact-form {
    padding: 25px 20px;
  }

  .contact-form h3 {
    font-size: 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-group label {
    font-size: 14px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 14px 16px;
    font-size: 16px; /* Évite le zoom sur iOS */
  }

  .form-submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  /* CTA sections */
  .cta-section h2 {
    font-size: 24px;
  }

  .cta-section p {
    font-size: 15px;
  }

  /* Page headers */
  .page-header {
    padding: 100px 0 50px;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .page-header p {
    font-size: 16px;
  }

  /* Boutons généraux */
  .btn {
    padding: 14px 24px;
    font-size: 15px;
  }

  .btn-primary {
    min-height: 50px;
  }

  /* Mobile CTA button */
  .mobile-cta {
    width: 56px;
    height: 56px;
  }

  /* Modal sur mobile */
  .form-modal {
    padding: 15px;
  }

  .form-modal-content {
    padding: 30px 20px !important;
    max-width: 100% !important;
  }

  .form-modal-content h4 {
    font-size: 20px !important;
  }

  .form-modal-content p {
    font-size: 14px !important;
  }
}

/* Très petit mobile */
@media (max-width: 380px) {
  .hero-title {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .applications-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

/* Orientation paysage mobile */
@media (max-width: 900px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
  }

  .hero-content {
    align-items: center;
    padding-bottom: 0;
  }

  .hero-text {
    text-align: left;
  }

  .hero-buttons {
    flex-direction: row;
  }

  .hero-buttons .btn {
    width: auto;
  }
}
