:root {
  --blue-dark: #0B2C5F;
  --blue-main: #1F4E79;
  --blue-light: #EAF2FB;
  --orange-main: #F28C28;
  --beige-bg: #FBF6F0;
  --white: #FFFFFF;
  --gray-text: #555;
  --gray-light: #f2f2f2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  background-color: var(--beige-bg);
  color: var(--gray-text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  background: var(--white);
  padding: 20px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.logo {
  height: 55px;
}

.navbar nav a {
  margin-left: 30px;
  font-weight: 500;
  color: var(--blue-dark);
  position: relative;
}

.navbar nav a:hover {
  color: var(--orange-main);
}

/* =========================
   FOOTER
========================= */
.site-footer {
  position: relative;
  background: #FBF6F0;
  padding: 80px 6%;
  overflow: hidden;
  height: 700px;
}

.footer-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 76px;
  height: 100%;
  background: #019BDA;
}

.footer-content {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-infos {
  position: relative;
  top: 230px;
}

.footer-infos ul {
  padding: 0;
  margin-bottom: 40px;
}

.footer-infos li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 18px;
  margin-bottom: 18px;
  color: #111;
}

.footer-infos .icon {
  width: 36px;
  height: 36px;
  background: #0b2d5b;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.footer-logo {
  margin-top: 20px;
  width: 140px;
}

.footer-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background: #019BDA;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-image img {
  position: relative;
  margin-right: 30%;
  width: 150%;
  height: 80%;
  transform: translateX(-20%);
  z-index: 2;
}

.footer-dots {
  position: absolute;
  bottom: 22px;
  right: 770px;
  display: grid;
  grid-template-columns: repeat(5, 10px);
  gap: 12px 14px;
  z-index: 3;
}

.footer-dots span {
  width: 8px;
  height: 8px;
  background: #019BDA;
  border-radius: 50%;
  display: block;
}


@media (min-width: 769px) and (max-width: 1024px) {

  .navbar {
    padding: 16px 40px;
  }

  .site-footer {
    height: auto;
    min-height: 500px;
    padding: 60px 5%;
  }

  .footer-infos {
    top: 130px;
  }

  .footer-infos li {
    font-size: 15px;
  }

  .footer-image img {
    width: 130%;
    height: 75%;
  }

  .footer-dots {
    right: 420px;
    top: 438px;
  }
}

/* =========================
   RAPPORTS SECTION
========================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.rapport-section {
  padding: 60px 0 80px;
  min-height: calc(100vh - 700px);
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 12px;
  text-align: center;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--orange-main);
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-text);
  font-size: 16px;
  margin-bottom: 50px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.product-image {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, var(--blue-light) 0%, #e8f0f8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  max-width: 60%;
  max-height: 60%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-image-link {
  display: block;
  cursor: pointer;
}

/* =========================
   MODAL DE PROTECTION
========================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 44, 95, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: 16px;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--gray-light);
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--blue-dark);
}

.modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--gray-text);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--gray-light);
  color: var(--blue-dark);
}

.modal-body {
  padding: 28px;
  text-align: center;
}

.modal-body p {
  color: var(--gray-text);
  font-size: 15px;
  margin-bottom: 20px;
}

.modal-body input {
  width: 100%;
  padding: 16px 20px;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 8px;
  border: 2px solid var(--blue-light);
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue-dark);
  outline: none;
  transition: all 0.3s ease;
  font-family: 'Poppins', monospace;
}

.modal-body input:focus {
  border-color: var(--blue-main);
  background: var(--white);
}

.modal-body input.error {
  border-color: #e74c3c;
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

.error-message {
  color: #e74c3c !important;
  font-size: 13px !important;
  margin-top: 12px;
  margin-bottom: 0 !important;
  display: none;
}

.modal-footer {
  display: flex;
  gap: 12px;
  padding: 0 28px 28px;
}

.modal-footer button {
  flex: 1;
  padding: 14px 24px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-cancel {
  background: var(--gray-light);
  color: var(--gray-text);
  border-color: var(--gray-light);
}

.btn-cancel:hover {
  background: var(--white);
  border-color: var(--gray-text);
}

.btn-confirm {
  background: var(--blue-main);
  color: var(--white);
  border-color: var(--blue-main);
}

.btn-confirm:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.product-info {
  padding: 24px;
  text-align: center;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 20px;
  line-height: 1.4;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue-main);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 2px solid var(--blue-main);
}

.btn-download:hover {
  background: transparent;
  color: var(--blue-main);
}

.btn-download svg {
  transition: transform 0.3s ease;
}

.btn-download:hover svg {
  transform: translateY(2px);
}

/* =========================
   RESPONSIVE – TABLET
========================= */
@media (min-width: 769px) and (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .section-title {
    font-size: 30px;
  }
}

/* =========================
   RESPONSIVE – MOBILE
========================= */
@media (max-width: 768px) {

  .navbar {
    padding: 14px 20px;
  }

  .logo {
    height: 40px;
  }

  .navbar nav a {
    margin-left: 16px;
    font-size: 14px;
  }

  .site-footer {
    height: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  .footer-bar {
    display: none;
  }

  .footer-image {
    position: relative;
    width: 100%;
    height: 200px;
    right: auto;
    top: auto;
    border-radius: 0;
    overflow: hidden;
  }

  .footer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
    margin-right: 0;
  }

  .footer-dots {
    bottom: 12px;
    right: 16px;
    gap: 8px 10px;
  }

  .footer-dots span {
    background: rgba(255, 255, 255, 0.8);
    width: 7px;
    height: 7px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px 40px 24px;
    background: #FBF6F0;
    width: 100%;
  }

  .footer-infos {
    position: relative;
    top: 0;
    width: 100%;
  }

  .footer-infos ul {
    margin-bottom: 24px;
  }

  .footer-infos li {
    font-size: 14px;
    margin-bottom: 16px;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
  }

  .footer-infos .icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
    margin-top: 2px;
  }

  .footer-logo {
    margin-top: 8px;
    width: 110px;
  }

  .rapport-section {
    padding: 40px 0 60px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 14px;
    margin-bottom: 35px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-image {
    height: 180px;
  }

  .product-info {
    padding: 20px;
  }

  .product-name {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .btn-download {
    padding: 10px 24px;
    font-size: 13px;
  }
}


@media (max-width: 380px) {

  .navbar {
    padding: 12px 16px;
  }

  .logo {
    height: 34px;
  }
}
