/* ================================================
   BLOG BOREL FRANCE
   Feuille additive — à charger en complément de css-v2.css
   sur toutes les pages /blog/.
   Couleurs alignées sur la charte Borel :
     - bleu principal Borel : #1995b9
     - bleu accent          : #34b0d6 / #62b3e2 / #4198ca
     - bleu foncé titre     : #1a3a5c
     - fond clair           : #f5f5f4
     - texte courant        : #4a4a4a / #666
   Toutes les classes sont préfixées .blog- pour éviter
   toute collision avec les styles existants du site.
   ================================================ */

/* ── Conteneur article ───────────────────────────── */
.blog-article {
  max-width: 820px;
  margin: 0 auto;
  padding: 10px 18px 40px;
  background-color: #f5f5f4;
  font-family: 'Roboto', sans-serif;
  color: #4a4a4a;
  line-height: 1.75;
  font-size: 1em;
  width: 100%;
  box-sizing: border-box;
}

.blog-article p {
  text-indent: 0;
  color: #4a4a4a;
  margin: 0 0 14px;
}

.blog-article strong { color: #1a3a5c; }

.blog-article a {
  color: #1995b9;
  text-decoration: none;
  border-bottom: 1px solid rgba(25, 149, 185, 0.35);
  transition: color 0.15s, border-color 0.15s;
}
.blog-article a:hover {
  color: #1a3a5c;
  border-bottom-color: #1a3a5c;
}

/* ── Catégorie + meta ────────────────────────────── */
.blog-categorie {
  display: inline-block;
  background: #e8f2fb;
  color: #1995b9;
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.blog-categorie--vert   { background: #e6f4ec; color: #1e7e3e; }
.blog-categorie--orange { background: #fff3e0; color: #b45309; }
.blog-categorie--rouge  { background: #fde7e7; color: #b91c1c; }

.blog-meta {
  font-size: 0.85em;
  color: #888;
  margin: 6px 0 24px;
}

.blog-intro {
  font-size: 1.05em;
  color: #444;
  line-height: 1.7;
  margin: 0 0 22px;
  text-indent: 0;
}

/* ── Titres ──────────────────────────────────────── */
.blog-article h1 {
  color: #1a3a5c;
  font-family: 'Roboto', sans-serif;
  font-size: 1.9em;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  text-shadow: none;
  margin: 6px 0 14px;
}

.blog-article h2 {
  color: #1a3a5c;
  font-size: 1.4em;
  font-weight: 700;
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #d0e3f0;
}

.blog-article h3 {
  color: #1995b9;
  font-size: 1.1em;
  font-weight: 700;
  margin: 22px 0 8px;
}

/* ── Sommaire ─────────────────────────────────────── */
.blog-sommaire {
  background: #ffffff;
  border-left: 4px solid #1995b9;
  border-radius: 0 10px 10px 0;
  box-shadow: 0 6px 10px rgba(0,0,0,0.08);
  padding: 18px 22px;
  margin: 24px 0 28px;
}
.blog-sommaire-titre {
  font-size: 0.85em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1995b9;
  margin: 0 0 8px;
}
.blog-sommaire ol {
  padding-left: 1.3rem;
  margin: 0;
  list-style: decimal;
  width: auto;
  height: auto;
}
.blog-sommaire li {
  padding: 2px 0;
  margin: 0;
  font-size: 0.95em;
  color: #4a4a4a;
  cursor: auto;
}
.blog-sommaire a {
  color: #1995b9;
  border-bottom: none;
  text-decoration: none;
}
.blog-sommaire a:hover {
  color: #1a3a5c;
  border-bottom: 1px solid #1a3a5c;
}

/* ── Listes article ──────────────────────────────── */
.blog-article ul,
.blog-article ol {
  width: auto;
  height: auto;
  padding-left: 1.4rem;
  margin: 6px 0 18px;
  list-style: disc;
}
.blog-article ol { list-style: decimal; }
.blog-article li {
  padding: 0;
  margin-bottom: 6px;
  color: #4a4a4a;
  cursor: auto;
  font-size: 1em;
  line-height: 1.7;
}

/* Checklist verte (avantages, points forts) */
.blog-checklist {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 10px 0 18px;
}
.blog-checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}
.blog-checklist li::before {
  content: '\2713';
  position: absolute;
  left: 4px;
  top: 0;
  color: #1e7e3e;
  font-weight: 700;
  font-size: 1.1em;
}

/* Liste rouge (limites, inconvénients) */
.blog-crosslist {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 10px 0 18px;
}
.blog-crosslist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}
.blog-crosslist li::before {
  content: '\2717';
  position: absolute;
  left: 4px;
  top: 0;
  color: #b91c1c;
  font-weight: 700;
  font-size: 1.1em;
}

/* ── Encadrés / callouts ─────────────────────────── */
.blog-callout {
  border-radius: 10px;
  padding: 14px 18px;
  margin: 18px 0;
  font-size: 0.95em;
  line-height: 1.65;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
}
.blog-callout p { margin: 0; text-indent: 0; }
.blog-callout strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.82em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.blog-callout--info { background: #e8f2fb; border-left: 4px solid #1995b9; }
.blog-callout--info strong { color: #1995b9; }
.blog-callout--warn { background: #fff3e0; border-left: 4px solid #f59e0b; }
.blog-callout--warn strong { color: #b45309; }
.blog-callout--tip  { background: #e6f4ec; border-left: 4px solid #1e7e3e; }
.blog-callout--tip  strong { color: #1e7e3e; }
.blog-callout--alert{ background: #fde7e7; border-left: 4px solid #b91c1c; }
.blog-callout--alert strong { color: #b91c1c; }

/* ── Bloc spécifications techniques ──────────────── */
.blog-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin: 16px 0;
}
.blog-spec-card {
  background: #ffffff;
  border: 1px solid #d0e3f0;
  border-radius: 8px;
  padding: 12px 14px;
}
.blog-spec-label {
  font-size: 0.72em;
  font-weight: 700;
  color: #1995b9;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 4px;
}
.blog-spec-value {
  font-size: 1em;
  font-weight: 700;
  color: #1a3a5c;
  display: block;
}

/* ── Tableau article (réutilise .table-container du site) ─ */
.blog-article .table-container { margin: 18px 0; }

/* ── CTA bandeau ─────────────────────────────────── */
.blog-cta {
  background: linear-gradient(135deg, #1a3a5c 0%, #1995b9 100%);
  color: #ffffff;
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  margin: 36px 0 24px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.14);
}
.blog-cta h3 {
  color: #ffffff;
  margin: 0 0 6px;
  font-size: 1.25em;
}
.blog-cta p {
  color: rgba(255,255,255,0.92);
  margin: 0 0 16px;
  font-size: 0.95em;
  text-indent: 0;
}
.blog-cta-btn {
  display: inline-block;
  background: #ffffff;
  color: #1a3a5c !important;
  font-weight: 700;
  font-size: 0.95em;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  border: none !important;
  transition: background 0.2s, color 0.2s;
  margin: 4px;
}
.blog-cta-btn:hover {
  background: #34b0d6;
  color: #ffffff !important;
}
.blog-cta-btn--ghost {
  background: transparent;
  color: #ffffff !important;
  border: 1px solid #ffffff !important;
}
.blog-cta-btn--ghost:hover {
  background: #ffffff;
  color: #1a3a5c !important;
}

/* ── Tags fin d'article ──────────────────────────── */
.blog-tags {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #d0dce8;
}
.blog-tags-label {
  font-size: 0.82em;
  color: #888;
  margin-right: 8px;
}
.blog-tag {
  display: inline-block;
  background: #f0f4f9;
  color: #1995b9 !important;
  font-size: 0.78em;
  padding: 4px 11px;
  border-radius: 4px;
  margin: 4px 4px 4px 0;
  text-decoration: none;
  border: none !important;
  transition: background 0.2s;
}
.blog-tag:hover { background: #d4e4f0; }

/* ── Bloc « Articles connexes » ──────────────────── */
.blog-related {
  margin: 32px 0 8px;
  padding: 22px 22px 12px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 10px rgba(0,0,0,0.08);
}
.blog-related-titre {
  font-size: 0.85em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1995b9;
  margin: 0 0 12px;
}
.blog-related-liste {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0;
  width: auto;
  height: auto;
}
.blog-related-liste li {
  padding: 8px 0;
  border-bottom: 1px solid #e8eef5;
  margin: 0;
  cursor: auto;
}
.blog-related-liste li:last-child { border-bottom: none; }
.blog-related-liste a {
  color: #1a3a5c;
  font-weight: 500;
  border-bottom: none;
  text-decoration: none;
}
.blog-related-liste a:hover { color: #1995b9; }

/* =========================================================
   INDEX BLOG  ── grille de cartes /blog/index.html
   ========================================================= */
.blog-grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
  width: 100%;
  margin: 0 auto 32px;
  padding: 0 14px;
  box-sizing: border-box;
}
.blog-carte {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.blog-carte:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
}
.blog-carte-img {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #1995b9 0%, #34b0d6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.05em;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 14px;
  text-decoration: none;
  border: none;
}
.blog-carte-img--vert  { background: linear-gradient(135deg, #1e7e3e 0%, #4caf50 100%); }
.blog-carte-img--orange{ background: linear-gradient(135deg, #b45309 0%, #f59e0b 100%); }
.blog-carte-img--fonce { background: linear-gradient(135deg, #1a3a5c 0%, #1995b9 100%); }
.blog-carte-corps {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-carte-corps .blog-categorie { margin-bottom: 10px; }
.blog-carte h3 {
  color: #1a3a5c;
  font-size: 1.1em;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.3;
}
.blog-carte p {
  color: #666;
  font-size: 0.92em;
  line-height: 1.6;
  margin: 0 0 14px;
  text-indent: 0;
  flex-grow: 1;
}
.blog-carte-lien {
  align-self: flex-start;
  color: #1995b9 !important;
  font-weight: 600;
  font-size: 0.95em;
  border-bottom: none !important;
  text-decoration: none;
}
.blog-carte-lien::after {
  content: ' \2192';
  transition: margin-left 0.2s;
}
.blog-carte:hover .blog-carte-lien::after { margin-left: 6px; }

/* En-tête de la page d'index blog */
.blog-index-intro {
  max-width: 820px;
  margin: 0 auto 24px;
  padding: 0 18px;
  text-align: center;
}
.blog-index-intro p {
  color: #666;
  font-size: 1em;
  text-indent: 0;
  margin: 0 auto;
  max-width: 720px;
  line-height: 1.7;
}

/* ================================================
   FAQ accordéon (style techni-flow)
   ================================================ */
.faq-accordeon {
  max-width: 820px;
  margin: 36px auto 48px;
  padding: 0 18px;
  width: 100%;
  box-sizing: border-box;
}
.faq-accordeon-titre {
  font-size: 1.4em;
  font-weight: 700;
  color: #1a3a5c;
  margin: 0 0 6px;
  text-align: center;
}
.faq-accordeon-sstitre {
  font-size: 0.95em;
  color: #666;
  text-align: center;
  margin: 0 0 28px;
  text-indent: 0;
}
.faq-liste {
  border-top: 1px solid #ddd;
}
.faq-item {
  border-bottom: 1px solid #ddd;
}
.faq-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.faq-btn span:first-child {
  font-size: 0.98em;
  font-weight: 600;
  color: #1a3a5c;
  line-height: 1.4;
}
.faq-btn:hover span:first-child {
  color: #1995b9;
}
.faq-icone {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #aaa;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}
.faq-icone::before,
.faq-icone::after {
  content: '';
  position: absolute;
  background: #555;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  top: 50%;
  left: 50%;
}
.faq-icone::before { width: 10px; height: 2px; transform: translate(-50%, -50%); }
.faq-icone::after  { width: 2px; height: 10px; transform: translate(-50%, -50%); }
.faq-btn[aria-expanded="true"] .faq-icone {
  background: #e8f2fb;
  border-color: #1995b9;
}
.faq-btn[aria-expanded="true"] .faq-icone::before,
.faq-btn[aria-expanded="true"] .faq-icone::after {
  background: #1995b9;
}
.faq-btn[aria-expanded="true"] .faq-icone::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.faq-reponse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-reponse-inner {
  padding: 0 4px 20px;
}
.faq-reponse-inner p {
  font-size: 0.92em;
  color: #444;
  line-height: 1.75;
  margin: 0 0 10px;
  text-indent: 0;
}
.faq-reponse-inner p:last-child { margin-bottom: 0; }
.faq-reponse-inner ul {
  margin: 8px 0 10px 18px;
  padding: 0;
  width: auto;
  height: auto;
  list-style: disc;
}
.faq-reponse-inner ul li {
  font-size: 0.92em;
  color: #444;
  line-height: 1.7;
  margin-bottom: 6px;
  cursor: auto;
  padding: 0;
}
.faq-reponse-inner strong {
  color: #1a3a5c;
  font-weight: 600;
}
.faq-tag {
  display: inline-block;
  font-size: 0.75em;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  background: #e8f2fb;
  color: #1995b9;
  letter-spacing: 0.02em;
}
.faq-tag--vert   { background: #e6f4ec; color: #1e7e3e; }
.faq-tag--orange { background: #fff3e0; color: #b45309; }
.faq-tag--rouge  { background: #fde7e7; color: #b91c1c; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 640px) {
  .blog-article { padding: 8px 14px 32px; }
  .blog-article h1 { font-size: 1.5em; }
  .blog-article h2 { font-size: 1.2em; }
  .blog-article h3 { font-size: 1em; }
  .blog-cta { padding: 22px 16px; }
  .blog-grille { grid-template-columns: 1fr; gap: 16px; padding: 0 10px; }
  .faq-accordeon-titre { font-size: 1.15em; }
  .faq-btn span:first-child { font-size: 0.92em; }
  .faq-reponse-inner p,
  .faq-reponse-inner ul li { font-size: 0.88em; }
}
