/* Variables CSS pour la palette de couleurs glacée */
:root {
  --ice-white: #EAF6FB;
  --ocean-light: #A9D6E5;
  --blue-deep: #468FAF;
  --blue-marine: #01497C;
  --yellow-warm: #FFD60A;
  --blue-antarctic: #277DA1;
  --red-coral: #F94144;
  --text-dark: #2C3E50;
  --text-light: #6C757D;
}

/* Reset et styles de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--ice-white);
}

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

/* Header */
.header {
  background-color: var(--ice-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  height: 70px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  background-color: var(--blue-deep);
  color: var(--ice-white);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--blue-deep);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
}

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

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(1, 73, 124, 0.6) 0%, rgba(70, 143, 175, 0.3) 50%, rgba(1, 73, 124, 0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--ice-white);
  max-width: 900px;
  padding: 0 20px;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.1;
  text-shadow: 3px 3px 12px rgba(0,0,0,0.8);
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.6rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
  font-weight: 300;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background-color: var(--yellow-warm);
  color: var(--text-dark);
  font-weight: 700;
}

.btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--blue-deep);
  color: var(--ice-white);
}

.btn-secondary:hover {
  background-color: var(--blue-marine);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--blue-deep);
  border: 2px solid var(--blue-deep);
}

.btn-outline:hover {
  background-color: var(--blue-deep);
  color: var(--ice-white);
}

.btn.large {
  padding: 18px 35px;
  font-size: 1.2rem;
}

/* Images - SOLUTION SIMPLE pour les placeholders */
.image-placeholder {
  position: relative;
  width: 100%;
  height: 400px;
  background-color: var(--ocean-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.image-placeholder.large {
  height: 500px;
  border-radius: 25px;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CACHER TOUS LES PLACEHOLDERS - ils ne servent que pour le développement */
.placeholder-text {
  display: none !important;
}

/* Nouvelles cartes de texte pleine largeur stylisées */
.welcome-text-card, .zones-text-card {
  max-width: 900px;
  margin: 0 auto 80px auto;
  padding: 60px 50px;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-antarctic) 100%);
  color: var(--ice-white);
  border-radius: 30px;
  box-shadow: 
    0 20px 60px rgba(0,0,0,0.2),
    0 0 0 1px rgba(255,255,255,0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.welcome-text-card::before, .zones-text-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow-warm), var(--ice-white), var(--yellow-warm));
  border-radius: 30px 30px 0 0;
}

.zones-text-card {
  background: linear-gradient(135deg, var(--blue-marine) 0%, var(--blue-deep) 100%);
}

.zones-text-card::before {
  background: linear-gradient(90deg, var(--ice-white), var(--yellow-warm), var(--ice-white));
}

.welcome-text-card h2, .zones-text-card h2 {
  font-size: 3.2rem;
  margin-bottom: 2.5rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.welcome-text-card h2::after, .zones-text-card h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--ice-white), transparent);
  border-radius: 2px;
}

.mission-text, .zone-text {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  line-height: 1.9;
  opacity: 0.95;
  font-weight: 300;
  letter-spacing: 0.3px;
}

.mission-highlight {
  color: var(--yellow-warm) !important;
  font-weight: 700 !important;
}

.zone-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.zone-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.8rem 1.5rem;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  font-weight: 500;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.zone-item:hover::before {
  left: 100%;
}

.zone-item:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.25);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.zone-item i {
  color: var(--ice-white);
  font-size: 1.4rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Images pleine largeur */
.full-width-image {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Content Cards */
.welcome, .threatened-zones {
  padding: 100px 0;
}

.welcome {
  background-color: var(--ice-white);
}

.threatened-zones {
  background-color: var(--ocean-light);
}

/* Garder les anciennes cartes pour hero et CTA */
.content-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.card-content {
  padding: 40px;
  background-color: var(--ice-white);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  height: fit-content;
}

.card-content h2 {
  font-size: 2.5rem;
  color: var(--blue-marine);
  margin-bottom: 2rem;
  font-weight: 700;
}

/* Statistics Section */
.statistics {
  padding: 100px 0;
  background-color: var(--blue-marine);
  color: var(--ice-white);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-card {
  background-color: var(--ice-white);
  color: var(--text-dark);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.stat-icon {
  font-size: 3rem;
  color: var(--red-coral);
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--blue-marine);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Call to Action Section */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-marine) 100%);
  color: var(--ice-white);
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-text {
  order: 2;
}

.cta-image {
  order: 1;
}

.cta-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.cta-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta .btn-primary {
  background-color: var(--yellow-warm);
  color: var(--text-dark);
  font-weight: 700;
}

.cta .btn-outline {
  background-color: transparent;
  color: var(--ice-white);
  border: 2px solid var(--ice-white);
}

.cta .btn-outline:hover {
  background-color: var(--ice-white);
  color: var(--blue-deep);
}

/* Footer */
.footer {
  background-color: var(--blue-marine);
  color: var(--ice-white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  color: var(--yellow-warm);
  font-size: 1.5rem;
  margin: 1rem 0 0.5rem;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-section h4 {
  color: var(--yellow-warm);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--ice-white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-section a:hover {
  opacity: 1;
  color: var(--yellow-warm);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--blue-deep);
  color: var(--ice-white);
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--yellow-warm);
  color: var(--text-dark);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    display: none;
  }
  
  .hero {
    height: 70vh;
    min-height: 500px;
    padding-top: 12vh;
  }
  
  .hero-title {
    font-size: 3.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .content-card,
  .cta-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .image-placeholder {
    height: 300px;
  }

  .image-placeholder.large {
    height: 350px;
  }

  .card-content {
    padding: 30px 20px;
  }

  .welcome-text-card, .zones-text-card {
    margin: 0 20px 60px 20px;
    padding: 50px 35px;
  }

  .welcome-text-card h2, .zones-text-card h2 {
    font-size: 2.5rem;
  }

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

  .zone-item {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 10vh;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .welcome-text-card h2, .zones-text-card h2 {
    font-size: 2rem;
  }
  
  .welcome-text-card, .zones-text-card {
    padding: 40px 25px;
  }
  
  .card-content h2,
  .section-title,
  .cta-text h2 {
    font-size: 2rem;
  }

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