/* ============================================
   VPN Facile France — Global Stylesheet
   Charte : navy #1a2b4a · vert #1d9e75
   ============================================ */

:root {
  --navy:        #1a2b4a;
  --navy-dark:   #0f2a4a;
  --green:       #1d9e75;
  --green-light: #e1f5ee;
  --green-dark:  #0f6e56;
  --orange:      #f59e0b;
  --red:         #ef4444;
  --blue:        #4687ff;
  --gray-50:     #f9fafb;
  --gray-100:    #f3f4f6;
  --gray-200:    #e5e7eb;
  --gray-400:    #9ca3af;
  --gray-600:    #4b5563;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06);
  --shadow:      0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 24px rgba(0,0,0,0.12);
  --radius-sm:   8px;
  --radius:      12px;
  --radius-lg:   16px;
  --max-width:   860px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--navy);
  background: #f4f6f9;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── LAYOUT ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container--wide { max-width: 1100px; }

/* ── HEADER ── */
.site-header {
  background: var(--navy);
  padding: .9rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-logo {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-logo .logo-dot { color: var(--green); }
.site-nav { display: flex; gap: 1.5rem; align-items: center; }
.site-nav a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  transition: color .2s;
}
.site-nav a:hover { color: #fff; }
.nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--green-dark) !important; }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.5);
  padding: 2.5rem 0 1.5rem;
  margin-top: 4rem;
  font-size: 13px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: rgba(255,255,255,.4);
  margin-bottom: 10px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,.6);
  font-size: 13px;
  padding: 3px 0;
  transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-logo { font-size: 15px; font-weight: 800; color: #fff; }
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a { color: rgba(255,255,255,.5); font-size: 12px; }
.footer-links a:hover { color: #fff; }
.affiliate-notice {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  margin-top: 1rem;
  line-height: 1.6;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  font-size: 12px;
  color: var(--gray-400);
  padding: 1rem 0 .5rem;
  display: flex;
  gap: 6px;
  align-items: center;
}
.breadcrumb a { color: var(--green-dark); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--gray-200); }

/* ── NOTICE ── */
.notice {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  font-size: 13px;
  color: #92400e;
  margin-bottom: 1.75rem;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* ── ALERT ── */
.alert {
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.65;
}
.alert.info    { background: #dbeafe; border: 1px solid #93c5fd; color: #1e40af; }
.alert.warning { background: #fef3c7; border: 1px solid #fcd34d; color: #92400e; }
.alert.success { background: var(--green-light); border: 1px solid rgba(29,158,117,.3); color: var(--green-dark); }
.alert.danger  { background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b; }

/* ── BADGES ── */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.badge-green  { background: var(--green-light); color: var(--green-dark); }
.badge-orange { background: #fef3c7; color: #92400e; }
.badge-blue   { background: #dbeafe; color: #1e40af; }
.badge-navy   { background: #e0e7ff; color: #312e81; }
.badge-red    { background: #fee2e2; color: #991b1b; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  transition: background .2s, transform .15s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-outline { background: transparent; border: 2px solid var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-lg { padding: 13px 30px; font-size: 15px; }
.btn-sm { padding: 7px 16px; font-size: 12px; }

/* ── SECTION BLOCK ── */
.section-block {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}
.block-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

/* ── CARDS VPN (style.css global) ── */
.vpn-card {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: block;
  margin-bottom: 1.5rem;
  transition: box-shadow .2s;
  overflow: hidden;
}
.vpn-card:hover { box-shadow: var(--shadow-md); }
.vpn-card.winner {
  border-color: var(--green);
  border-width: 2px;
  box-shadow: var(--shadow-md);
}
.rank-badge {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 900; color: #fff;
}
.rank-1 { background: linear-gradient(135deg,#f59e0b,#d97706); }
.rank-2 { background: linear-gradient(135deg,#9ca3af,#6b7280); }
.rank-3 { background: linear-gradient(135deg,#cd7c3a,#92400e); }
.vpn-name { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 3px; }
.vpn-sub  { font-size: 13px; color: var(--gray-400); margin-bottom: 10px; }
.vpn-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.vtag {
  font-size: 11px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 3px 10px;
  color: var(--gray-600);
}
.vtag.ok { background: var(--green-light); border-color: rgba(29,158,117,.3); color: var(--green-dark); }
.vpn-desc { font-size: 13.5px; color: var(--gray-600); line-height: 1.7; }
.vpn-right { text-align: right; }
.vpn-score { font-size: 28px; font-weight: 900; color: var(--navy); line-height: 1; }
.vpn-score span { font-size: 14px; color: var(--gray-400); }
.vpn-stars { color: var(--orange); font-size: 14px; margin: 4px 0; }
.vpn-price { font-size: 11px; color: var(--gray-400); }
.vpn-price strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 8px; }

/* ── FAQ ── */
.faq-item {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
  background: #fff;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--green); }
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
}
.faq-btn:hover { background: var(--gray-50); }
.faq-q { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.4; }
.faq-arrow {
  width: 20px; height: 20px;
  flex-shrink: 0; fill: none;
  stroke: var(--green); stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .25s;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-body { max-height: 500px; }
.faq-inner { padding: 0 20px 16px; border-top: 1px solid #f0f0f0; }
.faq-inner p { padding-top: 12px; font-size: 14px; line-height: 1.75; color: var(--gray-600); margin: 0; }

/* ── VERDICT ── */
.verdict {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: #fff;
  margin-top: 1.5rem;
}
.verdict h2 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.verdict p  { font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.8; margin-bottom: 1.5rem; }

/* ── TYPOGRAPHY ── */
.article-content h2 {
  font-size: 22px; font-weight: 700;
  color: var(--navy); margin: 2.5rem 0 .75rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--gray-100);
}
.article-content h3 {
  font-size: 17px; font-weight: 700;
  color: var(--navy); margin: 1.75rem 0 .6rem;
}
.article-content p {
  font-size: 15px; color: var(--gray-600);
  line-height: 1.8; margin-bottom: 1rem;
}
.article-content strong { color: var(--navy); }

/* ── HERO ARTICLE ── */
.hero-article {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
  color: #fff;
}
.hero-tag {
  display: inline-block;
  background: rgba(29,158,117,.25);
  border: 1px solid rgba(29,158,117,.5);
  color: #5de8b8;
  font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
  margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: .8px;
}
.hero-article h1 {
  font-size: 27px; font-weight: 800;
  color: #fff; line-height: 1.25; margin-bottom: 14px;
}
.hero-intro {
  font-size: 15px; color: rgba(255,255,255,.8);
  line-height: 1.75; margin-bottom: 1.5rem;
}
.hero-stats {
  display: flex; gap: 2rem; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.25rem;
}
.hero-stat strong { display: block; font-size: 13px; color: #fff; }
.hero-stat span   { font-size: 12px; color: rgba(255,255,255,.5); }

/* ── SOMMAIRE ── */
.sommaire {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.sommaire-title {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .6px;
  color: var(--gray-400); margin-bottom: 10px;
}
.sommaire ol { padding-left: 18px; }
.sommaire li { font-size: 14px; padding: 4px 0; }
.sommaire a {
  color: var(--navy); font-weight: 600;
  text-decoration: underline; text-underline-offset: 2px;
}
.sommaire a:hover { color: var(--green); }

/* ── QUICK BOX ── */
.quick-box {
  background: var(--green-light);
  border: 1.5px solid rgba(29,158,117,.3);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.quick-box-title {
  font-size: 13px; font-weight: 700;
  color: var(--green-dark);
  text-transform: uppercase; letter-spacing: .6px;
  margin-bottom: 10px;
}
.quick-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.quick-list li {
  font-size: 14px; color: var(--navy);
  display: flex; gap: 8px; align-items: flex-start;
}
.quick-list li::before { content: '→'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ── STEPS ── */
.steps { display: flex; flex-direction: column; gap: 0; margin-top: 1rem; }
.step {
  display: flex; gap: 1rem; align-items: flex-start;
  padding-bottom: 1.25rem; position: relative;
}
.step:not(:last-child)::after {
  content: ''; position: absolute;
  left: 16px; top: 34px; width: 2px; bottom: 0;
  background: var(--gray-200);
}
.step-num {
  width: 34px; height: 34px;
  background: var(--green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: #fff;
  flex-shrink: 0; z-index: 1;
}
.step-body { flex: 1; padding-top: 4px; }
.step-title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.step-desc  { font-size: 13.5px; color: var(--gray-600); line-height: 1.65; }
.step-code {
  background: #0f172a; border-radius: 8px;
  padding: 10px 14px; margin-top: 8px;
  font-family: 'Courier New', monospace;
  font-size: 12px; color: #7dd3fc;
  line-height: 1.8; overflow-x: auto;
}

/* ── TABLES ── */
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 1rem; }
.data-table th {
  background: var(--navy); color: #fff;
  font-weight: 700; padding: 10px 14px;
  text-align: left; font-size: 11px;
  text-transform: uppercase; letter-spacing: .5px;
}
.data-table td { padding: 10px 14px; border-bottom: 1px solid var(--gray-100); color: var(--gray-600); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--gray-50); }
.data-table .td-name { font-weight: 700; color: var(--navy); }
.tick     { color: var(--green); font-weight: 800; }
.cross    { color: var(--red);   font-weight: 800; }
.partial  { color: var(--orange);font-weight: 800; }
.pill {
  display: inline-block; padding: 2px 10px;
  border-radius: 20px; font-size: 12px; font-weight: 700;
}
.pill-green  { background: var(--green-light); color: var(--green-dark); }
.pill-orange { background: #fef3c7; color: #92400e; }
.pill-red    { background: #fee2e2; color: #991b1b; }
.pill-blue   { background: #dbeafe; color: #1e40af; }

/* ── BLOG GRID (homepage) ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.blog-card {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card-img { height: 140px; background: var(--gray-100); overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.1rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-tag {
  font-size: 11px; font-weight: 700;
  color: var(--green-dark); text-transform: uppercase;
  letter-spacing: .5px; margin-bottom: 6px;
}
.blog-card-title {
  font-size: 15px; font-weight: 700;
  color: var(--navy); line-height: 1.35; margin-bottom: 8px;
  flex: 1;
}
.blog-card-meta { font-size: 12px; color: var(--gray-400); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .site-nav { display: none; }
}
@media (max-width: 640px) {
  .hero-article h1 { font-size: 21px; }
  .vpn-card { grid-template-columns: 1fr; gap: 1rem; min-height: auto; }
  .vpn-right { grid-column: auto; text-align: left; margin-top: 1rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { gap: 1rem; }
  .data-table { font-size: 12px; }
  .data-table th, .data-table td { padding: 8px 9px; }
}
