:root {
  --primary-color: #2563eb;
  /* Blue-600 */
  --primary-dark: #1e40af;
  /* Blue-800 */
  --secondary-color: #059669;
  /* Emerald-600 (pour les check/success) */
  --accent-color: #0ea5e9;
  /* Sky-400 (bleu clair) */
  --dark-color: #f1f5f9;
  /* Texte sur header/nav sombre */
  --nav-bg: #111827;
  /* Header NAV noir moderne */
  --light-color: #f8fafc;
  /* Très clair pour blocks */
  --gray-color: #64748b;
  --light-gray: #e2e8f0;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --box-shadow: 0 2px 16px 0 rgba(37, 99, 235, 0.07);
  --border-radius: 18px;
  --transition: 0.18s cubic-bezier(0.6, 0, 0.36, 1.33);
  --hero-gradient: linear-gradient(to right, #2563eb 85%, #0ea5e9 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--nav-bg);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--nav-bg);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  color: var(--primary-dark);
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--gray-color);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* Takeaways */
.takeaways-box {
  background: #f6fbff;
  border-top: 1px solid #dff1ff;
  padding: 18px 0 8px;
}
.takeaways {
  background: #ffffff;
  border: 1px solid #d6ecff;
  border-radius: 12px;
  box-shadow: 0 2px 10px #eaf6ff;
  padding: 16px 18px;
  margin: 16px 0 8px;
}
.takeaways-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #0f3d6e;
  font-weight: 600;
  margin-bottom: 10px;
}
.takeaways-list {
  margin: 0 0 6px 18px;
}
.takeaways-list li {
  margin: 6px 0;
  color: #324b68;
}
.takeaways-sources {
  font-size: 0.95em;
  color: #4b5563;
}
.takeaways-sources ul {
  margin: 6px 0 0 18px;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.main-header {
  background: var(--nav-bg);
  border-bottom: 1.5px solid #1e293b;
  box-shadow: 0 3px 12px #11182714;
}

.logo {
  font-family: "Montserrat", "Arial Black", sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(
    135deg,
    #6e48aa 0%,
    #9d50bb 30%,
    #4776e6 70%,
    #0f4c81 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  letter-spacing: -1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  display: inline-block;
  padding: 0.5rem 1rem;
  line-height: 2.2rem;
}

.logo::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;

  z-index: -2;
}

.com {
  font-size: 1.6rem;
  margin-left: 4px;
  background: linear-gradient(135deg, #ff8a00 0%, #e52e71 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-container {
  display: inline-block;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.header-nav {
  display: flex;
  align-items: center;
  position: relative;
}

.header-nav .header-menu,
.header-nav > ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.header-nav .header-menu > li,
.header-nav > ul > li {
  position: relative;
  margin-left: 18px;
}

.header-nav .header-menu > li:first-child,
.header-nav > ul > li:first-child {
  margin-left: 0;
}

.header-nav a {
  color: #e0e7ef;
  font-weight: 500;
  font-size: 1.08rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 6px;
  transition: color 0.18s ease;
}

.header-nav a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color, #06f);
  transition: width 0.18s ease;
}

.header-nav a::after {
  content: none;
}

.header-nav a:hover,
.header-nav a:focus {
  color: var(--primary-color, #06f);
}

.header-nav a:hover::before,
.header-nav a:focus::before,
.header-nav .current-menu-item > a::before,
.header-nav .current-menu-ancestor > a::before {
  width: 100%;
}

.header-nav .menu-item-has-children > a::after,
.header-nav .page_item_has_children > a::after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.75em;
  margin-left: 4px;
  width: auto;
  height: auto;
  position: static;
  background: none;
}

.header-nav .sub-menu,
.header-nav .children {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  background: #141632;
  box-shadow: 0 18px 36px rgba(12, 19, 38, 0.35);
  border-radius: 14px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.22s cubic-bezier(0.38, 0.06, 0.27, 1.09);
  z-index: 50;
}

.header-nav .sub-menu::before,
.header-nav .children::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.header-nav .sub-menu li,
.header-nav .children li {
  margin: 0;
}

.header-nav .sub-menu a,
.header-nav .children a {
  font-size: 1rem;
  font-weight: 500;
  color: #f8fafc;
  padding: 10px 20px;
  width: 100%;
}

.header-nav .sub-menu a::before,
.header-nav .children a::before,
.header-nav .sub-menu a::after,
.header-nav .children a::after {
  display: none;
}

.header-nav .sub-menu a:hover,
.header-nav .sub-menu a:focus,
.header-nav .children a:hover,
.header-nav .children a:focus {
  background: rgba(59, 130, 246, 0.18);
  color: #38bdf8;
}

.header-nav .header-menu > li:hover > .sub-menu,
.header-nav .header-menu > li:focus-within > .sub-menu,
.header-nav > ul > li:hover > .sub-menu,
.header-nav > ul > li:focus-within > .sub-menu,
.header-nav .header-menu > li:hover > .children,
.header-nav .header-menu > li:focus-within > .children,
.header-nav > ul > li:hover > .children,
.header-nav > ul > li:focus-within > .children {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: #fff;
  cursor: pointer;
  margin-left: 24px;
}

@media (max-width: 900px) {
  .header-nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #23243a;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 24px;
    gap: 12px;
    box-shadow: 0 15px 24px rgba(0, 0, 0, 0.15);
    display: none;
  }

  .header-nav.active {
    display: flex;
  }

  .header-nav .header-menu,
  .header-nav > ul {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .header-nav .header-menu > li,
  .header-nav > ul > li {
    margin: 0;
    width: 100%;
  }

  .header-nav a {
    width: 100%;
    padding: 6px 0;
  }

  .header-nav a::before {
    display: none;
  }

  .header-nav .sub-menu,
  .header-nav .children {
    position: static;
    transform: none;
    opacity: 1;
    box-shadow: none;
    background: transparent;
    padding: 4px 0 0;
    pointer-events: auto;
  }

  .header-nav .sub-menu::before,
  .header-nav .children::before {
    display: none;
  }

  .header-nav .sub-menu a,
  .header-nav .children a {
    padding: 6px 16px;
    color: #cbd5f5;
    font-size: 0.98rem;
  }

  .mobile-menu-toggle {
    display: inline;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 120px 0 80px;
  background: var(--hero-gradient),
    url("../images/hero-bg.jpg") no-repeat center center;
  background-size: cover;
  color: white;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(17, 24, 39, 0.93) 0%,
    rgba(110, 72, 170, 0.85) 30%,
    rgba(71, 118, 230, 0.8) 70%,
    rgba(15, 76, 129, 0.9) 100%
  );
  z-index: 1;
  animation: gradientShift 15s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-section h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.breadcrumbs {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs a {
  color: #e0e7ef;
}

.breadcrumbs a:hover {
  color: #fff;
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #e0e7ef;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Trust Badges */
.trust-badges {
  padding: 40px 0;
  text-align: center;
  background-color: var(--light-color);
}

.trust-badges p {
  margin-bottom: 20px;
  font-weight: 500;
  color: var(--gray-color);
}

.badges-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.trust-badges-img {
  max-width: 600px;
  height: auto;
}

/* Quick Summary */
.quick-summary {
  padding: 60px 0;
  background: #f8fafc;
  color: var(--nav-bg);
}

.summary-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.summary-content h2 {
  margin-bottom: 15px;
}

.summary-content p {
  max-width: 700px;
  margin: 0 auto 40px;
}

.summary-content .accent-border {
  border-left: 4px solid var(--primary-color);
}

.summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

/* Cards bleu premium, light */
.summary-card {
  position: relative;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 34px 28px 34px 28px;
  transition: var(--transition);
  border: 1.5px solid var(--light-gray);
  color: var(--nav-bg);
  text-align: left;
}

.summary-card:hover {
  transform: translateY(-5px) scale(1.018);
  box-shadow: 0 8px 32px #2563eb1c, 0 8px 32px #0ea5e91b;
  border-color: var(--primary-color);
}

.card-badge {
  position: absolute;
  top: -18px;
  left: -18px;
  background: var(--primary-color);
  color: #fff;
  padding: 7px 17px;
  border-radius: 27px;
  font-weight: 700;
  font-size: 1.04rem;
  z-index: 2;
  box-shadow: 0 2px 9px #2563eb38;
}

.card-badge,
.badge-alt {
  box-shadow: 0 4px 18px #2563eb2c;
  border-radius: 2em !important;
  font-weight: 700;
  font-size: 1.13rem;
  padding: 8px 22px;
}

.card-rank {
  position: absolute;
  top: -13px;
  right: -13px;
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  color: #fff;
  font-size: 1.18rem;
  border-radius: 50%;
  font-weight: bold;
  box-shadow: 0 0px 12px #0ea5e940;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.provider-logo {
  max-height: 50px;
  margin-bottom: 7px;
}

.card-rating .stars {
  color: var(--warning-color);
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.card-rating .score {
  color: var(--gray-color);
}

.card-google-avis {
  color: var(--gray-color);
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 1.01rem;
  margin-bottom: 7px;
}

.card-google-avis svg {
  vertical-align: middle;
}

.card-google-avis a {
  color: var(--primary-color);
  font-weight: 500;
}

.card-google-avis a:hover {
  color: var(--accent-color);
}

.card-features {
  color: var(--nav-bg);
}

.card-features li {
  padding: 8px 0 8px 23px;
  position: relative;
  font-size: 1.01rem;
  text-align: left;
  list-style: none;
}

.card-features li i {
  color: var(--success-color);
  position: absolute;
  left: -10px;
  top: 14px;
}

.summary-card .btn-primary {
  border-radius: 2em !important;
  transition: background 0.17s, color 0.13s, box-shadow 0.19s, transform 0.18s;
  font-size: 1.02rem;
  font-weight: 700;
  box-shadow: 0 2px 10px #2563eb22;
  padding: 10px 20px;
}

.summary-card .btn-primary:hover,
.summary-card .btn-primary:focus {
  background: #1e40af;
  color: #fff;
  box-shadow: 0 0 12px #2563eb80, 0 2px 10px #2563eb21;
  transform: scale(1.07);
}

/* Micro animation pulsante */
.btn-animate {
  animation: btnPulse 1.3s infinite alternate;
}

@keyframes btnPulse {
  0% {
    box-shadow: 0 0 0 0 var(--primary-color), 0 4px 14px #b3c9fc13;
  }

  80% {
    box-shadow: 0 0 0 13px #60a5fa14;
  }

  100% {
    box-shadow: 0 0 0 0 var(--primary-color);
  }
}

.offer-details {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.offer-satisfaction {
  color: var(--success-color);
  font-weight: 700;
}

@keyframes pulseuser {
  0% {
    filter: drop-shadow(0 0 0px var(--warning-color));
  }

  100% {
    filter: drop-shadow(0 0 6px var(--warning-color));
  }
}

.socialproof-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 18px auto 0 auto;
  padding: 10px 30px;
  min-height: 48px;
  max-width: 660px;
  background: linear-gradient(90deg, #fffbe6 0%, #ffede0 100%);
  /* border: 2px dashed #ffc46c; */
  border-radius: 2em;
  box-shadow: 0 6px 18px #eea70008;
  font-size: 1.13rem;
  font-weight: 500;
  color: #ff7c1b;
  letter-spacing: 0.01em;
  position: relative;
}

.socialproof-band strong {
  color: #e8570e;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.socialproof-fire {
  font-size: 1.4em;
  line-height: 1;
  animation: flame 1.25s infinite alternate;
}

@keyframes flame {
  0% {
    transform: scale(1) rotate(-4deg);
  }

  65% {
    transform: scale(1.14) rotate(7deg);
  }

  100% {
    transform: scale(1) rotate(-4deg);
  }
}

.socialproof-count {
  background: #fff;
  color: #ff7c1b;
  font-size: 1.13em;
  font-family: "Montserrat", "Arial", sans-serif;
  font-weight: 900;
  border-radius: 1.2em;
  padding: 4px 18px 4px 14px;
  margin: 0 7px 0 8px;
  box-shadow: 0 2px 7px #ffb81deb;
  border: 2px solid #ffd597;
  display: inline-block;
}

.socialproof-text {
  color: #e98a1a;
  font-size: 1em;
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0.01em;
}

@media (max-width: 600px) {
  .socialproof-band {
    font-size: 1.04rem;
    padding: 10px 8px;
    gap: 7px;
    flex-wrap: wrap;
  }

  .socialproof-text {
    font-size: 0.96em;
  }

  .socialproof-count {
    padding: 3px 12px 3px 10px;
    font-size: 1em;
  }
}

/* Main Content */
.main-content {
  padding: 60px 0;
  background-color: #f9fafb;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

.article-content {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 40px;
}

.content-section {
  margin-bottom: 60px;
}

.content-section h2 {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--light-gray);
}

/* Testing Method */
.testing-method {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.method-item {
  text-align: center;
  padding: 30px 20px;
  background-color: var(--light-color);
  border-radius: var(--border-radius);
}

.method-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background-color: #2563eb1c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* Provider Reviews */
.provider-review {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
  margin-bottom: 40px;
  border: 1px solid var(--light-gray);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--light-gray);
}

.review-rank {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.review-logo {
  max-height: 50px;
  width: auto;
}

.review-rating {
  margin-left: auto;
  text-align: right;
}

.review-highlights {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.highlight {
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.highlight.positive {
  background-color: #d1fae5;
  color: var(--success-color);
}

.highlight.negative {
  background-color: #fef3c7;
  color: var(--warning-color);
}

.review-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .review-pros-cons {
    grid-template-columns: 1fr;
  }
}

.pros-cons-col h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-gray);
}

.pros-cons-col h4 i {
  font-size: 1.1rem;
}

.pros-list,
.cons-list {
  list-style: none;
}

.pros-list li,
.cons-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 11px;
}

.pros-list li:before {
  content: "+";
  color: var(--success-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.cons-list li:before {
  content: "-";
  color: var(--danger-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.review-pricing {
  margin-bottom: 30px;
}

.review-pricing h4 {
  margin-bottom: 20px;
}

.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.pricing-plan {
  position: relative;
  padding: 25px;
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  border: 1px solid var(--light-gray);
}

.pricing-plan.recommended {
  border: 2px solid var(--primary-color);
}

.recommended-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: var(--accent-color);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}

.pricing-plan h5 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.price small {
  font-size: 1rem;
  color: var(--gray-color);
  font-weight: 400;
}

.pricing-plan ul {
  list-style: none;
}

.pricing-plan ul li {
  padding: 6px 0;
  font-size: 0.95rem;
}

.review-verdict {
  background-color: var(--light-color);
  padding: 25px;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
}

.review-verdict h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Comparison Table */
.comparison-table-container {
  overflow-x: auto;
  margin-top: 30px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
}

.comparison-table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

.comparison-table tr:nth-child(even) {
  background-color: #f4f8fd;
}

.comparison-table tr:hover {
  background-color: #e9ecef;
}

.comparison-table i.fa-check {
  color: var(--success-color);
}

/* Guide Steps */
.guide-step {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 15px;
}

.step-content ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.step-content ul li {
  margin-bottom: 8px;
}

/* FAQ */
.faq-item {
  margin-bottom: 15px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px;
  text-align: left;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 1.065rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  color: var(--primary-color);
}

.faq-question:hover {
  background-color: #f1f8fe;
}

.faq-question i {
  transition: var(--transition);
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease-out;
}

.faq-answer p,
.faq-answer ol {
  padding: 0 0 20px;
}

/* Sidebar */
.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 25px;
}

.sidebar-widget h3 {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--light-gray);
  color: var(--primary-color);
}

.top-list {
  list-style: none;
}

.top-list li {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--light-gray);
}

.rank {
  width: 25px;
  height: 25px;
  background-color: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 15px;
}

.top-list li:first-child .rank {
  background-color: #2563eb;
  color: white;
}

.top-list li:nth-child(2) .rank {
  background-color: #0ea5e9;
  color: white;
}

.top-list li:nth-child(3) .rank {
  background-color: #64748b;
  color: white;
}

.provider {
  flex-grow: 1;
  font-weight: 500;
}

.rating {
  color: var(--warning-color);
}

.deal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
}

.deal-card.padding {
  padding-bottom: 35px;
}

.deal-card img {
  max-height: 38px;
  width: auto;
}

.deal-content h4 {
  color: var(--primary-color);
  font-size: 1.16rem;
  margin-bottom: 5px;
}

.deal-content p {
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input {
  padding: 12px 15px;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-size: 1rem;
  background: #f4f8fd;
  color: var(--nav-bg);
}

/* Final CTA */
.final-cta {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.final-cta h2 {
  color: white;
  margin-bottom: 15px;
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.14rem;
  margin-bottom: 46px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.cta-card {
  position: relative;
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  color: var(--nav-bg);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.07);
  transition: var(--transition);
  text-align: center;
}

.cta-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 38px rgba(37, 99, 235, 0.13);
}

.card-rank {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 40px;
  height: 40px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.15rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.13);
}

.cta-card img {
  max-height: 60px;
  width: auto;
  margin-bottom: 20px;
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.card-note {
  font-size: 0.93rem;
  color: var(--gray-color);
  font-style: italic;
}

/* Footer */
.main-footer {
  background-color: #111827;
  color: var(--dark-color);
  padding: 30px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.footer-brand .logo {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: block;
}

.footer-brand p {
  color: #cbd5e1;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
}

.links-column h4 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.07rem;
}

.links-column ul {
  list-style: none;
}

.links-column ul li {
  margin-bottom: 12px;
}

.links-column ul li a {
  color: #e0e7ef;
  transition: var(--transition);
}

.links-column ul li a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid #23272f;
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  color: #475569;
  font-size: 0.91rem;
  margin-bottom: 10px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .content-wrapper {
    grid-template-columns: 1fr;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .summary-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .card-badge .hero-section {
    padding: 100px 0 60px;
  }

  .hero-section h1 {
    font-size: 1.7rem;
  }

  .hero-meta {
    flex-direction: column;
    gap: 10px;
  }

  .review-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .review-rating {
    margin-left: 0;
    align-self: flex-start;
  }

  .pricing-table {
    grid-template-columns: 1fr;
  }

  .summary-card {
    padding: 18px 7px;
  }
}

/* Générique highlight premium */
.accent-border {
  border-left: 4px solid var(--primary-color);
  padding-left: 15px;
}

.featured-plan {
  border: 2px solid var(--primary-color);
  position: relative;
}

.featured-plan:before {
  content: "Recommandé";
  background-color: var(--accent-color);
  color: white;
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.header-nav {
  text-align: right;
}

.header-content {
  display: flex;
  align-items: center;
  /* vertical center */
  justify-content: space-between;
  /* logo left, nav right */
  gap: 24px;
  /* optional, adjust as needed */
  width: 100%;
}

.score-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.97em;
  margin-left: 6px;
}

.score-badge-green {
  background: #d1fae5;
  color: #047857;
}

.score-badge-blue {
  background: #dbeafe;
  color: #1e3a8a;
}

.score-badge-yellow {
  background: #fef9c3;
  color: #a16207;
}

.score-badge-orange {
  background: #ffedd5;
  color: #b45309;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}
.logo-container .logo {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: bold;
  font-size: 2em;
  color: #8376e3;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.logo-container .web {
  color: #a262d5;
}
.logo-container .com {
  color: #ffb541;
  font-size: 0.8em;
  margin-left: 4px;
}
/* Spec list for cards */
.spec-list {
  list-style: none;
  margin: 8px 0 6px 0;
  padding: 0;
  font-size: 0.95em;
  color: #334155;
}
.spec-list li {
  margin: 2px 0;
}
.spec-list strong {
  color: #111827;
}

/* Blog layout */
.blog-index .container,
.blog-archive .container,
.single-post .container {
  max-width: 1280px;
}

.blog-header {
  margin-bottom: 40px;
}

.blog-header h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.blog-intro {
  color: #4a5568;
  font-size: 1.05rem;
  max-width: 720px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.blog-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(30, 41, 59, 0.08);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(30, 41, 59, 0.12);
}

.blog-card-thumb {
  display: block;
}

.blog-card-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 26px 24px 36px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 14px;
}

.blog-card-category {
  background: #e0edff;
  color: #1d4ed8;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.blog-card-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.blog-card-title a {
  color: inherit;
}

.blog-card-excerpt {
  color: #4a5568;
  line-height: 1.5;
  margin-bottom: auto;
}

.blog-card .btn {
  align-self: flex-start;
  margin-top: 20px;
  z-index: 2;
}

.pagination {
  margin: 48px 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #1f2937;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: #2563eb;
  color: #fff;
}

.single-post .post-header {
  margin-bottom: 32px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #4b5563;
  margin-bottom: 18px;
  font-size: 0.96rem;
}

.post-thumbnail img {
  width: 100%;
  border-radius: 16px;
  margin-top: 20px;
}

.post-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #1f2937;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 32px;
  margin-bottom: 14px;
}

.post-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post-share {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
}

.post-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #1d4ed8;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}

.post-share a:hover {
  background: #2563eb;
  color: #fff;
}

.post-navigation {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.post-navigation a {
  display: block;
  background: #f8fafc;
  padding: 18px 20px;
  border-radius: 14px;
  color: #1f2937;
  transition: background 0.15s ease;
}

.post-navigation a:hover {
  background: #e2e8f0;
}

.post-navigation .nav-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .blog-card-thumb img {
    height: 180px;
  }

  .post-share {
    flex-wrap: wrap;
  }
}

/* Sommaire / Table of contents */
.on-this-page {
  position: relative;
  max-width: 1100px;
  margin: -42px auto 54px;
  padding: 32px 36px 28px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 24px;
  box-shadow: 0 26px 65px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  z-index: 5;
}

.on-this-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(37, 99, 235, 0.14),
    rgba(14, 165, 233, 0.1)
  );
  opacity: 0.9;
  pointer-events: none;
}

.on-this-page > * {
  position: relative;
  z-index: 1;
}

.on-this-page .otp-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.16);
  color: #1e3a8a;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.on-this-page .otp-title::before {
  content: "\f03a";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1rem;
}

.on-this-page ul {
  list-style: none;
  padding: 0;
  margin: 0;
  column-count: 2;
  column-gap: 42px;
}

.on-this-page li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  line-height: 1.55;
  color: #0f172a;
  font-weight: 600;
  break-inside: avoid;
}

.on-this-page li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
}

.on-this-page li.is-sub {
  margin-left: 8px;
  color: #475569;
  font-weight: 500;
  font-size: 0.95rem;
}

.on-this-page li.is-sub::before {
  background: #93c5fd;
  box-shadow: 0 0 0 4px rgba(147, 197, 253, 0.22);
  top: 13px;
}

.on-this-page a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  transition: color 0.18s ease, transform 0.18s ease;
}

.on-this-page a:hover {
  color: #1d4ed8;
  transform: translateX(4px);
}

.ez-toc-container {
  max-width: 960px;
  margin: -12px auto 42px;
  padding: 26px 28px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border: 1px solid #dbeafe;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
}

.ez-toc-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ez-toc-title::before {
  content: "\f03a";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #2563eb;
  font-size: 1.05rem;
}

.ez-toc-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ez-toc-list li {
  position: relative;
  padding-left: 20px;
  line-height: 1.4;
  color: #1f2937;
}

.ez-toc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563eb;
}

.ez-toc-list a {
  color: inherit;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.ez-toc-list a:hover {
  color: #2563eb;
  transform: translateX(2px);
}

.ez-toc-container .ez-toc-toggle {
  margin-bottom: 18px;
}

.ez-toc-container .ez-toc-toggle a {
  color: #2563eb;
  font-weight: 600;
}

@media (max-width: 900px) {
  .on-this-page {
    margin: -64px auto 42px;
    padding: 26px 28px 22px;
  }

  .on-this-page ul {
    column-count: 1;
    column-gap: 0;
  }
}

@media (max-width: 640px) {
  .on-this-page {
    margin: -40px auto 32px;
    padding: 22px 20px 20px;
  }

  .on-this-page ul {
    column-count: 1;
    column-gap: 0;
  }

  .ez-toc-container {
    padding: 24px 20px;
    margin: 0 auto 34px;
  }

  .ez-toc-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
/* Single Post enhancements */

.single-post .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.post-entry {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
  padding: 46px 48px 54px;
  position: relative;
  overflow: hidden;
}

.post-entry > * {
  position: relative;
  z-index: 1;
}

.post-entry .breadcrumbs {
  font-size: 0.92rem;
  color: #64748b;
  margin-bottom: 18px;
}

.post-entry .breadcrumbs a {
  color: #2563eb;
}

.post-header {
  margin-bottom: 26px;
}

.single-post .post-title {
  font-size: 2.6rem;
  margin-bottom: 18px;
  color: #0f172a;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.95rem;
  color: #475569;
}

.post-meta .post-category {
  background: #e0edff;
  color: #1d4ed8;
  padding: 3px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.post-thumbnail {
  margin-top: 24px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.post-content {
  margin-top: 32px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: #1f2937;
}

.post-content h2 {
  font-size: 2rem;
  margin: 42px 0 18px;
}

.post-content h3 {
  font-size: 1.5rem;
  margin: 32px 0 16px;
}

.post-content p,
.post-content ul,
.post-content ol {
  margin-bottom: 20px;
}

.post-content ul,
.post-content ol {
  padding-left: 24px;
}

.post-content blockquote {
  margin: 26px 0;
  padding: 14px 20px;
  border-left: 4px solid #2563eb;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 12px;
  color: #1e293b;
  font-style: italic;
}

.post-footer {
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post-share {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
}

.post-share span {
  font-weight: 600;
  color: #1e293b;
}

.post-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #eff4ff;
  color: #1d4ed8;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.post-share a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

.post-navigation {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.post-navigation a {
  display: block;
  background: #f4f7ff;
  padding: 18px 20px;
  border-radius: 14px;
  color: #1f2937;
  transition: background 0.18s ease;
}

.post-navigation a:hover {
  background: #dbe7ff;
}

.post-navigation .nav-label {
  display: block;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .post-entry {
    padding: 32px 24px 36px;
  }

  .single-post .post-title {
    font-size: 2.1rem;
  }

  .post-content {
    font-size: 1.03rem;
  }

  .post-share {
    flex-wrap: wrap;
  }
}
