/* ============================================================
   TANIA GOMBERT · Article editorial v4.0 (28/05/2026)
   Migré depuis automation/templates/article-styles.css
   Charte Anita Marquèze 2024 · CSS variables tokens
   ============================================================ */

/* === Eyebrow (categorie + date + lecture) === */
.tg-article-eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-family: var(--tg-font-sans);
  font-size: 0.74rem;
  letter-spacing: var(--tg-tracking-eyebrow);
  text-transform: uppercase;
  color: var(--tg-marine);
  margin: 0 0 1.6rem;
  font-weight: 600;
}
.tg-article-eyebrow .tg-pillar { color: var(--tg-rouge); font-weight: 700; }
.tg-article-eyebrow .tg-dot    { color: var(--tg-rouge); font-weight: 700; opacity: 0.6; }
.tg-article-eyebrow .tg-meta   { color: var(--tg-marine); opacity: 0.7; }

/* === Chapeau (intro sur fond bleu nuit, Section 2 Elementor) === */
.tg-chapeau p {
  font-family: var(--tg-font-sans);
  font-size: 1.22rem;
  line-height: 1.7;
  color: var(--tg-creme) !important;
  margin: 0;
  font-weight: 400;
}
.tg-chapeau p::first-letter {
  font-family: var(--tg-font-serif);
  font-size: 4.6em;
  font-weight: 400;
  float: left;
  line-height: 0.85;
  margin: 0.12em 0.16em -0.05em 0;
  color: var(--tg-rouge) !important;
  letter-spacing: -0.02em;
}
.tg-chapeau p strong { color: var(--tg-creme) !important; background-image: none !important; }
.tg-chapeau p a {
  color: var(--tg-creme) !important;
  border-bottom: 1px solid rgba(172, 12, 46, 0.7);
}
.tg-chapeau p a:hover { border-bottom-color: var(--tg-rouge); }
.tg-chapeau, .tg-chapeau * { color: var(--tg-creme); }

/* === Share bar (Section 2 fond bleu nuit) === */
.tg-share-bar {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(250, 243, 232, 0.18);
}
.tg-share-bar .tg-share-label {
  display: block;
  font-family: var(--tg-font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: var(--tg-tracking-eyebrow);
  text-transform: uppercase;
  color: var(--tg-creme) !important;
  opacity: 0.7;
  margin-bottom: 0.85rem;
}
.tg-share-bar .tg-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.tg-share-bar .tg-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  background: transparent;
  color: var(--tg-creme) !important;
  font-family: var(--tg-font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 1px solid rgba(250, 243, 232, 0.35);
  cursor: pointer;
  transition: all 0.2s ease;
}
.tg-share-bar .tg-share-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  stroke: currentColor;
  flex-shrink: 0;
}
.tg-share-bar .tg-share-btn:hover {
  background: var(--tg-rouge);
  color: var(--tg-creme) !important;
  border-color: var(--tg-rouge);
  transform: translateY(-1px);
}
.tg-share-bar .tg-share-copy {
  background: var(--tg-rouge);
  border-color: var(--tg-rouge);
}
.tg-share-bar .tg-share-copy:hover {
  background: var(--tg-rouge-dark);
  border-color: var(--tg-rouge-dark);
}

/* === Corps article — strong highlight rouge passion === */
.tg-body strong,
.tg-section-body .elementor-widget-text-editor strong {
  font-weight: 700;
  background-image: linear-gradient(to top,
    rgba(172, 12, 46, 0.18) 0%,
    rgba(172, 12, 46, 0.18) 32%,
    transparent 32%);
  padding: 0 2px;
  margin: 0 -2px;
  color: var(--tg-marine);
}

/* === H2 corps : Gloock + filet rouge passion === */
.tg-body h2,
.tg-section-body .elementor-widget-heading h2 {
  font-family: var(--tg-font-serif) !important;
  font-size: 1.95rem !important;
  font-weight: 400 !important;
  color: var(--tg-marine) !important;
  margin: 3.8rem 0 1.4rem !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
  position: relative;
}
.tg-body h2::before,
.tg-section-body .elementor-widget-heading h2::before {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--tg-rouge);
  margin-bottom: 1.5rem;
}

/* === Paragraphes corps === */
.tg-body p,
.tg-section-body .elementor-widget-text-editor p {
  font-family: var(--tg-font-sans);
  font-size: 1.06rem;
  line-height: var(--tg-lh-body);
  color: var(--tg-marine);
  margin: 0 0 1.3rem;
}
.tg-body a,
.tg-section-body .elementor-widget-text-editor a {
  color: var(--tg-rouge);
  text-decoration: none;
  border-bottom: 1px solid rgba(172, 12, 46, 0.35);
  transition: border-color 0.2s ease;
}
.tg-body a:hover { border-bottom-color: var(--tg-rouge); }

/* === Citation testimonial Tania === */
.tg-citation {
  position: relative;
  margin: 4rem auto 3.5rem;
  padding: 2.75rem 2.5rem 2rem 4.75rem;
  max-width: 780px;
  background: var(--tg-creme);
  border-left: 4px solid var(--tg-rouge);
  box-shadow: 0 1px 0 rgba(7, 7, 56, 0.06);
}
.tg-citation::before {
  content: '\201C';
  position: absolute;
  top: -0.05em;
  left: 0.7rem;
  font-family: var(--tg-font-serif);
  font-size: 7rem;
  color: var(--tg-rouge);
  line-height: 1;
  font-weight: 400;
  opacity: 0.9;
}
.tg-citation .tg-citation-text {
  font-family: var(--tg-font-sans);
  font-style: italic;
  font-size: 1.42rem;
  line-height: 1.55;
  color: var(--tg-marine);
  margin: 0 0 1.1rem;
  font-weight: 500;
}
.tg-citation .tg-citation-author {
  display: block;
  font-style: normal;
  font-variant: small-caps;
  letter-spacing: var(--tg-tracking-eyebrow);
  color: var(--tg-rouge);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: right;
  font-family: var(--tg-font-sans);
  text-transform: uppercase;
}
.tg-citation .tg-citation-author::before { content: '— '; color: var(--tg-rouge); opacity: 0.5; }

/* === Bloc CTA Collaborons / Prenons contact === */
.tg-cta-block {
  background: var(--tg-creme);
  border: 1px solid var(--tg-taupe);
  border-left: 4px solid var(--tg-rouge);
  padding: 2rem 2.2rem 1.85rem;
  margin: 3.2rem 0 2.8rem;
}
.tg-cta-block .tg-cta-prompt {
  font-family: var(--tg-font-serif);
  font-size: 1.22rem;
  font-weight: 400;
  color: var(--tg-marine);
  margin: 0 0 1.2rem;
  line-height: 1.38;
  letter-spacing: -0.01em;
}
.tg-cta-block .tg-cta-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
}
.tg-cta-block .tg-cta-btn {
  display: inline-block;
  padding: 0.85rem 1.65rem;
  background: var(--tg-rouge);
  color: var(--tg-creme) !important;
  font-family: var(--tg-font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 2px solid var(--tg-rouge);
  transition: all 0.22s ease;
}
.tg-cta-block .tg-cta-btn:hover {
  background: var(--tg-rouge-dark);
  border-color: var(--tg-rouge-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(172, 12, 46, 0.28);
}
.tg-cta-block .tg-cta-btn-secondary {
  background: transparent;
  color: var(--tg-rouge) !important;
}
.tg-cta-block .tg-cta-btn-secondary:hover {
  background: var(--tg-marine);
  border-color: var(--tg-marine);
  color: var(--tg-creme) !important;
}

/* === Phrase Et si... finale === */
.tg-et-si {
  margin: 3.2rem auto 2.8rem;
  padding: 2.4rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--tg-rouge);
  border-bottom: 1px solid var(--tg-rouge);
  position: relative;
  max-width: 760px;
}
.tg-et-si::before {
  content: '·';
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 0 0.9rem;
  color: var(--tg-rouge);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}
.tg-et-si p {
  font-family: var(--tg-font-accent);
  font-size: 1.85rem;
  line-height: 1.4;
  color: var(--tg-marine);
  margin: 0 auto;
  max-width: 640px;
}

/* === Hashtags discrets === */
.tg-hashtags {
  text-align: center;
  margin: 2.2rem auto 1rem;
  color: var(--tg-marine);
  opacity: 0.55;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  font-family: var(--tg-font-sans);
}

/* === Signature finale #JusteTania === */
.tg-signature-block {
  text-align: center;
  margin: 1.8rem 0 2.2rem;
  font-family: var(--tg-font-accent);
  color: var(--tg-rouge);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}
.tg-signature-block::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--tg-rouge);
  margin: 0 auto 1rem;
  opacity: 0.5;
}

/* === Mobile === */
@media (max-width: 768px) {
  .tg-body h2,
  .tg-section-body .elementor-widget-heading h2 {
    font-size: 1.55rem !important;
    margin: 2.8rem 0 1.1rem !important;
  }
  .tg-chapeau p { font-size: 1.08rem; line-height: 1.65; }
  .tg-chapeau p::first-letter { font-size: 3.7em; }
  .tg-citation {
    padding: 1.9rem 1.5rem 1.4rem 3rem;
    margin: 2.8rem auto 2.2rem;
  }
  .tg-citation::before { font-size: 5rem; left: 0.4rem; }
  .tg-citation .tg-citation-text { font-size: 1.18rem; }
  .tg-et-si {
    padding: 1.85rem 1rem;
    margin: 2.8rem auto 2.2rem;
  }
  .tg-et-si p { font-size: 1.5rem; }
  .tg-cta-block { padding: 1.5rem 1.5rem 1.4rem; }
  .tg-cta-block .tg-cta-prompt { font-size: 1.1rem; }
  .tg-cta-block .tg-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .tg-cta-block .tg-cta-btn { text-align: center; }
  .tg-article-eyebrow {
    font-size: 0.68rem;
    gap: 0.55rem;
    letter-spacing: 0.16em;
  }
  .tg-signature-block { font-size: 1.3rem; }
}
