/* ─────────────────────────────────────────
   MauvaisAvis.com — Light SaaS Theme
   par Pim Legal
   ───────────────────────────────────────── */

:root {
  --bg:        #F5F7FA;
  --white:     #FFFFFF;
  --surface2:  #EEF1F8;
  --border:    #E2E8F0;
  --border2:   #CBD5E1;

  --blue:      #1D4ED8;
  --blue-h:    #1A45BF;
  --blue-l:    #2563EB;
  --blue-s:    #EFF4FF;
  --blue-brd:  #BFDBFE;
  --blue-d:    #173FA8;

  --navy:      #14223F;
  --navy-2:    #1E3260;

  --gold:      #D99A1C;
  --gold-l:    #E8B23F;
  --gold-s:    #FDF6E7;
  --gold-brd:  #F0DBA6;

  --red:       #DC2626;
  --red-s:     #FEF2F2;
  --red-brd:   #FECACA;

  --green:     #059669;
  --green-s:   #ECFDF5;
  --green-brd: #A7F3D0;

  --amber:     #D97706;
  --amber-s:   #FFFBEB;
  --amber-brd: #FDE68A;

  --t1: #0F172A;
  --t2: #475569;
  --t3: #94A3B8;

  --fw:  1140px;
  --r:   10px;
  --rl:  16px;
  --rxl: 24px;

  --sh-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --sh:    0 4px 16px rgba(15,23,42,0.08), 0 1px 4px rgba(15,23,42,0.04);
  --sh-lg: 0 12px 40px rgba(15,23,42,0.10), 0 4px 12px rgba(15,23,42,0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--t1);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}
h1, h2, h3, h4, h5 { font-family: 'Fraunces', serif; line-height: 1.12; color: var(--t1); font-weight: 600; letter-spacing: -0.01em; font-optical-sizing: auto; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ─── LAYOUT ─── */
.container { max-width: var(--fw); margin: 0 auto; padding: 0 24px; }
.section       { padding: 80px 0; }
.section-white { background: var(--white); }
.section-gray  { background: var(--bg); }
.section-blue  { background: var(--blue-s); }

/* ─── NAV ─── */
.nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: 0 2px 16px rgba(15,23,42,0.08); }
.nav-inner {
  max-width: var(--fw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 11px;
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 18px; color: var(--t1);
  flex-shrink: 0; letter-spacing: -0.01em;
}
.nav-logo-mark { display: flex; flex-shrink: 0; transform-origin: 50% 60%; }
.nav-logo-mark svg { display: block; transition: transform 0.2s ease; }
.nav-logo:hover .nav-logo-mark svg { animation: shield-pop 0.55s cubic-bezier(.36,1.6,.5,1) both; }
@keyframes shield-pop {
  0%   { transform: scale(1) rotate(0deg); }
  25%  { transform: scale(1.18) rotate(-5deg); }
  45%  { transform: scale(1.12) rotate(4deg); }
  62%  { transform: scale(1.15) rotate(-3deg); }
  78%  { transform: scale(1.12) rotate(2deg); }
  100% { transform: scale(1.12) rotate(0deg); }
}
.nav-logo-txt { display: flex; flex-direction: column; line-height: 1.05; }
.nav-logo-sub {
  font-size: 10px; color: var(--t3); font-weight: 500;
  font-family: 'Plus Jakarta Sans', sans-serif; display: block; margin-top: 1px; letter-spacing: 0;
}
.nav-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-links { display: flex; gap: 26px; flex: 1; justify-content: center; }
.nav-links a {
  font-size: 14px; color: var(--t2); font-weight: 500;
  transition: color 0.15s; padding-bottom: 3px; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--blue); border-radius: 2px; transition: right 0.25s ease;
}
.nav-links a:hover  { color: var(--blue); }
.nav-links a:hover::after { right: 0; }
.nav-links a.active { color: var(--blue); }
.nav-links a.active::after { right: 0; }

/* hamburger + drawer */
.nav-burger {
  display: none; align-items: center; gap: 8px;
  height: 42px; padding: 0 15px 0 13px; border: 1px solid var(--border2);
  background: var(--white); border-radius: 11px; cursor: pointer; color: var(--navy);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 600;
  transition: all 0.2s;
}
.nav-burger:hover { border-color: var(--blue-brd); background: var(--blue-s); color: var(--blue); }
.nav-burger .ico { width: 20px; height: 20px; }
.nav-burger-txt { line-height: 1; }
.nav-overlay {
  position: fixed; inset: 0; background: rgba(20,34,63,0.5);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: none; z-index: 1001;
}
.nav-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
.nav-drawer {
  position: fixed; top: 0; bottom: 0; right: 0;
  width: 84vw; max-width: 340px;
  background: #FFFFFF; z-index: 1002;
  transform: translateX(100%); -webkit-transform: translateX(100%);
  visibility: hidden;
  transition: none;
  box-shadow: -20px 0 60px rgba(20,34,63,0.18);
  display: flex; flex-direction: column; padding: 22px; overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); -webkit-transform: translateX(0); visibility: visible; }
/* Les transitions ne s'activent qu'une fois la page prête (évite le slide furtif au chargement) */
body.nav-ready .nav-drawer { transition: transform 0.35s cubic-bezier(.4,0,.2,1), visibility 0.35s; }
body.nav-ready .nav-overlay { transition: opacity 0.3s ease, visibility 0.3s ease; }
.nav-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.nav-drawer-close {
  width: 40px; height: 40px; border: 1px solid var(--border); background: var(--white);
  border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--navy);
  transition: all 0.2s;
}
.nav-drawer-close:hover { background: var(--bg); color: var(--blue); }
.nav-drawer-links { display: flex; flex-direction: column; gap: 2px; }
.nav-drawer-links a {
  font-size: 16px; font-weight: 600; color: var(--navy); padding: 14px 14px;
  border-radius: 11px; transition: all 0.18s; display: flex; align-items: center; gap: 12px;
}
.nav-drawer-links a:hover, .nav-drawer-links a.active { background: var(--blue-s); color: var(--blue); }
.nav-drawer-links a svg { width: 18px; height: 18px; opacity: 0.7; }
.nav-drawer .btn-primary { margin-top: 22px; justify-content: center; padding: 14px; font-size: 15px; }


/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--blue); color: white;
  padding: 10px 20px; border-radius: var(--r);
  font-size: 14px; font-weight: 600; font-family: 'Plus Jakarta Sans', sans-serif;
  border: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 2px 8px rgba(29,78,216,0.22); white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 5px 18px rgba(29,78,216,0.35); filter: brightness(1.07); }
.btn-primary.lg   { padding: 14px 28px; font-size: 16px; border-radius: 12px; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 7px;
  background: white; color: var(--t1);
  padding: 10px 20px; border-radius: var(--r);
  font-size: 14px; font-weight: 500; font-family: 'Plus Jakarta Sans', sans-serif;
  border: 1.5px solid var(--border2); cursor: pointer; transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-s); }
.btn-outline.lg   { padding: 14px 28px; font-size: 16px; border-radius: 12px; }

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; color: var(--blue);
  padding: 15px 32px; border-radius: 12px;
  font-size: 16px; font-weight: 700; font-family: 'Fraunces', serif;
  border: none; cursor: pointer; transition: all 0.2s;
  box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.22); }

/* ─── TYPOGRAPHY ─── */
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--blue); margin-bottom: 14px;
}
.section-h2 { font-size: clamp(26px,3.5vw,42px); font-weight: 600; letter-spacing: -0.025em; margin-bottom: 14px; }
.section-sub { font-size: 17px; color: var(--t2); max-width: 540px; line-height: 1.75; margin-bottom: 48px; }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ─── BADGES ─── */
.badge { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 100px; }
.badge-blue   { background: var(--blue-s);  color: var(--blue);  border: 1px solid var(--blue-brd); }
.badge-green  { background: var(--green-s); color: var(--green); border: 1px solid var(--green-brd); }
.badge-red    { background: var(--red-s);   color: var(--red);   border: 1px solid var(--red-brd); }
.badge-amber  { background: var(--amber-s); color: var(--amber); border: 1px solid var(--amber-brd); }

/* ─── CARDS ─── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--rl); padding: 28px;
  box-shadow: var(--sh-sm); transition: all 0.22s;
}
.card:hover { box-shadow: var(--sh); transform: translateY(-3px); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px; flex-shrink: 0;
}
.icon-blue  { background: var(--blue-s); }
.icon-red   { background: var(--red-s); }
.icon-green { background: var(--green-s); }
.icon-amber { background: var(--amber-s); }

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 44px 24px;
}
.stats-grid { max-width: var(--fw); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item { text-align: center; padding: 10px 28px; }
.stat-item + .stat-item { border-left: 1px solid var(--border); }
.stat-num {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 40px;
  color: var(--blue); line-height: 1; margin-bottom: 8px; white-space: nowrap;
}
.stat-label { font-size: 13px; color: var(--t2); font-weight: 500; }

/* ─── PROCESS ─── */
.process-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; position: relative; }
.process-grid::before {
  content: ''; position: absolute; top: 32px;
  left: calc(16.67% + 32px); right: calc(16.67% + 32px);
  border-top: 2px dashed var(--border2);
}
.process-step { text-align: center; padding: 0 32px; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--blue); color: white;
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px; position: relative; z-index: 1;
  box-shadow: 0 4px 16px rgba(29,78,216,0.28);
}
.process-step h3 { font-size: 18px; margin-bottom: 10px; }
.process-step p  { font-size: 14px; color: var(--t2); line-height: 1.7; }

/* ─── TESTIMONIALS ─── */
.testi-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--rl); padding: 28px; box-shadow: var(--sh-sm);
}
.testi-stars { color: #F59E0B; font-size: 15px; letter-spacing: 1px; margin-bottom: 14px; }
.testi-text  { font-size: 15px; color: var(--t2); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testi-text::before { content: '\201C'; }
.testi-text::after  { content: '\201D'; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-av {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: white; flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 700; color: var(--t1); }
.testi-role { font-size: 12px; color: var(--t3); margin-top: 1px; }
.testi-status {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: auto; align-self: flex-start;
  background: #F1F3F8;
  padding: 6px 13px;
  border-radius: 8px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.7px;
  line-height: 1; white-space: nowrap;
}
.testi-status .ic { width: 15px; height: 15px; flex-shrink: 0; display: block; }
.testi-status.done  { color: #3F5560; }
.testi-status.legal { color: #2B4C8C; background: #E8EFFC; }

/* ─── FAQ ─── */
.faq-item {
  border: 1px solid var(--border); border-radius: var(--r);
  margin-bottom: 10px; background: var(--white);
  box-shadow: var(--sh-sm); overflow: hidden; transition: border-color 0.15s;
}
.faq-item:has([aria-expanded="true"]) { border-color: var(--blue-brd); }
.faq-q {
  width: 100%; background: transparent; color: var(--t1);
  padding: 18px 22px; text-align: left; cursor: pointer;
  font-size: 15px; font-weight: 600; font-family: 'Fraunces', serif;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border: none; transition: background 0.15s;
}
.faq-q:hover { background: var(--surface2); }
.faq-q[aria-expanded="true"] { color: var(--blue); }
.faq-icon { font-size: 22px; color: var(--t3); transition: transform 0.3s; flex-shrink: 0; line-height: 1; }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); color: var(--blue); }
.faq-answer { padding: 0 22px 20px; font-size: 14px; color: var(--t2); line-height: 1.75; }
.faq-answer p { margin-bottom: 10px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul { list-style: none; padding: 0; }
.faq-answer ul li { padding-left: 18px; position: relative; margin-bottom: 4px; }
.faq-answer ul li::before { content: '·'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

/* ─── CTA BOX ─── */
.cta-box {
  background: var(--blue); border-radius: var(--rxl); padding: 64px;
  text-align: center; color: white; position: relative; overflow: hidden;
  box-shadow: 0 16px 52px rgba(29,78,216,0.28);
}
.cta-box::before { content:''; position:absolute; top:-120px; right:-120px; width:360px; height:360px; border-radius:50%; background:rgba(255,255,255,0.05); pointer-events:none; }
.cta-box::after  { content:''; position:absolute; bottom:-90px; left:-90px;  width:280px; height:280px; border-radius:50%; background:rgba(255,255,255,0.04); pointer-events:none; }
.cta-box h2 { color:white; font-size:clamp(22px,3vw,34px); margin-bottom:14px; position:relative; z-index:1; }
.cta-box p  { color:rgba(255,255,255,0.82); font-size:17px; margin-bottom:32px; line-height:1.7; max-width:520px; margin-left:auto; margin-right:auto; position:relative; z-index:1; }
.cta-meta { color:rgba(255,255,255,0.6); font-size:13px; margin-top:16px; position:relative; z-index:1; }
.cta-meta span { color:rgba(255,255,255,0.9); font-weight:600; }
.cta-btn-wrap { position: relative; z-index: 1; }

/* ─── CALLOUT ─── */
.callout {
  border-radius: var(--r); padding: 16px 20px; margin: 24px 0;
  font-size: 14px; line-height: 1.75; display: flex; gap: 12px; align-items: flex-start;
}
.callout-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.callout-icon .ico { width: 19px; height: 19px; }
.callout-blue  .callout-icon { color: var(--blue); }
.callout-red   .callout-icon { color: var(--red); }
.callout-green .callout-icon { color: var(--green); }
.callout-amber .callout-icon { color: var(--gold); }
.callout strong { display: block; font-weight: 700; margin-bottom: 4px; }
.callout-blue  { background: var(--blue-s);  border-left: 3px solid var(--blue); }
.callout-red   { background: var(--red-s);   border-left: 3px solid var(--red); }
.callout-green { background: var(--green-s); border-left: 3px solid var(--green); }
.callout-amber { background: var(--amber-s); border-left: 3px solid var(--amber); }

/* ─── PAGE HERO ─── */
.page-hero {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 56px 0 52px;
}
.page-hero-inner { max-width: var(--fw); margin: 0 auto; padding: 0 24px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--t3); margin-bottom: 18px; }
.breadcrumb a { color: var(--t3); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { font-size: 11px; }

/* ─── ARTICLE LAYOUT ─── */
.article-wrap { max-width: var(--fw); margin: 0 auto; padding: 48px 24px 80px; display: grid; grid-template-columns: 1fr 280px; gap: 56px; align-items: start; }
.prose h2 { font-size: 26px; font-weight: 700; margin-top: 48px; margin-bottom: 16px; }
.prose h3 { font-size: 19px; font-weight: 700; margin-top: 30px; margin-bottom: 12px; }
.prose p  { color: var(--t2); margin-bottom: 16px; line-height: 1.8; }
.prose ul { list-style: none; margin: 0 0 24px; }
.prose ul li { padding: 9px 0 9px 24px; color: var(--t2); font-size: 15px; line-height: 1.65; position: relative; border-bottom: 1px solid var(--border); }
.prose ul li::before { content: '→'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.prose ul li:last-child { border-bottom: none; }
.prose strong { color: var(--t1); font-weight: 600; }
.prose a { color: var(--blue); text-decoration: underline; }
.sidebar-sticky { position: sticky; top: 80px; }
.toc-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--rl); padding: 24px; box-shadow: var(--sh-sm); }
.toc-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--t3); margin-bottom: 14px; }
.toc-list { list-style: none; }
.toc-list li { margin-bottom: 6px; }
.toc-list a { font-size: 13px; color: var(--t2); transition: all 0.15s; padding: 4px 8px 4px 12px; border-left: 2px solid transparent; display: block; border-radius: 0 var(--r) var(--r) 0; }
.toc-list a:hover { color: var(--blue); border-left-color: var(--blue); background: var(--blue-s); }
.method-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--rl); padding: 22px 24px; margin-bottom: 14px; box-shadow: var(--sh-sm); }
.method-card h3 { margin: 0 0 8px; font-size: 16px; }
.method-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.method-detail { font-size: 13px; color: var(--t2); line-height: 1.65; }

/* ─── FORM ─── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--t1); margin-bottom: 6px; }
.form-label .req { color: var(--red); }
.form-control {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--r);
  font-size: 14px; color: var(--t1); background: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif; transition: all 0.15s; outline: none;
}
.form-control:focus { border-color: var(--blue-l); box-shadow: 0 0 0 3px rgba(37,99,235,0.12); }
.form-control::placeholder { color: var(--t3); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

/* ─── FOOTER ─── */
footer { background: var(--t1); color: rgba(255,255,255,0.55); padding: 60px 0 28px; }
.footer-inner {
  max-width: var(--fw); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { font-family: 'Fraunces', serif; font-weight: 600; font-size: 18px; color: white; margin-bottom: 12px; }
.footer-desc { font-size: 13px; line-height: 1.75; max-width: 260px; }
.footer-col-h { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.3); margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.15s; }
.footer-links a:hover { color: white; }
.footer-bottom {
  max-width: var(--fw); margin: 24px auto 0; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center; font-size: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: white; }

/* ─── ANIMATIONS ─── */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }

/* ─── SHARED JS HELPERS ─── */
.hidden { display: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .stats-grid       { grid-template-columns: repeat(2,1fr); }
  .stat-item + .stat-item:nth-child(3) { border-left: none; border-top: 1px solid var(--border); padding-top: 24px; margin-top: 8px; }
  .process-grid     { grid-template-columns: 1fr; gap: 32px; }
  .process-grid::before { display: none; }
  .footer-inner     { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links        { display: none; }
  .nav-cta          { display: none; }
  .nav-burger       { display: flex; }
  .footer-bottom    { flex-direction: column; gap: 8px; text-align: center; }
  .article-wrap     { grid-template-columns: 1fr; padding: 32px 24px 60px; }
  .sidebar-sticky   { display: none; }
  .cta-box          { padding: 40px 28px; }
}
@media (max-width: 640px) {
  .footer-inner     { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   V2 — RICHESSE VISUELLE & ICÔNES OUTLINE
   ═══════════════════════════════════════════ */

/* Icônes outline (style Lucide) */
.ico { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; fill: none; display: block; }
.card-icon .ico { width: 23px; height: 23px; }
.icon-blue  { color: var(--blue); }
.icon-red   { color: var(--red); }
.icon-green { color: var(--green); }
.icon-amber { color: var(--gold); }
.icon-gold  { color: var(--gold); background: var(--gold-s); }

/* Carte icône : dégradé subtil + anneau */
.card-icon {
  position: relative; border: 1px solid transparent;
  background-clip: padding-box;
}
.card-icon::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(15,23,42,0.04); pointer-events: none;
}

/* Hero : fond travaillé (grain léger + halo) */
.hero-rich {
  position: relative;
  background:
    radial-gradient(60% 80% at 75% 0%, rgba(29,78,216,0.06), transparent 60%),
    radial-gradient(50% 60% at 10% 100%, rgba(217,154,28,0.05), transparent 55%),
    var(--white);
}
.hero-rich::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.4;
  background-image: radial-gradient(rgba(20,34,63,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%);
}

/* Boutons : effet de brillance au survol */
.btn-primary {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--blue-l), var(--blue-d));
}
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-18deg); transition: left 0.6s ease;
}
.btn-primary:hover::after { left: 130%; }

/* CTA box : dégradé profond + texture */
.cta-box {
  background: linear-gradient(135deg, #1E3FB0, #14223F);
}
.cta-box::before {
  background:
    radial-gradient(circle at 80% 10%, rgba(217,154,28,0.16), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(255,255,255,0.06), transparent 50%);
  width: 100%; height: 100%; top: 0; right: 0; border-radius: 0;
}

/* Liens étoile / accents or */
.testi-stars { color: var(--gold); }
.step-num {
  background: linear-gradient(135deg, var(--blue-l), var(--blue-d));
  box-shadow: 0 6px 20px rgba(29,78,216,0.32), inset 0 1px 0 rgba(255,255,255,0.2);
}

/* Section tag : petit trait or */
.section-tag::before {
  content: ''; display: inline-block; width: 18px; height: 2px;
  background: var(--gold); border-radius: 2px; vertical-align: middle; margin-right: 9px;
}

/* Cartes : hover plus raffiné */
.card { transition: transform 0.28s cubic-bezier(.34,1.3,.64,1), box-shadow 0.28s ease, border-color 0.28s; }
.card:hover { border-color: var(--blue-brd); }

/* Badge hero (pilule) plus premium */
.badge-blue { background: linear-gradient(135deg, #EEF4FF, #E2ECFF); }

/* Process : ligne pointillée en dégradé */
.process-grid::before { border-top: 2px dashed var(--blue-brd); }

@media (max-width: 600px) {
  .hero-rich::before { display: none; }
}

/* ─── BLOG ─── */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--rl);
  padding: 26px 26px 22px; box-shadow: var(--sh-sm);
  transition: transform 0.28s cubic-bezier(.34,1.3,.64,1), box-shadow 0.28s, border-color 0.28s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--blue-brd); }
.post-card-cat {
  display: inline-block; align-self: flex-start;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--blue); background: var(--blue-s); border: 1px solid var(--blue-brd);
  padding: 4px 10px; border-radius: 100px; margin-bottom: 16px;
}
.post-card-title { font-size: 20px; font-weight: 600; line-height: 1.25; margin-bottom: 12px; color: var(--navy); }
.post-card:hover .post-card-title { color: var(--blue); }
.post-card-ex { font-size: 14px; color: var(--t2); line-height: 1.65; margin-bottom: 20px; flex: 1; }
.post-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--t3);
}
.post-card-arrow { color: var(--blue); font-weight: 600; transition: transform 0.2s; }
.post-card:hover .post-card-arrow { transform: translateX(3px); }

/* ═══════════════════════════════════════════
   GRILLES RESPONSIVES (remplacent les styles inline)
   ═══════════════════════════════════════════ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* aperçu pré-analyse : 2 colonnes -> 1 sur mobile */
.preanalyse-body { display: grid; grid-template-columns: 300px 1fr; }
.preanalyse-body > div:first-child { border-right: 1px solid var(--border); }

/* contact : 2 colonnes -> 1 sur mobile */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.field-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 700px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .preanalyse-body { grid-template-columns: 1fr; }
  .preanalyse-body > div:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .field-row { grid-template-columns: 1fr; }
}

/* ═══ ALIGNEMENT & RESPONSIVE — harmonisation finale ═══ */
.post-grid, .grid-auto { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) {
  .post-grid, .grid-auto { grid-template-columns: repeat(2, 1fr); }
  .article-wrap { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 680px) {
  .post-grid, .grid-auto { grid-template-columns: 1fr; }
}
/* gouttières mobiles cohérentes (un seul niveau de padding partout) */
@media (max-width: 600px) {
  .container, .page-hero-inner, .footer-inner, .footer-bottom, .article-wrap, .nav-inner { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .page-hero { padding-top: 40px; padding-bottom: 38px; }
  .stat-num { font-size: 30px; }
  .stat-item { padding: 10px 6px; }
}

/* ─── PAGES SECTEUR : pastilles de maillage ─── */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sector-pill {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--rl);
  padding: 16px 18px; font-weight: 600; font-size: 15px; color: var(--navy);
  box-shadow: var(--sh-sm); transition: all 0.22s;
}
.sector-pill:hover { border-color: var(--blue-brd); background: var(--blue-s); color: var(--blue); transform: translateY(-2px); }
.sector-pill .ico { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }
@media (max-width: 880px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sector-grid { grid-template-columns: 1fr; } }

/* ─── PAGE STATISTIQUES ─── */
.stat-card { text-align: left; }
.stat-card-num {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 44px; line-height: 1;
  color: var(--blue); margin-bottom: 14px; letter-spacing: -0.02em;
}
.stat-card-lbl { font-size: 15px; color: var(--t1); line-height: 1.6; margin: 0 0 16px; }
.stat-card-src {
  display: inline-block; font-size: 12.5px; color: var(--t3); font-weight: 500;
  padding-top: 14px; border-top: 1px solid var(--border); width: 100%;
}
.stat-card-src:hover { color: var(--blue); }
@media (max-width: 600px) { .stat-card-num { font-size: 38px; } }

/* ─── Bannière ressource (blog -> stats) ─── */
.resource-banner {
  display: flex; align-items: center; gap: 18px;
  background: linear-gradient(135deg, #EEF4FF, #E2ECFF);
  border: 1px solid var(--blue-brd); border-radius: var(--rl);
  padding: 20px 24px; margin-bottom: 28px; transition: all 0.22s;
}
.resource-banner:hover { box-shadow: var(--sh-lg); transform: translateY(-2px); }
.resource-banner-ico {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px;
  background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center;
}
.resource-banner-txt { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.resource-banner-txt strong { font-family: 'Fraunces', serif; font-size: 18px; color: var(--navy); }
.resource-banner-txt span { font-size: 14px; color: var(--t2); }
.resource-banner-arrow { font-weight: 600; color: var(--blue); font-size: 14px; flex-shrink: 0; }
@media (max-width: 640px) {
  .resource-banner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ─── Spinner bouton (envoi formulaire) ─── */
.btn-spinner {
  display: inline-block; width: 15px; height: 15px; margin-right: 8px;
  border: 2px solid rgba(255,255,255,0.45); border-top-color: #fff;
  border-radius: 50%; animation: btn-spin 0.6s linear infinite; vertical-align: -2px;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }
.btn-primary[disabled] { opacity: 0.85; cursor: progress; }
