body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  line-height: 1.6;
}

.feature-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.feature-link:hover {
  transform: translateY(-3px);
}

.feature-link:hover .feature i {
  color: #c81010;
}

.hero {
  background: 
              #00264d;
  background-size: cover;
  background-position: center;
  height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 20px;
  
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  font-weight: 300;
}

.cta-button {
  display: inline-block;
  background: #e11f1d;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #c81010;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  color: #00264d;
  font-size: 2rem;
  margin-bottom: 15px;
}

.red-line {
  width: 80px;
  height: 3px;
  background-color: #e11f1d;
  margin: 0 auto;
}

.about-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.feature i {
  color: #e11f1d;
  font-size: 1.2rem;
}

.certifications-section {
  margin-top: 50px;
  text-align: center;
}

.certifications-section h3 {
  color: #00264d;
  margin-bottom: 30px;
  font-size: 1.5rem;
  position: relative;
  display: inline-block;
}

.certifications-section h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: #e11f1d;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.certification-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  height: 150px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.certification-item a {
    display: block;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.certification-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.certif-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(225, 31, 29, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.certification-item:hover .certif-overlay {
  opacity: 1;
}

.certification-item:hover img {
  transform: scale(1.05);
}

.certification-description {
  text-align: center;
  font-size: 0.95rem;
  color: #555;
  padding: 10px 5px;
  margin-top: 5px;
  font-weight: 500;
}

.product-filters {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  align-items: end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-group label {
  font-weight: 600;
  color: #00264d;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-select {
  padding: 12px 16px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  background: white;
  font-size: 0.95rem;
  color: #495057;
  transition: all 0.3s ease;
  cursor: pointer;
  outline: none;
}

.filter-select:hover {
  border-color: #e11f1d;
  box-shadow: 0 2px 8px rgba(225, 31, 29, 0.1);
}

.filter-select:focus {
  border-color: #e11f1d;
  box-shadow: 0 0 0 3px rgba(225, 31, 29, 0.1);
}

.reset-btn {
  background: linear-gradient(135deg, #e11f1d 0%, #c81010 100%);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: fit-content;
}

.reset-btn:hover {
  background: linear-gradient(135deg, #c81010 0%, #a00d0d 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(225, 31, 29, 0.3);
}

.reset-btn i {
  font-size: 1rem;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  margin: 40px 0;
}

.no-results-content {
  max-width: 400px;
  margin: 0 auto;
}

.no-results i {
  font-size: 3rem;
  color: #6c757d;
  margin-bottom: 20px;
  opacity: 0.7;
}

.no-results p {
  color: #6c757d;
  font-size: 1.1rem;
  margin-bottom: 25px;
  line-height: 1.5;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-items: center;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.product-list.loaded {
  opacity: 1;
}

.product {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  max-width: 300px;
  width: 100%;
  min-height: 420px; 
  display: flex;
  flex-direction: column;
  padding-bottom: 10px; 
}

.product:hover {
  transform: translateY(-10px);
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  flex-shrink: 0; 
}

.product-image img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product:hover .product-image img {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(225, 31, 29, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product:hover .product-overlay {
  opacity: 1;
}

.product-details {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 20px;
  border: 2px solid white;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.product-details:hover {
  background: white;
  color: #e11f1d;
}

.product h3 {
  margin: 15px 0 10px;
  color: #00264d;
  font-size: 1.3rem;
  padding: 0 15px;
  flex-shrink: 0; 
  height: 40px; 
  display: flex;
  align-items: center;
  overflow: hidden; 
}

.product p {
  color: #666;
  padding: 0 15px;
  margin-bottom: 15px;
  flex-shrink: 0; 
  height: 24px; 
  display: flex;
  align-items: center;
  overflow: hidden; 
}

.product-specs-organized {
  background: #f9f9f9;
  padding: 10px 15px 15px 15px; 
  margin: 10px 15px 5px; 
  border-top: 1px solid #eee;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #444;
  border-radius: 0 0 5px 5px; 
}

.product-specs-organized div {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.product-specs-organized div strong {
  color: #e11f1d;
  font-weight: 600;
}

.cta-section {
  background: #e11f1d;
  color: white;
  text-align: center; 
  padding: 20px 20px; 
  position: relative;
  overflow: visible;
  border-bottom-left-radius: 300px;
}

.cta-layout {
  max-width: 1200px; 
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.3fr; 
  align-items: end; 
  gap: 20px; 
  justify-items: center; 
  padding-right: 0; 
}


.cta-text {
  max-width: 500px; 
  margin: 0;
  margin-left: auto;
  text-align: center;
  padding-left: 0;
  padding-right: 10px; 
  transform: translateX(-80px) translateY(25px); 
}

.cta-text h2 {
  font-size: 2rem; 
  margin: 0 0 18px 0; 
  line-height: 1.2;
  font-weight: 700;
}

.cta-text p {
  margin: 0 0 25px 0; 
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center; 
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.3px;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  will-change: transform;
  white-space: nowrap;
}

.cta-primary {
  background: #ffffff;
  color: #e11f1d;
  border: 2px solid #ffffff;
  box-shadow: 0 6px 18px rgba(255,255,255,0.15);
}
.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255,255,255,0.25);
  background: #f6f6f6;
}

.cta-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}
.cta-outline:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.cta-image-card {
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  max-width: 250px;
  justify-self: center; 
  margin-right: 0; 
  transform: translateX(-30px) translateY(25px); 
}

.cta-image-card img {
  width: 100%;
  height: 200px; 
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.cta-deco-left {
  position: absolute;
  bottom: -10px; 
  left: -40px;
  width: 350px; 
  height: auto;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 992px) {
  .cta-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
    justify-items: center; 
  }
  
  .cta-text {
    max-width: 100%;
    padding-left: 0;
    padding-right: 20px;
    margin: 0 auto;
    transform: translateX(0) translateY(0); 
  }
  
  .cta-image-card {
    max-width: 300px;
    margin: 0 auto;
    margin-right: 0; 
    transform: translateX(0) translateY(0); 
  }
  
  .cta-image-card img {
    height: 200px;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .cta-deco-left {
    display: none;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .cta-section {
    padding: 40px 30px; 
  }
  
  .cta-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .cta-text {
    max-width: 600px; 
    transform: translateX(0) translateY(0); 
    margin: 0 auto;
  }
  
  .cta-image-card {
    max-width: 250px;
    transform: translateX(0) translateY(0); 
    margin: 0 auto;
  }
  
  .cta-deco-left {
    display: none; 
  }
}

@media (max-width: 768px) {
  .cta-section {
    padding: 30px 20px;
  }
  
  .cta-text h2 {
    font-size: 1.8rem;
  }
  
  .cta-text p {
    font-size: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  
  .cta-button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .cta-text {
    transform: translateX(0) translateY(0) !important;
  }
  
  .cta-image-card {
    transform: translateX(0) translateY(0) !important;
  }
}

@media (max-width: 600px) {
  .cta-section {
    border-bottom-left-radius: 180px;
    padding: 15px 16px; 
  }
  
  .cta-deco-left {
    width: 250px; 
    bottom: -20px; 
    left: -30px;
  }
  
  .cta-image-card {
    max-width: 250px;
  }
  
  .cta-image-card img {
    height: 160px; 
  }
  
  .cta-text h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }
  
  .cta-text p {
    font-size: 0.95rem;
    margin-bottom: 20px; 
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  overflow: auto;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 30px;
  border-radius: 8px;
  width: 80%;
  max-width: 900px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: slideDown 0.4s;
}

@keyframes slideDown {
  from {transform: translateY(-50px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}

.close-modal {
  position: absolute;
  right: 25px;
  top: 15px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close-modal:hover {
  color: #e11f1d;
}

.modal-body {
  display: flex;
  gap: 30px;
}

.modal-image {
  flex: 1;
}

.modal-image img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 5px;
}

.modal-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-info h3 {
  color: #00264d;
  margin-top: 0;
  font-size: 1.8rem;
}

.modal-info ul.product-specs {
  list-style-type: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: none;
}

.modal-info ul.product-specs li {
  padding: 10px;
  border-bottom: 1px solid #eee;
  border-radius: 5px;
  background: #f9f9f9;
  border: 1px solid #eee;
  font-size: 0.95rem;
}

.modal-info ul.product-specs li strong {
  color: #00264d;
  width: 140px;
  display: inline-block;
}

.document-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}

.document-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.document-btn::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;
}

.document-btn:hover::before {
  left: 100%;
}

.fiche-btn {
  background: linear-gradient(135deg, #e11f1d 0%, #c81010 100%);
  color: white;
  border: 2px solid transparent;
}

.fiche-btn:hover {
  background: linear-gradient(135deg, #c81010 0%, #a00d0d 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(225, 31, 29, 0.4);
}

.manuel-btn {
  background: linear-gradient(135deg, #00264d 0%, #003d7a 100%);
  color: white;
  border: 2px solid transparent;
}

.manuel-btn:hover {
  background: linear-gradient(135deg, #003d7a 0%, #004d99 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 38, 77, 0.4);
}

.document-btn i {
  font-size: 1.1rem;
}

.document-unavailable {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #f8f9fa;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  color: #6c757d;
  font-size: 0.9rem;
  font-weight: 500;
}

.document-unavailable i {
  color: #dc3545;
  font-size: 1.1rem;
}

.download-btn {
  display: inline-block;
  background-color: #e11f1d;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 20px;
  transition: all 0.3s;
}

.download-btn:hover {
  background-color: #c81010;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(225, 31, 29, 0.3);
}

.download-btn i {
  margin-right: 8px;
}

.certif-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: auto;
  animation: fadeIn 0.3s;
}

.certif-modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 700px;
  position: relative;
  animation: slideDown 0.4s;
}

.certif-modal-content img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  border-radius: 5px;
  margin-bottom: 15px;
}

.close-certif {
  position: absolute;
  right: 25px;
  top: 15px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close-certif:hover {
  color: #e11f1d;
}

.certif-info {
  text-align: center;
  padding: 0 20px;
}

.certif-info h4 {
  color: #00264d;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.loading-indicator {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.loading-indicator i {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #e74c3c;
}

.loading-indicator p {
  font-size: 1.1rem;
  margin: 0;
}

.error-message {
  text-align: center;
  padding: 40px 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin: 20px 0;
}

.error-message i {
  font-size: 2rem;
  color: #e74c3c;
  margin-bottom: 10px;
}

.error-message p {
  color: #666;
  margin: 10px 0;
}

.retry-btn {
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.retry-btn:hover {
  background-color: #c0392b;
}

.no-products {
  text-align: center;
  padding: 40px 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 500px;
  color: #666;
  font-size: 1.1rem;
}

.no-products p {
  margin: 0;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 15px 0;
  }

  header .logo {
    margin: 0 0 15px 0;
  }

  nav {
    margin: 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .product-list {
    grid-template-columns: 1fr;
  }

  .product {
    max-width: 100%;
    height: auto; 
    min-height: 400px; 
  }

  .product h3 {
    height: auto; 
    min-height: 40px;
  }

  .product p {
    height: auto; 
    min-height: 24px;
    
  }

  .product-specs-organized {
    min-height: 80px; 
  }

  .product-filters {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-content, .certif-modal-content {
    width: 90%;
    margin: 10% auto;
    padding: 20px;
  }

  .modal-body {
    flex-direction: column;
  }

  .modal-image {
    margin-bottom: 20px;
  }

  .document-buttons {
    gap: 12px;
  }

  .document-btn {
    font-size: 0.85rem;
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 50vh;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }

  nav a {
    margin: 0 10px;
    font-size: 0.8rem;
  }

  .certifications-grid {
    grid-template-columns: 1fr;
  }

  .certification-item {
    height: 120px;
  }

  .loading-indicator, .error-message, .no-products {
    padding: 30px 15px;
  }

  .loading-indicator i, .error-message i {
    font-size: 1.5rem;
  }

  .loading-indicator p, .error-message p, .no-products p {
    font-size: 1rem;
  }

  .product-filters {
    padding: 15px;
  }

  .filter-select {
    font-size: 0.9rem;
    padding: 10px 14px;
  }

  .reset-btn {
    font-size: 0.8rem;
    padding: 10px 16px;
  }

  .no-results {
    padding: 40px 15px;
  }

  .no-results i {
    font-size: 2.5rem;
  }

  .document-btn {
    font-size: 0.8rem;
    padding: 10px 16px;
  }
}