/* Variables CSS pour la palette de couleurs */
: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;
}

/* CACHER TOUS LES PLACEHOLDERS */
.placeholder-text {
  display: none !important;
}

/* 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: 70vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.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(70, 143, 175, 0.8) 0%, rgba(1, 73, 124, 0.6) 100%);
  z-index: 2;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 3px 3px 12px rgba(0,0,0,0.8);
}

.hero-subtitle {
  font-size: 1.4rem;
  opacity: 0.95;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.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);
  box-shadow: 0 8px 25px rgba(255, 214, 10, 0.4);
}

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

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

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

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 3rem;
  color: var(--blue-marine);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.section-intro {
  font-size: 1.3rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Comment aider Section */
.how-to-help {
  padding: 100px 0;
  background-color: var(--ice-white);
}

.help-grid {
  display: grid;
  gap: 5rem;
}

.help-card {
  background-color: white;
  border-radius: 25px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.help-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 25px 25px 0 0;
}

.help-card.donation::before {
  background: linear-gradient(90deg, var(--red-coral), #ff6b6b);
}

.help-card.adoption::before {
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-antarctic));
}

.help-card.ecological::before {
  background: linear-gradient(90deg, #28a745, #20c997);
}

.help-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: white;
}

.donation .help-icon {
  background: var(--red-coral);
}

.adoption .help-icon {
  background: var(--blue-deep);
}

.ecological .help-icon {
  background: #28a745;
}

.help-card h3 {
  font-size: 2.5rem;
  color: var(--blue-marine);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.help-description {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  text-align: left;
}

/* Donation amounts */
.donation-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.amount-option {
  background-color: var(--ocean-light);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.amount-option:hover,
.amount-option.selected {
  background-color: var(--blue-deep);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(70, 143, 175, 0.3);
}

.amount {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-marine);
  margin-bottom: 0.5rem;
}

.amount-option:hover .amount,
.amount-option.selected .amount {
  color: white;
}

.impact {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

.amount-option:hover .impact,
.amount-option.selected .impact {
  color: rgba(255,255,255,0.9);
}

/* Adoption packages */
.adoption-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.package {
  background-color: var(--ice-white);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.package:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.package.silver {
  background: linear-gradient(135deg, var(--ocean-light), #b8e0f0);
  transform: scale(1.05);
}

.package h4 {
  font-size: 1.5rem;
  color: var(--blue-marine);
  margin-bottom: 1rem;
  font-weight: 700;
}

.price {
  display: block;
  font-size: 2rem;
  color: var(--blue-deep);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.package ul {
  list-style: none;
  text-align: left;
}

.package li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
}

.package li i {
  color: #28a745;
  font-size: 1rem;
}

/* Ecological actions */
.eco-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.eco-action {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: var(--ice-white);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.eco-action:hover {
  background-color: var(--ocean-light);
  transform: translateX(10px);
}

.eco-action i {
  font-size: 2rem;
  color: #28a745;
  flex-shrink: 0;
}

.action-text h4 {
  font-size: 1.2rem;
  color: var(--blue-marine);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.action-text p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Help buttons - CENTRAGE AJOUTÉ */
.help-btn {
  margin: 2rem auto;
  display: block;
  width: fit-content;
}

/* Help images - BACKGROUND METHOD */
.help-image {
  width: 100%;
  height: 300px;
  border-radius: 20px;
  margin-top: 2rem;
  background-color: var(--ocean-light);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.help-img {
  display: none;
}

/* Projects Section */
.projects {
  padding: 100px 0;
  background-color: var(--ocean-light);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.project-card {
  background-color: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-header {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-antarctic) 100%);
  color: white;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.project-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.project-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
}

.project-content {
  padding: 2rem;
}

.project-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.project-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--ice-white);
  border-radius: 15px;
}

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

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

/* Project images - BACKGROUND METHOD */
.project-image {
  width: 100%;
  height: 200px;
  border-radius: 15px;
  background-color: var(--ocean-light);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.project-img {
  display: none;
}

/* Contact & Newsletter Section */
.contact-newsletter {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--blue-marine) 0%, var(--blue-deep) 100%);
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-card,
.newsletter-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 3rem;
  border: 1px solid rgba(255,255,255,0.2);
}

.contact-card h2,
.newsletter-card h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.contact-intro,
.newsletter-intro {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: white;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  background-color: rgba(255,255,255,0.1);
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.7);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--yellow-warm);
  background-color: rgba(255,255,255,0.2);
}

/* Centrage du bouton "Envoyer le message" dans le formulaire de contact */
.contact-form .btn {
  display: block;
  margin: 1.5rem auto 0;
  width: fit-content;
}

.input-button {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
}

.input-button input {
  flex: 1;
}

.input-button .btn {
  flex-shrink: 0;
  margin-bottom: 0;
}

/* Newsletter benefits */
.newsletter-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.benefit:hover {
  color: var(--yellow-warm);
  transform: translateX(5px);
}

.benefit i {
  color: var(--yellow-warm);
  font-size: 1.1rem;
}

/* Social section */
.social-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.social-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.social-section p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

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

.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: rgba(255,255,255,0.1);
  border-radius: 15px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
}

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

.social-link i {
  font-size: 1.3rem;
}

.social-link.facebook:hover { background-color: #1877f2; color: white; }
.social-link.twitter:hover { background-color: #1da1f2; color: white; }
.social-link.instagram:hover { background-color: #e4405f; color: white; }
.social-link.youtube:hover { background-color: #ff0000; color: white; }

/* Final CTA Section */
.final-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--yellow-warm) 0%, #ffed4e 100%);
  color: var(--text-dark);
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* CTA image - BACKGROUND METHOD */
.cta-image {
  width: 100%;
  height: 400px;
  border-radius: 25px;
  background-color: var(--ocean-light);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-img {
  display: none;
}

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

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

.cta-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.cta-stat {
  text-align: center;
  padding: 1.5rem;
  background-color: rgba(0,0,0,0.1);
  border-radius: 15px;
}

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

.cta-stat .label {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.8;
}

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

.final-cta .btn-outline {
  background-color: transparent;
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
}

.final-cta .btn-outline:hover {
  background-color: var(--text-dark);
  color: var(--yellow-warm);
}

/* Footer */
.footer {
  background-color: var(--blue-marine);
  color: 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: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

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

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

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

.footer .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: 60vh;
    min-height: 400px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .donation-amounts,
  .adoption-packages {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .eco-actions {
    grid-template-columns: 1fr;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .project-stats,
  .cta-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .contact-grid,
  .cta-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .newsletter-benefits,
  .social-links {
    grid-template-columns: 1fr;
  }
  
  .input-button {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .help-card,
  .contact-card,
  .newsletter-card {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .help-card h3 {
    font-size: 2rem;
  }
  
  .project-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .project-header h3 {
    font-size: 1.5rem;
  }
  
  .cta-text h2 {
    font-size: 2.2rem;
  }
  
  .amount {
    font-size: 1.5rem;
  }
  
  .package {
    padding: 1.5rem;
  }
}