/* =====================================================================
   ONE LOVE CHILDREN — Feuille de style du site vitrine
   Palette inspirée du logo : teal, terracotta, or, anthracite
   ===================================================================== */

:root {
  --olc-primary: #1C6B70;      /* teal profond */
  --olc-primary-dark: #124a4d;
  --olc-secondary: #D9633B;    /* terracotta */
  --olc-accent: #F2B429;       /* or / jaune */
  --olc-ink: #2E3A45;          /* anthracite (texte) */
  --olc-cream: #FBF6EC;        /* fond chaleureux */
  --olc-white: #FFFFFF;
  --olc-border: #E7DFCB;
  --radius: 14px;
  --shadow-soft: 0 6px 24px rgba(46, 58, 69, 0.08);
  --shadow-strong: 0 14px 40px rgba(46, 58, 69, 0.16);
  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--olc-ink);
  background: var(--olc-cream);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--olc-ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

a { color: var(--olc-primary); text-decoration: none; }
a:hover { color: var(--olc-secondary); }

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--white { background: var(--olc-white); }
.section--primary { background: var(--olc-primary); color: var(--olc-white); }
.section--primary h2, .section--primary h3 { color: var(--olc-white); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olc-secondary);
  margin-bottom: 10px;
}

.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
.section-sub { color: #5b6672; max-width: 640px; margin-bottom: 32px; font-size: 17px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--olc-secondary); color: var(--olc-white); }
.btn-primary:hover { background: #c1542f; color: var(--olc-white); box-shadow: var(--shadow-soft); }
.btn-outline { background: transparent; border-color: currentColor; color: var(--olc-white); }
.btn-outline:hover { background: rgba(255,255,255,0.15); color: var(--olc-white); }
.btn-ghost { background: var(--olc-white); color: var(--olc-primary); border-color: var(--olc-border); }
.btn-ghost:hover { border-color: var(--olc-primary); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--olc-border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1160px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading); font-weight: 700; font-size: 19px; color: var(--olc-ink); }
.brand img { height: 44px; width: auto; }
.brand small { display: block; font-weight: 500; font-size: 11px; color: #6b7684; letter-spacing: .04em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--olc-ink); font-weight: 600; font-size: 15px; position: relative; }
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--olc-secondary); transition: width .2s ease;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--olc-secondary); }

.nav-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--olc-ink); }

.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #9aa6ad; }
.lang-switch a { color: #9aa6ad; font-weight: 700; }
.lang-switch a.active { color: var(--olc-secondary); }
.lang-switch a::after { display: none; content: none; }
.lang-switch span { color: #cdd4d9; }

@media (max-width: 860px) {
  .nav { position: fixed; top: 74px; left: 0; right: 0; background: var(--olc-white);
         flex-direction: column; align-items: flex-start; padding: 20px 24px; gap: 16px;
         border-bottom: 1px solid var(--olc-border); box-shadow: var(--shadow-soft);
         transform: translateY(-130%); transition: transform .25s ease; }
  .nav.open { transform: translateY(0); }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--olc-primary) 0%, var(--olc-primary-dark) 100%);
  color: var(--olc-white);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(242,180,41,0.25), transparent 45%),
              radial-gradient(circle at 10% 85%, rgba(217,99,59,0.3), transparent 45%);
  pointer-events: none;
}
.hero__inner { position: relative; padding: 96px 24px 88px; max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; padding: 64px 24px; } }
.hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; }
.hero p.lead { font-size: 19px; color: rgba(255,255,255,0.9); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  background: var(--olc-white); border-radius: 20px; padding: 20px;
  box-shadow: var(--shadow-strong); transform: rotate(1.5deg);
}
.hero-visual img { border-radius: 12px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--olc-white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid var(--olc-border);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.card__img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--olc-border); }
.card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card__tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--olc-secondary); margin-bottom: 8px; }
.card__title { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card__desc { color: #5b6672; font-size: 14.5px; flex: 1; }
.card__meta { display: flex; gap: 14px; font-size: 13px; color: #7c8794; margin-top: 14px; flex-wrap: wrap; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat-num { font-family: var(--font-heading); font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: var(--olc-accent); }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.85); margin-top: 4px; }

/* ---------- Objectifs list ---------- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.check-list .bullet {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--olc-accent); color: var(--olc-ink); display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; margin-top: 2px;
}

/* ---------- Team ---------- */
.team-card { text-align: center; padding: 28px 20px; }
.team-card__photo {
  width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px;
  border: 4px solid var(--olc-cream); box-shadow: var(--shadow-soft);
}
.team-card__role { color: var(--olc-secondary); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.team-card__name { font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.team-card__bio { font-size: 13.5px; color: #6b7684; }

/* ---------- Timeline (histoire) ---------- */
.timeline { border-left: 3px solid var(--olc-border); margin-left: 12px; padding-left: 28px; display: grid; gap: 28px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ''; position: absolute; left: -34px; top: 4px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--olc-secondary); border: 3px solid var(--olc-cream);
}

/* ---------- Testimonials ---------- */
.quote-card { background: var(--olc-white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-soft); border-left: 4px solid var(--olc-accent); }
.quote-card p { font-style: italic; color: #444; font-size: 15.5px; }
.quote-card .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.quote-card .who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote-card .who strong { display: block; font-size: 14px; }
.quote-card .who span { font-size: 12.5px; color: #7c8794; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 18px; }
label { font-weight: 600; font-size: 14px; margin-bottom: 6px; display: block; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--olc-border);
  font-family: inherit; font-size: 15px; background: var(--olc-white); color: var(--olc-ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--olc-primary); }
textarea { resize: vertical; min-height: 120px; }
.alert { padding: 14px 18px; border-radius: 10px; font-size: 14.5px; margin-bottom: 20px; }
.alert-success { background: #e4f4ea; color: #1f6b3d; border: 1px solid #b9e3c6; }
.alert-error { background: #fdeceb; color: #a3352a; border: 1px solid #f5c6c0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-grid figure { margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 1; cursor: pointer; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-grid figure:hover img { transform: scale(1.08); }

.lightbox { position: fixed; inset: 0; background: rgba(20,20,20,.92); display: none; align-items: center; justify-content: center; z-index: 200; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; }
.lightbox__close { position: absolute; top: 24px; right: 30px; color: #fff; font-size: 34px; cursor: pointer; background: none; border: none; }

/* ---------- Partners ---------- */
.partners-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; }
.partners-row img { max-height: 56px; filter: grayscale(100%); opacity: .7; transition: all .2s ease; }
.partners-row img:hover { filter: none; opacity: 1; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--olc-secondary), #b3542f);
  color: var(--olc-white); border-radius: 24px; padding: 56px; text-align: center;
}
.cta h2 { color: var(--olc-white); }
.cta p { color: rgba(255,255,255,0.92); max-width: 560px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--olc-ink); color: rgba(255,255,255,0.85); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: var(--olc-white); font-size: 15px; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--olc-accent); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14.5px; }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.social-row a:hover { background: var(--olc-secondary); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; font-size: 13px; text-align: center; color: rgba(255,255,255,0.55); }

/* ---------- Breadcrumb / page header ---------- */
.page-hero {
  background: var(--olc-primary); color: #fff; padding: 64px 0 48px; text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 12px auto 0; }

/* ---------- Misc ---------- */
.badge { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge-cours { background: #fff2df; color: #b06a12; }
.badge-termine { background: #e4f4ea; color: #1f6b3d; }
.badge-venir { background: #e8eef8; color: #345a9c; }

.empty-state { text-align: center; padding: 60px 20px; color: #8a94a1; }
