/* Direction A — Éditorial juridique classique
   Liberté de Panorama 2026-05-09
   Override CSS variables Kadence + micro-typographie */

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

:root {
  --global-palette1: #0F2540;
  --global-palette2: #1A3658;
  --global-palette3: #0F2540;
  --global-palette4: #2A2A2A;
  --global-palette5: #4A5568;
  --global-palette6: #718096;
  --global-palette7: #F8F5EE;
  --global-palette8: #FBF9F4;
  --global-palette9: #FFFFFF;
  --global-palette-highlight: #C8A24B;
  --global-palette-highlight-alt: #B58E37;
  --global-palette-highlight-alt2: #E2C77E;
  --global-palette-btn: #FFFFFF;
  --global-palette-btn-bg: #0F2540;
  --global-palette-btn-hover: #0F2540;
  --global-palette-btn-bg-hover: #C8A24B;
  --global-palette-btn-sec: #0F2540;
  --global-palette-btn-sec-bg: transparent;
  --global-palette-btn-sec-hover: #FFFFFF;
  --global-palette-btn-sec-bg-hover: #0F2540;
  --global-heading-font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --global-body-font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Body */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #F8F5EE;
  color: #2A2A2A;
  font-feature-settings: 'liga', 'kern';
  -webkit-font-smoothing: antialiased;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.entry-title, .site-title,
.kt-adv-heading, .wp-block-kadence-advancedheading {
  font-family: 'Playfair Display', Georgia, serif !important;
  color: #0F2540 !important;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
h1, .entry-title { font-weight: 700; letter-spacing: -0.02em; }

/* Liens dans contenu */
.entry-content a:not(.button):not(.wp-block-button__link),
.entry-summary a:not(.button) {
  color: #0F2540;
  text-decoration: underline;
  text-decoration-color: #C8A24B;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}
.entry-content a:not(.button):not(.wp-block-button__link):hover {
  color: #C8A24B;
  text-decoration-color: #C8A24B;
  text-underline-offset: 5px;
}

/* Header sobre ivoire */
.site-header-wrap,
.site-header,
.site-header-row-layout-contained,
.site-main-header-wrap {
  background: #F8F5EE !important;
  border-bottom: 1px solid rgba(15, 37, 64, 0.12);
}
.site-header-wrap a, .site-branding .site-title {
  color: #0F2540;
}
.header-navigation a {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  font-weight: 500;
  text-transform: uppercase;
  color: #0F2540 !important;
  position: relative;
  transition: color 0.2s ease;
}
.header-navigation a:hover {
  color: #C8A24B !important;
}

/* Boutons éditoriaux */
.button, button, .wp-block-button__link, .wp-element-button,
input[type="button"], input[type="reset"], input[type="submit"] {
  background: #0F2540 !important;
  color: #FFFFFF !important;
  border-radius: 0 !important;
  padding: 0.85em 1.8em !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  border: 1px solid #0F2540 !important;
  transition: all 0.3s ease;
  box-shadow: none !important;
}
.button:hover, button:hover, .wp-block-button__link:hover, .wp-element-button:hover {
  background: #C8A24B !important;
  color: #0F2540 !important;
  border-color: #C8A24B !important;
  box-shadow: 0 4px 16px rgba(200, 162, 75, 0.25) !important;
}

/* Boutons outline */
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: #0F2540 !important;
  border: 1px solid #0F2540 !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: #0F2540 !important;
  color: #F8F5EE !important;
}

/* Cards articles loop */
.loop-entry, .post-loop-template article {
  background: #FFFFFF !important;
  border: 1px solid rgba(15, 37, 64, 0.12);
  border-radius: 0 !important;
  box-shadow: 0 1px 4px rgba(15, 37, 64, 0.06);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.loop-entry:hover {
  box-shadow: 0 12px 32px rgba(15, 37, 64, 0.14);
  transform: translateY(-3px);
  border-color: rgba(200, 162, 75, 0.35);
}
.loop-entry .entry-content-wrap, .loop-entry .entry-summary-wrap {
  padding: 1.6rem 1.8rem !important;
}
.loop-entry .entry-title, .loop-entry h2 {
  font-size: 1.35rem !important;
  margin-bottom: 0.6rem !important;
  line-height: 1.3;
}

/* Filet sous chaque H2 de section */
.lp-section-title::after,
.entry-content h2:not(:first-of-type)::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, #C8A24B, rgba(200, 162, 75, 0.2));
  margin-top: 0.8rem;
}

/* Filet avant H2 corps article */
.entry-content h2 {
  margin-top: 2.5em !important;
  padding-top: 0.4em;
  position: relative;
}

/* Hero/featured headers */
.entry-hero-container-inner {
  background: linear-gradient(180deg, #F8F5EE 0%, #FBF9F4 100%) !important;
  border-bottom: 1px solid rgba(200, 162, 75, 0.3);
}

/* Citations / blockquote */
blockquote, .wp-block-quote, .entry-content blockquote {
  border-left: 3px solid #C8A24B !important;
  background: #FBF9F4 !important;
  padding: 1.6rem 2rem !important;
  font-style: italic;
  color: #0F2540 !important;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 2rem 0 !important;
  position: relative;
}
blockquote cite, .wp-block-quote cite {
  font-style: normal;
  color: #718096 !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.8rem;
}

/* Footer noble */
.site-footer-wrap, .site-footer, .site-footer-row-layout-contained,
.site-bottom-footer-wrap, .site-top-footer-wrap, .site-middle-footer-wrap {
  background: #0F2540 !important;
  color: #F8F5EE !important;
}
.site-footer-wrap *, .site-footer *, .site-bottom-footer-wrap *,
.site-top-footer-wrap *, .site-middle-footer-wrap * {
  color: #F8F5EE !important;
}
.site-footer-wrap a, .site-footer a {
  color: #C8A24B !important;
  transition: color 0.2s ease;
}
.site-footer-wrap a:hover {
  color: #FFFFFF !important;
}

/* Meta articles */
.entry-meta, .post-meta, .entry-content time, .entry-author, .entry-date,
.entry-categories-style-normal a {
  color: #718096 !important;
  font-size: 0.85rem !important;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Categories badges */
.entry-categories a, .entry-tags a {
  display: inline-block;
  padding: 0.35em 1em;
  background: rgba(15, 37, 64, 0.08) !important;
  color: #0F2540 !important;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 0;
  margin-right: 0.5em;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.entry-categories a:hover, .entry-tags a:hover {
  background: #C8A24B !important;
  color: #FFFFFF !important;
}

/* Forms */
input[type="text"], input[type="email"], input[type="url"],
input[type="search"], input[type="tel"], textarea {
  border: 1px solid rgba(15, 37, 64, 0.25) !important;
  background: #FBF9F4 !important;
  border-radius: 0 !important;
  font-family: 'Inter', sans-serif;
  padding: 0.7em 0.9em !important;
}
input[type="text"]:focus, input[type="email"]:focus,
input[type="search"]:focus, textarea:focus {
  border-color: #C8A24B !important;
  background: #FFFFFF !important;
  box-shadow: 0 0 0 3px rgba(200, 162, 75, 0.15) !important;
}

/* Tableaux */
table {
  border-collapse: collapse;
  border: 1px solid rgba(200, 162, 75, 0.3);
}
table thead th, table th:first-child {
  background: #0F2540 !important;
  color: #F8F5EE !important;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.9rem 1rem !important;
  border: 1px solid #0F2540;
}
table td {
  border: 1px solid rgba(200, 162, 75, 0.25);
  padding: 0.75rem 1rem !important;
}
table tr:nth-child(even) td { background: #FBF9F4; }

/* Author box (page article) */
.entry-author-style-normal, .author-box, .author-bio {
  background: #FBF9F4 !important;
  border-left: 3px solid #C8A24B !important;
  border-radius: 0 !important;
  padding: 1.5rem 1.8rem !important;
}

/* Pagination */
.pagination a, .pagination span, .nav-links a, .nav-links span {
  color: #0F2540 !important;
  border: 1px solid rgba(15, 37, 64, 0.25) !important;
  border-radius: 0 !important;
  padding: 0.55em 1em !important;
  background: transparent !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.pagination .current, .pagination a:hover, .nav-links .current, .nav-links a:hover {
  background: #0F2540 !important;
  color: #F8F5EE !important;
  border-color: #0F2540 !important;
}

/* Kadence Table of Contents */
.kb-table-of-content-wrap {
  background: #FBF9F4 !important;
  border: 0 !important;
  border-left: 3px solid #C8A24B !important;
  border-radius: 0 !important;
  padding: 1.4rem 1.6rem !important;
}
.kb-table-of-content-wrap .kb-table-of-contents-title {
  font-family: 'Playfair Display', serif !important;
  color: #0F2540 !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}
.kb-table-of-content-wrap .kb-table-of-content-list a {
  color: #0F2540 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}
.kb-table-of-content-wrap .kb-table-of-content-list a:hover {
  color: #C8A24B !important;
}

/* FAQ Kadence accordéons */
.kb-accordion-wrap .kb-accordion-header,
details.kt-accordion-pane summary,
.wp-block-details summary {
  background: #FBF9F4 !important;
  color: #0F2540 !important;
  border-left: 3px solid #C8A24B !important;
  font-family: 'Playfair Display', serif !important;
  font-weight: 500 !important;
  padding: 1rem 1.4rem !important;
  border-radius: 0 !important;
  cursor: pointer;
  transition: background 0.2s ease;
}
.kb-accordion-wrap .kb-accordion-header:hover,
details.kt-accordion-pane summary:hover {
  background: #F8F5EE !important;
}

/* Image hover sépia subtil */
.loop-entry img, .entry-content figure img {
  transition: filter 0.4s ease, transform 0.5s ease;
}
.loop-entry:hover img {
  filter: sepia(0.12) saturate(1.05) brightness(1.02);
}

/* Featured image article */
.entry-hero .entry-hero-container-inner .post-thumbnail img,
.single .featured-image img {
  filter: sepia(0.08) saturate(1.05);
}

/* Search */
.search-form input[type="search"] {
  background: #FBF9F4 !important;
}

/* Scroll up button */
#kt-scroll-up {
  background: #0F2540 !important;
  color: #F8F5EE !important;
  border-radius: 0 !important;
}
#kt-scroll-up:hover {
  background: #C8A24B !important;
  color: #0F2540 !important;
}

/* Selection */
::selection { background: rgba(200, 162, 75, 0.35); color: #0F2540; }
::-moz-selection { background: rgba(200, 162, 75, 0.35); color: #0F2540; }

/* Petit accent typographique pour overlines (catégories au-dessus des H2) */
.entry-categories-style-normal {
  font-size: 0.78rem !important;
  letter-spacing: 0.1em !important;
}

/* Hide focus outline only sur les éléments avec :focus-visible support */
:focus-visible { outline: 2px solid #C8A24B; outline-offset: 2px; }

/* Subtitle / lede paragraphe d'intro (premier <p> après h1) */
.entry-content > .wp-block-paragraph:first-of-type,
.entry-content > p:first-of-type {
  font-size: 1.18rem;
  color: #2A2A2A;
  line-height: 1.65;
  font-weight: 400;
}

/* Site header sticky transition */
.kadence-sticky-header.item-is-fixed {
  background: rgba(248, 245, 238, 0.96) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200, 162, 75, 0.3);
}

/* Entry hero title sur articles */
.entry-hero .entry-title, .single .entry-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.8rem) !important;
  line-height: 1.18;
  font-weight: 700;
  color: #0F2540 !important;
}
