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

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

:root {
  --navy: #1E3A5F;
  --green: #2D9B6F;
  --green-light: #E8F5EF;
  --white: #FFFFFF;
  --gray-bg: #F8F9FA;
  --gray-text: #6B7280;
  --gray-border: #E5E7EB;
  --text: #1F2937;
  --shadow: 0 2px 12px rgba(30, 58, 95, 0.08);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
header {
  background: var(--navy);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

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

.logo-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
}

.logo-tagline {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
  letter-spacing: 0.03em;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: rgba(255,255,255,0.80);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
}

nav a:hover {
  color: var(--white);
  text-decoration: none;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #163055 100%);
  color: var(--white);
  padding: 96px 0 80px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(45, 155, 111, 0.25);
  color: #7DDBB4;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(45,155,111,0.4);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: #7DDBB4;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: opacity 0.15s, transform 0.15s;
}

.btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.45);
  color: var(--white);
  margin-left: 12px;
}

/* ── Sections ── */
section {
  padding: 72px 0;
}

section:nth-child(even) {
  background: var(--gray-bg);
}

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-text);
  max-width: 540px;
  line-height: 1.7;
}

/* ── Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 6px 24px rgba(30, 58, 95, 0.13);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--green);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.card p {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.65;
}

.card ul {
  list-style: none;
  margin-top: 14px;
}

.card ul li {
  font-size: 0.875rem;
  color: var(--gray-text);
  padding: 3px 0;
  padding-left: 18px;
  position: relative;
}

.card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ── À propos ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 24px;
}

.about-text p {
  color: var(--gray-text);
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-facts {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.fact {
  display: flex;
  flex-direction: column;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-border);
}

.fact:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fact-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-text);
  margin-bottom: 2px;
}

.fact-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

/* ── Contact bande ── */
.contact-band {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}

.contact-band h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-band p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
}

/* ── Footer ── */
footer {
  background: #111827;
  color: rgba(255,255,255,0.55);
  padding: 40px 0 28px;
  font-size: 0.82rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand .logo-name {
  font-size: 1rem;
  margin-bottom: 6px;
}

.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.footer-col a, .footer-col p {
  display: block;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
}

.footer-col a:hover {
  color: rgba(255,255,255,0.85);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── Pages internes (privacy, legal) ── */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 40px;
}

.page-hero h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}

.page-content {
  padding: 56px 0 80px;
  max-width: 780px;
}

.page-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 36px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--green-light);
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p, .page-content li {
  font-size: 0.93rem;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 10px;
}

.page-content ul {
  padding-left: 20px;
  margin-bottom: 10px;
}

.page-content strong {
  color: var(--navy);
  font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  nav { display: none; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 10px;
  }
}
