:root {
  /* Palette issue de ta charte */
  --color-midnight-sapphire: #0F52BA;
  --color-dark-sapphire: #0A3C84;
  --color-text-main: #1A1A1A;
  --color-text-muted: #3A3A3A;
  --color-blue-hover: #4B89E5;

  --color-beige-light: #FAF2E8;
  --color-smooth-silk: #F7E7CE;
  --color-blue-soft: #E6EEFA;
  --color-beige-soft: #EADBC9;

  --color-accent-green: #83A98F;
  --color-border: #D9D9D9;
  --color-white: #FFFFFF;

  --radius-card: 16px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* --------- Bases --------- */

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-text-main);
  background-color: var(--color-beige-light);
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem;
}

.main-content {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

/* --------- Header / Footer --------- */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--color-border);
  background: rgba(250, 242, 232, 0.92);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-title {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  color: var(--color-dark-sapphire);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  color: var(--color-text-muted);
  border: 1px solid transparent;
}

.site-nav a:hover {
  color: var(--color-blue-hover);
  border-color: var(--color-blue-hover);
  background-color: rgba(230, 238, 250, 0.7);
}

.footer {
  margin-top: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* --------- Typographie globale --------- */

h1, h2, h3, h4 {
  font-family: "Inter Tight", system-ui, sans-serif;
  margin: 0 0 0.75rem;
  color: var(--color-dark-sapphire);
}

h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  font-weight: 600;
}

h2 {
  font-size: 1.9rem;
  line-height: 1.2;
  font-weight: 600;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
  color: var(--color-text-main);
}

p.muted {
  color: var(--color-text-muted);
}

a {
  color: var(--color-midnight-sapphire);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--color-blue-hover);
}

/* --------- Page d’accueil --------- */

.hero {
  padding: 3rem 2.5rem;
  margin: 2rem 0 3rem;
  background-color: var(--color-smooth-silk);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.hero-title {
  margin-bottom: 0.9rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 40rem;
}

/* 4 piliers */

.pillars-section {
  margin: 0 0 2.5rem;
}

.pillars-section h2 {
    margin-bottom: 1.75rem;
    text-align: center;
    font-size: 1.9rem;   /* optionnel : un peu plus grand */
}


.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 1.4rem 1.2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.pillar-title {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.pillar-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.pillar-text {
  font-size: 0.96rem;
  color: var(--color-text-main);
}

/* Responsive : 2 colonnes puis 1 colonne sur mobile */

@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* --------- Boutons (Mes articles / À propos / Newsletter) --------- */

/* ===== Section : "Pour continuer l’expédition" ===== */

.cta-section {
  margin: 3rem 0 2rem;
}

.cta-heading {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: var(--color-dark-sapphire);
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.cta-card {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cta-card-title {
  font-size: 1.2rem;
  margin: 0;
  color: var(--color-dark-sapphire);
}

.cta-card-text {
  margin: 0;
  font-size: 0.98rem;
  color: var(--color-text-muted);
}

.cta-card .cta-button {
  align-self: flex-start;
  margin-top: 0.4rem;
}

/* ---- Responsive : une seule colonne sur mobile ---- */
@media (max-width: 700px) {
  .cta-grid {
    grid-template-columns: 1fr;
  }
}




.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--color-dark-sapphire);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-dark-sapphire);
  background-color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.cta-button.primary {
  background-color: var(--color-midnight-sapphire);
  color: var(--color-white);
  border-color: var(--color-midnight-sapphire);
}

.cta-button:hover {
  border-color: var(--color-blue-hover);
  color: var(--color-blue-hover);
  box-shadow: 0 12px 32px rgba(15, 82, 186, 0.25);
}

.cta-button.primary:hover {
  background-color: var(--color-blue-hover);
  border-color: var(--color-blue-hover);
  color: var(--color-white);
}

/* --------- Bloc newsletter --------- */

.newsletter-block {
  margin: 3rem 0 1rem;
  padding: 2rem 1.8rem;
  border-radius: 20px;
  background-color: var(--color-blue-soft);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.newsletter-text {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

/* Formulaire Ghost par défaut */
.newsletter-block form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.newsletter-block input[type="email"] {
  flex: 1 1 220px;
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.newsletter-block button,
.newsletter-block input[type="submit"] {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  background-color: var(--color-midnight-sapphire);
  color: var(--color-white);
}

.newsletter-block button:hover,
.newsletter-block input[type="submit"]:hover {
  background-color: var(--color-blue-hover);
}

/* --------- Liste d’articles (page /blog) --------- */

.page-header {
  margin: 1rem 0 2rem;
}

.page-header h1 {
  margin-bottom: 0.4rem;
}

.page-intro {
  color: var(--color-text-muted);
  max-width: 34rem;
  font-size: 0.98rem;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.post-card {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.post-card-title {
  margin-bottom: 0.4rem;
}

.post-card-title a {
  text-decoration: none;
}

.post-card-title a:hover {
  text-decoration: underline;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.meta-separator {
  opacity: 0.6;
}

.post-tag {
  text-decoration: none;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background-color: rgba(230, 238, 250, 0.5);
}

.post-card-excerpt {
  margin: 0;
  color: var(--color-text-main);
}

/* Pagination Ghost */

.pagination {
  margin-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

/* --------- Page article --------- */

.post {
  max-width: 760px;
  margin: 2.5rem auto 3rem;
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  padding: 2.2rem 2rem;
}

.post-header {
  margin-bottom: 1.8rem;
}

.post-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  margin: 0 0 0.25rem;
}

.post-title {
  font-size: 2.3rem;
  margin: 0 0 0.6rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.post-feature-image {
  margin: 1.6rem 0 0;
}

.post-feature-image img {
  max-width: 100%;
  border-radius: 16px;
  display: block;
}

.post-content {
  font-size: 1.02rem;
  line-height: 1.75;
}

.post-content p {
  margin-bottom: 1.1rem;
}

.post-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.7rem;
  font-size: 1.5rem;
}

.post-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.post-content ul,
.post-content ol {
  padding-left: 1.4rem;
  margin-bottom: 1.1rem;
}

.post-content blockquote {
  margin: 1.5rem 0;
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--color-midnight-sapphire);
  background-color: rgba(230, 238, 250, 0.7);
}

/* Footer article */

.post-footer {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.88rem;
}

.post-tags a {
  text-decoration: none;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background-color: rgba(230, 238, 250, 0.5);
  color: var(--color-text-main);
}

.post-back-link {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--color-midnight-sapphire);
}

.post-back-link:hover {
  color: var(--color-blue-hover);
  text-decoration: underline;
}


/* PAGE ABOUT / STATIC */
.page-default {
  max-width: 760px;
  margin: 2rem auto 3rem;
}

.page-header h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.page-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-main);
}

.page-content p {
  margin-bottom: 1.2rem;
}

/* FIX SOLO COMING SOON CARD */
.gh-post-upgrade-cta {
  display: none;
}

.page-feature-image {
  margin: 1rem 0 1.5rem;
}

.page-feature-image img {
  max-width: 100%;
  border-radius: 16px;
  display: block;
}
/* --------- Grille d’articles (page /blog) --------- */

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

/* Responsive */
@media (max-width: 780px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}

.post-card-grid {
  background: var(--color-white);
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.post-card-grid-title {
  font-size: 1.35rem;
  margin: 0;
  line-height: 1.25;
}

.post-card-grid-title a {
  text-decoration: none;
  color: var(--color-dark-sapphire);
}

.post-card-grid-title a:hover {
  text-decoration: underline;
  color: var(--color-blue-hover);
}

.post-card-grid-meta {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.post-card-grid-tag {
  text-decoration: none;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  font-size: 0.78rem;
  color: var(--color-text-main);
  background: rgba(230, 238, 250, 0.6);
}

.post-card-grid-excerpt {
  font-size: 0.97rem;
  color: var(--color-text-main);
  margin: 0.2rem 0 0.8rem;
}

.post-card-grid-footer {
  margin-top: auto;
}

.post-card-grid-button {
  display: inline-block;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background: var(--color-midnight-sapphire);
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: 0.2s ease;
}

.post-card-grid-button:hover {
  background: var(--color-blue-hover);
}

