/* Changer la Vie — Site SEO statique */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #1B2A5C;
  --navy-light: #2D3E7A;
  --sky: #ADE8F4;
  --sky-light: #D4F1F9;
  --orange: #F5A623;
  --white: #FFFFFF;
  --red: #FF0000;
  --text: #2A2A3C;
  --text-light: #6B7280;
  --bg: #FAFBFF;
  --font: 'Nunito', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); }

/* ===== YOUTUBE ALERT ===== */
.yt-bar {
  background: #FF0000;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.4;
}

.yt-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.yt-bar a { color: #fff; text-decoration: underline; }

@media (max-width: 767px) {
  .yt-bar { font-size: 0.95rem; }
  .yt-bar__inner { padding: 10px 12px; }
}

/* ===== HEADER ===== */
.header {
  background: var(--navy);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header__logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--sky);
  object-fit: contain;
  background: #fff;
  padding: 1px;
}

.header__logo span {
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
}

.header__nav { display: flex; gap: 24px; align-items: center; }
.header__nav a {
  color: var(--sky);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}
.header__nav a:hover { color: var(--white); }

.header__cta {
  background: var(--orange);
  color: var(--navy) !important;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.85rem;
}
.header__cta:hover { background: var(--white); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #4A5A9C 100%);
  padding: 80px 24px;
  text-align: center;
}

.hero__inner { max-width: 700px; margin: 0 auto; }

.hero__logo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid var(--sky);
  object-fit: contain;
  background: #fff;
  padding: 3px;
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--white);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 8px;
}

.hero__subtitle-big {
  color: var(--sky);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero p {
  color: var(--sky);
  font-size: 1.15rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero__buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

.btn--orange { background: var(--orange); color: var(--navy); }
.btn--sky { background: var(--sky); color: var(--navy); }
.btn--outline { background: transparent; color: var(--white); border: 2px solid var(--sky); }

.hero__free {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  border: 2px solid var(--orange);
  border-radius: 30px;
  padding: 10px 20px;
  margin-top: 24px;
}
.hero__free-badge {
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 1px;
}
.hero__free-text { color: var(--white); font-size: 0.9rem; font-weight: 700; }

/* ===== ARTICLES GRID ===== */
.articles {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
}

.articles h2 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 32px;
  text-align: center;
}

.articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(27, 42, 92, 0.08);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(27, 42, 92, 0.15);
}

.article-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--sky-light), var(--sky));
}

.article-card__body { padding: 20px; }

.article-card__cat {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.article-card__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.article-card__excerpt {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 60px 24px;
}

.testimonials__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.testimonials h2 {
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.testimonials__sub {
  color: var(--sky);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: left;
}

.testi {
  background: rgba(173, 232, 244, 0.08);
  border: 1px solid rgba(173, 232, 244, 0.15);
  border-radius: 14px;
  padding: 18px;
}

.testi p {
  color: var(--sky-light);
  font-size: 0.85rem;
  line-height: 1.55;
  font-style: italic;
  margin: 0 0 8px;
}

.testi span {
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Featured testimonial (paying customer) */
.testi--featured {
  background: rgba(245, 166, 35, 0.08);
  border: 1.5px solid rgba(245, 166, 35, 0.35);
  position: relative;
}

.testimonials__vedette {
  background: rgba(245, 166, 35, 0.12);
  border: 2px solid rgba(245, 166, 35, 0.5);
  border-radius: 12px;
  padding: 24px 32px;
  margin-bottom: 24px;
  position: relative;
  font-size: 0.92rem;
  line-height: 1.6;
}
.testimonials__vedette,
.testimonials__vedette p,
.testimonials__vedette span {
  color: #fff !important;
}
.testimonials__vedette .testi__badge {
  display: inline-block;
  background: var(--orange);
  color: var(--navy) !important;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 10px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.testimonials__vedette span:last-child {
  display: block;
  margin-top: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff !important;
  color: var(--orange);
}

.testi__badge {
  display: inline-block;
  background: var(--orange);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 10px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

@media (max-width: 1023px) {
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .testimonials__grid { grid-template-columns: 1fr; }
  .testimonials { padding: 40px 16px; }
  .testimonials h2 { font-size: 1.4rem; }
}

/* ===== ABOUT SECTION ===== */
.about {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 60px 24px;
}

.about__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about h2 { color: var(--white); font-size: 1.8rem; font-weight: 900; margin-bottom: 20px; }
.about p { color: var(--sky); font-size: 1rem; line-height: 1.7; margin-bottom: 16px; }
.about strong { color: var(--white); }

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 60px 24px;
  text-align: center;
  background: var(--sky-light);
}

.cta-section h2 { font-size: 1.8rem; font-weight: 900; color: var(--navy); margin-bottom: 12px; }
.cta-section p { color: var(--text-light); font-size: 1rem; margin-bottom: 24px; }

/* ===== ARTICLE PAGE ===== */
.article-page {
  max-width: 740px;
  margin: 0 auto;
  padding: 48px 24px 60px;
}

.article-page__cat {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.article-page h1 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.article-page__meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #E5E7EB;
}

.article-page__content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin: 32px 0 12px;
}

.article-page__content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-light);
  margin: 24px 0 8px;
}

.article-page__content p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.article-page__content ul, .article-page__content ol {
  margin: 0 0 16px 24px;
}

.article-page__content li {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.article-page__content blockquote {
  border-left: 4px solid var(--orange);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--sky-light);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--navy);
}

/* Article CTA box */
.article-cta {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}
.article-cta h3 { color: var(--white); font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.article-cta p { color: var(--sky); font-size: 0.9rem; margin-bottom: 20px; }

/* ===== RELATED ARTICLES ===== */
.related {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.related h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  padding-top: 32px;
  border-top: 1px solid #E5E7EB;
}

.related__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: 12px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(27,42,92,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.related__link:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(27,42,92,0.12);
}

.related__link span { font-size: 1.3rem; }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  padding: 24px;
  text-align: center;
  color: var(--sky);
  font-size: 0.85rem;
}

.footer a { color: var(--orange); text-decoration: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .hero { padding: 48px 16px; }
  .articles__grid { grid-template-columns: 1fr; }
  .article-page h1 { font-size: 1.6rem; }
  .header__nav a:not(.header__cta) { display: none; }
  .hero__buttons { flex-direction: column; align-items: center; }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .articles__grid { grid-template-columns: repeat(2, 1fr); }
}
