/* ===========================================================
   Le Volant Arnouville Gonesse — styles communs
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=Anton&display=swap');

:root {
  --ink: #0d1b2a;
  --ink-soft: #2b3a4a;
  --paper: #f6f4ee;
  --paper-2: #ffffff;
  --accent: #00b86b;       /* vert volant */
  --accent-2: #ff5a1f;     /* orange énergie */
  --line: #e2ddd1;
  --shadow: 0 18px 40px -18px rgba(13, 27, 42, 0.35);
  --radius: 18px;
  --maxw: 1180px;
  --display: 'Anton', sans-serif;
  --body: 'Archivo', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { line-height: 1.05; letter-spacing: 0.5px; }

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

.display { font-family: var(--display); text-transform: uppercase; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 244, 238, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand .mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; overflow: hidden; flex: none;
  display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(13,27,42,.15);
}
.brand .mark img { width: 100%; height: 100%; object-fit: cover; }
.brand .brand-name { font-family: var(--display); font-size: 16px; letter-spacing: 1px; line-height: 1.1; }
.brand small { display: block; font-family: var(--body); font-weight: 500; font-size: 11px; color: var(--ink-soft); letter-spacing: 0.5px; }

.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { font-weight: 600; font-size: 15px; position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--accent); transition: width .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.btn {
  display: inline-block; font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  border: 2px solid transparent;
}
.btn-primary { background: var(--accent); color: #042b1c; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px var(--accent); }
.btn-ghost { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { transform: translateY(-2px); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  color: var(--paper); overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(13,27,42,.92) 0%, rgba(13,27,42,.55) 55%, rgba(13,27,42,.25) 100%),
    url('https://images.unsplash.com/photo-1626224583764-f87db24ac4ea?auto=format&fit=crop&w=1600&q=80') center/cover;
  z-index: -2;
}
.hero::after {
  content: ''; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: .35; z-index: -1;
}
.hero-inner { padding: 60px 0; max-width: 720px; }
.hero .kicker {
  display: inline-block; font-weight: 700; letter-spacing: 2px; font-size: 13px;
  text-transform: uppercase; color: var(--accent);
  border: 1px solid rgba(0,184,107,.5); padding: 6px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 { font-family: var(--display); font-size: clamp(44px, 8vw, 92px); line-height: .95; }
.hero h1 .em { color: var(--accent); }
.hero p { font-size: clamp(16px, 2.2vw, 20px); margin: 22px 0 32px; max-width: 540px; color: #d7dde3; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 90px 0; scroll-margin-top: 90px; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head .tag {
  font-weight: 700; letter-spacing: 2px; font-size: 12px; text-transform: uppercase;
  color: var(--accent-2);
}
.section-head h2 { font-family: var(--display); font-size: clamp(32px, 5vw, 54px); margin: 10px 0 14px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }

.alt { background: var(--paper-2); }
.dark { background: var(--ink); color: var(--paper); }
.dark .section-head p { color: #aeb8c2; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1.1fr .9fr; align-items: center; }

/* ---------- Cartes équipe (survol + bouton) ---------- */
.grid-2-eq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.team-card { position: relative; overflow: hidden; }
.team-card .ico { transition: transform .35s ease; }
.team-card .team-btn {
  margin-top: 16px; opacity: 0; transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, background .2s ease;
  background: var(--accent); color: #042b1c; font-family: var(--body);
  font-weight: 700; font-size: 15px; border: 0; cursor: pointer;
  padding: 11px 22px; border-radius: 999px;
}
.team-card:hover .ico { transform: rotate(-12deg) scale(1.1); }
.team-card:hover .team-btn { opacity: 1; transform: translateY(0); }
.team-card .team-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -8px var(--accent); }
/* Sur mobile / écran tactile : bouton toujours visible */
@media (hover: none) {
  .team-card .team-btn { opacity: 1; transform: none; }
}

/* ---------- Modale équipe ---------- */
.team-modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(13,27,42,.6); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.team-modal.open { display: flex; }
.team-modal-box {
  background: var(--paper-2); border-radius: var(--radius); padding: 36px;
  max-width: 460px; width: 100%; position: relative; box-shadow: var(--shadow);
  animation: modalIn .3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.team-modal-close {
  position: absolute; top: 16px; right: 18px; background: none; border: 0;
  font-size: 30px; line-height: 1; cursor: pointer; color: var(--ink-soft);
}
.team-modal-close:hover { color: var(--accent-2); }
.roster { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.roster li {
  padding: 12px 16px; background: var(--paper); border: 1px solid var(--line);
  border-radius: 10px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: 12px;
}
.roster .role {
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  background: rgba(0,184,107,.12); color: #047a47; padding: 4px 10px; border-radius: 999px;
}

.card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow); transition: transform .3s ease;
}
.card:hover { transform: translateY(-6px); }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(0,184,107,.12); color: var(--accent); font-size: 24px; margin-bottom: 18px;
}
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); }

/* ---------- News ---------- */
.news-grid { grid-template-columns: repeat(3, 1fr); }
.news-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .3s ease;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); }
.news-card .thumb { height: 170px; background: linear-gradient(135deg, var(--ink), var(--ink-soft)); position: relative; }
.news-card .thumb span {
  position: absolute; top: 14px; left: 14px; background: var(--accent); color: #042b1c;
  font-weight: 700; font-size: 12px; padding: 5px 12px; border-radius: 999px;
}
.news-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-card .date { font-size: 13px; color: var(--accent-2); font-weight: 600; }
.news-card h3 { font-size: 19px; margin: 8px 0 10px; }
.news-card p { color: var(--ink-soft); font-size: 15px; flex: 1; }
.news-card .more { margin-top: 14px; font-weight: 700; color: var(--accent); }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .num { font-family: var(--display); font-size: clamp(38px, 6vw, 64px); color: var(--accent); }
.stat .lbl { color: #aeb8c2; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; }

/* ---------- Tables / tarifs ---------- */
.table { width: 100%; border-collapse: collapse; background: var(--paper-2); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table th, .table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--ink); color: var(--paper); font-weight: 600; letter-spacing: .5px; }
.table tr:last-child td { border-bottom: 0; }
.table td:last-child { font-weight: 700; color: var(--accent); }

.steps { counter-reset: s; display: grid; gap: 18px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step .n { counter-increment: s; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #042b1c; font-family: var(--display); display: grid; place-items: center; }
.step .n::before { content: counter(s); }

.callout { background: rgba(255,90,31,.08); border: 1px solid rgba(255,90,31,.3); border-radius: var(--radius); padding: 26px; margin-top: 30px; }
.callout h3 { color: var(--accent-2); margin-bottom: 8px; }

/* ---------- Créneaux ---------- */
.creneau { display: flex; flex-direction: column; gap: 16px; }
.creneau .lieu { display: flex; align-items: center; gap: 14px; }
.creneau .pin {
  flex: none; width: 48px; height: 48px; border-radius: 14px;
  background: rgba(0,184,107,.12); color: var(--accent);
  display: grid; place-items: center; font-size: 22px; text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.creneau .pin:hover { transform: translateY(-3px) scale(1.05); background: var(--accent); }
.creneau .lieu h3 { font-size: 18px; margin: 0; }
.creneau .adr { font-size: 13px; color: var(--accent-2); font-weight: 600; }
.creneau .horaires { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.creneau .horaires li {
  font-size: 15px; color: var(--ink-soft); padding: 10px 14px;
  background: var(--paper); border-radius: 10px; border: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.creneau .horaires strong { color: var(--ink); }
.creneau .horaires .type {
  margin-left: auto; font-size: 12px; font-weight: 700;
  background: rgba(0,184,107,.12); color: #047a47; padding: 3px 10px; border-radius: 999px;
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery .ph { aspect-ratio: 4/3; border-radius: 14px; background: linear-gradient(135deg, var(--ink-soft), var(--ink)); position: relative; overflow: hidden; }
.gallery .ph::after { content: '🏸'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; opacity: .3; }

/* ---------- Contact ---------- */
.contact-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--body); font-size: 15px; background: var(--paper-2);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.info-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.info-line .ico { color: var(--accent); font-size: 20px; }
.map-link { color: var(--ink-soft); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; transition: color .2s ease; }
.map-link:hover { color: var(--accent); }

/* ---------- Partners ---------- */
.partners { display: flex; gap: 40px; align-items: center; justify-content: center; flex-wrap: wrap; opacity: .8; }
.partners span { font-weight: 700; color: var(--ink-soft); font-size: 15px; }

.partners-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.partner {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 16px; transition: transform .3s ease, box-shadow .3s ease;
}
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.partner .logo-box {
  width: 90px; height: 90px; border-radius: 12px; background: #fff;
  display: grid; place-items: center; overflow: hidden;
  border: 1px dashed var(--line);
}
.partner .logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner span { font-weight: 600; color: var(--ink-soft); font-size: 14px; line-height: 1.3; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-grid h4 { font-family: var(--display); letter-spacing: 1px; margin-bottom: 16px; font-size: 18px; }
.footer-grid a { display: block; color: #aeb8c2; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; color: #8493a1; font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Page banner (sous-pages) ---------- */
.banner { background: var(--ink); color: var(--paper); padding: 120px 0 70px; position: relative; overflow: hidden; }
.banner::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, var(--accent) 0%, transparent 70%); opacity: .3; }
.banner .tag { color: var(--accent); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }
.banner h1 { font-family: var(--display); font-size: clamp(38px, 7vw, 76px); margin-top: 12px; }
.banner p { color: #d7dde3; margin-top: 14px; max-width: 560px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 74px 0 auto 0; background: var(--paper); flex-direction: column; gap: 0; padding: 10px 24px 24px; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .35s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav-links .btn { margin-top: 12px; text-align: center; }
  .nav-toggle { display: block; }
  .grid-3, .news-grid { grid-template-columns: 1fr; }
  .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .grid-2-eq { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}
