/* SuperCoolKid — Static Site Styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: #1AB3B5;
  --teal-dark: #139799;
  --teal-light: #e8f9f9;
  --gray-light: #f5f5f5;
  --gray: #e0e0e0;
  --text: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --font-title: 'Pacifico', cursive;
  --font-body: 'Nunito', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo-link { flex-shrink: 0; }
.logo { height: 52px; width: auto; }

.main-nav { flex: 1; }
.main-nav ul {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.main-nav a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
  color: var(--text);
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--teal);
}

.header-social {
  display: flex;
  gap: 12px;
  color: var(--text);
}
.header-social a {
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.header-social a:hover { color: var(--teal); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  border: none;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal-dark); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--teal);
}
.btn-white:hover { background: var(--teal-light); }

/* ── Section helpers ── */
.section { padding: 64px 24px; }
.section-gray { background: var(--gray-light); }
.section-teal { background: var(--teal); color: var(--white); }

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--teal);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-title.dark { color: var(--text); }
.section-title.white { color: var(--white); }

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 640px;
  margin-bottom: 48px;
}

/* ── Hero ── */
.hero {
  padding: 80px 24px 64px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-text { }
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-title span { color: var(--teal); }
.hero-desc {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-desc strong { color: var(--text); font-weight: 700; }
.hero-img img {
  border-radius: var(--radius);
  width: 100%;
}

/* ── Kids grid ── */
.kids-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.kid-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 16px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.kid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.kid-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 4px solid var(--teal);
  background: var(--teal-light);
}
.kid-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kid-name {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--teal);
  margin-bottom: 8px;
}
.kid-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.5;
}
.kid-card .btn { font-size: 0.72rem; }

/* ── Kid profile page ── */
.kid-profile {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 24px;
}
.kid-profile-header {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}
.kid-profile-avatar {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.kid-profile-avatar img { width: 100%; }
.kid-profile-number {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--teal);
  margin-bottom: 8px;
  line-height: 1.2;
}
.kid-profile-tagline {
  font-size: 1.1rem;
  color: var(--teal);
  font-style: italic;
  margin-bottom: 20px;
}
.kid-profile-text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
}
.kid-profile-text p { margin-bottom: 16px; }
.kid-project-link { margin-top: 24px; }
.kid-action-images { margin-top: 24px; }
.kid-action-images img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  margin-bottom: 16px;
}

/* ── Blog ── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 32px;
}
.post-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s;
}
.post-card:hover { transform: translateY(-4px); }
.post-card-img {
  height: 200px;
  overflow: hidden;
  background: var(--teal-light);
}
.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-card-body { padding: 20px; }
.post-card-cats {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.post-card-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}
.post-card-date {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 12px;
}
.post-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ── Post single ── */
.post-single {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 24px;
}
.post-single-header { margin-bottom: 32px; }
.post-single-cats {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.post-single-title {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}
.post-single-date { font-size: 0.85rem; color: var(--text-light); }
.post-featured-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 40px;
}
.post-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}
.post-content p { margin-bottom: 20px; }
.post-content blockquote {
  border-left: 4px solid var(--teal);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--teal-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-size: 1.05rem;
}

/* ── Participer ── */
.participer-hero {
  padding: 64px 24px;
  background: var(--white);
}
.participer-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.participer-poster img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.criteria-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--teal);
}
.criteria-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 4px;
}
.criteria-title {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 10px;
}
.criteria-text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}
.projects-loved {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.project-loved-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--teal);
}
.project-loved-title {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.project-loved-text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── Le Projet ── */
.projet-objectives {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}
.objective-card {
  text-align: center;
  padding: 32px 20px;
}
.objective-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.objective-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--teal);
  margin-bottom: 10px;
}
.objective-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── Contact ── */
.contact-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info-block { }
.contact-info-block h2 {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--teal);
  margin-bottom: 16px;
}
.contact-info-block p {
  color: var(--text-light);
  margin-bottom: 8px;
}
.contact-info-block a { color: var(--teal); font-weight: 600; }
.contact-form-block { }
.contact-form-block label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.contact-form-block input,
.contact-form-block textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}
.contact-form-block input:focus,
.contact-form-block textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.contact-form-block textarea { height: 140px; resize: vertical; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.team-card {
  text-align: center;
}
.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 3px solid var(--teal);
  background: var(--teal-light);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 6px;
}
.team-bio {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
  text-align: left;
}

/* ── Mission images ── */
.mission-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.mission-images img {
  border-radius: 10px;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ── Kid quote ── */
.kid-quote-block {
  background: var(--teal);
  color: white;
  padding: 40px 24px;
  text-align: center;
}
.kid-quote {
  font-family: var(--font-title);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  max-width: 760px;
  margin: 0 auto 12px;
  line-height: 1.5;
  font-style: normal;
}
.kid-quote-author {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ── Kid profile parent section ── */
.kid-parent-section {
  margin: 40px 0 16px;
}
.kid-parent-number {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--teal);
  margin-bottom: 6px;
  line-height: 1.2;
}
.kid-parent-role {
  color: var(--teal);
  font-style: italic;
  font-size: 1rem;
}

/* ── Kid action section ── */
.kid-action-section {
  max-width: 900px;
  margin: 48px auto 0;
  padding: 40px 24px 0;
  border-top: 2px solid #e8e8e8;
}
.kid-action-title {
  font-family: var(--font-title);
  color: var(--teal);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  margin-bottom: 28px;
}

/* ── Kid prev/next navigation ── */
.kid-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  gap: 16px;
}
.kid-nav a {
  display: inline-block;
  padding: 10px 24px;
  background: var(--teal);
  color: #fff;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}
.kid-nav a:hover { background: #159a9c; }
.kid-nav .nav-spacer { flex: 1; }

/* ── Hotline ── */
.kid-hotline {
  background: #fff8e1;
  border: 2px solid #ffc107;
  border-radius: 10px;
  padding: 20px 28px;
  text-align: center;
  margin: 28px auto;
  max-width: 400px;
  font-weight: 600;
}
.hotline-number {
  font-family: var(--font-title);
  font-size: 2.4rem;
  color: #c0392b;
  margin-top: 6px;
}

/* ── Banner / CTA strip ── */
.cta-banner {
  background: var(--teal);
  color: var(--white);
  padding: 48px 24px;
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 8px;
}
.cta-banner p { opacity: 0.9; margin-bottom: 24px; }

/* ── Social banner ── */
.social-banner {
  background: var(--teal);
  color: var(--white);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.social-banner p { font-weight: 700; font-size: 1rem; }
.social-banner .hashtag { font-family: var(--font-title); font-size: 1.4rem; }

/* ── Footer ── */
.site-footer {
  background: #222;
  color: #aaa;
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.footer-logo img { height: 44px; filter: brightness(0) invert(1); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  flex: 1;
}
.footer-nav a {
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { font-size: 0.85rem; transition: color 0.2s; }
.footer-social a:hover { color: var(--white); }
.footer-copy { width: 100%; font-size: 0.8rem; text-align: center; opacity: 0.5; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    padding: 16px 24px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 10px 16px; }
  .site-header { position: relative; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-img { order: -1; }

  .kids-grid { grid-template-columns: repeat(2, 1fr); }
  .criteria-grid { grid-template-columns: 1fr; }
  .participer-hero-inner { grid-template-columns: 1fr; }
  .projet-objectives { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .kid-profile-header { grid-template-columns: 1fr; }
  .mission-images { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .kids-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .header-social { display: none; }
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeUp 0.6s ease forwards; }
