/* =============================================
   VALISE & BIBERON — Feuille de style principale
   Design : éditorial chaleureux, solaire
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500&family=DM+Serif+Display:ital@0;1&display=swap');

/* ---- Variables ---- */
:root {
  --sable:     #F5EFE0;
  --sable-dark:#EDE4CC;
  --corail:    #E8694A;
  --corail-light: #F5A48B;
  --vert:      #3D6B4F;
  --vert-light:#7AAF8A;
  --creme:     #FAF7F2;
  --brun:      #2C1F14;
  --brun-light:#6B5344;
  --blanc:     #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif:   'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-soft: 0 4px 24px rgba(44,31,20,0.08);
  --shadow-card: 0 2px 12px rgba(44,31,20,0.06);

  --max-w: 1160px;
  --gap: 2rem;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--creme);
  color: var(--brun);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- Utilitaires ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--sable);
  color: var(--brun-light);
}
.tag.vert  { background: #DFF0E5; color: var(--vert); }
.tag.corail{ background: #FDEAE4; color: var(--corail); }

/* ---- HEADER / NAV ---- */
.site-header {
  background: var(--creme);
  border-bottom: 1px solid var(--sable-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 1rem;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brun);
  white-space: nowrap;
  line-height: 1.2;
}
.logo span { color: var(--corail); }
.logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brun-light);
  margin-top: 1px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 0.2rem;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--brun-light);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--sable);
  color: var(--brun);
}
.nav-cta {
  background: var(--corail) !important;
  color: var(--blanc) !important;
  border-radius: 99px !important;
  padding: 7px 18px !important;
}
.nav-cta:hover { background: #d45838 !important; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--brun);
}

/* ---- HERO ---- */
.hero {
  background: var(--sable);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(232,105,74,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--corail);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--corail);
  border-radius: 2px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--brun);
  margin-bottom: 1.25rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--corail);
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--brun-light);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 460px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 99px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(44,31,20,0.15); }
.btn-primary { background: var(--corail); color: var(--blanc); }
.btn-primary:hover { background: #d45838; }
.btn-secondary { background: var(--blanc); color: var(--brun); border: 1px solid var(--sable-dark); }
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-card {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
  width: 100%;
  max-width: 360px;
}
.hero-card-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--brun);
}
.age-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.age-item {
  background: var(--sable);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  transition: background 0.18s;
}
.age-item:hover { background: var(--sable-dark); }
.age-item a { display: block; }
.age-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--corail);
  line-height: 1;
}
.age-label {
  font-size: 12px;
  color: var(--brun-light);
  margin-top: 4px;
}
.hero-badge {
  position: absolute;
  top: -16px; right: -16px;
  background: var(--vert);
  color: var(--blanc);
  font-size: 11px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 99px;
  box-shadow: 0 4px 12px rgba(61,107,79,0.25);
}

/* ---- SECTION INTRO HUGO & LEA ---- */
.section-intro {
  padding: 4rem 0;
  background: var(--blanc);
  border-bottom: 1px solid var(--sable-dark);
}
.intro-inner {
  display: flex;
  gap: 3rem;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.intro-avatar {
  flex-shrink: 0;
  width: 80px; height: 80px;
  background: var(--sable);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--corail);
  border: 3px solid var(--sable-dark);
}
.intro-text { flex: 1; }
.intro-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--brun);
  margin-bottom: 6px;
}
.intro-text p {
  font-size: 15px;
  color: var(--brun-light);
  line-height: 1.7;
}
.intro-text p a {
  color: var(--corail);
  border-bottom: 1px solid rgba(232,105,74,0.3);
  transition: border-color 0.15s;
}
.intro-text p a:hover { border-color: var(--corail); }

/* ---- SECTIONS GÉNÉRIQUES ---- */
.section { padding: 4rem 0; }
.section-alt { background: var(--sable); }
.section-header {
  margin-bottom: 2.5rem;
}
.section-header .eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--corail);
  margin-bottom: 0.5rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--brun);
  line-height: 1.2;
}
.section-header p {
  font-size: 15px;
  color: var(--brun-light);
  margin-top: 0.5rem;
  max-width: 540px;
}

/* ---- GRILLES ARTICLES ---- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.article-card {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.card-thumb {
  aspect-ratio: 16/9;
  background: var(--sable);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-thumb-icon {
  font-size: 3rem;
  opacity: 0.25;
}
.card-thumb.corail { background: linear-gradient(135deg, #FDEAE4, #F5C4B3); }
.card-thumb.vert   { background: linear-gradient(135deg, #DFF0E5, #BFE0CB); }
.card-thumb.sable  { background: linear-gradient(135deg, var(--sable), var(--sable-dark)); }
.card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.75rem;
}
.card-read-time {
  font-size: 11px;
  color: var(--brun-light);
  opacity: 0.7;
}
.card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--brun);
  margin-bottom: 0.6rem;
  flex: 1;
}
.card-excerpt {
  font-size: 13px;
  color: var(--brun-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.card-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--corail);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.15s;
}
.card-link:hover { gap: 8px; }

/* ---- FEATURED (grand article) ---- */
.featured-article {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2rem;
  min-height: 320px;
}
.featured-thumb {
  background: linear-gradient(135deg, #FDEAE4 0%, #F5C4B3 50%, #EDE4CC 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  opacity: 0.5;
}
.featured-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-body .tag { margin-bottom: 1rem; }
.featured-body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  color: var(--brun);
}
.featured-body p {
  font-size: 14px;
  color: var(--brun-light);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* ---- RUBRIQUES (icones) ---- */
.rubriques-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.rubrique-item {
  background: var(--blanc);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: var(--shadow-card);
  display: block;
}
.rubrique-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.rubrique-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}
.rubrique-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--brun);
  display: block;
  margin-bottom: 4px;
}
.rubrique-count {
  font-size: 11px;
  color: var(--brun-light);
  opacity: 0.6;
}

/* ---- NEWSLETTER ---- */
.newsletter {
  background: var(--vert);
  color: var(--blanc);
  padding: 4rem 0;
}
.newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}
.newsletter h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.newsletter p {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 18px;
  border-radius: 99px;
  border: none;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  background: rgba(255,255,255,0.15);
  color: var(--blanc);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.55); }
.newsletter-form input:focus { background: rgba(255,255,255,0.22); }
.newsletter-form button {
  padding: 12px 22px;
  border-radius: 99px;
  border: none;
  background: var(--corail);
  color: var(--blanc);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.newsletter-form button:hover { background: #d45838; }
.newsletter-note {
  font-size: 11px;
  opacity: 0.55;
  margin-top: 0.75rem;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--brun);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 2rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand .logo { color: rgba(255,255,255,0.9); }
.footer-brand .logo span { color: var(--corail-light); }
.footer-brand p {
  font-size: 13px;
  margin-top: 0.75rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 260px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: rgba(255,255,255,0.95); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: rgba(255,255,255,0.75); }
.affiliation-notice {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.25rem;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 1rem;
  line-height: 1.6;
  max-width: var(--max-w);
  margin: 2rem auto 0;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ---- PAGE ARTICLE ---- */
.article-header {
  background: var(--sable);
  padding: 3.5rem 0 3rem;
}
.article-header-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.article-header .tag { margin-bottom: 1rem; }
.article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--brun);
  margin-bottom: 1rem;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 13px;
  color: var(--brun-light);
  flex-wrap: wrap;
}
.article-meta span { display: flex; align-items: center; gap: 5px; }
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brun);
  margin: 2.5rem 0 1rem;
  line-height: 1.25;
}
.article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--brun);
  margin: 2rem 0 0.75rem;
}
.article-body p {
  font-size: 1rem;
  color: var(--brun);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.article-body li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--brun);
  margin-bottom: 0.4rem;
}
.article-body strong { color: var(--brun); font-weight: 500; }
.article-body a { color: var(--corail); border-bottom: 1px solid rgba(232,105,74,0.3); }
.article-body a:hover { border-color: var(--corail); }
.callout {
  background: var(--sable);
  border-left: 4px solid var(--corail);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.callout p { margin-bottom: 0; font-size: 15px; }
.callout strong { color: var(--corail); }
.affil-box {
  background: linear-gradient(135deg, #FDEAE4, #FAF7F2);
  border: 1px solid rgba(232,105,74,0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2.5rem 0;
  text-align: center;
}
.affil-box p { font-size: 14px; color: var(--brun-light); margin-bottom: 1rem; }
.affil-box .btn { margin: 0 auto; }
.summary-box {
  background: var(--blanc);
  border: 1px solid var(--sable-dark);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.summary-box h3 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brun-light);
  margin-bottom: 0.75rem;
}
.summary-box ol { padding-left: 1.25rem; }
.summary-box li {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0.3rem;
  color: var(--brun-light);
}
.summary-box li a { color: var(--corail); border-bottom: none; }

/* ---- PAGE À PROPOS ---- */
.about-hero {
  background: var(--sable);
  padding: 4rem 0;
  text-align: center;
}
.about-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--brun);
  margin-bottom: 0.5rem;
}
.about-hero p {
  font-size: 1.1rem;
  color: var(--brun-light);
  font-style: italic;
}
.about-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.about-body p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--brun);
  margin-bottom: 1.25rem;
}
.about-signature {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--corail);
  margin-top: 2rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .featured-article { grid-template-columns: 1fr; }
  .featured-thumb { aspect-ratio: 16/7; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--creme);
    border-bottom: 1px solid var(--sable-dark);
    padding: 1rem 1.5rem;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(44,31,20,0.08);
  }
  .nav-links.open a { padding: 10px 14px; border-radius: var(--radius-sm); }
  .nav-toggle { display: block; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .newsletter-form { flex-direction: column; }
  .hero-inner { padding: 3rem 1.5rem 2.5rem; }
  .intro-inner { flex-direction: column; text-align: center; }
}
