/* ============================================================
   NAVIBLOG — BASE.CSS
   Fondations globales du design system
   Compatible Bootstrap 5.3 + Jodit (contenu sans classes)
   ============================================================ */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url("../fonts/cormorant-garamond/CormorantGaramond-Light-npjs5qM.woff2") format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url("../fonts/cormorant-garamond/CormorantGaramond-Regular-B7Guohx.woff2") format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url("../fonts/cormorant-garamond/CormorantGaramond-Medium--VUA-zK.woff2") format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url("../fonts/cormorant-garamond/CormorantGaramond-SemiBold-PCRKwJD.woff2") format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url("../fonts/cormorant-garamond/CormorantGaramond-LightItalic-ElQDn5F.woff2") format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url("../fonts/cormorant-garamond/CormorantGaramond-Italic-HNLQ57h.woff2") format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url("../fonts/cormorant-garamond/CormorantGaramond-MediumItalic-Ph7zKaA.woff2") format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url("../fonts/cormorant-garamond/CormorantGaramond-SemiBoldItalic-rEug9Fl.woff2") format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url("../fonts/jost/Jost-Light-crR2CPi.woff2") format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url("../fonts/jost/Jost-Regular-9PfBbo-.woff2") format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost';
  src: url("../fonts/jost/Jost-Medium-rVYnFNy.woff2") format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}



/* ------------------------------------------------------------
   VARIABLES GLOBALES
   ------------------------------------------------------------ */
:root {
  /* Palette */
  --slate:      #1e2630;
  --slate-mid:  #2d3a48;
  --gold:       #8a6b3f;
  --gold-light: #d4b483;
  --ivory:      #f5f1ea;
  --ivory-dark: #cbbfb3;

  /* erreurs */
  --error:       #a13d3d;
  --error-light: #f7e9e9;

  /* Texte */
  --text:       #1a1a1a;
  --muted:      #3a404c;

  /* Spacing system */
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;

  /* Ombres */
  --shadow-sm: 0 4px 12px rgba(0,0,0,.08);
  --shadow-md: 0 12px 32px rgba(0,0,0,.15);
}

html { scroll-behavior: smooth; font-synthesis: none;}

body {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: #fff;
}

.italic {
  font-style: italic;
}

.section-label {
      font-size: .75rem;
      font-weight: 500;
      letter-spacing: .3em;
      text-transform: uppercase;
      color: var(--gold);
    }

  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.9rem, 3vw, 2.7rem)!important;
    font-weight: 400;
    color: var(--slate);
    line-height: 1.25!;
  }
  .section-title.light { 
    color: #fff; 
  }
  
  .section-body { 
    font-size: 1rem; color: var(--muted); line-height: 1.85; 
  }
  
  .section-body.light { 
    color: rgba(255,255,255,.75); 
  }
  
  .divider-gold { 
    width: 48px; height: 1px; background: var(--gold); 
  }


/* ------------------------------------------------------------
   TYPOGRAPHIE GLOBALE (Hn + paragraphes)
   Compatible Jodit → aucune classe nécessaire
   ------------------------------------------------------------ */

h1, .h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 300;
  color: var(--slate);
  line-height: 1.15;
  margin: var(--space-4) 0 var(--space-3);
}

h1 span {
  display: block;
}

h2, .h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--slate);
  line-height: 1.25;
  margin: var(--space-4) 0 var(--space-2);
  scroll-margin-top: 100px;
}

h3, .h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold);
  margin: var(--space-3) 0 var(--space-2);
}

h4, .h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--slate);
  margin: var(--space-2) 0 var(--space-1);
}

h5, .h5, h6, .h6 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--muted);
  margin: var(--space-1) 0;
}

p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: var(--space-2);
}


/* ------------------------------------------------------------
   LIENS GLOBAUX
   ------------------------------------------------------------ */
a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s;
}
a:hover {
  color: var(--slate);
}


/* ------------------------------------------------------------
   LISTES GLOBALES (Jodit)
   ------------------------------------------------------------ */
ul, ol {
  padding-left: 1.3rem;
  margin-bottom: var(--space-3);
  color: var(--muted);
  line-height: 1.8;
}

li { margin-bottom: .4rem; }


/* ------------------------------------------------------------
   TABLEAUX GLOBAUX (Jodit)
   ------------------------------------------------------------ */
table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-4) 0;
  font-size: .95rem;
}

th, td {
  padding: .7rem 1rem;
  border: 1px solid var(--ivory-dark);
}

th {
  background: var(--ivory);
  color: var(--slate);
  text-align: left;
}


/* ------------------------------------------------------------
   CITATIONS / BLOCKQUOTES (Jodit + pages service)
   ------------------------------------------------------------ */
blockquote,
.quote-block {
  border-left: 3px solid var(--gold);
  background: var(--ivory);
  padding: var(--space-4) var(--space-5);
  margin: var(--space-4) 0;
}

blockquote p,
.quote-block p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--slate);
  line-height: 1.6;
  margin: 0;
}


/* ------------------------------------------------------------
   IMAGES GLOBALES
   ------------------------------------------------------------ */
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.article-body img {
  margin: var(--space-5) 0;
}


/* ------------------------------------------------------------
   HR GLOBAUX
   ------------------------------------------------------------ */
hr {
  border: none;
  border-top: 1px solid var(--ivory-dark);
  margin: var(--space-5) 0;
}


/* ------------------------------------------------------------
   BOUTONS (complément Bootstrap)
   ------------------------------------------------------------ */
.btn {
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .95rem 2.2rem;
  border-radius: 0;
}

.btn-primary-custom {
  background: var(--gold); 
  color: #fff; 
  text-decoration: none; 
  padding: .95rem 2.2rem;
  font-size: .82rem; 
  font-weight: 500; 
  letter-spacing: .16em; 
  text-transform: uppercase;
  border: none; 
  transition: background .2s; 
  display: inline-block;
}

.btn-primary-custom:hover {
  background: var(--gold-light);
  color:#fff;
}

.btn-outline-custom {
  border: 1px solid rgba(255,255,255,.5); 
  color: rgba(255,255,255,.88); 
  text-decoration: none;
  padding: .95rem 2.2rem; 
  font-size: .82rem; 
  font-weight: 500; 
  letter-spacing: .16em;
  text-transform: uppercase; 
  transition: border-color .2s, color .2s; 
  display: inline-block;
}

.btn-outline-custom:hover { 
  border-color: var(--gold); 
  color: var(--gold); 
}

.btn-ghost {
  color: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.btn-ghost:hover {
  color: var(--gold-light);
  border-color: var(--gold);
}


/* ------------------------------------------------------------
   HELPERS UTILITAIRES
   ------------------------------------------------------------ */
.text-slate { color: var(--slate); }
.text-gold  { color: var(--gold); }
.text-muted { color: var(--muted); }

.bg-slate { background: var(--slate); }
.bg-ivory { background: var(--ivory); }

.shadow-soft { box-shadow: var(--shadow-sm); }
.shadow-medium { box-shadow: var(--shadow-md); }

.radius-sm { border-radius: var(--radius-sm); }
.radius-md { border-radius: var(--radius-md); }


/* ── EXPERTISES ─────────────────────────── */
    .expertise-card {
      background: #fff;
      padding: 2.8rem 2.2rem;
      border: 1px solid var(--ivory-dark);
      transition: background .25s, border-color .25s;
      height: 100%;
    }
    .expertise-card:hover { background: var(--slate); border-color: var(--slate); }
    .expertise-card:hover .expertise-num,
    .expertise-card:hover .expertise-title { color: rgba(255,255,255,.95); }
    .expertise-card:hover .expertise-body { color: rgba(255,255,255,.78); }
    .expertise-card:hover .expertise-link { color: var(--gold-light); }

    .expertise-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 3rem;
      font-weight: 300;
      color: var(--ivory-dark);
      line-height: 1;
      margin-bottom: .8rem;
      transition: color .25s;
    }
    .expertise-icon { font-size: 1.8rem; color: var(--gold); margin-bottom: 1rem; }
    .expertise-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.5rem;
      font-weight: 600;
      color: var(--slate);
      margin-bottom: .8rem;
      transition: color .25s;
    }
    .expertise-body {
      font-size: .97rem;
      color: var(--muted);
      line-height: 1.8;
      margin-bottom: 1.5rem;
      transition: color .25s;
    }
    .expertise-link {
      font-size: .78rem;
      font-weight: 500;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--gold);
      text-decoration: none;
      border-bottom: 1px solid transparent;
      padding-bottom: 1px;
      transition: border-color .2s, color .25s;
    }
    .expertise-link:hover { border-color: currentColor; }
