/* Hero Homepage - Exact CSS from styles.css */

/* Variables */
:root {
  --vert-ddi: #99db12;
  --vert-ddi-dark: #7bc00a;
  --bleu-incubateur: #1c809d;
  --orange-fablab: #ff5c26;
  --gris-fonce: #484848;
  --gris-clair: #e8e8e8;
  --gris-tres-clair: #f5f5f5;
  --blanc: #ffffff;
  --noir: #000000;
}

/* Hero Homepage */
.hero-homepage {
  position: relative;
  height: 85vh;
  min-height: 500px;
  max-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-homepage .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.hero-homepage .hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-homepage .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px !important;
  padding: 60px 20px 40px;
  color: var(--blanc);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 100px;
  margin: 0 !important;
  width: 100%;
}

.hero-homepage .hero-title-wrapper {
  position: absolute;
  left: 30px;
  top: 0;
  transform: rotate(-5deg);
  z-index: 10;
  margin-bottom: 0;
  margin-top: -40px;
}

.hero-homepage .hero-title {
  display: inline-block;
  background-color: var(--vert-ddi);
  color: var(--blanc);
  font-size: 25px;
  font-weight: 700;
  padding: 15px 25px;
  line-height: 1.3;
  text-transform: uppercase;
  margin-bottom: 0;
}

.hero-homepage .hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  opacity: 0.95;
  margin-top: 20px;
}

.hero-homepage .hero-ctas {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-primary {
  display: inline-block;
  background: var(--vert-ddi);
  color: var(--blanc);
  padding: 15px 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.3s ease;
}

.cta-primary:hover {
  background: var(--blanc);
  color: var(--vert-ddi);
}

.cta-secondary {
  display: inline-block;
  background: transparent;
  color: var(--blanc);
  padding: 15px 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  border: 2px solid var(--blanc);
  border-radius: 0;
  transition: all 0.3s ease;
}

.cta-secondary:hover {
  background: var(--blanc);
  color: var(--noir);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-homepage {
    height: auto;
    min-height: 500px;
    max-height: none;
    padding: 100px 0;
  }

  .hero-homepage .hero-content {
    gap: 40px;
    padding: 40px 20px;
  }

  .hero-homepage .hero-title {
    font-size: 20px;
    padding: 12px 20px;
  }

  .hero-homepage .hero-subtitle {
    font-size: 16px;
  }

  .hero-homepage .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-homepage .hero-title {
    font-size: 18px;
    padding: 10px 15px;
  }
}
