/*
Theme Name: Compare
Theme URI: #
Description: Comparateur Premium
Version: 3.2
Author: Compare
*/

:root {
  --bg: #1c2035;
  --bg2: #151829;
  --surf: #242843;
  --surf2: #2e3358;
  --bdr: rgba(255,255,255,0.07);
  --bdg: rgba(99,102,241,0.40);
  --txt: #c8ccee;
  --mut: #6b6f94;
  --head: #ffffff;
  --acc: #6366f1;
  --acc2: #a5b4fc;
  --acl: rgba(99,102,241,0.15);
  --ag: rgba(99,102,241,0.10);
  --pro: #34d399;
  --con: #f87171;
  --sco:#f2ae00;
  --sc: 0 1px 4px rgba(0,0,0,.3), 0 8px 28px rgba(0,0,0,.28);
  --sg: 0 0 0 2px rgba(99,102,241,.20), 0 12px 40px rgba(99,102,241,.18);
  --r: 16px;
  --fd: 'Inter', system-ui, sans-serif;
  --fn: 'Space Grotesk', sans-serif;
  --fb: 'DM Sans', sans-serif;
  --tr: 0.25s cubic-bezier(.4,0,.2,1);
}

.dt {
  --bg: #fdf7fa;
  --bg2: #f8edf3;
  --surf: #ffffff;
  --surf2: #fce8f3;
  --bdr: rgba(219,39,119,0.10);
  --bdg: rgba(219,39,119,0.35);
  --txt: #3a1f2f;
  --mut: #7a4a63;
  --head: #1a0514;
  --acc: #db2777;
  --sco: #bb3371;
  --acc2: #f472b6;
  --acl: #fce7f3;
  --ag: rgba(236,72,153,0.06);
  --sc: 0 1px 3px rgba(40,10,28,.05), 0 8px 24px rgba(219,39,119,.07);
  --sg: 0 0 0 2px rgba(219,39,119,.12), 0 12px 36px rgba(219,39,119,.14);
}

.light {
  --bg: #ffffff;
  --bg2: #f8f8f8;
  --surf: #ffffff;
  --surf2: #fafafa;
  --bdr: rgba(0,0,0,0.06);
  --bdg: rgba(0,0,0,0.12);
  --txt: #4a4a4a;
  --mut: #8a8a8a;
  --head: #000000;
  --acc: #000000;
  --sco: #000000;
  --acc2: #333333;
  --acl: #f5f5f5;
  --ag: rgba(0,0,0,0.02);
  --sc: 0 1px 2px rgba(0,0,0,.05), 0 4px 12px rgba(0,0,0,.08);
  --sg: 0 0 0 1px rgba(0,0,0,.10), 0 8px 24px rgba(0,0,0,.12);
}

.dark {
  --bg: #0a0a0a;
  --bg2: #050505;
  --surf: #111111;
  --surf2: #1a1a1a;
  --bdr: rgba(200,100,150,0.15);
  --bdg: rgba(200,100,150,0.30);
  --txt: #e0d5d8;
  --mut: #8a7a80;
  --head: #ffffff;
  --acc: #d945ef;
  --sco: #d945ef;
  --acc2: #f472b6;
  --acl: rgba(217,69,239,0.12);
  --ag: rgba(217,69,239,0.06);
  --sc: 0 2px 6px rgba(0,0,0,.6), 0 10px 30px rgba(0,0,0,.5);
  --sg: 0 0 0 2px rgba(217,69,239,.20), 0 12px 40px rgba(217,69,239,.20);
}

.casino {
--bg: #0d1117;           /* Bleu marine très foncé */
  --bg2: #060809;          /* Presque noir */
  --surf: #1a2332;         /* Bleu marine profond */
  --surf2: #253347;        /* Hover plus clair */
  --bdr: rgba(212,175,55,0.25); /* Doré */
  --bdg: rgba(212,175,55,0.45); /* Doré hover */
  --txt: #d4c9b8;          /* Beige texte */
  --mut: #7a8a9e;          /* Gris bleu */
  --head: #f5e6d3;         /* Crème titres */
  --acc: #d4af37;          /* Doré vif */
  --acc2: #e6c757;         /* Doré clair */
  --acl: rgba(212,175,55,0.15);
  --ag: rgba(212,175,55,0.08);
  --pro: #4ade80;
  --con: #f87171;
  --sco: #d4af37;
}

.dungeon {
  --bg: #0d0a0a;
  --bg2: #050303;
  --surf: #161313;
  --surf2: #211e1e;
  --bdr: rgba(192,57,43,0.18); /* Bordures rouge-brique subtle */
  --bdg: rgba(192,57,43,0.40); /* Hover */
  --txt: #d9d5d3;
  --mut: #7a7370;
  --head: #ffffff;
  --acc: #c03a2a;          /* Rouge acier profond */
  --acc2: #e85d50;         /* Rouge clair */
  --acl: rgba(192,57,43,0.15);
  --ag: rgba(192,57,43,0.08);
  --pro: #34d399;
  --con: #f87171;
  --sco: #c03a2a;
}



*,*::before,*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  height: 100%;
  margin: 0;
  padding: 0;
}



body {
  height: 100%;
  font-family: var(--fb);
  background: var(--bg);
  color: var(--txt);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: .3s;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}



main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

.w {
  width: min(1100px, 92%);
  margin: 0 auto;
}

img {
  max-width: 100%;
  display: block;
}

/* HEADER */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 32, 53, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--bdr);
}

.dt .hdr {
  background: rgba(253, 247, 250, 0.92);
}

.light .hdr {
  background: rgba(255, 255, 255, 0.95);
}

.dark .hdr {
  background: rgba(10, 10, 10, 0.98);
}

.casino .hdr {
  background: rgba(14, 17, 32, 0.95);
}


.hdr-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.hdr-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hdr-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hdr-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.5px;
  background: linear-gradient(120deg, #93c5fd, #6366f1, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dt .logo {
  background: linear-gradient(120deg, #f472b6, #db2777, #fb7185);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.light .logo {
  background: linear-gradient(120deg, #333333, #000000, #555555);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dark .logo {
  background: linear-gradient(120deg, #f472b6, #d945ef, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}






.nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  position: relative;
}

.nav li {
  position: relative;
}

/* lien principal */
.nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--mut);
  padding: 8px 12px;
  border-radius: 10px;
  transition: .2s;
  display: block;
}

.nav a:hover {
  color: var(--head);
  background: var(--ag);
}

/* ===== SUB MENU ===== */
.nav .sub-menu {
   
  position: absolute;
  top: 110%;
  left: 0;
  right: auto;

  min-width: 200px;
  padding: 8px;

  background: var(--bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--bdr);
  border-radius: 12px;

  list-style: none;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .2s ease;

  z-index: 999;

  display: flex;
  flex-direction: column;
  gap: 4px;

}

/* apparition hover */
.nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav li:nth-last-child(-n+2) .sub-menu {
  left: auto;
  right: 0;
}

/* items du sous-menu */
.nav .sub-menu li a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
}

.nav .sub-menu li a:hover {
  background: rgba(255,255,255,0.08);
}




 

/* HERO */
.hero {
  padding: 35px 0;
  margin-bottom: 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--bdr) 1px, transparent 1px),
              linear-gradient(90deg, var(--bdr) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .7;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.6;
}

.hero-in {
  position: relative;
  z-index: 2;
}

.hero-in h1 {
  font-size: clamp(22px, 4vw, 40px);
  font-weight: 900;
  color: var(--head);
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.hero-in p {
  font-size: 16px;
  color: var(--txt);
  max-width: 600px;
  margin: 0 auto;
}

.d1, .d2, .d3 {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.d1 {
  width: 300px;
  height: 300px;
  background: rgba(99, 102, 241, 0.06);
  top: -100px;
  left: -100px;
}

.d2 {
  width: 250px;
  height: 250px;
  background: rgba(99, 102, 241, 0.04);
  bottom: -80px;
  right: -80px;
}

.d3 {
  width: 200px;
  height: 200px;
  background: rgba(99, 102, 241, 0.05);
  top: 50%;
  right: 5%;
}

.dt .d1, .dt .d2, .dt .d3 {
  background: rgba(219, 39, 119, 0.04);
}

.light .d1, .light .d2, .light .d3 {
  background: rgba(0, 0, 0, 0.02);
}

.dark .d1, .dark .d2, .dark .d3 {
  background: rgba(217, 69, 239, 0.08);
}

/* CARDS */
.card {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 16px;
  padding: 20px 22px;
  background: var(--surf);
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  box-shadow: var(--sc);
  transition: .25s;
  margin-bottom: 20px;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sg);
  border-color: var(--bdg);
}

.cleft {
  display: flex;
  gap: 16px;
}

.clogo {
	position:relative;
  width: 77px;
  height: 77px;
  border-radius: 14px;
  background: var(--surf2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.clogo img {
	position:relative;
  max-width: 90% !important;
  max-height: 90% !important;
  height:auto !important;
  width: auto !important;
	object-fit: cover;

}

.cmain {
  flex: 1;
}

.ccat {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--acl);
  border: 1px solid var(--bdg);
  color: var(--acc2);
  margin-bottom: 6px;
}

.ctitle {
  font-weight: 800;
  margin-bottom: 6px;
}

.ctitle a {
  color: var(--head);
  transition: .2s;
}

.ctitle a:hover {
  color: var(--acc2);
}

.crating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--mut);
  margin-bottom: 8px;
}

.son {
  color: #fbbf24;
}

.soff {
  color: #3a3f6e;
}

.cresume {
  font-size: 14px;
  color: var(--txt);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: unset;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.ctags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.cpro, .ccon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.cpro {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.ccon {
  background: rgba(248, 113, 113, 0.12);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.25);
}



.cright {
  text-align: center;
}


/* SCORE CIRCLE */
.score-wrap{
  position:relative;
  width:80px;
  height:80px;
  margin:auto;
  margin-bottom: 15px;
}

.score-wrap svg{
  width:100%;
  height:100%;
  transform:rotate(-90deg);
}

.s-track{
  fill:none;
  stroke:var(--surf2);
  stroke-width:6;
}

.s-ring{
  fill:none;
  stroke:var(--sco); 
  stroke-width:6;
  stroke-linecap:round;
  stroke-dasharray: var(--circ);
  stroke-dashoffset: var(--offset);
  animation: scoreGrow 2s ease-out forwards;
}

@keyframes scoreGrow {
  0% {
    stroke-dashoffset: var(--circ);
    opacity: 0;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    stroke-dashoffset: var(--offset);
    opacity: 1;
  }
}

.score-face{
  position:absolute;
  inset:10px;
  border-radius:50%;
  background:var(--surf2);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}



.s-num{
  font-weight:900;
  font-size:20px;
  color:var(--sco); 
}

.s-lbl{
  font-size:8px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--mut);
  opacity:.75;
  line-height:1;
}

.cprice {
  display: inline-block;
  max-width: 100%;
  padding: 5px 10px;
  border-radius: 10px;
  background: var(--surf2);
  color: var(--head);
  line-height: 20px;
  font-size: 13px;
  margin-bottom: 10px;


}

.cbonus {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 10px;
  background:var(--acl);
  line-height: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--head);
  max-width: 100%;

}

.cfooter {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.cbtn {
  flex: 1;
  min-width: 120px;
  padding: 13px 18px;
  border-radius: 12px;
  background: var(--acc);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  transition: .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cbtn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.cbtn-secondary {
  background: transparent !important;
  border: 2px solid var(--acc);
  box-sizing: border-box;
  color: var(--head) !important;
}



/* CARD SINGLE */
.card_single{
  display:flex;
  flex-direction:column;
  gap:18px;
  padding:24px;
  background:var(--surf);
  border:1px solid var(--bdr);
  border-radius:var(--r);
  margin-bottom: 22px;
}

/* ROW 1 = LEFT + RIGHT */
.card_top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}

/* LEFT BLOCK */
.card_left{
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* IMAGE + TEXT INLINE */
.top_left{
  display:flex;
  align-items:center;
  gap:14px;
}

/* LOGO */
.clogo{
  width:88px;
  height:88px;
  flex-shrink:0;
}

/* TITLE */
.card_single h3{
  margin:0;
  font-size:22px;
  font-weight:900;
  color:var(--head);
}

/* STARS UNDER TITLE */
.stars{
  margin-top:6px;
  font-size:13px;
  color:var(--mut);
  display:flex;
  gap:4px;
}

/* CIRCLE RIGHT */
.card_right{
  flex-shrink:0;
}

/* SCORE */
.score-wrap{
  width:80px;
  height:80px;
  position:relative;
}

/* BOTTOM ROW (CENTERED) */
.card_bottom{
  display:flex;
  justify-content:center;
  align-items:center; /* IMPORTANT */
  gap:12px;
}

.cprice,
.cbonus{
  margin:0 !important;
  padding:8px 16px;
  display:inline-flex;
  align-items:center;
  line-height:1;
  vertical-align:middle;
}

.cprice{
  background:var(--surf2);
}

.cbonus{
  background:var(--acl);
  line-height:1;
}

.cbonus::first-line{
  line-height:1;
}
/* MOBILE = ON GARDE EXACTEMENT LA STRUCTURE */
@media(max-width:768px){

  .card_top{
    align-items:center;
  }

  .clogo{
    width:60px;
    height:60px;
  }

  .score-wrap{
    width:60px;
    height:60px;
  }

  .card_bottom{
    justify-content:center;
    flex-direction:row;
  }
}







/* HOME */


.text_main_pages {
  width: 850px;
  max-width: 90%;
  margin: 11px auto 33px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--txt);
}

.text_main_pages h2, 
.text_main_pages h3, 
.text_main_pages h4 {
  color: var(--head);
  font-size: 22px;
  font-weight: 900;
  margin: 18px 0 !important;
}


.list {  
  width: 1000px;
  max-width: 90%;
  margin: 30px auto 50px auto;

}




/* BLOG HOME */
.home-blog {
  padding: 60px 0;
}

.home-blog-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--head);
  margin-bottom: 30px;
  text-align: center;
}

.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.home-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surf);
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sc);
  transition: .25s;
  text-decoration: none;
  color: inherit;
  padding: 20px;
}

.home-blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--bdg);
  box-shadow: var(--sg);
}

.home-blog-card-title {
  font-weight: 800;
  font-size: 16px;
  color: var(--head);
  margin-bottom: 12px;
  line-height: 1.4;
}

.home-blog-card-meta {
  font-size: 12px;
  color: var(--mut);
  margin-bottom: 12px;
}

.home-blog-card-excerpt {
  font-size: 13px;
  color: var(--txt);
  line-height: 1.6;
  flex: 1;
}

.home-blog-archive-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--acc);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 12px;
  transition: .2s;
  text-align: center;
  margin: 0 auto;
}

.home-blog-archive-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* CATEGORIES */
.home-categories {
  padding: 60px 0;
}

.home-categories-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--head);
  margin-bottom: 30px;
  text-align: center;
}

.home-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.home-category-card {
  display: flex;
  flex-direction: column;
  background: var(--surf);
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  padding: 20px;
  transition: .25s;
  text-decoration: none;
  gap: 8px;
}

.home-category-card:hover {
  transform: translateY(-3px);
  border-color: var(--bdg);
  box-shadow: var(--sg);
}



.home-category-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.home-category-icon {
  font-size: 34px;
  flex-shrink: 0;
  margin-top: 2px;
  margin-right: 6px;
}

.home-category-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.home-category-name {
  font-weight: 800;
  color: var(--head);
  line-height: 20px;
  font-size: 16px;
}

.home-category-count {
  display: inline-flex;
  align-items: center;
  background: var(--surf2);
  color: var(--head);
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  width: fit-content;
}

.home-category-desc {
  font-size: 13px;
  color: var(--txt);
  line-height: 1.5;
  margin-top: 4px;
}


/* SINGLE */
.single {
  padding: 40px 0 70px;
}

.single .w {
  max-width: 900px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--mut);
  margin-bottom: 22px !important;
}

.breadcrumb a {
  color: var(--acc2);
  transition: .2s;
}

.breadcrumb a:hover {
  color: var(--head);
}

.breadcrumb span {
  margin: 0 8px;
}

.single h1 {
  font-size: clamp(18px, 4vw, 28px);
  font-weight: 900;
  color: var(--head);
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 30px;
}

.single-content {
  background: var(--surf);
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  padding: 24px;
  box-shadow: var(--sc);
  color: var(--txt);
  line-height: 1.8;
  margin-bottom: 40px;
}

.single-content h2 {
  color: var(--head);
  font-size: 20px;
  font-weight: 900;
  margin: 28px 0 16px;
}

.single-content h3 {
  color: var(--head);
  font-size: 18px;
  font-weight: 800;
  margin: 24px 0 12px;
}

.single-content p {
  margin-bottom: 16px;
}

.single-content ul, .single-content ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

.single-content li {
  margin-bottom: 8px;
}

.single-content a {
  color: var(--acc2);
  text-decoration: underline;
  transition: .2s;
}

.single-content a:hover {
  color: var(--head);
}


.single-content img {
	
	position:relative;
	display:block;
	margin:auto !important;
	max-width:100% !important;
	max-height:90vh !important;
	width:auto !important;
	height:auto !important;
	
}

/* PRO/CONS CARDS */
.single-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
}

.sbox {
  background: var(--surf);
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  padding: 20px;
  box-shadow: var(--sc);
}

.sbox-title {
  font-weight: 800;
  margin-bottom: 16px;
  font-size: 14px;
  margin:0 0 5px 0;
}

.sbox-title.green {
  color: var(--pro);
}

.sbox-title.red {
  color: var(--con);
}

.sbox ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sbox li {
  padding: 6px 0;
  border-bottom: 1px solid var(--bdr);
  font-size: 13px;
  color: var(--txt);
}

.sbox li:last-child {
  border: none;
}

/* ARCHIVE */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 50px 0;
  flex-wrap: wrap;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  background: var(--surf);
  border: 1px solid var(--bdr);
  border-radius: 10px;
  color: var(--txt);
  font-weight: 600;
  text-decoration: none;
  transition: .2s;
  font-size: 14px;
}

.page-numbers:hover {
  border-color: var(--bdg);
  background: var(--surf2);
  color: var(--head);
}

.page-numbers.current {
  background: var(--acc);
  border-color: var(--acc);
  color: #fff;
}

.prev.page-numbers, .next.page-numbers {
  min-width: auto;
  padding: 0 14px;
}



/* FOOTER */


footer {
  flex-shrink: 0;
}

.ftr {
  background: var(--bg2);
  border-top: 1px solid var(--bdr);
  margin-top: 50px;
  margin-bottom: 0;
  flex-shrink: 0;

}



.ftr-in {
  padding: 50px 0 0;
}

.ftop {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--bdr);
}

.flogo {
  font-size: 16px;
  font-weight: 900;
  color: var(--head);
  margin-bottom: 8px;
}

.ftagline {
  font-size: 13px;
  color: var(--txt);
  margin-bottom: 12px;
}

.ftrust {
  font-size: 12px;
  color: var(--mut);
}

.fct {
  font-size: 13px;
  font-weight: 800;
  color: var(--head);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.fll {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fll li {
  margin-bottom: 8px;
}

.fll a {
  color: var(--txt);
  font-size: 13px;
  transition: .2s;
}

.fll a:hover {
  color: var(--head);
}

.fbot {
  padding: 20px 0;
  text-align: center;
}

.fcopy {
  font-size: 12px;
  color: var(--mut);
}



@media (max-width:768px){

.ftop{
display:flex;
flex-direction:column;
gap:32px;
}

.ftop > div{
width:100%;
text-align:center;
}

.ftop > div:first-child{
padding-bottom:24px;
border-bottom:1px solid var(--bdr);
}

.flogo{
font-size:20px;
}

.ftagline{
max-width:500px;
margin:0 auto 12px;
}

.ftrust{
font-size:13px;
}

.fct{
margin-bottom:14px;
}

.fll{
display:flex;
flex-direction:column;
align-items:center;
gap:10px;
}

.fll li{
margin:0;
}

.fbot{
padding:25px 0;
}

}

@media (max-width:480px){

.ftr{
margin-top:40px;
}

.ftr-in{
padding-top:35px;
}

.ftop{
gap:28px;
}

.flogo{
font-size:18px;
}

}


/* MENU TOGGLE */

.menu-toggle-input {
  display: none;
}

.menu-toggle-btn {
  top: 22px;
  right: 8px;

  display: none;
  flex-direction: column;
  justify-content: space-around;

  width: 28px;
  height: 20px;
  cursor: pointer;

  z-index: 1005; /* au-dessus de l’overlay */
}

.menu-toggle-btn span {
  height: 2px;
  background: var(--head);
  border-radius: 2px;
  transition: .3s cubic-bezier(.4,0,.2,1);
  transform-origin: center;
}

/* animation burger -> croix */
.menu-toggle-input:checked + .menu-toggle-btn span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle-input:checked + .menu-toggle-btn span:nth-child(2) {
  opacity: 0;
}

.menu-toggle-input:checked + .menu-toggle-btn span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}



/* RESPONSIVE */


@media(max-width: 680px) {

  .hdr-in {
    position: relative;
    height: 64px;
    padding: 0;
    flex-direction: row;
    gap: 0;
  }

  .hdr-logo-wrapper {
    flex: 1;
  }




  .menu-toggle-btn {
    position: absolute;  
    display: flex;
  }
  
  .menu-toggle-input:checked ~ .menu-toggle-btn {
    position: fixed;
    top:26px;
    right: 30px;
    z-index: 1005;
  }


  .hdr-in {
    position: relative;
  }

  /* overlay */
  .nav {
    position: fixed;
    inset: 0;
    height: 100vh;
    width: 100vw;

    background: var(--bg);
    backdrop-filter: blur(16px);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);

    transition: .35s cubic-bezier(.4,0,.2,1);

    z-index: 1000;
  }

  .menu-toggle-input:checked ~ .nav {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }

  .nav ul {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }

  .nav a {
    font-size: 20px;
    padding: 6px 12px;
    color: var(--head);
  }

  /* sub-menu mobile */
  .nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;

    background: none;
    border: none;
    padding: 0;
    margin-top: 10px;

    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .nav .sub-menu a {
    font-size: 18px;
    opacity: .7;
  }

  /* stagger animation */
  .nav ul li {
    opacity: 0;
    transform: translateY(10px);
    transition: .4s ease;
  }

  .menu-toggle-input:checked ~ .nav ul li {
    opacity: 1;
    transform: translateY(0);
  }

  .menu-toggle-input:checked ~ .nav ul li:nth-child(1) { transition-delay: .05s; }
  .menu-toggle-input:checked ~ .nav ul li:nth-child(2) { transition-delay: .1s; }
  .menu-toggle-input:checked ~ .nav ul li:nth-child(3) { transition-delay: .15s; }
  .menu-toggle-input:checked ~ .nav ul li:nth-child(4) { transition-delay: .2s; }





  .home-blog-grid {
    grid-template-columns: 1fr;
  }


  .hero-in h1 {
    font-size: clamp(22px, 4vw, 30px);
  }

  .hero-in p {
    font-size: 14px;
  }


}


@media (max-width:768px){

.card{
grid-template-columns:1fr;
gap:20px;
padding:18px;
}

.cleft{
flex-direction:column;
align-items:center;
text-align:center;
}

.cmain{
width:100%;
}

.clogo{
width:77px;
height:77px;
}

.crating{
justify-content:center;
}

.ctags{
justify-content:center;
}

.cright{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
}

.score-wrap{
margin:0;
}

.cprice,
.cbonus{
margin:0;
}

.cfooter{
flex-direction:column;
gap:10px;
}

.cbtn{
width:100%;
min-width:0;
}

}





hr {
  height:1px;
  border:0;

}

/* COMMENTS */
.wp-block-comments-query-loop {
  margin: 0;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment-list li {
  margin-bottom: 20px;
  padding: 16px;
  background: var(--surf);
  border: 1px solid var(--bdr);
  border-radius: var(--r);
}

.comment-body {
  margin: 0;
}

.comment-meta {
  font-size: 12px;
  color: var(--mut);
  margin-bottom: 12px;
}

.comment-meta a {
  color: var(--acc2);
  font-weight: 600;
}

.comment-text {
  color: var(--txt);
  line-height: 1.6;
  font-size: 14px;
}

.comment-text p {
  margin: 0 0 8px 0;
}

.comment-text p:last-child {
  margin-bottom: 0;
}

#commentform {
  background: var(--surf);
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  padding: 24px;
  margin-bottom: 20px;
}

.comment-form-comment textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--bdr);
  border-radius: 8px;
  color: var(--txt);
  font-family: var(--fb);
  box-sizing: border-box;
  margin-bottom: 16px;
}

.comment-form-comment textarea:focus {
  outline: none;
  border-color: var(--bdg);
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
  width: 100%;
  padding: 10px;
  background: var(--bg);
  border: 1px solid var(--bdr);
  border-radius: 8px;
  color: var(--txt);
  font-family: var(--fb);
  box-sizing: border-box;
  margin-bottom: 12px;
}

.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus {
  outline: none;
  border-color: var(--bdg);
}

#submit {
  background: var(--acc);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: .25s;
}

#submit:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.comment-form p {
  margin-bottom: 12px;
}

.comment-form-comment p {
  margin-bottom: 0;
}

h3#comments {
  color: var(--head);
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 24px;
}
.home-faq {
  padding: 60px 0;
  background: var(--bg2);
  margin-bottom: 40px;
}

.faq-list {
  max-width: 90%;
  width: 800px;
  margin: 0 auto;
}

.faq-item-home {
  margin-bottom: 12px;
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: var(--surf);
  border: 1px solid var(--bdr);
  border-radius: 10px;
  cursor: pointer;
  transition: .25s;
  font-weight: 600;
  color: var(--head);
}

.faq-question:hover {
  border-color: var(--bdg);
  background: var(--surf2);
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--acc);
  transition: .3s;
  font-weight: 900;
}

.faq-toggle:checked + .faq-question .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  background: var(--bg);
  border: 1px solid var(--bdr);
  border-top: none;
  border-radius: 0 0 10px 10px;
  padding: 0 16px;
}

.faq-toggle:checked + .faq-question + .faq-answer {
  max-height: 1000px;
  padding: 16px;
}

.faq-answer p {
  margin: 0;
  color: var(--txt);
  line-height: 1.6;
}

.faq-answer p:not(:last-child) {
  margin-bottom: 12px;
}

/* FAQ SINGLE */
.faq-item-single {
  margin-bottom: 12px;
}

.faq-question-single {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--bdr);
  border-radius: 8px;
  cursor: pointer;
  transition: .25s;
  font-weight: 600;
  color: var(--head);
  font-size: 14px;
}

.faq-question-single:hover {
  border-color: var(--bdg);
}

.faq-icon-single {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--acc);
  transition: .3s;
  font-weight: 900;
}

.faq-toggle:checked + .faq-question-single .faq-icon-single {
  transform: rotate(45deg);
}

.faq-answer-single {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 16px;
}

.faq-toggle:checked + .faq-question-single + .faq-answer-single {
  max-height: 800px;
  padding: 12px 16px;
}

.faq-answer-single p {
  margin: 0;
  color: var(--txt);
  line-height: 1.6;
  font-size: 13px;
}

.faq-answer-single p:not(:last-child) {
  margin-bottom: 8px;
}
.ratings-container{background:var(--surf);border:1px solid var(--bdr);border-radius:var(--r);padding:30px;box-shadow:var(--sc);}
.ratings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:30px;}
.rating-box{text-align:center;padding:20px;background:var(--bg);border-radius:var(--r);border:1px solid var(--bdr);}
.rating-box-title{font-size:12px;font-weight:800;color:var(--head);text-transform:uppercase;letter-spacing:.05em;margin-bottom:16px;}
.rating-display{display:flex;flex-direction:column;align-items:center;gap:8px;}
.rating-number{font-size:36px;font-weight:900;color:var(--score-base);}
.rating-label{font-size:12px;color:var(--mut);}
.rating-empty{color:var(--mut);font-size:13px;font-style:italic;}
.rating-form-box{padding:20px;background:var(--bg);border-radius:var(--r);border:1px solid var(--bdr);}
.rating-form-title{font-size:16px;font-weight:800;color:var(--head);margin-bottom:16px;}
.rating-buttons{display:grid;grid-template-columns:repeat(10,1fr);gap:6px;margin-bottom:16px;}
.rating-btn{padding:8px 6px;border:1px solid var(--bdr);border-radius:8px;background:transparent;color:var(--txt);font-weight:700;font-size:12px;cursor:pointer;transition:.2s;}
.rating-btn:hover{border-color:var(--acc);color:var(--head);}
.rating-btn.active{background:var(--acc);color:#fff;border-color:var(--acc);}
.rating-submit-btn{width:100%;padding:12px;border:none;border-radius:10px;background:var(--acc);color:#fff;font-weight:700;font-size:13px;cursor:pointer;transition:.2s;margin-bottom:12px;}
.rating-submit-btn:hover:not(:disabled){filter:brightness(1.1);transform:translateY(-2px);}
.rating-submit-btn:disabled{opacity:0.5;cursor:not-allowed;}
.rating-form-message{font-size:12px;text-align:center;margin:0;}
.rating-form-message.success{color:#34d399;}
.rating-form-message.error{color:#f87171;}
.rating-already-voted{padding:16px;background:rgba(52,211,153,0.1);border:1px solid rgba(52,211,153,0.25);border-radius:8px;color:#34d399;font-size:13px;text-align:center;}
@media(max-width:860px){.ratings-grid{grid-template-columns:1fr;}.rating-buttons{grid-template-columns:repeat(5,1fr);}}

/* COMMENTS SECTION */
.comments-area {
  margin-top: 40px;
}

.comments-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--head);
  margin-bottom: 24px;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.comment-list .comment {
  margin-bottom: 24px;
  padding: 0;
}

.comment-body {
  background: var(--surf);
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  padding: 16px;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
}

.comment-author {
  color: var(--head);
  font-weight: 700;
}

.comment-date {
  color: var(--mut);
  font-size: 12px;
}

.comment-text {
  color: var(--txt);
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 12px;
}

.comment-text p {
  margin: 0 0 8px 0;
}

.comment-text p:last-child {
  margin-bottom: 0;
}

.comment-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--bdr);
  font-size: 12px;
}

.comment-reply-link a {
  color: var(--acc);
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.comment-reply-link a:hover {
  text-decoration: underline;
}

/* COMMENT FORM */
.comment-form {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--bdr);
}

.comment-form h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--head);
  margin-bottom: 24px;
}

.comment-form p {
  margin-bottom: 16px;
}

.comment-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--head);
  font-weight: 600;
  font-size: 13px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--txt);
  font-size: 13px;
  font-family: inherit;
  box-sizing: border-box;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--acc);
  box-shadow: 0 0 0 2px rgba(var(--acc-rgb), 0.1);
}

.comment-form textarea {
  resize: vertical;
  min-height: 120px;
}

.comment-form button[type="submit"] {
  padding: 12px 32px;
  background: var(--acc);
  color: #fff;
  border: none;
  border-radius: var(--r);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
}

.comment-form button[type="submit"]:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.comment-navigation {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  padding: 20px;
  background: var(--surf);
  border-radius: var(--r);
  border: 1px solid var(--bdr);
}

.comment-navigation a {
  color: var(--acc);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.comment-navigation a:hover {
  text-decoration: underline;
}
