/* blog.css — Infiniblog — Refonte 05/2026 */

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #1a2744;
  --navy-dk:    #111c33;
  --orange:     #e8622a;
  --orange-lt:  rgba(232,98,42,0.10);
  --bg:         #f5f4f0;
  --white:      #ffffff;
  --border:     #e4e2db;
  --text:       #1a2744;
  --muted:      #7a7a72;
  --radius:     6px;
  --max:        80%;
  --font:       'Inter', sans-serif;
}

html, body { height: 100%; }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; border: none; }
a img, a:hover img { border: none; background: transparent; }
a, a:visited { text-decoration: none; color: var(--orange); }
.nav-logo, .nav-logo:visited { color: var(--navy); }
.nav-links a, .nav-links a:visited { color: var(--muted); }
.nav-cta, .nav-cta:visited { color: var(--white); }
footer a, footer a:visited { color: rgba(255,255,255,0.35); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-weight: 700; line-height: 1.2; }
hr { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
small { font-size: 12px; }

/* LAYOUT GÉNÉRAL */
#content { width: 100%; min-height: 100%; }
#page    { overflow: auto; }
#contenu { clear: both; }
.conteneur {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px 32px;
}

/* NAV */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
nav ul, nav li { margin: 0; padding: 0; list-style: none; }
nav > ul, .nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-logo, .nav-logo:visited {
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  letter-spacing: -0.5px;
  text-decoration: none;
  margin-right: 48px;
  flex-shrink: 0;
}
.nav-logo span { color: var(--orange); }
.nav-links {
  display: flex;
  flex: 1;
  height: 64px;
}
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 0 11px;
  height: 64px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: color 0.15s, border-color 0.15s;
}
.nav-links a:hover  { color: var(--navy); }
.nav-links a.actif  { border-bottom-color: var(--orange); color: var(--orange); }
.nav-cta {
  margin-left: auto;
  background: var(--orange);
  color: var(--white);
  border: none;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--navy); color: var(--white); }
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
    margin-left: auto;
}
.hamburger span {
    display: block;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    z-index: 9999;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile-item,
.nav-mobile-item:visited {
    padding: 0 24px;
    height: 44px;
    display: flex;
    align-items: center;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--muted);
    border-top: 1px solid var(--border);
    text-decoration: none;
    transition: color .15s, background .15s;
}
.nav-mobile-item:hover { color: var(--navy); background: var(--bg); }
.nav-mobile-item.actif,
.nav-mobile-item.actif:visited { color: var(--orange); }

/* HERO */
.hero {
  background: var(--navy);
  padding: 80px 32px 88px;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 64px;
}
.hero-left { flex: 1; }
.hero-tag {
  display: inline-block;
  background: var(--orange-lt);
  color: var(--orange);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 24px;
}
.hero-title {
  font-weight: 800;
  font-size: 52px;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
  text-align: left;
  border-bottom: none;
  padding: 0;
}
.hero-title span { color: var(--orange); }
.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 600px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* mini mockup hero */
.hero-right { flex-shrink: 0; width: 400px; }
.mockup {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 14px;
}
.mockup-bar { display: flex; gap: 6px; margin-bottom: 10px; }
.mockup-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.mockup-screen { background: var(--bg); border-radius: 5px; overflow: hidden; }
.ms-head { background: var(--navy); height: 30px; display: flex; align-items: center; padding: 0 10px; gap: 8px; }
.ms-logo-block { width: 56px; height: 7px; background: var(--orange); border-radius: 2px; }
.ms-nav-items { display: flex; gap: 5px; margin-left: auto; }
.ms-nav-item { width: 28px; height: 5px; background: rgba(255,255,255,0.25); border-radius: 1px; }
.ms-body { padding: 14px 12px; }
.ms-h1 { width: 55%; height: 10px; background: var(--navy); border-radius: 2px; margin-bottom: 10px; }
.ms-line { height: 5px; background: #ccc; border-radius: 1px; margin-bottom: 5px; }
.ms-line.w90 { width: 90%; }
.ms-line.w70 { width: 70%; }
.ms-cards { display: flex; gap: 6px; margin-top: 14px; }
.ms-card { flex: 1; background: var(--white); border: 1px solid var(--border); border-radius: 3px; padding: 7px; }
.ms-card-title { width: 65%; height: 6px; background: var(--orange); border-radius: 1px; margin-bottom: 5px; }
.ms-card-line { height: 4px; background: #ddd; border-radius: 1px; margin-bottom: 3px; }
.ms-card-btn { width: 50%; height: 12px; background: var(--navy); border-radius: 2px; margin-top: 6px; }

/* BOUTONS */
.btn-orange, .btn-orange:visited {
  background: var(--orange);
  color: var(--white) !important;
  border: none;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 30px;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-orange:hover { background: #d0531f; color: var(--white) !important; }

.btn-ghost, .btn-ghost:visited {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.25);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 30px;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-block;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

.btn-navy, .btn-navy:visited {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-navy:hover { background: var(--navy-dk); color: var(--white); }

.btn-white, .btn-white:visited {
  background: var(--white);
  color: var(--orange);
  border: none;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  padding: 15px 34px;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-block;
}
.btn-white:hover { background: var(--bg); color: var(--orange); }

/* STATS */
.stats {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
}
.stat-item {
  flex: 1;
  padding: 28px 0;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-weight: 800;
  font-size: 32px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.8px; }

/* SECTIONS COMMUNES */
.section-inner { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-title {
  font-weight: 700;
  font-size: 34px;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.section-sub { font-size: 15px; color: var(--muted); margin-bottom: 52px; }

/* SERVICES */
.services {
  background: var(--white);
  padding: 80px 32px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
}
.service-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -2px;
}
.service-title {
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-text  { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.service-price { font-size: 13px; color: var(--navy); font-weight: 500; margin-bottom: 20px; }
.service-price strong { color: var(--orange); }
.service-link  { font-size: 13px; font-weight: 500; color: var(--orange); text-decoration: none; }
.service-link:hover { color: var(--navy); }

/* PROCESS */
.process {
  background: var(--bg);
  padding: 80px 32px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 52px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.process-step { text-align: center; padding: 0 16px; }
.step-num {
  width: 48px; height: 48px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
}
.process-step.active .step-num { background: var(--navy); }
.step-title { font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 8px; }
.step-text   { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* PRODUITS */
.products {
  background: var(--white);
  padding: 80px 32px;
}
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 52px;
}
.product-card {
  background: var(--navy);
  border-radius: 10px;
  padding: 36px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.product-favicon {
  width: 54px; height: 54px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: cover;
}
.product-name {
  font-weight: 700;
  font-size: 19px;
  color: var(--white);
  margin-bottom: 8px;
}
.product-desc { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 22px; }
/* BLOG */
.blog {
  background: var(--bg);
  padding: 80px 32px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.blog-thumb {
  height: 160px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.blog-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}
.blog-body    { padding: 20px; }
.blog-meta    { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.blog-title   { font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.blog-excerpt { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.blog-link    { font-size: 13px; font-weight: 500; color: var(--orange); text-decoration: none; }
.blog-link:hover { color: var(--navy); }
.blog-more    { text-align: center; margin-top: 36px; }

/* CTA BAND */
.cta-band { background: var(--orange); padding: 64px 32px; }
.cta-band-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-band-title {
  font-weight: 800;
  font-size: 30px;
  color: var(--white);
  letter-spacing: -0.5px;
  max-width: 540px;
  line-height: 1.2;
}
.cta-band-sub { font-size: 15px; color: rgba(255,255,255,0.75); margin-top: 10px; }

/* FOOTER */
footer {
  background: var(--navy-dk);
  color: var(--white);
  padding: 56px 32px 32px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  font-weight: 800;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 14px;
  display: block;
}
.footer-logo span { color: var(--orange); }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; margin-bottom: 20px; }
.footer-addr { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.8; }
.footer-addr a { color: rgba(255,255,255,0.45); }
.footer-addr a:hover { color: var(--white); }
.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}
.footer-col-links { list-style: none; }
.footer-col-links li { margin-bottom: 10px; }
.footer-col-links a { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-col-links a:hover { color: rgba(255,255,255,0.8); }


.footer-bottom { justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 0; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.15s, color 0.15s;
}
.social-btn:hover, .social-btn:visited { background: rgba(255,255,255,0.22); color: var(--white); }
/* footer-bottom = la ligne du bas avec © et réseaux */
.footer-bottom, .footer-bottom > * {
  display: flex;
  align-items: center;
}
.footer-copy { flex: 1; font-size: 12px; color: rgba(255,255,255,0.3); }

.foot-l, .foot-r { font-size: 12px; color: rgba(255,255,255,0.35); }
.foot-l a, .foot-r a { color: rgba(255,255,255,0.35); }
.foot-l a:hover, .foot-r a:hover { color: rgba(255,255,255,0.7); }
.zone-footer-bottom {
  display: flex;
  align-items: center;
  padding-top: 24px;
}
.reseaux-sociaux { display: flex; gap: 10px; }
.reseaux-sociaux a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
}
.reseaux-sociaux a:hover { background: rgba(255,255,255,0.15); color: var(--white); }

/* FORMULAIRES */
.form-z { width: 100%; min-height: 60px; height: auto; }
.form-d { width: 100%; min-height: 60px; height: auto; }
.d-haut { margin-top: 20px; }
.form-l { float: left; width: 48%; }
.form-r { float: right; width: 48%; }
input[type=submit] { -webkit-appearance: none; border-radius: 0; }
input[type=text], textarea { -webkit-appearance: none; }
.input, .textarea, .textarea2 {
  border: 1px solid var(--border);
  font-size: 14px;
  line-height: 16px;
  font-family: var(--font);
  color: var(--text);
  border-radius: var(--radius);
  padding: 8px 10px;
  margin-top: 4px;
  width: 100%;
}
.textarea  { margin-bottom: 8px; }
.textarea2 { margin-bottom: 8px; }

/* MESSAGES / ERREURS */
.erreur {
  position: absolute; top: 30px; left: 50%;
  transform: translateX(-50%);
  display: none; opacity: 0; z-index: 100;
  width: 420px; height: auto;
  color: var(--white);
  padding: 10px 16px;
  background: #c0392b;
  border-radius: var(--radius);
}
.ok {
  position: absolute; top: 30px; left: 50%;
  transform: translateX(-50%);
  display: none; opacity: 0; z-index: 99;
  width: 420px; height: auto;
  color: var(--white);
  padding: 10px 16px;
  background: #27ae60;
  border-radius: var(--radius);
}
.erreur p, .ok p { display: inline; }

/* CONTENU ÉDITORIAL */
h1 {
  font-size: 28px;
  color: var(--navy);
  text-align: center;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  margin-bottom: 24px;
}
h2 { font-size: 20px; color: var(--orange); margin-bottom: 10px; }
h2 a, h2 a:visited { color: var(--orange); }
h2 a:hover { color: var(--navy); }
h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
p, .texte, .texte li, li { line-height: 1.7; }
.conteneur p { margin-bottom: 12px; }
.conteneur h2, .conteneur h3 { margin-top: 20px; }
.texte ul { margin-left: -16px; }
.texte li { margin-bottom: 6px; }
.result { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }

/* PAGINATION */
#pager { margin: 20px 0; }
#pager ul.np {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  font-size: 14px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
#pager ul.np li.encours {
  background: var(--orange);
  width: 32px; height: 32px;
  line-height: 32px;
  color: var(--white);
  border-radius: 50%;
  text-align: center;
}
#pager ul.np li a, #pager ul.np li a:visited {
  background: var(--navy);
  width: 32px; height: 32px;
  line-height: 32px;
  color: var(--white);
  border-radius: 50%;
  text-align: center;
  display: block;
  text-decoration: none;
}
#pager ul.np li a:hover { background: var(--orange); }

/* RÉFÉRENCES */
.real img { vertical-align: middle; padding: 0 4px 0 0; }

/* RESPONSIVE */
@media (max-width: 1000px) {
  .hero-right { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .conteneur { padding: 0 16px 24px; }

  /* Nav mobile */
  nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 10000; }
  #page { padding-top: 64px; }
  .nav-cta { display: none; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-inner { max-width: 100%; padding: 0 16px; justify-content: space-between; }
  .nav-logo { margin-right: 0; }
  .nav-search { margin-left: 16px; margin-right: 12px; flex: 1; max-width: 200px; }

  .hero { padding: 48px 16px 56px; }
  .hero-title { font-size: 36px; }

  .stats-inner { flex-wrap: wrap; }
  .stat-item { flex: 1 0 50%; border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }

  .services { padding: 48px 16px; }
  .services-grid { grid-template-columns: 1fr; }

  .process { padding: 48px 16px; }
  .process-steps { grid-template-columns: 1fr; gap: 24px; }

  .products { padding: 48px 16px; }
  .products-grid { grid-template-columns: 1fr; }

  .blog { padding: 48px 16px; }
  .blog-grid { grid-template-columns: 1fr; }

  .cta-band { padding: 40px 16px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cta-band-title { font-size: 24px; }

  footer { padding: 40px 16px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer-socials { flex-direction: row !important; }
  .zone-footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }

  .form-l, .form-r { float: none; width: 100%; margin-bottom: 8px; }
  .section-inner { padding: 0 16px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; letter-spacing: -0.5px; }
  .section-title { font-size: 26px; }
  .cta-band-title { font-size: 20px; }
  .stat-item { flex: 1 0 100%; }
}

/* FORMULAIRE DEVIS */
.devis-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 0 64px;
}
.devis-header { text-align: center; margin-bottom: 48px; }
.devis-header h1 {
  font-size: 34px;
  color: var(--navy);
  border: none;
  padding: 0;
  margin: 12px 0 16px;
  text-align: center;
}
.devis-intro { font-size: 15px; color: var(--muted); max-width: 520px; margin: 0 auto; }

.devis-form { display: flex; flex-direction: column; gap: 0; }

.devis-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 32px;
  margin-bottom: 16px;
}
.devis-section-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 20px;
}
.devis-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.devis-field { display: flex; flex-direction: column; gap: 6px; }
.devis-field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
.obli { color: var(--orange); }
.obli-form { font-size: 13px; color: var(--muted); }

.input {
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  width: 100%;
  transition: border-color 0.15s;
}
.input:focus { outline: none; border-color: var(--navy); }
.input-captcha { max-width: 220px; }

.textarea {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  width: 100%;
  resize: vertical;
  transition: border-color 0.15s;
}
.textarea:focus { outline: none; border-color: var(--navy); }

.captcha-code {
  font-family: monospace;
  font-size: 15px;
  color: var(--navy);
  letter-spacing: 2px;
}

/* Radio cards — grille (type de projet) */
.radio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.radio-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.radio-card input[type=radio] { display: none; }
.radio-card:hover { border-color: var(--navy); background: var(--white); }
.radio-card.selected { border-color: var(--orange); background: rgba(232,98,42,0.06); }
.radio-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}
.radio-card.selected .radio-card-title { color: var(--orange); }
.radio-card-desc { font-size: 12px; color: var(--muted); line-height: 1.4; }

/* Radio options — liste (budget, délai) */
.radio-list { display: flex; flex-direction: column; gap: 8px; }
.radio-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.radio-option input[type=radio] { accent-color: var(--orange); width: 16px; height: 16px; flex-shrink: 0; }
.radio-option:hover { border-color: var(--navy); background: var(--white); }
.radio-option.selected { border-color: var(--orange); background: rgba(232,98,42,0.06); }
.radio-option-label { font-size: 14px; font-weight: 500; color: var(--navy); }

/* Submit */
.devis-submit {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}
.btn-lg { padding: 16px 40px; font-size: 15px; }

/* Responsive devis */
@media (max-width: 768px) {
  .devis-page { padding: 32px 0 48px; }
  .devis-section { padding: 20px; }
  .devis-grid-2 { grid-template-columns: 1fr; }
  .radio-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .radio-grid { grid-template-columns: 1fr; }
  .devis-submit { flex-direction: column; align-items: flex-start; }
}

/* RÉFÉRENCES */
.references-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.ref-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.ref-card-img {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
}
.ref-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.ref-card-body { padding: 14px 16px 16px; }
.ref-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.ref-card-titre {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ref-card-pictos { display: flex; gap: 6px; flex-shrink: 0; }
.ref-picto {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 4px;
}
.ref-picto-mobile { background: #e8f4ff; color: #185fa5; }
.ref-picto-cb     { background: #fdf3e0; color: #854f0b; }
.ref-card-lien {
  display: block;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ref-card-lien svg { vertical-align: -1px; margin-right: 3px; }
.ref-card-lien:hover { color: var(--navy); }
.ref-card-type {
  display: block;
  margin-top: 10px;
  padding: 7px 14px;
  background: var(--bg);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  letter-spacing: 0.3px;
}


@media (max-width: 900px) {
  .references-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .references-grid { grid-template-columns: 1fr; }
}

/* TOAST */
.toast-container { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; }
.toast { min-width: 280px; max-width: 420px; padding: 14px 20px; border-radius: var(--radius); font-size: 14px; font-weight: 500; box-shadow: 0 4px 20px rgba(0,0,0,.12); display: flex; align-items: center; gap: 10px; pointer-events: all; animation: toastIn .3s ease forwards; }
.toast.toast-ok  { background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; }
.toast.toast-err { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }
.toast-icon { font-size: 18px; flex-shrink: 0; }
.toast-msg  { flex: 1; }
@keyframes toastIn  { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateY(-8px); } }

/* CARROUSEL HERO */
.hero-carousel {
  position: relative;
  width: 100%;
  padding-bottom: 57.875%;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide-frame {
  background: #ffffff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}
.hero-slide-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  object-position: top;
}
.hero-slide-caption {
  margin-top: 12px;
  padding-left: 4px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.hero-slide-titre {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.3px;
}
.hero-slide-genre {
  font-size: 11px;
  font-weight: 500;
  color: #e8622a;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* MINI-HERO PAGES INTERNES */
.page-hero {
  background: var(--navy);
  margin-bottom: 40px;
}
.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.page-hero-bar {
  width: 3px;
  height: 36px;
  background: var(--orange);
  border-radius: 2px;
  flex-shrink: 0;
}
.page-hero h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  border: none;
  padding: 0;
}
@media (max-width: 768px) {
  .page-hero-inner { padding: 20px 16px; gap: 16px; }
  .page-hero h1 { font-size: 20px; }
}

/* ANIMATIONS AU SCROLL */
.anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.anim.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SURCHARGES BLOG ──────────────────────────────────────────── */

/* Conteneur global — 80% au lieu de --max */
.blog-wrap {
  max-width: 80%;
  margin: 40px auto 56px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

/* ── HERO ARTICLE ─────────────────────────────────────────────── */
.hero-article {
  background: var(--navy);
  padding: 56px 0;
}
.hero-article-inner {
  max-width: 80%;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: center;
}
.hero-cat-tag {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 16px;
}
.hero-article-title {
  font-weight: 800;
  font-size: 36px;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  border: none;
  padding: 0;
  text-align: left;
}
.hero-article-excerpt {
  font-size: 15px;
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
}
.hero-meta strong { color: rgba(255,255,255,0.65); }
.hero-img-wrap {
  aspect-ratio: 4/3;
  background: var(--navy-dk);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* ── LISTE ARTICLES ───────────────────────────────────────────── */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 160px 1fr;
}
.article-thumb {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--muted);
  min-height: 160px;
  border-right: 1px solid var(--border);
}
.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
}
.article-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.article-title {
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
  text-decoration: none;
  display: block;
  border: none;
  padding: 0;
  text-align: left;
}
.article-title:hover { color: var(--orange); }
.article-excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}
.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
  gap: 12px;
}
.article-meta { font-size: 12px; color: var(--muted); }
.article-stats {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
}
.btn-read {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-read:hover { background: var(--navy); color: var(--white); }

/* ── SIDEBAR ──────────────────────────────────────────────────── */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sb-block {
  background: var(--navy);
  border-radius: 8px;
  overflow: hidden;
}
.sb-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sb-head-icon {
  width: 28px;
  height: 28px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.sb-head-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
}
.sb-body { padding: 16px 18px; }

.sb-search { display: flex; }
.sb-search input {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,0.15);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  background: rgba(255,255,255,0.08);
  font-family: var(--font);
  font-size: 13px;
  color: var(--white);
  outline: none;
}
.sb-search input::placeholder { color: rgba(255,255,255,0.35); }
.sb-search input:focus { border-color: var(--orange); }
.sb-search button {
  height: 38px;
  padding: 0 11px;
  background: var(--orange);
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
}
.sb-search button:hover { background: #d0531f; }

.sb-product {
  background: rgba(232,98,42,0.08);
  border: 1px solid rgba(232,98,42,0.2);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
}
.sb-product-name { font-weight: 700; font-size: 15px; color: var(--white); margin-bottom: 6px; }
.sb-product-desc { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.6; margin-bottom: 14px; }
.sb-product-cta {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: var(--radius);
  text-decoration: none;
}
.sb-product-cta:hover { background: #d0531f; color: var(--white); }

.sb-list { list-style: none; margin: 0; padding: 0; }
.sb-list li { border-bottom: 1px solid rgba(255,255,255,0.06); }
.sb-list li:last-child { border-bottom: none; }
.sb-list a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 9px 0;
  line-height: 1.4;
}
.sb-list a:hover { color: var(--orange); }
.sb-list a::before { content: '›'; color: var(--orange); margin-right: 8px; font-weight: 700; }

.sb-about-text { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 14px; }
.sb-about-links { list-style: none; margin: 0; padding: 0; }
.sb-about-links li { margin-bottom: 6px; }
.sb-about-links a { font-size: 13px; color: var(--orange); text-decoration: none; }
.sb-about-links a::before { content: '› '; }
.sb-about-links a:hover { color: var(--white); }

.sb-comments { display: flex; flex-direction: column; gap: 12px; }
.sb-comment { border-bottom: 1px solid rgba(255,255,255,0.06); padding-bottom: 12px; }
.sb-comment:last-child { border-bottom: none; padding-bottom: 0; }
.sb-comment-author { font-size: 12px; font-weight: 500; color: var(--orange); margin-bottom: 3px; }
.sb-comment-text { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.5; }

/* ── SURCHARGE FOOTER max-width 80% ───────────────────────────── */
.footer-inner { max-width: 80%; }

/* ── RESPONSIVE BLOG ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .blog-wrap,
  .hero-article-inner,
  .footer-inner { max-width: 95%; }
}
@media (max-width: 900px) {
  .blog-wrap { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .hero-article-inner { grid-template-columns: 1fr; }
  .hero-img-wrap { display: none; }
}
@media (max-width: 600px) {
  .blog-wrap { padding: 0 16px; margin-top: 24px; }
  .article-card { grid-template-columns: 1fr; }
  .article-thumb { min-height: 100px; border-right: none; border-bottom: 1px solid var(--border); }
  .article-footer { flex-wrap: wrap; }
  .article-stats { display: none; }
  .hero-article { padding: 32px 0; }
  .hero-article-title { font-size: 26px; }
}

/* ── RECHERCHE NAV ────────────────────────────────────────────── */
.nav-search {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.nav-search-input {
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-family: var(--font);
  font-size: 13px;
  color: var(--text);
  width: 200px;
  outline: none;
  transition: border-color 0.15s, width 0.2s;
}
.nav-search-input:focus { border-color: var(--navy); width: 260px; }

/* nav-search : voir bloc principal ci-dessus */


/* Hero : forcer couleurs sur h1 et liens */
.hero-article-title,
.hero-article-title a,
.hero-article-title a:visited { color: var(--white); }
.hero-article-title a:hover { color: var(--orange); }
/* Hero : forcer couleurs blanches */
.hero-article-title,
.hero-article-title a,
.hero-article-title a:visited { color: var(--white); }
.hero-article-title a:hover { color: var(--orange); }
.hero-article-excerpt { color: rgba(255,255,255,0.62) !important; }
.hero-meta { color: rgba(255,255,255,0.4) !important; }
/* Hero : surcharge des regles globales h1 et p */
.hero-article h1,
.hero-article h1 a,
.hero-article h1 a:visited { color: var(--white); text-align: left; border-bottom: none; padding: 0; margin-bottom: 16px; font-size: 36px; }
.hero-article h1 a:hover { color: var(--orange); }
.hero-article p { color: rgba(255,255,255,0.62); }
/* Pagination */
.pagination {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  align-items: center;
}
.page-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 13px;
  color: var(--navy);
  text-decoration: none;
}
.page-btn:hover { border-color: var(--orange); color: var(--orange); }
.page-btn.actif { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Pagination */
.pagination {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  align-items: center;
}
.page-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 13px;
  color: var(--navy);
  text-decoration: none;
}
.page-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.page-btn.actif { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Pagination */
.pagination {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  align-items: center;
}
.page-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 13px;
  color: var(--navy);
  text-decoration: none;
}
.page-btn:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }
.page-btn.actif { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Hero : supprimer max-width sur excerpt */
.hero-article-excerpt { max-width: none; }

/* Article footer : stats collees a la date */
.article-footer { justify-content: flex-start; }
.article-stats { margin-left: 16px; }
.article-footer .btn-read { margin-left: auto; }

/* btn-read : forcer couleur blanche */
.btn-read, .btn-read:visited { color: var(--white) !important; }

/* Sidebar : harmonisation liens - suppression sb-about-links */
.sb-about-links { list-style: none; margin: 0; padding: 0; }
.sb-about-links li { border-bottom: 1px solid rgba(255,255,255,0.06); }
.sb-about-links li:last-child { border-bottom: none; }
.sb-about-links a { display: block; font-size: 13px; color: rgba(255,255,255,0.65); text-decoration: none; padding: 9px 0; line-height: 1.4; }
.sb-about-links a:hover { color: var(--orange); }
.sb-about-links a::before { content: '›'; color: var(--orange); margin-right: 8px; font-weight: 700; }

/* Sidebar : texte descriptif */
.sb-body-text { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 14px; }

/* Article title : forcer navy */
.article-title, .article-title:visited { color: var(--navy) !important; }
.article-title:hover { color: var(--orange) !important; }

/* Article complet */
.article-full { margin-bottom: 40px; }
.article-full-header { margin-bottom: 28px; }
.article-full-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  border: none;
  padding: 0;
  text-align: left;
}
.article-full-body { font-size: 15px; line-height: 1.8; color: var(--text); }
.article-full-body h2 { font-size: 20px; color: var(--navy); margin: 28px 0 12px; }
.article-full-body h3 { font-size: 17px; color: var(--navy); margin: 20px 0 10px; }
.article-full-body p { margin-bottom: 16px; }
.article-full-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 12px 0; }
.article-full-body pre { background: var(--bg); border: 1px solid var(--border); border-left: 4px solid var(--orange); padding: 16px; overflow: auto; border-radius: var(--radius); font-size: 13px; margin-bottom: 16px; }
.article-full-body a { color: var(--orange); }
.article-full-body a:hover { color: var(--navy); }

/* Commentaires */
.comments-section { margin-bottom: 40px; }
.comments-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 24px; border: none; padding: 0; text-align: left; }
.comment {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  margin-bottom: 16px;
}
.comment-admin { background: var(--navy); border-color: var(--navy); }
.comment-admin .comment-author,
.comment-admin .comment-author a { color: var(--white); }
.comment-admin .comment-date a { color: rgba(255,255,255,0.5); }
.comment-admin .comment-text { color: rgba(255,255,255,0.8); }
.comment-avatar img { border-radius: 50%; flex-shrink: 0; }
.comment-body { flex: 1; min-width: 0; }
.comment-author { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.comment-author a { color: var(--navy); }
.comment-author a:hover { color: var(--orange); }
.comment-date { font-size: 12px; color: var(--muted); font-weight: 400; }
.comment-date a { color: var(--muted); font-size: 12px; }
.comment-date a:hover { color: var(--orange); }
.comment-text { font-size: 14px; color: var(--text); line-height: 1.7; }

/* Formulaire commentaire */
.comment-form-wrap { margin-bottom: 40px; }
.comment-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 13px; font-weight: 600; color: var(--muted); }
.form-check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; cursor: pointer; }
.bouton {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 11px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
}
.bouton:hover { background: var(--navy); color: var(--white); }

/* Sidebar sticky */
.blog-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}

/* Correction sticky sidebar : #page ne doit pas avoir overflow */
#page { overflow: visible; }

/* Plan du blog */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.plan-cat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.plan-cat-head {
  background: var(--navy);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.plan-cat-titre {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.plan-cat-titre:hover { color: var(--orange); }
.plan-cat-count {
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  min-width: 24px;
  text-align: center;
}
.plan-cat-list { list-style: none; margin: 0; padding: 0; }
.plan-cat-list li { border-bottom: 1px solid var(--border); }
.plan-cat-list li:last-child { border-bottom: none; }
.plan-cat-list a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  line-height: 1.4;
}
.plan-cat-list a::before { content: '> '; color: var(--orange); font-weight: 700; margin-right: 4px; }
.plan-cat-list a:hover { background: var(--bg); color: var(--orange); }

@media (max-width: 768px) {
  .plan-grid { grid-template-columns: 1fr; }
}

/* Recherche AJAX — dropdown */
.nav-search { position: relative; }
.nav-search-input { position: relative; }
.search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 200;
  overflow: hidden;
}
.search-dropdown.is-open { display: block; }
.sd-header {
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.sd-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: background 0.12s;
}
.sd-item:hover { background: var(--bg); }
.sd-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange);
}
.sd-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
.sd-excerpt {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sd-footer {
  display: block;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg);
  text-decoration: none;
}
.sd-footer:hover { color: var(--navy); }
.sd-empty {
  padding: 14px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* Page recherche — message vide */
.rech-vide {
  font-size: 14px;
  color: var(--muted);
  padding: 32px 0;
}

/* Sidebar — blocs produits orange (InfiniSearch, Thumbs) */
.sb-block-orange {
  background: var(--orange);
}
.sb-head-orange {
  background: var(--orange);
  border-bottom: 1px solid rgba(255,255,255,0.35);
}
.sb-head-orange .sb-head-title {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
}
.sb-block-orange .sb-body-text-dark {
  color: rgba(255,255,255,0.85);
}
.sb-btn-navy {
  display: inline-block;
  background: var(--navy);
  color: var(--white) !important;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  margin-top: 4px;
  transition: background 0.15s;
}
.sb-btn-navy:hover { background: var(--navy-dk); color: var(--white) !important; }

/* Picto navy sur boxes orange */
.sb-head-icon-navy {
  background: var(--navy);
  color: var(--white);
}
