/* ========== CIAJ - Charte graphique ========== */
:root {
  --bleu-fonce:  #1565C0;
  --bleu-moyen: #1e88e5;
  --orange:     #e05a1e;
  --or:         #f0a500;
  --clair:      #f5f8ff;
  --blanc:      #ffffff;
  --texte:      #222233;
  --gris:       #666680;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.6;
}

/* ---- Navigation ---- */
header {
  background: var(--bleu-fonce);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.nav-logo img {
  height: 60px;
  width: auto;
}

.nav-logo-text {
  color: var(--blanc);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

.nav-logo-text span {
  color: var(--or);
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.1rem;
}

nav ul li a {
  color: var(--blanc);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  font-size: 0.85rem;
  transition: background 0.2s;
  white-space: nowrap;
}

nav ul li a:hover,
nav ul li a.active {
  background: var(--bleu-moyen);
}

.btn-espace {
  background: var(--orange) !important;
  font-weight: 600 !important;
}

.btn-espace:hover {
  background: #c04a10 !important;
}

.btn-partenaire {
  background: #2e7d32 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}

.btn-partenaire:hover {
  background: #1b5e20 !important;
  color: #ffffff !important;
}

/* Burger mobile */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.burger span { width: 25px; height: 2px; background: white; border-radius: 2px; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--bleu-fonce) 0%, var(--bleu-moyen) 60%, #1a5a9a 100%);
  color: white;
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0,10 Q25,0 50,10 T100,10 V20 H0Z" fill="rgba(255,255,255,0.05)"/></svg>') bottom/cover;
}

.hero-content { position: relative; max-width: 800px; margin: 0 auto; }

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero h1 span { color: var(--or); }

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.25); }

.btn-primary { background: var(--orange); color: white; }
.btn-secondary { background: rgba(255,255,255,0.15); color: white; border: 2px solid rgba(255,255,255,0.5); }
.btn-secondary:hover { background: rgba(255,255,255,0.25); }

/* ---- Bandeau chiffres ---- */
.stats {
  background: var(--or);
  padding: 1.5rem;
}

.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--bleu-fonce);
}

.stat span { font-size: 0.85rem; color: var(--bleu-fonce); font-weight: 600; }

/* ---- Sections génériques ---- */
section { padding: 4rem 1.5rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--bleu-fonce);
  margin-bottom: 0.5rem;
}

.section-title p { color: var(--gris); font-size: 1.05rem; }

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--orange);
  margin: 0.6rem auto 0;
  border-radius: 2px;
}

/* ---- Activités ---- */
.activites { background: var(--clair); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  color: var(--bleu-fonce);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.card p { color: var(--gris); font-size: 0.9rem; }

/* ---- Terrain ---- */
.terrain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.terrain-info h3 { color: var(--bleu-fonce); margin-bottom: 1rem; font-size: 1.3rem; }

.terrain-details { list-style: none; margin-bottom: 1.5rem; }
.terrain-details li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 0.8rem;
}
.terrain-details li .label { color: var(--gris); min-width: 120px; font-size: 0.9rem; }
.terrain-details li .val { font-weight: 600; color: var(--bleu-fonce); }

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  height: 350px;
}

.map-container iframe { width: 100%; height: 100%; border: none; }

/* ---- Tarifs ---- */
.tarifs { background: var(--clair); }

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

.tarif-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.tarif-header {
  background: var(--bleu-fonce);
  color: white;
  padding: 1.2rem 1.5rem;
  text-align: center;
}

.tarif-header h3 { font-size: 1.1rem; }
.tarif-header .prix { font-size: 2rem; font-weight: 800; color: var(--or); margin: 0.3rem 0; }
.tarif-header .unite { font-size: 0.8rem; opacity: 0.8; }

.tarif-body { padding: 1.2rem 1.5rem; }
.tarif-body ul { list-style: none; }
.tarif-body ul li { padding: 0.4rem 0; color: var(--gris); font-size: 0.9rem; }
.tarif-body ul li::before { content: '✓ '; color: var(--orange); font-weight: bold; }

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 { color: var(--bleu-fonce); margin-bottom: 1.5rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  align-items: flex-start;
}

.contact-item .icon { font-size: 1.4rem; min-width: 2rem; }
.contact-item .text strong { display: block; color: var(--bleu-fonce); }
.contact-item .text span { color: var(--gris); font-size: 0.9rem; }

form { display: flex; flex-direction: column; gap: 1rem; }

form input, form textarea, form select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

form input:focus, form textarea:focus {
  outline: none;
  border-color: var(--bleu-moyen);
}

form textarea { height: 130px; resize: vertical; }

form button {
  background: var(--orange);
  color: white;
  border: none;
  padding: 0.9rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

form button:hover { background: #c04a10; }

/* ---- Footer ---- */
footer {
  background: var(--bleu-fonce);
  color: rgba(255,255,255,0.8);
  padding: 2.5rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

footer h4 { color: var(--or); margin-bottom: 0.8rem; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; }
footer p, footer a { font-size: 0.88rem; color: rgba(255,255,255,0.75); text-decoration: none; line-height: 2; }
footer a:hover { color: var(--or); }
footer ul { list-style: none; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.9rem; }
  nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bleu-fonce); padding: 1rem; }
  nav ul.open { display: flex; }
  .burger { display: flex; }
  .terrain-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
