/* ==========================================================================
   Sina & Prestige — Styles dédiés pour fondatrice.html
   Hiérarchie visuelle & typographique 100% alignée avec index.html et tout le site
   ========================================================================== */

:root {
  --sp-blue-dark: #09235d;
  --sp-navy-darker: #061a45;
  --sp-gold: #f5b51b;
  --sp-gold-hover: #e0a312;
  --sp-text-muted: #475569;
  --sp-border: #e2e8f0;
  --sp-bg-light: #f8fafc;
  --sp-text: #1e293b;
  --sp-radius: 12px;
  --sp-shadow: 0 4px 12px rgba(9, 35, 93, 0.03);
  --sp-shadow-hover: 0 14px 28px rgba(9, 35, 93, 0.08);
}

/* ==========================================================================
   1. HERO SECTION CANONIQUE (Aligné sur index.html & recrutement.html)
   ========================================================================== */
.rh-hero.fnd-hero {
  position: relative;
  min-height: 445px;
  background: linear-gradient(135deg, #06183b 0%, #09235d 100%);
  color: #ffffff;
  overflow: hidden;
}

.fnd-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #06183b 0%, #09235d 100%);
}

.fnd-hero .rh-hero-inner {
  position: relative;
  width: min(1940px, calc(100% - 76px));
  min-height: 445px;
  margin: auto;
  display: flex;
  align-items: center;
}

.fnd-hero .rh-hero-copy {
  width: 100%;
  max-width: 760px;
  padding: 34px 0;
}

.fnd-hero .crumb {
  font-size: 13px;
  margin-bottom: 25px;
  color: #e4eaf4;
}

.fnd-hero .crumb a {
  color: #ffffff;
  text-decoration: none;
}

.fnd-hero .crumb a:hover {
  color: var(--sp-gold);
}

/* H1 Cannonique Site (44px Desktop / 34px Tablet / 30px Mobile) */
.fnd-hero h1,
.fnd-main-title {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 44px !important;
  line-height: 1.22 !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 8px 0 18px !important;
  letter-spacing: -0.02em !important;
  word-wrap: break-word;
}

.fnd-hero h1 span,
.fnd-main-title span {
  color: var(--sp-gold) !important;
  display: block;
}

.fnd-lead-text,
.fnd-hero .rh-hero-copy p {
  font-family: Inter, sans-serif;
  font-size: 17px !important;
  line-height: 1.65 !important;
  color: #f2f5fa;
  max-width: 760px !important;
  margin: 0 0 26px;
}

/* Hero Actions & Boutons Canoniques */
.fnd-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn,
.fnd-hero .hero-actions .btn,
.fnd-cta-btns .btn,
.fnd-press-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px !important;
  border-radius: 6px;
  border: 1px solid #ffffff;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 15px !important;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 44px;
}

.btn:hover,
.fnd-hero .hero-actions .btn:hover,
.fnd-cta-btns .btn:hover,
.fnd-press-card .btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn.gold,
.fnd-hero .hero-actions .btn.gold,
.fnd-cta-btns .btn.gold,
.fnd-press-card .btn.gold {
  background: var(--sp-gold);
  border-color: var(--sp-gold);
  color: var(--sp-blue-dark) !important;
}

.btn.gold:hover,
.fnd-hero .hero-actions .btn.gold:hover,
.fnd-cta-btns .btn.gold:hover,
.fnd-press-card .btn.gold:hover {
  background: var(--sp-gold-hover);
  border-color: var(--sp-gold-hover);
  color: var(--sp-blue-dark) !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   2. TIRES DE SECTION H2 & SOUS-TITRES (Scale Canonique index.html)
   ========================================================================== */
h2.center-title,
h2.domain-title,
.fnd-toc-title,
.fnd-section-head h2 {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 30px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  color: var(--sp-blue-dark) !important;
  margin-bottom: 24px !important;
  letter-spacing: -0.02em !important;
}

.section-subhead,
.fnd-section-head p {
  font-family: Inter, sans-serif;
  font-size: 16px !important;
  line-height: 1.55 !important;
  color: var(--sp-text-muted);
  max-width: 720px;
  margin-top: -16px;
  margin-bottom: 24px;
}

/* ==========================================================================
   3. SOMMAIRE INTERACTIF (2 colonnes mobile / 5 colonnes desktop)
   ========================================================================== */
.fnd-toc-section {
  background: #ffffff;
  border-bottom: 1px solid var(--sp-border);
  padding: 36px 0;
}

.fnd-toc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 900px) {
  .fnd-toc-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
}

.fnd-toc-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 12px;
  padding: 16px;
  text-decoration: none;
  color: var(--sp-text);
  box-shadow: var(--sp-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.fnd-toc-item:hover {
  background: #ffffff;
  border-color: var(--sp-gold);
  transform: translateY(-3px);
  box-shadow: var(--sp-shadow-hover);
}

.fnd-toc-num {
  background: var(--sp-gold);
  color: var(--sp-blue-dark);
  font-weight: 900;
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

.fnd-toc-text {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--sp-blue-dark);
}

.fnd-toc-tag {
  display: block;
  font-size: 0.72rem;
  color: var(--sp-text-muted);
  font-weight: 500;
  margin-top: 3px;
}

/* ==========================================================================
   4. QUESTIONS & RÉPONSES (H3 & Textes alignés sur le site)
   ========================================================================== */
.fnd-interview-section {
  padding: 56px 0;
  background: #ffffff;
}

.fnd-q-card {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 28px;
  box-shadow: var(--sp-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  scroll-margin-top: 100px;
}

.fnd-q-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--sp-shadow-hover);
}

@media (max-width: 600px) {
  .fnd-q-card {
    padding: 22px 18px;
  }
}

.fnd-q-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.fnd-q-pill {
  background: var(--sp-blue-dark);
  color: var(--sp-gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.fnd-q-cat {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Titres H3 / H2 Canoniques d'interview (21px Desktop / Inter) */
.fnd-q-title,
.fnd-q-card h2,
.fnd-q-card h3 {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  color: var(--sp-blue-dark) !important;
  margin: 0 0 16px !important;
  line-height: 1.3 !important;
}

/* Encadré Citation Phare (identique à index.html quote-callout) */
.fnd-q-quote {
  background: var(--sp-bg-light);
  border-left: 4px solid var(--sp-gold);
  border-radius: 0 8px 8px 0;
  padding: 18px 24px;
  margin-bottom: 20px;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 18px !important;
  line-height: 1.6 !important;
  color: var(--sp-blue-dark);
  font-weight: 600;
}

.fnd-q-body {
  font-family: Inter, sans-serif;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: var(--sp-text-muted);
  max-width: 860px;
}

.fnd-q-body p {
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: var(--sp-text-muted);
  margin: 0 0 16px;
}

.fnd-q-body p:last-child {
  margin-bottom: 0;
}

/* Pliage / Dépliage ("... Voir plus") */
.fnd-q-expandable {
  max-height: 165px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fnd-q-expandable::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.98) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.fnd-q-card.is-expanded .fnd-q-expandable {
  max-height: 2500px;
}

.fnd-q-card.is-expanded .fnd-q-expandable::after {
  opacity: 0;
}

.fnd-toggle-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sp-bg-light);
  border: 1px solid var(--sp-border);
  color: var(--sp-blue-dark);
  font-size: 14px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 6px;
  margin-top: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fnd-toggle-read:hover {
  background: var(--sp-gold);
  border-color: var(--sp-gold);
  color: var(--sp-blue-dark);
}

.fnd-q-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--sp-border);
  display: flex;
  justify-content: flex-end;
}

.fnd-back-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--sp-blue-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.fnd-back-top:hover {
  color: var(--sp-gold-hover);
}

/* ==========================================================================
   5. PARUTIONS EXTERNES & BANNER CTA
   ========================================================================== */
.fnd-press-section {
  padding: 56px 0;
  background: var(--sp-bg-light);
  border-top: 1px solid var(--sp-border);
}

.fnd-press-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.fnd-press-card {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--sp-shadow);
  transition: all 0.2s ease;
}

.fnd-press-card:hover {
  border-color: var(--sp-gold);
  transform: translateY(-2px);
  box-shadow: var(--sp-shadow-hover);
}

.fnd-press-meta {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.fnd-press-card h3 {
  font-family: Inter, sans-serif !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  color: var(--sp-blue-dark) !important;
  margin: 0 0 12px !important;
  line-height: 1.3 !important;
}

.fnd-press-card p {
  font-family: Inter, sans-serif;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: var(--sp-text-muted);
  margin: 0 0 22px;
  flex-grow: 1;
}

.fnd-press-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--sp-blue-dark);
  text-decoration: none;
  border-bottom: 2px solid var(--sp-gold);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: all 0.2s ease;
}

.fnd-press-link:hover {
  color: var(--sp-gold-hover);
  border-color: var(--sp-blue-dark);
}

.fnd-cta-banner {
  background: linear-gradient(135deg, var(--sp-navy-darker) 0%, var(--sp-blue-dark) 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 40px;
  box-shadow: 0 20px 48px rgba(9, 35, 93, 0.15);
}

.fnd-cta-banner h3 {
  font-family: Inter, sans-serif !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  margin: 0 0 8px;
  color: #ffffff !important;
}

.fnd-cta-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.55;
  max-width: 600px;
}

.fnd-cta-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   6. RESPONSIVE BREAKPOINTS (Alignés sur index.html & recrutement-page.css)
   ========================================================================== */
@media (max-width: 1024px) {
  .rh-hero.fnd-hero {
    min-height: 380px;
  }
  .fnd-hero h1,
  .fnd-main-title {
    font-size: 38px !important;
  }
}

@media (max-width: 850px) {
  .rh-hero.fnd-hero {
    min-height: 340px;
  }
  .fnd-hero .rh-hero-inner {
    width: calc(100% - 28px);
    min-height: 340px;
  }
  .fnd-hero .rh-hero-copy {
    width: 100%;
    padding: 28px 0;
  }
  .fnd-hero h1,
  .fnd-main-title {
    font-size: 34px !important;
  }
  h2.center-title,
  h2.domain-title,
  .fnd-toc-title,
  .fnd-section-head h2 {
    font-size: 24px !important;
  }
  .fnd-press-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .fnd-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
}

@media (max-width: 520px) {
  .fnd-hero h1,
  .fnd-main-title {
    font-size: 30px !important;
  }
  .fnd-hero .hero-actions .btn,
  .fnd-cta-btns .btn {
    width: 100%;
  }
  .fnd-cta-btns {
    flex-direction: column;
    width: 100%;
  }
}
