/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
/* SOS CANAL 9 — Style de base */
:root {
  --bleu-nuit: #1a2236;
  --blanc: #fff;
  --orange: #ff7f32;
  --gris: #f4f4f4;
  --texte: #222;
  --footer-bg: #181c2a;
  --footer-text: #e0e0e0;
  --footer-link: #ff7f32;
  --footer-link-hover: #fff;
  --form-bg: #fff;
  --form-border: #e0e0e0;
  --form-focus: #ff7f32;
  --form-success: #2ecc40;
  --font: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}
body {
  margin: 0;
  font-family: var(--font);
  background: linear-gradient(135deg, #f4f4f4 0%, #e9eafc 100%);
  color: var(--texte);
  line-height: 1.6;
}
h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 0.7em;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5em;
}
p, li, label, input, textarea, button {
  font-family: var(--font);
}
header {
  background: var(--bleu-nuit);
  color: var(--blanc);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  background: var(--bleu-nuit);
  z-index: 1000;
}
.logo {
  font-size: 1.5rem;
  color: var(--blanc);
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.logo i {
  color: var(--orange);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--blanc);
  font-size: 2rem;
}
.nav-links {
  display: flex;
  gap: 2em;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--blanc);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--orange);
}
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem 2rem 1rem;
  text-align: center;
  background: var(--bleu-nuit);
}
.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5em;
}
.hero-content span {
  color: var(--orange);
}
.cta, button {
  display: inline-block;
  margin-top: 1.5em;
  padding: 0.8em 2em;
  background: var(--orange);
  color: var(--blanc);
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
  border: none;
  box-shadow: 0 2px 8px #ff7f3222;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
}
.cta:hover, button:hover {
  background: #e66a1c;
  box-shadow: 0 4px 16px #ff7f3244;
  transform: translateY(-2px) scale(1.03);
}
section {
  padding: 3rem 1rem;
  max-width: 1100px;
  margin: 0 auto 2rem auto;
  background: var(--blanc);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(26,34,54,0.06);
  position: relative;
}
section:not(:first-child)::before {
  content: '';
  display: block;
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--bleu-nuit), var(--orange));
  opacity: 0.12;
}
section img {
  display: block;
  margin: 1.5em auto 0 auto;
  border-radius: 12px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 2px 8px #0001;
  transition: transform 0.2s;
}
section img:hover {
  transform: scale(1.03) rotate(-1deg);
}
.missions-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2em;
  margin-top: 2em;
}
.missions-list article {
  background: var(--gris);
  border-radius: 10px;
  padding: 1.5em;
  text-align: center;
  box-shadow: 0 1px 4px rgba(26,34,54,0.06);
}
.missions-list i {
  color: var(--orange);
  margin-bottom: 0.5em;
}
@media (max-width: 800px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }
  .nav-links {
    flex-direction: column;
    gap: 1em;
    width: 100%;
    display: none;
    background: var(--bleu-nuit);
    position: absolute;
    left: 0;
    top: 60px;
    padding: 1em 0;
  }
  .nav-links.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  section {
    padding: 2rem 0.5rem;
  }
}
:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.galerie {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  justify-content: center;
  margin-top: 2em;
}
.galerie img {
  display: block;
  margin: 0;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0001;
  transition: transform 0.2s;
}
.galerie img:hover {
  transform: scale(1.05) rotate(1deg);
}
form {
  background: var(--form-bg);
  border: 1px solid var(--form-border);
  border-radius: 14px;
  padding: 2em 1.5em;
  max-width: 500px;
  margin: 2em auto 0 auto;
  box-shadow: 0 2px 8px #0001;
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}
input, textarea {
  padding: 0.7em 1em;
  border: 1.5px solid var(--form-border);
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.2s, box-shadow 0.2s;
  background: #fafbff;
}
input:focus, textarea:focus {
  border: 1.5px solid var(--form-focus);
  outline: none;
  box-shadow: 0 0 0 2px #ff7f3233;
}
.form-success {
  color: var(--form-success);
  background: #eafbe7;
  border: 1px solid #b6e2c6;
  border-radius: 8px;
  padding: 1em;
  margin-top: 1em;
  text-align: center;
  font-weight: 600;
  display: none;
}
#benevole-form .form-success {
  display: block;
}
.rgpd {
  font-size: 0.95em;
  color: #666;
  margin-top: 0.5em;
}
details {
  margin-top: 2em;
  background: #f7f7fa;
  border-radius: 8px;
  padding: 1em 1.2em;
  box-shadow: 0 1px 4px #0001;
}
details summary {
  font-weight: bold;
  cursor: pointer;
  color: var(--bleu-nuit);
  font-size: 1.1em;
  margin-bottom: 0.5em;
}
details[open] {
  border: 1.5px solid var(--orange);
}
.footer-content {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 2.5em 1em 1em 1em;
  border-radius: 18px 18px 0 0;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5em;
}
.footer-logo {
  font-size: 1.7rem;
  color: var(--footer-link);
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
  justify-content: center;
  margin: 0.5em 0;
}
.footer-nav a {
  color: var(--footer-link);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  font-size: 1.05em;
}
.footer-nav a:hover {
  color: var(--footer-link-hover);
  text-decoration: underline;
}
.footer-social {
  display: flex;
  gap: 1.2em;
  margin: 0.5em 0;
}
.footer-social a {
  color: var(--footer-link);
  font-size: 1.3em;
  transition: color 0.2s, transform 0.2s;
}
.footer-social a:hover {
  color: var(--orange);
  transform: scale(1.15);
}
.footer-mentions {
  font-size: 0.98em;
  color: #bfc2d1;
  text-align: center;
}
@media (max-width: 800px) {
  .footer-content {
    padding: 2em 0.5em 1em 0.5em;
  }
  .footer-nav {
    gap: 0.7em;
  }
} 