
:root {
  --primary: #123b6e;
  --primary-light: #305f9f;
  --accent: #f6b41c;
  --bg: #f5f7fb;
  --text: #222222;
  --muted: #666666;
  --card-bg: #ffffff;
  --border: #dde2ee;
  --radius-lg: 18px;
  --shadow-soft: 0 20px 40px rgba(15, 23, 42, 0.12);
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top banner */
.top-banner {
  width: 100%;
  background: linear-gradient(90deg, #f97316, #ea580c);
  color: #fefce8;
  font-size: 0.8rem;
  text-align: center;
  padding: 0.35rem 0.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.top-banner strong {
  font-weight: 700;
}

.top-banner span {
  opacity: 0.9;
  margin-left: 0.4rem;
}

/* Header / Nav */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(245, 247, 251, 0.96);
  border-bottom: 1px solid rgba(221, 226, 238, 0.9);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  gap: 1rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.logo-mark img {
  width: 42px;
  height: 42px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text span:first-child {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--primary);
}

.logo-text span:last-child {
  font-size: 0.8rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35);
}

.btn-outline {
  background: #ffffff;
  color: var(--primary);
  border-color: rgba(18, 59, 110, 0.18);
}

.btn-outline:hover {
  background: #eef2fb;
  border-color: rgba(18, 59, 110, 0.4);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 3.2rem 0 2.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(18, 59, 110, 0.06);
  border: 1px solid rgba(18, 59, 110, 0.1);
  font-size: 0.78rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}

.hero-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #111827;
  margin-bottom: 0.9rem;
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-meta strong {
  color: #111827;
}

.hero-card {
  background: radial-gradient(circle at top left, #ffffff, #e4ebf7);
  border-radius: 26px;
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(210, 220, 240, 0.9);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.1rem;
  gap: 1rem;
}

.hero-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
}

.hero-card-badge {
  font-size: 0.7rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: rgba(246, 180, 28, 0.12);
  color: #92400e;
  border: 1px solid rgba(248, 189, 65, 0.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0.4rem;
}

.stat {
  padding: 0.85rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(209, 213, 219, 0.8);
}

.stat-label {
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-card-footer {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.7);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-size: 0.78rem;
  color: var(--muted);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pill {
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.9);
}

/* Sections */
section {
  padding: 2.8rem 0;
}

.section-header {
  text-align: left;
  margin-bottom: 1.8rem;
}

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
  color: #0f172a;
}

.section-subtitle {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 40rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem;
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: #0f172a;
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.4rem;
}

.chip {
  font-size: 0.72rem;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  background: #f3f4ff;
  color: #4338ca;
}

/* Two-column sections */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.bullet {
  margin-top: 0.22rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
}

.tagline {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

/* Ressources / Actus */
.resource-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.resource-item {
  font-size: 0.86rem;
}

.resource-item strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #0f172a;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #ecfdf3;
  color: #166534;
  margin-bottom: 0.35rem;
}

/* Adhésion & contact */
.cta-section {
  background: linear-gradient(135deg, #102a43, #1f4e8c);
  color: #f9fafb;
  border-radius: 28px;
  padding: 2rem 1.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.cta-section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.cta-section p {
  font-size: 0.95rem;
  opacity: 0.9;
  max-width: 30rem;
}

.cta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
  font-size: 0.78rem;
}

.cta-badge {
  border-radius: 999px;
  border: 1px solid rgba(249, 250, 251, 0.45);
  padding: 0.16rem 0.65rem;
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.cta-side {
  font-size: 0.86rem;
  opacity: 0.92;
}

.cta-side ul {
  list-style: none;
  margin-top: 0.4rem;
  display: grid;
  gap: 0.25rem;
}

.cta-side li::before {
  content: "•";
  margin-right: 0.4rem;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: flex-start;
}

form {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem;
  border: 1px solid var(--border);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.04);
}

.field {
  margin-bottom: 0.9rem;
}

label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
  color: #4b5563;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 0.86rem;
  font-family: inherit;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
  background: #ffffff;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 1.6rem 0 2rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Layout helpers */
.main-inner {
  padding-top: 1.5rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .two-col,
  .cta-section,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-card {
    order: -1;
  }
}

@media (max-width: 780px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 720px) {
  .grid-3,
  .resource-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-section {
    padding: 1.5rem 1.3rem;
  }
}
