/* ============================================
   RÉUSSIR SON CONSEIL SYNDICAL
   Marine #1B2D4F · Or #C9A84C
   Playfair Display + DM Sans
   ============================================ */

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

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

:root {
  --marine:      #1B2D4F;
  --marine-dark: #111E2F;
  --gold:        #C9A84C;
  --gold-light:  #C9A84C15;
  --gold-border: #C9A84C44;
  --text:        #1a1a18;
  --muted:       #666;
  --light:       #f7f6f2;
  --border:      #e8e4db;
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'DM Sans', system-ui, sans-serif;
  --radius:      4px;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: #fff;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--marine); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  background: var(--marine);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,.22);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-logo {
  font-family: var(--serif);
  font-size: 15px;
  color: #fff !important;
  line-height: 1.3;
  flex-shrink: 0;
}
.site-logo .gold { color: var(--gold); }
.site-logo .tagline {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,.4);
  letter-spacing: .02em;
  margin-top: 2px;
}
.header-nav { display: flex; align-items: center; gap: 0; }
.header-nav a {
  color: rgba(255,255,255,.68);
  font-size: 13px;
  padding: 8px 14px;
  border-right: 1px solid rgba(255,255,255,.1);
  transition: color .2s;
}
.header-nav a:last-child { border-right: none; }
.header-nav a:hover,
.header-nav a.active { color: var(--gold); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--marine-dark);
  padding: 2.5rem 2rem 1.5rem;
  margin-top: 5rem;
  text-align: center;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 16px;
  color: rgba(255,255,255,.85);
  display: inline-block;
  margin-bottom: .5rem;
}
.footer-logo .gold { color: var(--gold); }
.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: rgba(255,255,255,.38);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,.45);
}
.footer-links a:hover { color: rgba(255,255,255,.8); }
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.22);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.07);
}

/* ============================================
   LANDING PAGE — HERO
   ============================================ */
.hero {
  background: var(--marine);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(201,168,76,.07) 0%, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: var(--gold-light);
  color: var(--gold);
  border: 1px solid var(--gold-border);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  font-style: italic;
}
.hero-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--marine) !important;
  font-weight: 500;
  font-size: 15px;
  padding: 13px 30px;
  border-radius: var(--radius);
  letter-spacing: .02em;
  transition: background .2s;
}
.hero-cta:hover { background: #d4b05a; }

/* ============================================
   LANDING — INTRO SECTION
   ============================================ */
.intro-section {
  max-width: 860px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}
.section-kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-kicker::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold-border);
}
.intro-section h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--marine);
  margin-bottom: 1.2rem;
  line-height: 1.3;
}
.intro-section p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.2rem;
}
.intro-section p.muted {
  font-size: 15px;
  color: var(--muted);
  font-style: italic;
}

/* ============================================
   LANDING — SUJETS GRID
   ============================================ */
.topics-section {
  background: var(--light);
  padding: 4rem 2rem;
}
.topics-inner { max-width: 1000px; margin: 0 auto; }
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}
.topic-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  border-top: 3px solid var(--gold);
  transition: box-shadow .2s;
}
.topic-card:hover { box-shadow: 0 4px 20px rgba(27,45,79,.1); }
.topic-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  opacity: .4;
  line-height: 1;
  margin-bottom: .6rem;
}
.topic-card h3 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--marine);
  margin-bottom: .5rem;
  font-style: normal;
}
.topic-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   LANDING — ARTICLE PREVIEW CARD
   ============================================ */
.latest-section {
  max-width: 920px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}
.article-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s;
}
.article-card:hover { box-shadow: 0 6px 24px rgba(27,45,79,.1); }
.article-card-body { padding: 2rem; }
.card-tag {
  display: inline-block;
  background: var(--gold-light);
  color: var(--gold);
  border: 1px solid var(--gold-border);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: .8rem;
}
.article-card h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--marine);
  margin-bottom: .7rem;
  line-height: 1.25;
  font-style: normal;
}
.article-card .excerpt {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.4rem;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--marine);
  font-weight: 500;
  font-size: 14px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
  transition: color .2s;
}
.read-more:hover { color: var(--gold); }

/* ============================================
   ARTICLE PAGE
   ============================================ */
.article-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}
.breadcrumb {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-bottom: 2rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--marine); }
.breadcrumb .sep { color: var(--gold); }

.article-tag {
  display: inline-block;
  background: var(--gold-light);
  color: var(--gold);
  border: 1px solid var(--gold-border);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 1rem;
}
h1.article-title {
  font-family: var(--serif);
  font-size: clamp(26px, 4.5vw, 40px);
  font-weight: 700;
  color: var(--marine);
  line-height: 1.2;
  margin-bottom: .8rem;
}
.article-subtitle {
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  padding: .8rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.meta-author { display: flex; align-items: center; gap: 8px; }
.avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--marine);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 500; color: var(--gold);
  flex-shrink: 0;
}
.meta-sep { color: #ccc; }

.article-body { font-size: 17px; line-height: 1.85; }
.article-body p { margin-bottom: 1.4rem; }
.article-body h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--marine);
  margin: 2.8rem 0 1rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
  line-height: 1.35;
}
.article-body h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  margin: 1.8rem 0 .8rem;
  font-style: normal;
}
.article-lead {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 1.8rem;
}

/* Composants éditoriaux */
.chapeau {
  background: var(--light);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 15px;
  line-height: 1.75;
}
.chapeau strong { color: var(--marine); }

.pull-quote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: #C9A84C08;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pull-quote p {
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.6;
  color: var(--marine);
  margin: 0;
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 2rem 0;
}
.stat-item { background: var(--light); padding: 1.1rem; text-align: center; }
.stat-number {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--marine);
  display: block;
  margin-bottom: 4px;
}
.stat-label { font-size: 12px; color: var(--muted); line-height: 1.4; }

.situation-list { margin: 1.2rem 0 1.8rem; }
.situation-item {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  line-height: 1.65;
}
.situation-item:last-child { border-bottom: none; }
.s-dot {
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 11px;
  flex-shrink: 0;
}

.insight-box {
  background: rgba(27,45,79,.06);
  border: 1px solid rgba(27,45,79,.15);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
}
.insight-box .box-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--marine);
  margin-bottom: 8px;
  display: block;
}
.insight-box p { font-size: 16px; line-height: 1.7; margin: 0; }

/* FAQ */
.faq-section { margin: 2.5rem 0; }
.faq-heading {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none;
  padding: 1rem 0; font-family: var(--sans); font-size: 16px;
  font-weight: 500; color: var(--text); cursor: pointer;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1rem; line-height: 1.5;
}
.faq-icon { color: var(--gold); font-size: 20px; flex-shrink: 0; transition: transform .25s; }
.faq-icon.open { transform: rotate(45deg); }
.faq-answer { font-size: 15px; color: var(--muted); line-height: 1.75; padding-bottom: 1rem; display: none; }
.faq-answer.open { display: block; }

.article-disclaimer {
  font-size: 13px; color: var(--muted); font-style: italic;
  border-top: 1px solid var(--border); padding-top: 1rem; margin-top: 1rem; line-height: 1.65;
}
.article-disclaimer a { color: var(--gold); }

.cta-box {
  background: var(--marine); border-radius: var(--radius);
  padding: 2rem; margin: 3rem 0 1.5rem; text-align: center;
}
.cta-box h3 {
  font-family: var(--serif); font-size: 20px; color: #fff;
  margin-bottom: 1rem; font-weight: 700;
}
.cta-box p { font-size: 15px; color: rgba(255,255,255,.75); margin-bottom: 1.2rem; font-style: italic; }
.cta-btn {
  display: inline-block; background: var(--gold); color: var(--marine) !important;
  font-size: 14px; font-weight: 500; padding: 11px 26px;
  border-radius: 2px; letter-spacing: .03em; transition: background .2s;
}
.cta-btn:hover { background: #d4b05a; }
.cta-note { font-size: 12px; color: rgba(255,255,255,.35); margin-top: .7rem; display: block; }

.article-tags { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 7px; }
.tag-chip {
  font-size: 12px; background: var(--light); border: 1px solid var(--border);
  padding: 3px 9px; border-radius: 2px; color: var(--muted);
}

.next-article {
  margin-top: 2rem; padding: 1.2rem 1.5rem;
  border: 1px solid var(--border); border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  display: block; background: #fff; transition: background .2s;
}
.next-article:hover { background: var(--light); }
.next-label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: 5px; display: block; }
.next-title { font-family: var(--serif); font-size: 17px; color: var(--marine); line-height: 1.4; }

/* ============================================
   À PROPOS
   ============================================ */
.apropos-wrap { max-width: 860px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.apropos-hero {
  background: var(--marine);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}
.apropos-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(201,168,76,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.apropos-hero-inner { position: relative; z-index: 1; }
.apropos-kicker { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; display: block; }
.apropos-hero h1 {
  font-family: var(--serif); font-size: clamp(24px, 4vw, 34px);
  font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 1rem;
}
.apropos-hero p { font-size: 16px; color: rgba(255,255,255,.7); line-height: 1.7; font-style: italic; margin: 0; }

.apropos-body { font-size: 17px; line-height: 1.85; }
.apropos-body p { margin-bottom: 1.4rem; }
.apropos-body h2 {
  font-family: var(--serif); font-size: 21px; font-weight: 700;
  color: var(--marine); margin: 2.5rem 0 1rem; padding-bottom: .4rem;
  border-bottom: 2px solid var(--gold); display: inline-block; line-height: 1.35;
}
.values-list { margin: 1.2rem 0 1.8rem; }
.value-item {
  display: flex; gap: 14px; padding: 12px 0;
  border-bottom: 1px solid var(--border); font-size: 16px; line-height: 1.65;
}
.value-item:last-child { border-bottom: none; }
.v-dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; margin-top: 11px; flex-shrink: 0; }

.contact-block {
  background: var(--light); border-radius: var(--radius);
  padding: 1.5rem; margin-top: 2.5rem; text-align: center;
}
.contact-block p { font-size: 15px; color: var(--muted); margin-bottom: .8rem; }
.contact-link {
  display: inline-block; color: var(--marine); font-weight: 500;
  font-size: 15px; border-bottom: 1px solid var(--gold); padding-bottom: 2px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-nav.open { display: flex; flex-direction: column; position: absolute; top: 58px; left: 0; right: 0; background: var(--marine-dark); padding: .5rem 0; z-index: 200; }
  .header-nav.open a { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); padding: 13px 2rem; }
  .hamburger { display: flex; }
}
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.75); transition: transform .25s, opacity .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 560px) {
  .stat-band { grid-template-columns: 1fr; }
  .topics-grid { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 1.5rem 3rem; }
  .hero h1 { font-size: 28px; }
}
