/* ============================
   BEAUJOL'IA — actu.css
   Styles dédiés au blog /actu/
   Hérite des variables de ../style.css (importé en amont)
   ============================ */

/* ============================
   NAV BLOG — simple, dédiée
   ============================ */

.actu-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,243,239,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--beige-mid);
  padding: 0 2rem;
}

.actu-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.actu-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.actu-nav-brand img {
  height: 52px;
  width: auto;
}

.actu-nav-brand .actu-nav-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--encre);
  letter-spacing: 0.01em;
}

.actu-nav-brand .actu-nav-title em {
  font-style: italic;
  color: var(--terracotta);
}

.actu-nav-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.actu-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: var(--radius);
  border: 1.5px solid var(--beige-mid);
  background: transparent;
  color: var(--encre);
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.actu-nav-btn:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.actu-nav-btn--primary {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--blanc);
}

.actu-nav-btn--primary:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  color: var(--blanc);
  transform: translateY(-1px);
}

/* ============================
   HERO BLOG
   ============================ */

.actu-hero {
  position: relative;
  background: var(--beige);
  padding: 4.5rem 2rem 3.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--beige-mid);
}

.actu-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -10%;
  width: 1px;
  height: 140%;
  background: linear-gradient(180deg, transparent, var(--ocre) 15%, var(--ocre) 85%, transparent);
  opacity: 0.35;
  transform: rotate(8deg);
}

.actu-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193,105,79,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.actu-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.actu-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--encre);
  margin-bottom: 1rem;
  max-width: 700px;
}

.actu-hero h1 em {
  font-style: italic;
  color: var(--terracotta);
}

.actu-hero p {
  font-size: 1.05rem;
  color: var(--gris);
  max-width: 540px;
  line-height: 1.75;
}

/* ============================
   LAYOUT — CONTENU + SIDEBAR
   ============================ */

.actu-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 980px) {
  .actu-main {
    grid-template-columns: 1fr;
  }
}

.actu-content {
  min-width: 0;
}

/* ============================
   GRILLE ARTICLES
   ============================ */

.actu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 1200px) and (min-width: 981px) {
  .actu-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .actu-grid { grid-template-columns: 1fr; }
}

.actu-grid--single {
  grid-template-columns: 1fr !important;
  max-width: 460px;
}

.actu-card {
  display: flex;
  flex-direction: column;
  background: var(--blanc);
  border: 1px solid var(--beige-mid);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.actu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.actu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--terracotta);
}

.actu-card:hover::before {
  transform: scaleX(1);
}

.actu-card-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}

.actu-card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--encre);
  margin-bottom: 0.6rem;
}

.actu-card h2 em {
  font-style: italic;
  color: var(--terracotta);
}

.actu-card p {
  font-size: 14px;
  color: var(--gris);
  line-height: 1.7;
  flex-grow: 1;
}

.actu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--beige-mid);
}

.actu-card-date {
  font-size: 12px;
  color: var(--gris-light);
}

.actu-card-read {
  font-size: 12px;
  font-weight: 500;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ============================
   ÉTATS — chargement / vide
   ============================ */

.actu-empty,
.actu-loading {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--gris);
  font-size: 14px;
  grid-column: 1 / -1;
}

/* ============================
   SIDEBAR
   ============================ */

.actu-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 96px;
}

@media (max-width: 980px) {
  .actu-sidebar {
    position: static;
    margin-top: 3rem;
  }
}

.actu-widget {
  background: var(--blanc);
  border: 1px solid var(--beige-mid);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.actu-widget-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.9rem;
}

/* CTA widgets (Services / Contact) */
.actu-cta-widget {
  background: var(--encre);
  border: none;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}

.actu-cta-widget::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193,105,79,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.actu-cta-widget .actu-widget-title {
  color: var(--terracotta);
}

.actu-cta-widget h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blanc);
  line-height: 1.3;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.actu-cta-widget h3 em {
  font-style: italic;
  color: var(--terracotta);
}

.actu-cta-widget p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.actu-cta-widget .btn {
  width: 100%;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.actu-btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.18);
  color: var(--blanc);
}

.actu-btn-ghost:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  transform: translateY(-2px);
}

/* Liste des services */
.actu-services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.actu-services-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--beige-mid);
  text-decoration: none;
  color: var(--encre-soft);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition), padding-left var(--transition);
}

.actu-services-list a:last-child {
  border-bottom: none;
}

.actu-services-list a:hover {
  color: var(--terracotta);
  padding-left: 4px;
}

.actu-services-list a span.arrow {
  color: var(--terracotta);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity var(--transition);
}

.actu-services-list a:hover span.arrow {
  opacity: 1;
}

/* Mot de Florent — version sidebar compacte */
.actu-mot-florent {
  background: var(--beige-mid);
  border-left: 3px solid var(--terracotta);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem;
}

.actu-mot-florent .actu-widget-title {
  margin-bottom: 0.75rem;
}

.actu-mot-florent blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--encre-soft);
  margin-bottom: 1rem;
}

.actu-mot-florent-sig {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.actu-mot-florent .fd-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.actu-mot-florent-sig div {
  font-size: 12px;
  color: var(--gris);
  line-height: 1.5;
}

.actu-mot-florent-sig strong {
  color: var(--encre);
  display: block;
  font-size: 13px;
}

/* ============================
   FOOTER BLOG — minimal
   ============================ */

.actu-footer {
  border-top: 1px solid var(--beige-mid);
  padding: 2.5rem 2rem;
  text-align: center;
}

.actu-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.actu-footer img {
  height: 32px;
  opacity: 0.6;
}

.actu-footer p {
  font-size: 12px;
  color: var(--gris-light);
}

.actu-footer a {
  color: var(--gris);
  text-decoration: underline;
  text-decoration-color: var(--beige-mid);
}

.actu-footer a:hover {
  color: var(--terracotta);
}

/* ============================================================
   ARTICLE — layout magazine, colonne de lecture centrée
   ============================================================ */

.article-hero {
  background: var(--encre);
  padding: 4rem 2rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.article-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193,105,79,0.10) 0%, transparent 65%);
  pointer-events: none;
}

.article-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.article-meta a {
  font-size: 13px;
  color: var(--terracotta);
  text-decoration: none;
  font-weight: 500;
}

.article-meta a:hover {
  text-decoration: underline;
}

.article-date {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.article-hero .section-tag {
  color: var(--terracotta);
}

.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--blanc);
  margin-bottom: 0.75rem;
}

.article-hero h1 em {
  font-style: italic;
  color: var(--terracotta);
}

.article-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.article-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.article-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 5px 12px;
  border-radius: 20px;
}

.article-badge span.dot {
  color: var(--terracotta);
}

/* En bref / Speakable */
.en-bref {
  background: rgba(255,255,255,0.05);
  border-left: 3px solid var(--terracotta);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
}

.en-bref-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.6rem;
}

.en-bref p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin: 0;
}

/* Corps de l'article — colonne de lecture */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
}

.article-body section {
  padding: 0;
  margin-bottom: 3.5rem;
}

.article-body section:last-child {
  margin-bottom: 0;
}

.article-body .section-tag {
  display: block;
}

.article-body .section-title {
  margin-bottom: 1.25rem;
}

.article-body .section-body {
  max-width: none;
  font-size: 1.02rem;
  color: var(--encre-soft);
  margin-bottom: 1.25rem;
}

.article-body .section-body:last-child {
  margin-bottom: 0;
}

.article-body .section-body strong {
  color: var(--encre);
  font-weight: 600;
}

/* KPI — grille 2x2 dans la colonne de lecture */
.article-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--beige-mid);
  border: 1px solid var(--beige-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 1.75rem 0;
}

.article-kpi {
  background: var(--blanc);
  padding: 1.5rem;
}

.article-kpi-val {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
}

.article-kpi-lbl {
  font-size: 13px;
  color: var(--encre-soft);
  margin-top: 0.5rem;
  line-height: 1.5;
}

.article-kpi-src {
  font-size: 10px;
  color: var(--gris-light);
  margin-top: 0.5rem;
  font-style: italic;
}

@media (max-width: 560px) {
  .article-kpi-grid { grid-template-columns: 1fr; }
}

.article-note {
  font-size: 12px;
  color: var(--gris-light);
  font-style: italic;
  margin-top: -0.5rem;
}

/* Avant / Après — empilé dans la colonne */
.avap-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.avap-col {
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--beige-mid);
}

.avap-col--before { background: var(--blanc); }
.avap-col--after { background: var(--encre); }

.avap-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 1.1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.avap-header--before { color: var(--encre); }
.avap-header--after { color: var(--blanc); border-bottom-color: rgba(255,255,255,0.1); }

.avap-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.avap-dot--before { background: var(--gris-light); }
.avap-dot--after { background: var(--terracotta); }

.avap-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 0.55rem 0;
  font-size: 14px;
  line-height: 1.6;
}

.avap-col--before .avap-item { color: var(--encre-soft); }
.avap-col--after .avap-item { color: rgba(255,255,255,0.75); }

.avap-icon { flex-shrink: 0; font-weight: 700; }
.avap-col--before .avap-icon { color: var(--gris-light); }
.avap-col--after .avap-icon { color: var(--terracotta); }

.avap-result {
  margin-top: 1.1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.6;
}

.avap-result--before {
  background: rgba(193,105,79,0.08);
  border-left: 2px solid rgba(193,105,79,0.3);
  color: var(--gris);
}

.avap-result--after {
  background: rgba(255,255,255,0.06);
  border-left: 2px solid var(--terracotta);
  color: rgba(255,255,255,0.8);
}

/* Citation client-type */
.article-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--encre);
  background: var(--beige-mid);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  margin: 1.75rem 0;
}

/* CTA mi-article */
.article-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: var(--encre);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin: 2.5rem 0 0;
  flex-wrap: wrap;
}

.article-cta-step {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.4rem;
}

.article-cta h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--blanc);
  margin-bottom: 0.35rem;
}

.article-cta p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

.article-cta .btn {
  flex-shrink: 0;
}

/* Mot de Florent — version article, mordant */
.article-florent {
  background: var(--encre);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  position: relative;
  overflow: hidden;
}

.article-florent::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193,105,79,0.16) 0%, transparent 70%);
  pointer-events: none;
}

.article-florent-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.article-florent blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.article-florent-sig {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.article-florent .fd-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.article-florent-sig div {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.article-florent-sig strong {
  color: var(--blanc);
  display: block;
  font-size: 14px;
}

/* FAQ */
.article-faq-list {
  display: flex;
  flex-direction: column;
}

.article-faq-item {
  border-bottom: 1px solid var(--beige-mid);
}

.article-faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.1rem 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--encre);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.article-faq-icon {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--terracotta);
  transition: transform 0.2s ease;
}

.article-faq-q[aria-expanded="true"] .article-faq-icon { transform: rotate(45deg); }

.article-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.article-faq-a.open { max-height: 400px; }

.article-faq-a p {
  padding-bottom: 1.1rem;
  font-size: 14px;
  line-height: 1.75;
  color: var(--encre-soft);
}

/* CTA final */
.article-final-cta {
  text-align: center;
  padding: 0.5rem 0 0;
}

.article-final-cta .section-title,
.article-final-cta .section-body {
  max-width: none;
}

.article-final-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* Sources */
.article-refs {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--beige-mid);
}

.article-refs-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 0.75rem;
}

.article-refs-list {
  font-size: 12px;
  color: var(--gris);
  line-height: 1.8;
  padding-left: 1.1rem;
}

.article-refs-list li { margin-bottom: 0.35rem; }
