/*
@charset "UTF-8";
	Theme Name: starter
	Theme URI: https://nature-digitale.fr
	Description: Starter Theme - Nature Digitale
	Author: Nature Digitale - Agence Web Eco Responsable
	Author URI: https://nature-digitale.fr
	Version: 1.0.0
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: nature-digitale
*/

/* ── Polices auto-hébergées (variables, latin) ─────────────────
   Sous-ensembles générés avec fonttools : jeu de caractères réduit au
   français, axes variables restreints aux plages réellement utilisées.
   DM Sans : axe `opsz` figé à 16 (le thème ne l'exploite pas ; la police
   ne sert que le texte courant entre 14 et 20 px).
   Les originaux complets sont conservés dans assets/fonts/_originaux/.
   Le `?v=2` invalide le cache navigateur des anciens fichiers.
   ─────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('assets/fonts/playfair-display-latin.woff2?v=2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/playfair-display-latin-italic.woff2?v=2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('assets/fonts/dm-sans-latin.woff2?v=2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url('assets/fonts/dm-sans-latin-italic.woff2?v=2') format('woff2');
}

/* ── Variables ────────────────────────────────────────────── */
:root {
  /* Charte PAM Services */
  --gold: #c9a84c;
  --gold-light: #e2cb7d;
  --gold-dark: #a08030;
  --gold-gradient: linear-gradient(135deg, #e2cb7d 0%, #c9a84c 40%, #a08030 100%);
  --dark: #0f1117;
  --dark-mid: #1a1d27;
  --dark-card: #22252f;
  --cream: #faf7f0;
  --cream-dark: #f0ede5;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;

  --font-body: var(--sans);
  --font-heading: var(--serif);

  --color-text: #2c2c35;
  --color-text-light: #6b6b78;
  --color-bg: #faf7f0;
  --color-bg-alt: #f0ede5;
  --color-border: #e5e0d5;
  --color-link: #a08030;
  --color-link-hover: #c9a84c;

  --container-width: 1200px;
  --container-padding: 0 24px;

  --header-height: 72px;
  --section-padding: 80px 0;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius: 12px;

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --z-header: 100;
  --z-mobile-menu: 150;
  --z-overlay: 140;
}

/* ── Reset ────────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Décalage d'ancrage posé sur les CIBLES (sections, titres avec id).
   Respecté par le saut natif ET scrollIntoView. Sensible à body.admin-bar
   (contrairement à scroll-padding-top sur html qui ne voit pas la classe body). */
.site-main [id] {
  scroll-margin-top: calc(var(--header-height) + 170px);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-link-hover);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.site-main {
  flex: 1;
  padding-top: var(--header-height);
}

/* ── Container ────────────────────────────────────────────── */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ── Bouton de base ───────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: var(--color-text);
  color: var(--color-bg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: opacity var(--transition-fast);
  text-align: center;
}

.btn-primary:hover {
  opacity: 0.85;
  color: var(--color-bg);
}

/* ── Admin bar ────────────────────────────────────────────── */
.admin-bar .site-header {
  top: 32px;
}

.admin-bar .mobile-menu {
  padding-top: calc(var(--header-height) + 52px);
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
  .admin-bar .mobile-menu {
    padding-top: calc(var(--header-height) + 66px);
  }
}

/* ══════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--color-bg);
  z-index: var(--z-header);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo img {
  max-width: 110px;
  height: auto;
  transition: max-width var(--transition-base);
}
/* Logo légèrement réduit au scroll */
.site-header.scrolled .header-logo img {
  max-width: 80px;
}

/* Navigation */
.header-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.header-nav li {
  list-style: none;
}

.header-nav a {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text);
  padding: 4px 0;
}

.header-nav a:hover,
.header-nav .current-menu-item > a {
  color: var(--color-link);
}

/* CTA Header */
.header-cta {
  padding: 8px 20px;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ── Hamburger ────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  z-index: calc(var(--z-mobile-menu) + 10);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile menu ──────────────────────────────────────────── */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: var(--z-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: var(--color-bg);
  z-index: var(--z-mobile-menu);
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-height) + 20px) 24px 24px;
  gap: 0;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  border-left: 1px solid var(--color-border);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu li {
  list-style: none;
}

.mobile-menu li a {
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 0;
  display: block;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.mobile-menu li a:hover {
  color: var(--color-link);
}

.mobile-cta {
  margin-top: 20px;
  text-align: center;
}

/* ── Responsive header ────────────────────────────────────── */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .header-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--color-bg-alt);
  padding: 48px 0 24px;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo a {
  display: inline-block;
}

.footer-logo img {
  margin: 0 auto;
  max-width: 120px;
  height: auto;
  width: auto;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast);
}

.footer-social-link img {
  width: 24px;
  height: 24px;
}

.footer-social-link:hover {
  opacity: 0.7;
}

.footer-links {
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.footer-links a {
  color: var(--color-text-light);
}

.footer-links a:hover {
  color: var(--color-link);
}

.footer-sep {
  margin: 0 10px;
  opacity: 0.4;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.footer-credit {
  margin-top: 4px;
}

.footer-credit a {
  color: var(--color-link);
}

/* Footer pill eco */
.footer-pill {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.footer-pill .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 50px;
  padding: 4px 12px 4px 4px;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.footer-pill .pill:hover {
  opacity: 0.85;
}

.footer-pill .pill .note {
  border-radius: 50px;
  padding: 4px 10px;
  font-weight: 700;
  font-size: 0.8rem;
}

.footer-pill .pill .carbon p {
  font-size: 0.75rem;
  font-weight: 600;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-height));
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 40px 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #fff;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn-primary {
  background: #fff;
  color: var(--color-text);
}

.hero .btn-primary:hover {
  opacity: 0.9;
  color: var(--color-text);
}

/* Hero Small */
.hero--small {
  min-height: 280px;
  max-height: 280px;
}

.hero--small .hero-title {
  font-size: 2.25rem;
  margin-bottom: 0;
}

/* ══════════════════════════════════════════════════════════════
   PAGE CONTENT (layout content for legal pages, etc.)
   ══════════════════════════════════════════════════════════════ */
.section {
  padding: var(--section-padding);
}

.layout-content {
  padding: 48px 0 64px;
}

.layout-content__body {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.layout-content__body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 12px;
}

.layout-content__body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 28px 0 8px;
}

.layout-content__body p {
  margin-bottom: 16px;
}

.layout-content__body ul,
.layout-content__body ol {
  margin: 0 0 16px 24px;
}

.layout-content__body ul {
  list-style: disc;
}

.layout-content__body ol {
  list-style: decimal;
}

.layout-content__body a {
  color: var(--color-link);
  text-decoration: underline;
}

.layout-content__body a:hover {
  color: var(--color-link-hover);
}

/* ══════════════════════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════════════════════ */
.cta-section {
  padding: var(--section-padding);
  text-align: center;
}

.cta-section .container {
  max-width: 720px;
}

.cta-section__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--color-text);
}

.cta-section__text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .cta-section__title {
    font-size: 1.5rem;
  }

  .cta-section__text {
    font-size: 1rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   HELPERS
   ══════════════════════════════════════════════════════════════ */
.section-normal {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section-normal--padding-normal {
  padding-top: 40px;
  padding-bottom: 40px;
}

.pa-top-2 {
  padding-top: 40px;
}

/* ══════════════════════════════════════════════════════════════
   CATEGORIES LINKS (shared archive + single)
   ══════════════════════════════════════════════════════════════ */
.categories-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.categories-links .btn {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  background: var(--color-bg);
  transition: all var(--transition-fast);
}

.categories-links .btn:hover,
.categories-links .btn.active {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}

/* ══════════════════════════════════════════════════════════════
   SINGLE ARTICLE
   ══════════════════════════════════════════════════════════════ */

/* Header content (single article) */
.header-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 40px 24px 0;
}

.post-informations {
  margin-bottom: 24px;
}

.post-informations .title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--color-text);
}

.post-details-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.post-details-wrapper span {
  display: inline-flex;
  align-items: center;
}

/* Post thumbnail */
.post-thumbnail {
  position: relative;
  margin-bottom: 32px;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
  max-height: 480px;
}

.post-thumbnail .categories-links {
  position: absolute;
  bottom: 12px;
  left: 12px;
  margin-bottom: 0;
}

.post-thumbnail .categories-links .btn {
  background: var(--color-bg);
  border-color: var(--color-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Article content */
.section-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 48px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.single .page-content > h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 12px;
}

.single .page-content > h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 28px 0 8px;
}

.single .page-content > p {
  margin-bottom: 16px;
}

.single .page-content > ul,
.single .page-content > ol {
  margin: 0 0 16px 24px;
}

.single .page-content > ul {
  list-style: disc;
}

.single .page-content > ol {
  list-style: decimal;
}

.single .page-content > a {
  color: var(--color-link);
  text-decoration: underline;
}

.single .page-content > a:hover {
  color: var(--color-link-hover);
}

.single .page-content > img {
  border-radius: var(--radius-md);
  margin: 24px 0;
}

.single .page-content > blockquote {
  border-left: 4px solid var(--color-border);
  padding: 12px 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--color-text-light);
  background: var(--color-bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ══════════════════════════════════════════════════════════════
   TABLE OF CONTENTS
   ══════════════════════════════════════════════════════════════ */
.table-of-contents {
  max-width: 780px;
  margin: 0 auto 32px;
  padding: 0 24px;
  z-index: 10;
  transition: all var(--transition-base);
}

.table-of-contents.toc-fixed {
  position: fixed;
  top: calc(var(--header-height) + 16px);
  left: 16px;
  max-width: 260px;
  margin: 0;
  padding: 0;
  z-index: 50;
}

.admin-bar .table-of-contents.toc-fixed {
  top: calc(var(--header-height) + 48px);
}

.table-of-contents.toc-not-fixed {
  position: relative;
}

.toc-container {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.toc-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  user-select: none;
  transition: background var(--transition-fast);
}

.toc-title:hover {
  background: var(--color-border);
}

.toc-title .toc-icon {
  display: flex;
  align-items: center;
}

.toc-title .toc-icon img {
  width: 18px;
  height: 18px;
}

.toc-title p {
  margin: 0;
}

.table-of-contents ul {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 16px;
  list-style: none;
}

.table-of-contents ul.toc-fade-in {
  max-height: 600px;
  padding: 8px 16px 16px;
}

.table-of-contents ul li {
  list-style: none;
}

.table-of-contents ul li a {
  display: block;
  padding: 5px 0;
  font-size: 0.85rem;
  color: var(--color-text-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all var(--transition-fast);
}

.table-of-contents ul li a:hover {
  color: var(--color-link);
}

.table-of-contents ul li a.toc-heading-1 {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text);
}

.table-of-contents ul li a.toc-heading-2 {
  padding-left: 16px;
  font-weight: 500;
}

.table-of-contents ul li a.toc-heading-3 {
  padding-left: 32px;
  font-size: 0.8rem;
}

/* ══════════════════════════════════════════════════════════════
   SHARE ARTICLE
   ══════════════════════════════════════════════════════════════ */
.block-share-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.share-article-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.share-article-wrapper .title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  margin: 0;
}

.share-article-wrapper .links {
  display: flex;
  gap: 10px;
}

.announce-share-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.announce-share-link img {
  width: 18px;
  height: 18px;
}

.announce-share-link:hover {
  background: var(--color-text);
  border-color: var(--color-text);
}

.announce-share-link:hover img {
  filter: brightness(0) invert(1);
}

.block-share-article .more-articles {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-link);
}

.tooltip-share {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-text);
  color: var(--color-bg);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 9999;
  animation: tooltipFade 2s ease forwards;
}

@keyframes tooltipFade {
  0%   { opacity: 0; transform: translateX(-50%) translateY(10px); }
  15%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  85%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}

/* ══════════════════════════════════════════════════════════════
   AUTHOR CARD
   ══════════════════════════════════════════════════════════════ */
.block-author-article {
  max-width: 780px;
  margin: 32px auto;
  padding: 0;
}

.author-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.author-card .image img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-card .content {
  flex: 1;
}

.author-card .nickname {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-text);
}

.author-card .social-links {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.author-card .social-links a {
  display: inline-flex;
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.author-card .social-links a:hover {
  opacity: 1;
}

.author-card .social-links img {
  width: 18px;
  height: 18px;
}

.author-card .description {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   FAQ ARTICLE
   ══════════════════════════════════════════════════════════════ */
.block-faq-article {
  max-width: 780px;
  margin: 40px auto;
  padding: 0;
}

.block-faq-article .faq-category-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-text);
  border-bottom: none;
  padding-bottom: 0;
}

.block-faqs {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-text-light);
}

.faq-item .question {
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition-fast);
}

.faq-item .question:hover {
  background: var(--color-bg-alt);
}

.faq-item .question h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

.faq-item .question::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--color-text-light);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform var(--transition-base);
}

.faq-item.expanded .question::after {
  content: "−";
}

.faq-item .answer {
  height: 0;
  overflow: hidden;
  transition: height var(--transition-base);
}

.faq-item .answer .text-wrapper {
  padding: 0 20px 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

.faq-item .answer .text-wrapper p {
  margin-bottom: 8px;
}

.faq-item .answer .text-wrapper a {
  color: var(--color-link);
  text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════════
   CTA ARTICLE (inline CTA block)
   ══════════════════════════════════════════════════════════════ */
.cta-article-block {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  margin: 32px 0;
  text-align: center;
}

.cta-article-block .title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.cta-article-block .texte {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.6;
}

.cta-article-block .btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--color-text);
  color: var(--color-bg);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  transition: opacity var(--transition-fast);
}

.cta-article-block .btn:hover {
  opacity: 0.85;
  color: var(--color-bg);
}

/* ══════════════════════════════════════════════════════════════
   POPUP ARTICLE
   ══════════════════════════════════════════════════════════════ */
.popup-article-block {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.popup-article-block.is-visible {
  opacity: 1;
  pointer-events: all;
}

.popup-content {
  position: relative;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}

.popup-close:hover {
  opacity: 1;
}

.popup-close img {
  width: 20px;
  height: 20px;
}

.popup-content .title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.popup-content .text {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.popup-content .btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--color-text);
  color: var(--color-bg);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  transition: opacity var(--transition-fast);
}

.popup-content .btn:hover {
  opacity: 0.85;
  color: var(--color-bg);
}

/* ══════════════════════════════════════════════════════════════
   VIDEO EMBED
   ══════════════════════════════════════════════════════════════ */
.block-video {
  position: relative;
  margin: 24px 0;
}

.video-wrapper {
  position: relative;
  cursor: pointer;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.video-wrapper .text-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.play-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.play-icon:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

.play-icon img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

.poster-container img {
  width: 100%;
  height: auto;
  display: block;
}

.video-container {
  display: none;
}

.video-container.show-video {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
}

.video-player-container {
  position: relative;
  width: 90%;
  max-width: 900px;
}

.video-player-container video {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.video-player-container .close-icon {
  position: absolute;
  top: -36px;
  right: 0;
  width: 24px;
  height: 24px;
  cursor: pointer;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.video-player-container .close-icon:hover {
  opacity: 1;
}

/* ══════════════════════════════════════════════════════════════
   ARCHIVE / ARTICLES LIST
   ══════════════════════════════════════════════════════════════ */
.archive__content {
  padding-bottom: 48px;
}

.articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-fast);
}

.article:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.article-image {
  display: block;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.article:hover .article-image img {
  transform: scale(1.03);
}

.article-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

.article-wrapper {
  flex: 1;
}

.article-wrapper .title {
  display: block;
  margin-bottom: 8px;
}

.article-wrapper .title h2 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  margin: 0;
}

.article-subcontainer {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.article-subcontainer img {
  width: 14px;
  height: 14px;
  display: inline;
  vertical-align: middle;
  margin-right: 4px;
}

.article .excerpt {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: 12px;
}

.article .read-more {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-link);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: auto;
}

.article .read-more:hover {
  color: var(--color-link-hover);
}

/* Last posts block (on single) */
.block-last-posts {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 48px 24px;
  border-top: 1px solid var(--color-border);
}

.block-last-posts .title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-text);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 32px;
  font-size: 0.9rem;
}

.pagination a {
  font-weight: 600;
  color: var(--color-link);
}

.pagination a:hover {
  color: var(--color-link-hover);
}

/* ══════════════════════════════════════════════════════════════
   COMMENTS
   ══════════════════════════════════════════════════════════════ */
.comments-area {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 24px 48px;
  border-top: 1px solid var(--color-border);
}

.post-count-comments-container {
  margin-bottom: 24px;
}

.title-comments {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment-list .comment {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.comment-list .comment-body {
  display: flex;
  gap: 12px;
}

.comment-list .comment-author {
  flex-shrink: 0;
}

.comment-list .comment-author img {
  border-radius: 50%;
}

.comment-list .comment-author .fn {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
}

.comment-list .comment-metadata {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.comment-list .comment-metadata a {
  color: var(--color-text-light);
}

.comment-list .comment-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 8px;
}

.comment-list .reply a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-link);
}

.comment-list .children {
  padding-left: 32px;
  list-style: none;
}

/* Comment form */
.comment-reply-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 32px 0 16px;
  color: var(--color-text);
}

.logged-in-as {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.logged-in-as a {
  color: var(--color-link);
  font-weight: 600;
}

.comment-form .user_inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.comment-form p {
  margin-bottom: 12px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition-fast);
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--color-link);
}

.comment-form textarea {
  min-height: 120px;
  resize: vertical;
}

.comment-form input[type="checkbox"] {
  margin-right: 6px;
}

.comment-form .form-submit input[type="submit"] {
  display: inline-block;
  padding: 12px 28px;
  background: var(--color-text);
  color: var(--color-bg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.comment-form .form-submit input[type="submit"]:hover {
  opacity: 0.85;
}

.no-comments {
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-style: italic;
}

/* ══════════════════════════════════════════════════════════════
   404 PAGE
   ══════════════════════════════════════════════════════════════ */
.page-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-height));
  text-align: center;
  padding: 40px 24px;
}

.error-404 {
  max-width: 560px;
}

.error-404__code {
  font-family: var(--font-heading);
  font-size: 12rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #0d3b3e 0%, #1a7a7a 20%, #5ec4d4 40%, #c8a8d8 65%, #e8c8b8 85%, #f5e6d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.error-404__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.error-404__text {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
  line-height: 1.6;
}

.error-404__btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--color-text);
  color: var(--color-bg);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.error-404__btn:hover {
  opacity: 0.85;
  color: var(--color-bg);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .articles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero--small {
    min-height: 200px;
    max-height: 200px;
  }

  .hero--small .hero-title {
    font-size: 1.75rem;
  }

  .layout-content {
    padding: 32px 0 48px;
  }

  .site-footer {
    padding: 32px 0 20px;
  }

  /* 404 */
  .error-404__code {
    font-size: 7rem;
  }

  .error-404__title {
    font-size: 1.25rem;
  }

  /* Single */
  .post-informations .title {
    font-size: 1.75rem;
  }

  .post-thumbnail img {
    max-height: 320px;
  }

  /* Archive + last posts */
  .articles {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .block-last-posts .articles {
    grid-template-columns: 1fr;
  }

  /* Author */
  .author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-card .social-links {
    justify-content: center;
  }

  /* Comments */
  .comment-form .user_inputs {
    grid-template-columns: 1fr;
  }

  /* Share */
  .block-share-article {
    flex-direction: column;
    text-align: center;
  }

  .share-article-wrapper {
    justify-content: center;
  }

  /* TOC fixed -> static on mobile */
  .table-of-contents.toc-fixed {
    position: relative;
    top: auto;
    left: auto;
    max-width: 780px;
    margin: 0 auto 32px;
    padding: 0 24px;
  }
}

/* ══════════════════════════════════════════════════════════════
   LANDING PAM — Helpers partagés (accent or, boutons, reveal)
   ══════════════════════════════════════════════════════════════ */
.gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 24px;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-gradient);
  color: var(--dark);
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(201, 168, 76, 0.35);
  color: var(--dark);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #e8e4dc;
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid rgba(232, 228, 220, 0.25);
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}
/* Dimensionnement des icônes SVG inlinées (nd_icon) */
.btn-gold svg,
.btn-outline svg,
.services-cta svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.posts-teaser-link svg {
  width: 18px;
  height: 18px;
}
.news-readmore svg,
.article .read-more svg {
  width: 16px;
  height: 16px;
}

/* Scroll reveal (le hero n'a jamais .reveal → LCP préservé) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ══════════════════════════════════════════════════════════════
   HEADER — dark par défaut, transparent au-dessus d'un hero-cover
   ══════════════════════════════════════════════════════════════ */
.site-header {
  background: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.site-header .header-nav a {
  color: var(--gold-light);
}
.site-header .hamburger span {
  background: #e8e4dc;
}
/* CTA header en or */
.site-header .header-cta,
.mobile-menu .mobile-cta {
  background: var(--gold-gradient);
  color: var(--dark);
  border-radius: 6px;
  font-weight: 600;
}
.site-header .header-cta:hover,
.mobile-menu .mobile-cta:hover {
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}

/* Transparent uniquement quand un hero-cover est présent (accueil) */
.has-hero-cover .site-header {
  background: transparent;
  border-bottom-color: transparent;
}
.has-hero-cover .site-header.scrolled {
  background: rgba(15, 17, 23, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
/* Le hero passe sous le header transparent */
.has-hero-cover .site-main {
  padding-top: 0;
}

/* ══════════════════════════════════════════════════════════════
   HERO COVER
   ══════════════════════════════════════════════════════════════ */
.hero-cover {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}
.hero-cover__media,
.hero-cover__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-cover__img {
  object-fit: cover;
  opacity: 0.35;
}
.hero-cover__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 17, 23, 0.92) 0%, rgba(15, 17, 23, 0.6) 50%, rgba(15, 17, 23, 0.8) 100%);
}
.hero-cover__motif {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.06;
  width: 400px;
  height: 400px;
  pointer-events: none;
}
.hero-cover__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 160px 0;
  text-align: center;
}
.hero-cover__content .hero-actions {
  justify-content: center;
}
.hero-cover__content p {
  margin-left: auto;
  margin-right: auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: heroPulse 2s infinite;
}
@keyframes heroPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero-cover h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  color: #fff;
  line-height: 1.12;
  margin-bottom: 24px;
  font-weight: 700;
}
.hero-cover p {
  font-size: 1.15rem;
  color: rgba(232, 228, 220, 0.75);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-deco {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  overflow: hidden;
  z-index: 2;
}
.hero-deco svg {
  width: 100%;
  height: 100%;
}

/* ══════════════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════════════ */
.about {
  padding: 120px 0;
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text__body {
  color: var(--color-text-light);
  font-size: 1.05rem;
}
.about-text__body p {
  margin-bottom: 20px;
}
.about-list {
  list-style: none;
  margin-top: 28px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  color: var(--color-text);
  font-weight: 500;
}
.about-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.about-visual {
  position: relative;
}
.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}
.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.about-visual::before {
  content: '';
  position: absolute;
  top: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  border-top: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  border-radius: 0 var(--radius) 0 0;
  z-index: -1;
}
.about-visual::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: -16px;
  width: 120px;
  height: 120px;
  border-bottom: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
  border-radius: 0 0 0 var(--radius);
  z-index: -1;
}

/* ══════════════════════════════════════════════════════════════
   TEAM
   ══════════════════════════════════════════════════════════════ */
.team {
  padding: 120px 0;
  background: var(--cream-dark);
}
.team-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.team-header p {
  color: var(--color-text-light);
  line-height: 1.7;
  margin: 0;
}

/* ── Le responsable, mis en avant ──────────────────────────── */
.team-lead {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 44px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 40px;
  margin-bottom: 80px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.07);
  position: relative;
  overflow: hidden;
}
.team-lead-media {
  position: relative;
}
.team-lead-media img {
  width: 300px;
  height: 340px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  display: block;
}
.team-lead-media::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 110px;
  height: 110px;
  border-right: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  border-radius: 0 0 var(--radius) 0;
  z-index: -1;
}
.team-lead-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(201, 168, 76, 0.13);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.team-lead-name {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  line-height: 1.1;
  margin: 0 0 6px;
  font-weight: 500;
}
.team-lead-role {
  font-size: 0.95rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin: 0 0 20px;
}
.team-lead-text {
  color: var(--color-text-light);
  line-height: 1.8;
  margin: 0 0 24px;
  max-width: 52ch;
}
.team-lead-sign {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-text);
  opacity: 0.75;
}

/* ── Carrousel photos collaborateurs ───────────────────────── */
.team-carousel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.team-carousel-head h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0 0 6px;
}
.team-carousel-head p {
  margin: 0;
  color: var(--color-text-light);
  font-size: 0.9rem;
}
.team-nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.team-nav button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: var(--transition);
}
.team-nav button:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}
.team-nav button:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
  background: #fff;
  border-color: var(--color-border);
  color: var(--color-text);
}
.team-nav svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.team-track-wrap {
  position: relative;
}
.team-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* Marge interne pour que les ombres ne soient pas rognées par le scroller,
     compensée par la marge négative pour garder l'alignement au container. */
  padding: 14px 24px 36px;
  margin: 0 -24px;
  scroll-padding-inline: 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.team-track::-webkit-scrollbar {
  display: none;
}
.team-slide {
  flex: 0 0 clamp(190px, 22vw, 240px);
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  background: #ddd8cc;
}
.team-slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  filter: grayscale(1) contrast(1.03);
  transition: var(--transition);
}
.team-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 17, 23, 0) 55%, rgba(15, 17, 23, 0.35) 100%);
  opacity: 0;
  transition: var(--transition);
}
.team-slide:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}
.team-slide:hover img {
  filter: grayscale(0);
}
.team-slide:hover::after {
  opacity: 1;
}
.team-note {
  text-align: center;
  margin-top: 14px;
  color: var(--color-text-light);
  font-size: 0.85rem;
  font-style: italic;
}

/* ══════════════════════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════════════════════ */
.services {
  padding: 120px 0;
  background: var(--dark);
  overflow: hidden;
}
.services .section-label { color: var(--gold-light); }
.services .section-title { color: #fff; }
.services-intro {
  max-width: 600px;
  margin-bottom: 64px;
}
.services-intro p {
  color: rgba(232, 228, 220, 0.6);
  font-size: 1.05rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--dark-card);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(201, 168, 76, 0.2);
}
.service-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card-img img {
  transform: scale(1.08);
}
.service-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(transparent, rgba(15, 17, 23, 0.8));
}
.service-card-icon {
  position: absolute;
  bottom: 16px;
  left: 20px;
  width: 48px;
  height: 48px;
  background: var(--gold-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.service-card-icon svg,
.service-card-icon img {
  width: 24px;
  height: 24px;
}
.service-card-body {
  padding: 24px 20px 28px;
}
.service-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10px;
}
.service-card-body p {
  color: rgba(232, 228, 220, 0.55);
  font-size: 0.92rem;
  line-height: 1.65;
}
.services-cta {
  text-align: center;
  margin-top: 56px;
}

/* ══════════════════════════════════════════════════════════════
   FEATURES (Engagements)
   ══════════════════════════════════════════════════════════════ */
.features {
  padding: 120px 0;
  background: var(--cream);
}
.features-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 72px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.feature-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}
.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.1), rgba(201, 168, 76, 0.05));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold);
}
.feature-icon svg,
.feature-icon img {
  width: 28px;
  height: 28px;
}
.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--color-text);
}
.feature-card p {
  color: var(--color-text-light);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   CTA BAND (bloc cta-section réutilisé)
   ══════════════════════════════════════════════════════════════ */
.cta-band {
  padding: 84px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.1), transparent 70%);
}
.cta-band .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 8px;
}
.cta-band-text p {
  color: rgba(232, 228, 220, 0.6);
  font-size: 1.02rem;
}
.cta-band .btn-gold { white-space: nowrap; }

/* ══════════════════════════════════════════════════════════════
   MAP AREA (Zone d'intervention)
   ══════════════════════════════════════════════════════════════ */
.map-area {
  padding: 120px 0;
  background: var(--cream-dark);
  overflow: hidden;
}
.map-area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.map-area-visual {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}
.map-area-visual iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: none;
  filter: saturate(0.8) contrast(1.05);
}
.map-area-body {
  color: var(--color-text-light);
  font-size: 1.05rem;
}
.map-area-body p { margin-bottom: 16px; }
.zone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.zone-tag {
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold-dark);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════
   POSTS TEASER (Actualités)
   ══════════════════════════════════════════════════════════════ */
.posts-teaser {
  padding: 120px 0;
  background: var(--cream);
}
.posts-teaser-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.posts-teaser-header .section-title { margin-bottom: 0; }
.posts-teaser-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: gap var(--transition), color var(--transition);
}
.posts-teaser-link:hover { gap: 14px; color: var(--gold); }
.posts-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.news-card:hover::before { transform: scaleX(1); }
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.8rem;
}
.news-tag {
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold-dark);
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.news-date { color: var(--color-text-light); }
.news-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 12px;
}
.news-card h3 a { color: inherit; }
.news-card h3 a:hover { color: var(--gold-dark); }
.news-card > p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}
.news-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--transition);
}
.news-card:hover .news-readmore { gap: 14px; }

/* ══════════════════════════════════════════════════════════════
   TESTIMONIAL
   ══════════════════════════════════════════════════════════════ */
.testimonial {
  padding: 120px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.testimonial-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.testimonial-quote {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 12rem;
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.15;
  user-select: none;
}
.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 32px;
}
.testimonial-stars svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
  fill: var(--gold);
}
.testimonial-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: #fff;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 28px;
  position: relative;
}
.testimonial-author {
  color: var(--gold-light);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
}
/* Slider Swiper des témoignages */
.testimonial-slider {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 50px; /* laisse la place au guillemet décoratif (top:-50px) */
}
.testimonial-slider .swiper-slide {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-slider .testimonial-content {
  margin: 0;
}
.testimonial-slider .swiper-pagination {
  position: static;
  margin-top: 44px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.testimonial-slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  background: rgba(232, 228, 220, 0.3);
  opacity: 1;
  border-radius: 100px;
  transition: width var(--transition), background var(--transition);
}
.testimonial-slider .swiper-pagination-bullet-active {
  width: 28px;
  background: var(--gold);
}

/* ══════════════════════════════════════════════════════════════
   FAQ (réutilise le markup .block-faq-article + faqDropdown JS)
   ══════════════════════════════════════════════════════════════ */
.faq {
  padding: 120px 0;
  background: var(--cream-dark);
}
.faq-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}
.faq .block-faq-article {
  margin: 0 auto;
}
/* Items FAQ : accordéon épuré (pas de fond blanc) sur le fond crème */
.faq .faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(15, 17, 23, 0.1);
  border-radius: 0;
  margin-bottom: 0;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq .faq-item:first-child {
  border-top: 1px solid rgba(15, 17, 23, 0.1);
}
.faq .faq-item .question {
  padding: 22px 8px;
}
.faq .faq-item .question:hover {
  background: transparent;
}
.faq .faq-item .question h3 {
  font-family: var(--font-heading);
  color: var(--color-text);
}
.faq .faq-item.expanded .question h3 {
  color: var(--gold-dark);
}
.faq .faq-item .question::after {
  color: var(--gold-dark);
}
.faq .faq-item .answer .text-wrapper {
  padding: 0 8px 20px;
  color: var(--color-text-light);
}

/* ══════════════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════════════ */
.contact {
  padding: 120px 0;
  background: var(--cream);
}
.contact .cta-box {
  background: var(--dark);
  border-radius: 20px;
  padding: 80px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.contact .cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08), transparent 70%);
}
.cta-left {
  position: relative;
  z-index: 2;
}
.cta-left .section-label { color: var(--gold-light); }
.cta-left h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}
.cta-left p {
  color: rgba(232, 228, 220, 0.65);
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.7;
}
.cta-left .contact-subtext {
  color: rgba(232, 228, 220, 0.45);
  font-size: 0.92rem;
}
.cta-right {
  position: relative;
  z-index: 2;
}
.cta-phone {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}
.cta-phone-icon {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(201, 168, 76, 0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cta-phone-icon svg { width: 22px; height: 22px; color: var(--gold-light); }
.cta-phone-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.cta-phone-number {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.cta-phone-number:hover { color: var(--gold-light); }

/* Formulaire NDM injecté via shortcode */
.contact-form-wrap .ndm-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* Sélecteurs typés (spécificité 0,3,1) pour battre le CSS du plugin NDM
   (ndm-forms.css cible input[type="text"] en 0,2,1 et se charge après le thème). */
.contact-form-wrap .ndm-form input[type="text"],
.contact-form-wrap .ndm-form input[type="email"],
.contact-form-wrap .ndm-form input[type="tel"],
.contact-form-wrap .ndm-form input[type="url"],
.contact-form-wrap .ndm-form input[type="number"],
.contact-form-wrap .ndm-form input[type="search"],
.contact-form-wrap .ndm-form input[type="password"],
.contact-form-wrap .ndm-form textarea,
.contact-form-wrap .ndm-form select {
  width: 100%;
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px 18px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}
.contact-form-wrap .ndm-form input[type="text"]::placeholder,
.contact-form-wrap .ndm-form input[type="email"]::placeholder,
.contact-form-wrap .ndm-form input[type="tel"]::placeholder,
.contact-form-wrap .ndm-form input[type="url"]::placeholder,
.contact-form-wrap .ndm-form input[type="number"]::placeholder,
.contact-form-wrap .ndm-form input[type="search"]::placeholder,
.contact-form-wrap .ndm-form textarea::placeholder { color: rgba(232, 228, 220, 0.3); }
.contact-form-wrap .ndm-form input[type="text"]:focus,
.contact-form-wrap .ndm-form input[type="email"]:focus,
.contact-form-wrap .ndm-form input[type="tel"]:focus,
.contact-form-wrap .ndm-form input[type="url"]:focus,
.contact-form-wrap .ndm-form input[type="number"]:focus,
.contact-form-wrap .ndm-form input[type="search"]:focus,
.contact-form-wrap .ndm-form input[type="password"]:focus,
.contact-form-wrap .ndm-form textarea:focus,
.contact-form-wrap .ndm-form select:focus { border-color: var(--gold); }
.contact-form-wrap .ndm-form textarea { resize: vertical; min-height: 100px; }
.contact-form-wrap .ndm-form label {
  color: rgba(232, 228, 220, 0.7);
  font-size: 0.9rem;
}
.contact-form-wrap .ndm-form button[type="submit"] {
  width: 100%;
  justify-content: center;
  background: var(--gold-gradient);
  color: var(--dark);
  padding: 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-form-wrap .ndm-form button[type="submit"]:hover,
.contact-form-wrap .ndm-form button[type="submit"]:focus {
  background: var(--gold-gradient);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 168, 76, 0.35);
}

/* Structure du formulaire contact (markup du form NDM "Contact PAM Services").
   Les champs sont groupes en .ndm-row (2 colonnes) / .ndm-field ; les labels
   restent dans le DOM pour l'accessibilite mais sont masques visuellement
   (placeholders visibles, comme sur la maquette). */
.contact-form-wrap .ndm-form-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form-wrap .ndm-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form-wrap .ndm-row--cp { grid-template-columns: minmax(120px, 0.45fr) 1fr; }
.contact-form-wrap .ndm-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.contact-form-wrap .ndm-form .ndm-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Select : fleche custom (data-URI) + couleur "placeholder" tant qu'aucun choix */
.contact-form-wrap .ndm-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 48px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a84c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
}
.contact-form-wrap .ndm-form select:invalid { color: rgba(232, 228, 220, 0.3); }
.contact-form-wrap .ndm-form select option {
  color: var(--dark);
  background: #fff;
}

/* Case de consentement */
.contact-form-wrap .ndm-form .ndm-consent {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px 12px;
  margin: 4px 0 0;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(232, 228, 220, 0.6);
}
.contact-form-wrap .ndm-form .ndm-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--gold);
  cursor: pointer;
}
.contact-form-wrap .ndm-form .ndm-consent > span:first-of-type {
  flex: 1;
  min-width: 0;
}
.contact-form-wrap .ndm-form .ndm-consent .ndm-form-error { flex-basis: 100%; }

/* Erreurs par champ + feedback global (surcharge ndm-forms.css sur fond sombre) */
.contact-form-wrap .ndm-form .ndm-form-error {
  margin: 0;
  font-size: 0.8rem;
  color: #f0a3a3;
}
.contact-form-wrap .ndm-form .ndm-form-error:empty { display: none; }
.contact-form-wrap .ndm-form input[aria-invalid="true"],
.contact-form-wrap .ndm-form textarea[aria-invalid="true"],
.contact-form-wrap .ndm-form select[aria-invalid="true"] {
  border-color: #e0716b;
  box-shadow: none;
}
.contact-form-wrap .ndm-form-feedback {
  margin-top: 0;
  border-radius: 8px;
  font-size: 0.9rem;
}
.contact-form-wrap .ndm-form-feedback.is-success {
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold-light);
  border-color: rgba(201, 168, 76, 0.35);
}
.contact-form-wrap .ndm-form-feedback.is-error {
  background: rgba(224, 113, 107, 0.12);
  color: #f0a3a3;
  border-color: rgba(224, 113, 107, 0.35);
}
.contact-form-wrap .ndm-form-feedback.is-pending {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(232, 228, 220, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
}

/* ══════════════════════════════════════════════════════════════
   BACK TO TOP
   ══════════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  background: var(--gold-gradient);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition), box-shadow var(--transition);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
  z-index: 90;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(201, 168, 76, 0.45);
}
.back-to-top svg { width: 22px; height: 22px; color: var(--dark); }

/* ══════════════════════════════════════════════════════════════
   FOOTER — dark 3 colonnes (override du footer clair)
   ══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0 32px;
  text-align: left;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-brand .footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}
.footer-brand .footer-logo img {
  max-width: 80px;
  height: auto;
  margin: 0;
}
.footer-brand p {
  color: rgba(232, 228, 220, 0.45);
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.site-footer .footer-socials {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 0;
}
/* Icônes réseaux sociaux dorées (mask → couleur indépendante du SVG source) */
.footer-social-ic {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: var(--gold-light);
  -webkit-mask: var(--ic) center / contain no-repeat;
  mask: var(--ic) center / contain no-repeat;
  transition: background-color var(--transition), transform var(--transition);
}
.footer-social-link:hover .footer-social-ic {
  background-color: var(--gold);
  transform: translateY(-2px);
}

/* ── Croix de fermeture du menu mobile ────────────────────── */
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #e8e4dc;
  z-index: calc(var(--z-mobile-menu) + 5);
}
.mobile-menu-close svg { width: 22px; height: 22px; }
.mobile-menu-close:hover { color: var(--gold-light); background: rgba(201, 168, 76, 0.15); }
.mobile-menu.active .mobile-menu-close { display: flex; }
/* La croix passe sous la barre admin quand elle est présente */
.admin-bar .mobile-menu-close { top: calc(16px + 32px); }
@media screen and (max-width: 782px) {
  .admin-bar .mobile-menu-close { top: calc(16px + 46px); }
}
/* Quand le menu mobile est ouvert, on masque le hamburger : la croix ferme */
body.mobile-nav-open .hamburger { opacity: 0; pointer-events: none; }
.footer-col h4 {
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a,
.footer-col span {
  color: rgba(232, 228, 220, 0.5);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold-light); }
.site-footer .footer-bottom {
  padding-top: 24px;
  border-top: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer .footer-bottom p {
  color: rgba(232, 228, 220, 0.3);
  font-size: 0.82rem;
  margin: 0;
}
.site-footer .footer-links {
  margin-bottom: 0;
  font-size: 0.82rem;
  color: rgba(232, 228, 220, 0.3);
}
.site-footer .footer-links a {
  color: rgba(232, 228, 220, 0.5);
}
.site-footer .footer-links a:hover { color: var(--gold-light); }
.site-footer .footer-credit a { color: var(--gold-light); }

/* ══════════════════════════════════════════════════════════════
   LANDING — RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact .cta-box { padding: 60px 48px; }
}

@media (max-width: 768px) {
  .about,
  .team,
  .services,
  .features,
  .map-area,
  .posts-teaser,
  .testimonial,
  .contact { padding: 80px 0; }

  .hero-cover__content { padding: 120px 0 100px; }
  .hero-cover h1 { font-size: 2.4rem; }
  .hero-cover__motif { display: none; }

  .about-grid,
  .map-area-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-visual { order: -1; }
  .about-image img { height: 280px; }
  .about-visual::before,
  .about-visual::after { display: none; }

  .services-grid { grid-template-columns: 1fr; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .feature-card { padding: 28px 16px; }

  .cta-band { padding: 60px 0; }
  .cta-band .container { flex-direction: column; text-align: center; align-items: center; }

  .map-area-visual { min-height: 280px; order: -1; }
  .map-area-visual iframe { min-height: 280px; }

  /* Carte gérant en colonne, centrée */
  .team-lead {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
    text-align: center;
    margin-bottom: 56px;
  }
  .team-lead-media {
    margin: 0 auto;
  }
  .team-lead-media img {
    width: 100%;
    max-width: 280px;
    height: 320px;
  }
  .team-lead-media::after { display: none; }
  .team-lead-text { margin-inline: auto; }

  /* Carrousel : swipe natif, flèches masquées */
  .team-carousel-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .team-nav { display: none; }
  .team-slide { flex-basis: 64vw; }
  .team-slide img { height: 280px; }

  .posts-teaser-grid { grid-template-columns: 1fr; }
  .posts-teaser-header { gap: 16px; }

  .testimonial-text { font-size: 1.25rem; }
  .testimonial-quote { font-size: 8rem; top: -30px; }

  .contact .cta-box {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    gap: 40px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .site-footer .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .back-to-top { bottom: 20px; right: 20px; width: 46px; height: 46px; }
}

@media (max-width: 520px) {
  .contact-form-wrap .ndm-row,
  .contact-form-wrap .ndm-row--cp { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-cover h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .btn-gold,
  .btn-outline { width: 100%; justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-phone-number { font-size: 1.2rem; }
}

/* ══════════════════════════════════════════════════════════════
   HEADER NAV — soulignement animé au hover
   ══════════════════════════════════════════════════════════════ */
.site-header .header-nav a {
  position: relative;
}
.site-header .header-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width var(--transition);
}
.site-header .header-nav a:hover::after {
  width: 100%;
}

/* ══════════════════════════════════════════════════════════════
   BLOG — Archive (liste) au style PAM
   ══════════════════════════════════════════════════════════════ */
.archive-page {
  padding-top: 0; /* le hero sombre remonte sous le header fixe */
}
/* Le single garde le padding-top standard de .site-main (= header-height).
   Quand la barre admin est présente, le header fixe descend (top: 32px desktop /
   46px mobile) : on ajoute ce décalage au padding-top pour éviter que le hero
   cream passe sous le header. */
.admin-bar .single-post {
  padding-top: calc(var(--header-height) + 32px);
}
@media (max-width: 782px) {
  .admin-bar .single-post {
    padding-top: calc(var(--header-height) + 46px);
  }
}

.archive-hero {
  background: var(--dark);
  padding: calc(var(--header-height) + 56px) 0 60px;
  text-align: center;
}
.archive-hero .section-label {
  color: var(--gold-light);
}
.archive-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #fff;
  line-height: 1.15;
}
.archive-hero__desc {
  color: rgba(232, 228, 220, 0.6);
  max-width: 640px;
  margin: 16px auto 0;
}

.archive__content {
  background: var(--cream);
  padding: 64px 0 96px;
}

/* Pills catégories dorées */
.categories-links {
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}
.categories-links .btn {
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--gold-dark);
  background: transparent;
  border-radius: 100px;
  padding: 8px 20px;
  font-weight: 600;
}
.categories-links .btn:hover,
.categories-links .btn.active {
  background: var(--gold-gradient);
  color: var(--dark);
  border-color: transparent;
}

/* Cartes article (archive + derniers articles) */
.article {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  z-index: 2;
}
.article:hover::before {
  transform: scaleX(1);
}
.article:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}
.article-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.article:hover .article-image img {
  transform: scale(1.05);
}
.article-container {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.8rem;
}
.article-tag {
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold-dark);
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.article-date {
  color: var(--color-text-light);
}
.article-wrapper {
  flex: 1;
}
.article-wrapper .title {
  display: block;
  margin-bottom: 10px;
}
.article-wrapper .title h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  margin: 0;
  transition: color var(--transition);
}
.article-wrapper .title:hover h2 {
  color: var(--gold-dark);
}
.article .excerpt {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
}
.article .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
  margin-top: auto;
  transition: gap var(--transition);
}
.article:hover .read-more {
  gap: 14px;
}

.archive-empty {
  text-align: center;
  color: var(--color-text-light);
  padding: 40px 0;
}

/* Pagination */
.pagination {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 48px 24px 0;
}
.pagination a {
  color: var(--gold-dark);
  font-weight: 600;
}
.pagination a:hover {
  color: var(--gold);
}

/* ══════════════════════════════════════════════════════════════
   BLOG — Single (article) éditorial
   ══════════════════════════════════════════════════════════════ */
.single-hero {
  background: var(--cream);
  padding: 56px 0 44px;
}
.single-hero__inner {
  max-width: 820px;
  text-align: center;
}
.single-hero__cats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.single-cat-pill {
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold-dark);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.single-cat-pill:hover {
  background: var(--gold-gradient);
  color: var(--dark);
}
.single-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-text);
  line-height: 1.15;
  margin: 0;
}
.single-hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--color-text-light);
  font-size: 0.9rem;
}
.single-meta-sep {
  opacity: 0.5;
}
.single-hero__image {
  margin-top: 44px;
}
.single-hero__image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  display: block;
}

/* Contenu article : titres en serif, liens or */
.single-post .page-content {
  padding-top: 8px;
  padding-bottom: 64px;
}
.single-post .page-content h2,
.single-post .page-content h3 {
  font-family: var(--font-heading);
}
.single-post .page-content a {
  color: var(--gold-dark);
}
.single-post .page-content a:hover {
  color: var(--gold);
}
.single-post .page-content blockquote {
  border-left: 4px solid var(--gold);
}

/* Derniers articles (bas de single) */
.block-last-posts {
  background: var(--cream-dark);
  padding: 80px 0;
  border-top: none;
  max-width: none;
  margin: 0;
}
.block-last-posts__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--color-text);
  text-align: center;
  margin-bottom: 44px;
}
/* Cartes article : pas d'auteur ni de date (retiré du rendu des derniers articles) */
.article-subcontainer {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════════
   SINGLE — Contenu riche (tables, images, figures)
   ══════════════════════════════════════════════════════════════ */
.single-post .page-content img {
  border-radius: var(--radius-md);
  margin: 8px 0;
}
.single-post .page-content figure {
  margin: 36px -50px;
  width: calc(100% + 100px);
  max-width: none;
}
.single-post .page-content figure img {
  width: 100%;
}
.single-post .block-share-article {
  margin-top: 48px;
}
.single-post .page-content figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-style: italic;
  text-align: center;
}

/* Tables stylées (ex. comparatif 4 colonnes) */
.single-post .page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 0.92rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}
.single-post .page-content thead th,
.single-post .page-content table th {
  background: var(--dark);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: left;
  padding: 14px 18px;
  border: none;
}
.single-post .page-content table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  vertical-align: top;
}
.single-post .page-content table tbody tr:nth-child(even) td {
  background: rgba(201, 168, 76, 0.05);
}
.single-post .page-content table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 900px) {
  /* Sous 900px, les images reprennent la largeur du texte (pas de débordement) */
  .single-post .page-content figure {
    margin: 32px 0;
    width: 100%;
  }
}
@media (max-width: 600px) {
  .single-post .page-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* ══════════════════════════════════════════════════════════════
   BLOG — Responsive
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .archive-page .articles,
  .block-last-posts .articles {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .archive-hero {
    padding-top: calc(var(--header-height) + 36px);
  }
  .single-hero {
    padding: 28px 0 32px;
  }
  /* En mobile, le hero single est aligné à gauche (pas centré) */
  .single-hero__inner {
    text-align: left;
  }
  .single-hero__cats,
  .single-hero__meta {
    justify-content: flex-start;
  }
  .archive-page .articles,
  .block-last-posts .articles {
    grid-template-columns: 1fr;
  }
}

