/*
  Charte graphique pour GO4HORSES
  ──────────────────────────────
  Cette feuille de style définit l’identité visuelle du site web GO4HORSES.
  Elle s’inspire des couleurs naturelles évoquant le bien‑être équin et
  intègre un accent doré pour rappeler le token STALLIOS. La typographie
  moderne et le design épuré mettent en valeur le contenu tout en
  facilitant la navigation sur ordinateurs, tablettes et mobiles.
*/

/* Variables CSS pour les couleurs et la typographie */
:root {
  --color-primary: #00593B;      /* vert foncé pour la confiance et la nature */
  --color-secondary: #CBA135;    /* doré pour représenter le token STALLIOS */
  --color-secondary-dark: #b3882c; /* variante plus sombre pour l’état survolé */
  --color-accent: #2FAF7B;       /* vert clair pour les interactions secondaires */
  --color-background: #F6F6F2;   /* blanc cassé pour le fond principal */
  --color-surface: #FFFFFF;      /* blanc pour les cartes et sections */
  --color-text: #333333;         /* gris anthracite pour une bonne lisibilité */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --border-radius: 8px;
  --max-width: 1200px;
}

/* Réinitialisation des marges et gestion du box model */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Section héro avec un dégradé et un call to action */
.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%),
              var(--color-primary);
  color: #ffffff;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin-left: 5%;
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

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

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s ease;
}

.btn.primary {
  background-color: var(--color-secondary);
  color: #ffffff;
}
.btn.primary:hover {
  background-color: var(--color-secondary-dark);
}
.btn.secondary {
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
  background-color: transparent;
}
.btn.secondary:hover {
  background-color: var(--color-secondary);
  color: #ffffff;
}

/* Section des options de don */
.donation-options {
  background-color: var(--color-surface);
  padding: 4rem 0;
}
.donation-options h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-primary);
}
.donation-options .cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.donation-options .card {
  background-color: var(--color-background);
  border: 1px solid #eaeaea;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  width: 200px;
  flex-grow: 1;
  max-width: 220px;
}
.donation-options .card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}
.donation-options .card p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.donation-options .card .btn {
  width: 100%;
}

.custom-donation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.custom-donation label {
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.custom-donation input {
  padding: 0.6rem 1rem;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  width: 200px;
  font-size: 1rem;
}
.custom-donation button {
  margin-top: 0.5rem;
  width: 200px;
}

/* Section token STALLIOS */
.token {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 1rem;
  background-color: var(--color-background);
}
.token-image {
  flex: 0 0 200px;
  text-align: center;
}
.token-image img {
  width: 200px;
  height: 200px;
  object-fit: contain;
}
.token-content {
  max-width: 500px;
}
.token-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}
.token-content p {
  margin-bottom: 1.5rem;
}

/* Section engagement */
.engagement {
  padding: 4rem 1rem;
  background-color: var(--color-surface);
}
.engagement h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--color-primary);
}
.engagement p {
  max-width: 800px;
  margin: 0 auto 1rem;
  text-align: center;
}

/* Section partenaires */
.partners {
  padding: 4rem 1rem;
  background-color: var(--color-background);
}
.partners h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-primary);
}
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.partner-logos img {
  width: 120px;
  height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.partner-logos img:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* Section témoignages */
.testimonials {
  padding: 4rem 1rem;
  background-color: var(--color-surface);
}
.testimonials h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-primary);
}
.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.testimonial {
  background-color: var(--color-background);
  border: 1px solid #eaeaea;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  max-width: 300px;
  font-style: italic;
}
.testimonial span {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  font-weight: 600;
  color: var(--color-primary);
}

/* Pied de page */
footer {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 2rem 1rem;
  text-align: center;
}
footer a {
  color: var(--color-secondary);
}
footer .social-icons {
  margin-top: 1rem;
}
footer .social-icons a {
  margin: 0 0.5rem;
  display: inline-block;
}
footer .social-icons img {
  width: 24px;
  height: 24px;
}

/* Responsivité */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .donation-options .cards {
    flex-direction: column;
    align-items: center;
  }
  .token {
    flex-direction: column;
    text-align: center;
  }
}