

/* ============================================================
   TOP 3 SECTION
   Variables attendues dans :root du thème :
   --accent, --accent-2, --base-2, --base-3,
   --contrast-2, --contrast-3
   ============================================================ */
:root {
    --contrast: #c97be7;
    --contrast-2: #E2E2E2;
    --contrast-3: #fbf7f7;
    --contrast-p: #8040c0;
    --base: #252020;
    --base-2: #3F3F46;
    --base-3: #252020;
    --accent: #93A5CF;
    --accent-2: #ed86af;
}

#main-wrapper{max-width: 1100px; margin: 20px auto}

/* --- Emoji inline (WordPress compat) --- */
img.emoji {
  display: inline !important;
  border: none !important;
  box-shadow: none !important;
  height: 1em !important;
  width: 1em !important;
  margin: 0 0.07em !important;
  vertical-align: -0.1em !important;
  background: none !important;
  padding: 0 !important;
}

/* --- Reset de base --- */
figure { margin: 0; padding: 0; border: 0; }
p      { margin: 0; padding: 0; border: 0; }
img    { height: auto; max-width: 100%; }

a {
  text-decoration: none;
  color: var(--accent-2);
  transition: color .1s ease-in-out, background-color .1s ease-in-out;
}
a:hover, a:focus, a:active { color: var(--accent); }

/* ============================================================
   HERO H1
   Dépend de : top3.css (variables CSS)
   ============================================================ */

.hero-wrapper {
  position: relative;
  background-color: var(--accent-2);
  overflow: hidden;
  margin-bottom: 0;
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 40px 105px;
}

.hero-title {
  font-weight: 700;
  line-height: 1.25;
  color: var(--contrast-3);
  margin: 0;
}

/* --- Vague --- */
.hero-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

.hero-shape svg {
  display: block;
  width: 100%;
  height: 80px;     /* hauteur de la vague visible */
  fill: var(--contrast-3); /* même couleur que le fond de la section suivante */
}

/* --- Wrapper principal --- */
.top3-wrapper {
  max-width: 1100px;
  margin: 0 auto 20px auto;
  padding: 5px 15px;
}

/* --- Grille 3 colonnes --- */
.top3-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-left: -25px;
}

.top3-grid > .top3-col {
  box-sizing: border-box;
  padding-left: 25px;
  width: 33.33%;
}

/* --- Carte outil (standard : #2 et #3) --- */
.top3-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 16px;
  padding: 10px 20px 25px;
  margin-top: 10px;
  border-radius: 10px;
  background-color: var(--contrast-p);
  color: var(--contrast-3);
}

/* Carte gagnante (#1) : fond alternatif + couleurs inversées */
.top3-card--winner {
  background-color: var(--base-2);
  color: var(--contrast-2);
  box-shadow: 3px 2px 13px -1px var(--contrast-3);
  margin-top: 30px; /* légèrement surélevée pour la mettre en avant */
}

/* --- Titre du rang (#1, #2, #3) --- */
.top3-card-title {
  font-size: 25px;
  font-weight: 500;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 15px;
  color: var(--contrast-3);
}

.top3-card--winner .top3-card-title {
  color: var(--contrast-3);
}

/* --- Image de la carte --- */
.top3-block-image {
  margin-bottom: 10px;
}

.top3-card-image {
  border-radius: 8px;
  vertical-align: middle;
}

/* --- Tagline (description courte centrée) --- */
.top3-tagline {
  text-align: center;
  margin-bottom: 0;
}

/* --- Liste des features (points forts avec icône checkmark) --- */
.top3-features {
  width: 100%;
}

.top3-feature {
  display: flex;
  align-items: center;
  column-gap: 0.5em;
  font-size: 15px;
  line-height: 20px;
  margin-top: 10px;
  margin-bottom: 5px;
}

.top3-feature:first-child {
  margin-top: 0;
}

.top3-feature .top3-icon {
  line-height: 0;
  color: #12dc1f;
  flex-shrink: 0;
}

.top3-feature .top3-icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

/* --- Bouton CTA --- */
.top3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.5em;
  width: 100%;
  font-family: Oswald, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  padding: 15px 10px;
  margin-top: 20px;
  border-radius: 5px;
  background-color: var(--accent-2);
  color: var(--contrast-3);
  text-decoration: none;
  box-shadow: 0 0 10px 0 var(--base-3);
  transition: all 0.5s ease;
}

.top3-btn:hover,
.top3-btn:active,
.top3-btn:focus {
  background-color: var(--contrast-2);
  color: var(--base-3);
  transform: scale(1.1) perspective(1000px);
}

.top3-btn .top3-icon { line-height: 0; }
.top3-btn .top3-icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

/* -------------------------------------------------------
   LAYOUT — grille 2 colonnes
   ------------------------------------------------------- */

.review-wrapper {
  max-width: 1100px;
  margin: 40px auto;
  padding: 5px 15px;
}

/* Séparateur visuel entre chaque bloc outil */
.review-wrapper + .review-wrapper {
  border-top: 1px solid var(--base-2);
  padding-top: 40px;
}

.review-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 30px;
}

/* Colonne principale : ~68% */
.review-col--main {
  flex: 1 1 60%;
  min-width: 0; /* évite le débordement flex */
}

/* Colonne sidebar : ~30% */
.review-col--sidebar {
  flex: 0 0 300px;
  height: auto !important;
  min-height: 0;
  align-self: stretch;
}

/* -------------------------------------------------------
   COLONNE GAUCHE — Contenu éditorial
   ------------------------------------------------------- */

/* H2 titre */
.review-title {
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--base);
}

/* Image hero */
.review-hero-figure {
  margin: 0 0 20px;
}

.review-hero-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* Paragraphes intro */
.review-col--main p {
  margin-bottom: 1.2em;
  line-height: 1.7;
}

/* -------------------------------------------------------
   TABLEAU PROS / CONS
   ------------------------------------------------------- */

.review-proscons {
  margin: 25px 0;
  overflow-x: auto;
}

.review-proscons-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.review-proscons-table thead th {
  padding: 10px 14px;
  text-align: left;
  background-color: var(--base-2);
  color: var(--contrast-2);
  font-weight: 700;
  font-size: 1.3em;
  border-bottom: 2px solid var(--contrast-3);
}

.review-proscons-table tbody tr:nth-child(odd) {
  background-color: var(--accent-2);
}

.review-proscons-table tbody tr:nth-child(even) {
  background-color: var(--contrast-3);
}

.review-proscons-table td {
  padding: 10px 14px;
  vertical-align: top;
  line-height: 1.5;
  width: 50%;
}

/* Cellule vide (cons < pros) : pas de fond parasite */
.review-proscons-table td:empty {
  background: transparent;
}

/* -------------------------------------------------------
   ACCORDÉONS
   ------------------------------------------------------- */

.review-accordions {
  margin-top: 25px;
}

.review-accordion-item {
  border: 1px solid var(--base-2);
  border-radius: 6px;
  margin-bottom: 8px;
  overflow: hidden;
}

/* Bouton toggle */
.review-accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  background-color: var(--base-2);
  color: var(--contrast-2);
  border: none;
  cursor: pointer;
  font-size: 15px;
  text-align: left;
  gap: 10px;
  transition: background-color 0.2s ease;
}

.review-accordion-toggle:hover {
  background-color: var(--contrast-p);
}

.review-accordion-label {
  flex: 1;
}

/* Étoiles de notation inline */
.review-accordion-label .rating-stars-perso {
  display: inline-block;
  vertical-align: middle;
}

/* Icônes chevron */
.review-accordion-icons {
  line-height: 0;
  flex-shrink: 0;
}

.review-accordion-icon,
.review-accordion-icon-open {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.review-accordion-item.is-open .review-accordion-content {
  display: block;
}

/* Par défaut : affiche "down", cache "up" */
.review-accordion-icon-open { display: none; }

/* Quand ouvert : inverse */
.review-accordion-item.is-open .review-accordion-icon      { display: none; }
.review-accordion-item.is-open .review-accordion-icon-open { display: inline-block; }

/* Contenu déroulant */
.review-accordion-content {
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.7;
  border-top: 1px solid var(--base-2);
  background-color: var(--contrast-3);
  color: var(--base-3);
  display: block;
}

/* [hidden] est géré nativement par le navigateur,
   mais on surcharge pour l'animation */
.review-accordion-content[hidden] {
  display: none;
}

/* Listes dans les accordéons */
.review-accordion-content ul {
  padding-left: 1.4em;
  margin: 10px 0;
}

.review-accordion-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Tables dans les accordéons (ex: tarifs) */
.review-accordion-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 12px;
}

.review-accordion-content table th {
  background-color: var(--base-2);
  color: var(--contrast-2);
  padding: 8px 12px;
  text-align: left;
  font-weight: 700;
}

.review-accordion-content table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--base-2);
  vertical-align: top;
}

.review-accordion-content table tr:last-child td {
  border-bottom: none;
}

/* Blockquote dans accordéon (exemple de dialogue) */
.review-accordion-content blockquote {
  margin: 16px 0;
  padding: 12px 18px;
  border-left: 3px solid var(--accent-2);
  background-color: var(--base-2);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  font-size: 14px;
  line-height: 1.7;
}

/* --- Étoiles CSS via variable --percent --- */
.rating-stars-perso {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  font-size: 1em;
  line-height: 1;

  /* Étoiles vides (fond gris) */
  &::before {
    content: "★★★★★";
    letter-spacing: 2px;
    color: #ccc;
  }

  /* Étoiles pleines (couleur dorée) par-dessus */
  &::after {
    content: "★★★★★";
    letter-spacing: 2px;
    position: absolute;
    top: 0;
    left: 0;
    color: #f5a623;
    width: var(--percent, 0%);
    overflow: hidden;
    white-space: nowrap;
  }
}

/* -------------------------------------------------------
   COLONNE DROITE — Mini-card sticky
   ------------------------------------------------------- */

.review-sticky-card {
  position: sticky;
  top: 20px; /* ajuster selon la hauteur de ton header */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 20px 24px;
  border-radius: 10px;
  background-color: var(--base-2);
  color: var(--contrast-2);
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.25);
}

/* Titre avec score */
.review-sticky-title {
  font-size: 1.3em;
  font-weight: 700;
  text-align: center;
  margin: 0 0 14px;
  color: var(--contrast-2);
}

/* Image */
.review-sticky-figure {
  margin: 0 0 12px;
  width: 100%;
}

.review-sticky-image {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

/* Tagline */
.review-sticky-tagline {
  font-size: 13px;
  text-align: center;
  margin: 0 0 14px;
  line-height: 1.5;
}

/* Features — hérite de .top3-feature défini dans top3.css */
.review-sticky-features {
  width: 100%;
  margin-bottom: 4px;
}

/* ============================================================
   FAQ SECTION
   WRAPPER GLOBAL + VAGUE
   ------------------------------------------------------- */

.faq-wrapper {
  position: relative;
  max-width: 100%;
  overflow: hidden;            /* contient la vague */
  background-color: var(--base-2);
  padding-bottom: 0;
}

.faq-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px 60px;
}

/* Shape vague en bas */
.faq-shape {
  position: relative;
  bottom: 0;
  width: 100%;
  line-height: 0;
}

.faq-shape svg {
  display: block;
  width: 100%;
  height: 80px;
  fill: var(--contrast-3);  /* couleur de la section suivante (footer) */
}

/* -------------------------------------------------------
   TITRE
   ------------------------------------------------------- */

.faq-title {
  font-size: 1.6em;
  font-weight: 700;
  margin: 0 0 30px;
  color: var(--contrast-2);
}

/* -------------------------------------------------------
   GRILLE 2 COLONNES
   ------------------------------------------------------- */

.faq-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
}

/* Colonne accordéons : ~65% */
.faq-col--questions {
  flex: 1 1 55%;
  min-width: 0;
}

/* Colonne image : fixe ~280px */
.faq-col--image {
  flex: 0 0 260px;
  display: flex;
  justify-content: center;
}

/* -------------------------------------------------------
   IMAGE DÉCORATIVE
   ------------------------------------------------------- */

.faq-image-figure {
  margin: 0;
  position: sticky;
  top: 20px;
}

.faq-image {
  width: 100%;
  height: auto;
  max-width: 260px;
  display: block;
  border-radius: 8px;
}

/* -------------------------------------------------------
   ACCORDÉONS FAQ
   ------------------------------------------------------- */

.faq-accordions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-accordion-item {
  border: 1px solid var(--base-3);
  border-radius: 6px;
  overflow: hidden;
  background-color: var(--contrast-3);
}

/* Bouton toggle */
.faq-accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 18px;
  background-color: var(--contrast-3);
  color: var(--base-3);
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  gap: 12px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.faq-accordion-toggle:hover {
  background-color: var(--accent-2);
  color: var(--contrast-3);
}

/* Quand ouvert */
.faq-accordion-item.is-open .faq-accordion-toggle {
  background-color: var(--accent-2);
  color: var(--contrast-3);
}

/* ── FAQ Accordion : état ouvert ── */
.faq-accordion-item.is-open .faq-accordion-content {
  display: block;
}

.faq-accordion-question {
  flex: 1;
  line-height: 1.4;
}

/* Icônes chevron */
.faq-accordion-icons {
  line-height: 0;
  flex-shrink: 0;
}

.faq-accordion-icon,
.faq-accordion-icon-open {
  width: 1em;
  height: 1em;
  fill: currentColor;
  transition: transform 0.2s ease;
}

/* Par défaut : chevron bas visible, chevron haut caché */
.faq-accordion-icon-open { display: none; }

.faq-accordion-item.is-open .faq-accordion-icon      { display: none; }
.faq-accordion-item.is-open .faq-accordion-icon-open { display: inline-block; }

/* Contenu déroulant */
.faq-accordion-content {
  padding: 16px 18px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--base-3);
  background-color: var(--contrast-3);
  border-top: 1px solid var(--base-2);
  display: none;
}

.faq-accordion-content[hidden] { display: none; }

/* Éléments dans le contenu */
.faq-accordion-content p      { margin-bottom: 1em; }
.faq-accordion-content p:last-child { margin-bottom: 0; }

.faq-accordion-content ul,
.faq-accordion-content ol {
  padding-left: 1.4em;
  margin: 8px 0 12px;
}

.faq-accordion-content li { margin-bottom: 6px; }

/* Tables dans les réponses */
.faq-accordion-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 12px 0;
}

.faq-accordion-content table th {
  background-color: var(--base-2);
  color: var(--contrast-2);
  padding: 8px 12px;
  text-align: left;
  font-weight: 700;
}

.faq-accordion-content table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--base-2);
  vertical-align: top;
}

.faq-accordion-content table tr:last-child td {
  border-bottom: none;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */

/* -------------------------------------------------------
   WRAPPER
   ------------------------------------------------------- */

.ctable-wrapper {
  position: relative;
  background-color: var(--base-2);
  overflow: hidden;
}

.ctable-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px 60px;
}

/* Titre */
.ctable-title {
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--contrast-2);
}

/* -------------------------------------------------------
   SCROLL HORIZONTAL (mobile-friendly)
   ------------------------------------------------------- */

.ctable-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  /* Indicateur scroll discret sur mobile */
  background:
    linear-gradient(to right, var(--base-2) 30%, transparent),
    linear-gradient(to left,  var(--base-2) 30%, transparent) right,
    linear-gradient(to right, var(--base-3), transparent) left,
    linear-gradient(to left,  var(--base-3), transparent) right;
  background-size: 60px 100%, 60px 100%, 14px 100%, 14px 100%;
  background-repeat: no-repeat;
  background-attachment: local, local, scroll, scroll;
}

/* -------------------------------------------------------
   TABLEAU
   ------------------------------------------------------- */

.ctable {
  width: 100%;
  min-width: 700px;          /* force le scroll avant compression */
  border-collapse: collapse;
  font-size: 14px;
  table-layout: fixed;
}

/* -------------------------------------------------------
   EN-TÊTES (noms des outils)
   ------------------------------------------------------- */

.ctable-th {
  padding: 12px 14px;
  text-align: center;
  font-weight: 700;
  font-size: 1.2em;
  background-color: var(--contrast-3);
  color: var(--base-3);
  border-bottom: 2px solid var(--accent-2);
  white-space: nowrap;
}

/* Cellule vide coin haut-gauche */
.ctable-th--label {
  text-align: left;
  width: 160px;
  min-width: 140px;
  background-color: var(--base-2);
  border-bottom-color: var(--base-2);
}

/* -------------------------------------------------------
   CELLULES
   ------------------------------------------------------- */

.ctable-td {
  padding: 10px 14px;
  text-align: center;
  vertical-align: top;
  line-height: 1.5;
  font-size: 13px;
  border-bottom: 1px solid var(--base-2);
  color: var(--contrast-2);
}

/* Colonne label (1ère colonne) */
.ctable-td--label {
  text-align: left;
  background-color: var(--base-2);
  color: var(--contrast-2);
  font-size: 13px;
  white-space: normal;
  word-break: break-word;
  min-width: 140px;
  max-width: 180px;
  position: sticky;
  left: 0;
  z-index: 1;
  border-right: 2px solid var(--base-3);
}


/* Lignes alternées (stripes) */
.ctable tbody tr:nth-child(odd) .ctable-td {
  background-color: var(--contrast-p);
}

.ctable tbody tr:nth-child(even) .ctable-td {
  background-color: var(--base-2);
}

/* La colonne sticky garde son fond indépendamment des stripes */
.ctable tbody tr:nth-child(odd)  .ctable-td--label { background-color: var(--base-2); }
.ctable tbody tr:nth-child(even) .ctable-td--label { background-color: var(--base-2); }

/* Ligne "Note globale" : mise en valeur */
.ctable-row--score .ctable-td {
  font-size: 14px;
  font-weight: 700;
}

/* Ligne "Lire le test" */
.ctable-row--review_link .ctable-td {
  white-space: nowrap;
}

/* -------------------------------------------------------
   LIEN TEST
   ------------------------------------------------------- */

.ctable-link {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  transition: color 0.15s ease;
}

.ctable-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* -------------------------------------------------------
   SHAPE VAGUE (identique FAQ)
   ------------------------------------------------------- */

.ctable-shape {
  position: relative;
  bottom: 0;
  width: 100%;
  line-height: 0;
}

.ctable-shape svg {
  display: block;
  width: 100%;
  height: 80px;
  fill: var(--contrast-3);
}

/* -------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------- */

@media (max-width: 768px) {
  .ctable-title { font-size: 1.25em; }
  .ctable-th--label { width: 120px; min-width: 110px; }
  .ctable-td--label { font-size: 12px; }
  .ctable-td { font-size: 12px; padding: 8px 10px; }
}


/* -------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------- */

/* Tablette : sidebar passe en dessous */
@media (max-width: 900px) {
  .review-col--sidebar {
    flex: 1 1 100%;
    order: -1; /* sidebar au-dessus sur mobile = mini-card d'abord */
  }

  .review-col--main {
    flex: 1 1 100%;
  }

  .review-sticky-card {
    position: static; /* désactive le sticky sur mobile */
  }
  .faq-col--image  { display: none; }   /* image optionnelle sur mobile */
  .faq-col--questions { flex: 1 1 100%; }
}

/* Mobile */
@media (max-width: 480px) {
  .hero-title { font-size: 1.2em; }
  .hero-inner { padding: 28px 14px 60px; }
  .review-title {
    font-size: 1.15em;
  }

  .review-proscons-table {
    font-size: 13px;
  }

  .review-accordion-toggle {
    font-size: 14px;
    padding: 12px 14px;
  }
  .faq-title { font-size: 1.25em; }

  .faq-accordion-toggle {
    font-size: 14px;
    padding: 13px 14px;
  }

  .faq-accordion-content {
    font-size: 14px;
    padding: 14px;
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .top3-card-title { font-size: 20px; }
}

@media (max-width: 767px) {
  .top3-grid > .top3-col { width: 98%; }
}

@media (max-width: 768px) {
  a { transition: none; }
  .hero-title { font-size: 1.4em; }
  .hero-inner { padding: 35px 16px 70px; }
}



/* ancien css */
html { scroll-behavior: smooth }

h1{
    font-size: 36px;
    font-weight: 700;
    color: var(--contrast-p);; /* rose principal */ 
}
h2{
    font-size: 30px;
    font-weight: 700;
    color: #1e0432; /* rose principal */ 
}
h3{
    font-size: 26px;
    font-weight: 700;
    color: var(--contrast-p);; /* Violet principal */ 
}
.site-header {
    background-color: var(--contrast-p);; /* Violet plus foncé pour un bon contraste avec le texte blanc */
    color: #FFFFFF; /* Texte blanc par défaut pour le header */
    padding: 20px 0; /* Espace vertical à l'intérieur du header */
    font-family: 'Arial', sans-serif; /* Ou une autre police sans-serif de votre choix */
}
.service-image{
    max-width: 90%; /* S'assurer que l'image ne dépasse pas la largeur de son conteneur */
    height: auto; /* Garder les proportions de l'image */
    border-radius: 8px; /* Coins arrondis pour un look moderne */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Ombre subtile pour donner de la profondeur */
    margin: 0 auto;
    display: block;
}
.wp-block-video video {
    max-width: 220px; /* S'assurer que la vidéo ne dépasse pas la largeur de son conteneur */
    height: auto; /* Garder les proportions de la vidéo */
    border-radius: 8px; /* Coins arrondis pour un look moderne */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Ombre subtile pour donner de la profondeur */
}

.header-container {
    max-width: 1200px; /* Ou la largeur que vous souhaitez pour votre contenu */
    margin: 0 auto; /* Centrer le conteneur */
    padding: 0 20px; /* Espace horizontal à l'intérieur du conteneur */
    display: flex;
    justify-content: space-between; /* Espace entre la partie gauche et droite */
    align-items: center; /* Aligner verticalement les éléments */
}
header a {
    text-decoration: none; /* Enlever le soulignement par défaut des liens */
    color: #FFFFFF; /* Couleur blanche pour les liens */
}

.header-branding .main-title {
    font-size: 2.2em; /* Taille du titre principal */
    font-weight: bold;
    margin: 0;
    line-height: 1.1; /* Ajuster si nécessaire */
    color: #FFFFFF; /* Assurer que le titre est blanc */
}

.header-branding .subtitle {
    font-size: 0.95em;
    margin: 5px 0 0 0;
    color: #E0C8F5; /* Violet très clair, mais toujours lisible sur le fond plus foncé */
    opacity: 0.9; /* Peut rendre un peu plus subtil */
}

.header-action {
    display: flex;
    align-items: center; /* Aligner le texte et le bouton */
    gap: 15px; /* Espace entre le texte et le bouton */
}

.header-action .action-text {
    font-size: 0.9em;
    color: #E0C8F5; /* Même couleur que le sous-titre pour la cohérence */
}

.header-action .action-button {
    background-color: #B070E0; /* Un violet un peu plus clair que le fond du header mais pas trop */
    color: #FFFFFF; /* Texte du bouton blanc */
    border: 2px solid #8040C0; /* Bordure violet plus foncé pour définir le bouton */
    padding: 10px 25px;
    border-radius: 25px; /* Coins très arrondis */
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Ombre subtile */
}

.header-action .action-button:hover,
.header-action .action-button:focus {
    background-color: #e91e63; /* Même couleur que le header au survol */
    border-color: #602090; /* Bordure encore plus foncée au survol */
    transform: translateY(-1px); /* Léger effet de soulèvement */
    outline: none; /* Enlever l'outline par défaut au focus si le style est suffisant */
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--contrast-3);
    color: #333;
    line-height: 1.6;
}

.page-header {
    background-color: #4a41d4;
    color: white;
    padding: 15px 20px;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 20px;
}

.wp-block-video {
    margin: 0 auto; /* Centrer la vidéo */
    max-width: 90%; /* S'assurer qu'elle ne dépasse pas la largeur de l'écran */
}

.services-container {
    width:100%;
    margin: 0 auto;
    background: var(--contrast-3);
}

.service-card {
    position: relative;
    background-color: white;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column; /* Correct pour la base mobile */
    align-items: stretch;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-radius: 4px;
    cursor: pointer; /* Pour indiquer visuellement que la carte est cliquable */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.service-identity {
    display: flex;
    align-items: center; /* Important pour aligner verticalement numéro et logo sur mobile aussi */
    margin-bottom: 15px;
	margin: 15px auto;
}

.service-number {
    background-color: #28a745;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.service-logo {
    padding: 8px 15px;
    font-weight: bold;
    border-radius: 4px;
    text-align: center;
}

.logo-candy {
    font-family: 'Arial Black', Gadget, sans-serif;
    font-size: 1.8em;
    color: #e83e8c;
}

.logo-seduced,
.logo-promptchan {
    background-color: #212529;
    color: white;
    font-size: 1.2em;
}

.service-details {
    margin-bottom: 15px;
}

.service-details .service-name {
    color: #dc3545;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5em;
    font-weight: bold;
    display: block;
}

.features-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.features-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    color: #555;
}

.checkmark {
    color: #28a745;
    margin-right: 8px;
    font-weight: bold;
}

.service-action {
    margin-top: auto;
}

.trial-button {
    display: block;
    background-color: #dc3545;
    color: white;
    text-align: center;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    position: relative; /* Important pour que le contenu du bouton soit au-dessus de son ::after */
    z-index: 2; /* Assure que le bouton visuel est au-dessus de la zone cliquable étendue */
}

.trial-button:hover {
    background-color: #c82333;
}

/* Styles pour la section Pros & Cons */
.pros-cons-widget {
    max-width: 1000px; /* Ou la largeur que vous souhaitez */
    margin: 30px auto; /* Centrer et espacer */
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 20px;
}

.pros-cons-layout {
    display: flex;
    flex-direction: column; /* Par défaut pour mobile, les colonnes s'empilent */
    gap: 20px; /* Espace entre les colonnes sur mobile si elles s'empilent */
}

.column {
    flex: 1; /* Permet aux colonnes de partager l'espace sur desktop */
}

.column-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.title-icon-box {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    position: relative;
    border-radius: 3px;
    vertical-align: middle; /* Meilleur alignement vertical avec le texte */
}

.pros-title-icon-box {
    background-color: #28a745; /* Vert */
}
.pros-title-icon-box::before { /* Dessin du checkmark */
    content: "";
    position: absolute;
    box-sizing: border-box;
    left: 6px;
    top: 4px; /* Ajusté pour centrer un peu mieux */
    width: 5px; /* Largeur de la coche */
    height: 10px; /* Hauteur de la coche */
    border: solid white;
    border-width: 0 2px 2px 0; /* Épaisseur de la coche */
    transform: rotate(45deg);
}

.cons-title-icon-box {
    background-color: #dc3545; /* Rouge */
}
.cons-title-icon-box::before, .cons-title-icon-box::after { /* Dessin de la croix */
    content: "";
    position: absolute;
    box-sizing: border-box;
    left: 8px; /* (18px - 2px) / 2 */
    top: 3px;  /* (18px - 12px) / 2 */
    width: 2px;  /* Épaisseur de la croix */
    height: 12px; /* Longueur des barres de la croix */
    background-color: white;
}
.cons-title-icon-box::before {
    transform: rotate(45deg);
}
.cons-title-icon-box::after {
    transform: rotate(-45deg);
}

.item-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.item-list li {
    background-color: #f8f9fa; /* Gris clair pour le fond des items */
    padding: 12px 15px;
    margin-bottom: 1px; /* Crée une fine séparation si les bordures sont de la même couleur que le fond du widget */
    /* border-bottom: 1px solid #e9ecef; */ /* Alternative pour séparateur */
    display: flex;
    align-items: center;
    font-size: 0.95em;
    color: #333;
    border-radius: 3px; /* Coins légèrement arrondis pour chaque item */
}
.item-list li:not(:last-child) {
    margin-bottom: 6px; /* Espace entre les items */
}


.list-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0; /* Empêche l'icône de rétrécir */
    border: 1.5px solid #333; /* Bordure noire pour l'icône circulaire */
    box-sizing: border-box; /* La bordure est incluse dans la taille */
}

.pro-icon {
    background-color: #28a745; /* Vert */
}

.con-icon {
    background-color: #dc3545; /* Rouge */
}

/* Pour cacher le dernier li vide s'il est utilisé pour équilibrer */
.item-list li.empty-item {
    background-color: transparent;
    border: none;
}
.item-list li.empty-item .list-icon {
    visibility: hidden;
}

/* Styles pour le Footer Spécifique avec haut ondulé */
.site-footer-wavy {
    background-color: var(--contrast-p); /* Violet principal (même que header) */
    color: #FFFFFF; /* Texte blanc par défaut */
    padding-top: 100px; /* Espace pour l'ondulation ET le contenu en dessous */
    padding-bottom: 30px;
    position: relative; /* Nécessaire pour clip-path ou pour des éléments positionnés absolument à l'intérieur */
    font-family: 'Arial', sans-serif;

    clip-path: polygon(
        0% 15%,
        20% 5%,
        40% 12%,
        60% 2%,
        80% 10%,
        100% 3%,
        100% 100%,
        0% 100%
    );
}

.site-footer-wavy .footer-container {
    max-width: 1100px; /* Légèrement moins large pour que le bouton scroll-top ne soit pas trop excentré */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrer le CTA */
}

.site-footer-wavy .footer-cta-text {
    font-size: 2.8em; /* Taille du texte principal du footer */
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 50px; /* Espace avant les liens du bas */
    color: #fff; /* Texte foncé pour un bon contraste sur le violet clair/moyen */
    text-transform: uppercase; /* Basé sur l'image */
}

.site-footer-wavy .footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 20px; /* Espace au-dessus des liens/copyright */
    border-top: 1px solid rgba(255, 255, 255, 0.15); /* Ligne de séparation subtile */
    gap: 20px; /* Espace si les éléments s'empilent */
}

.site-footer-wavy .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px; /* Espace entre les liens */
}

.site-footer-wavy .footer-nav a {
    color: #E0C8F5; /* Violet très clair (comme le sous-titre du header) */
    text-decoration: none;
    font-size: 0.85em;
    font-weight: 500;
    text-transform: uppercase; /* Basé sur l'image */
    transition: color 0.3s ease;
}

.site-footer-wavy .footer-nav a:hover {
    color: #FFFFFF; /* Blanc au survol */
}

.site-footer-wavy .footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-footer-wavy .footer-copyright {
    font-size: 0.8em;
    color: #E0C8F5; /* Violet très clair */
    text-align: right;
}

.site-footer-wavy .scroll-top-btn {
    background-color: #8040C0; /* Violet plus foncé (comme la bordure du bouton du header) */
    color: #FFFFFF;
    width: 36px;
    height: 36px;
    border-radius: 4px; /* Coins légèrement arrondis comme sur l'image */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.site-footer-wavy .scroll-top-btn:hover {
    background-color: #602090; /* Encore plus foncé au survol */
}

.site-footer-wavy .arrow-up-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 7px solid #FFFFFF; /* Crée une flèche vers le haut */
    position: relative;
    top: -1px; /* Ajustement fin vertical */
}

/* -------------------------------------------------------
   FORMULAIRE CONTACT
   ------------------------------------------------------- */

.contact-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--contrast-2);
}

.contact-form__input {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid var(--base-2);
  border-radius: 6px;
  background-color: var(--contrast-3);
  color: var(--base-3);
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.contact-form__input:focus {
  outline: none;
  border-color: var(--accent-2);
}

.contact-form__textarea {
  min-height: 140px;
  resize: vertical;
}

/* Honeypot — invisible pour les humains */
.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  tabindex: -1;
}

.contact-form__submit {
  align-self: flex-start;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  font-family: Oswald, sans-serif;
  background-color: var(--accent-2);
  color: var(--contrast-3);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-form__submit:hover  { background-color: #7742cb; transform: scale(1.03); }
.contact-form__submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.contact-form__notice {
  font-size: 14px;
  margin-top: 4px;
  min-height: 1.5em;
}

.contact-form__notice--success {
  color: #12dc1f;
  font-weight: 600;
}

.contact-form__notice--error {
  color: #e53e3e;
  font-weight: 600;
}

/* Affiché si aucune image n'est trouvée */
.tool-figure--placeholder {
  background-color: var(--base-3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  min-width: 280px;
  color: var(--contrast-3);
}

.tool-image-placeholder {
  font-size: 14px;
  font-weight: 600;
  color: var(--contrast-3);
  opacity: 0.5;
  text-align: center;
}

@media (max-width: 480px) {
  .contact-form__submit { width: 100%; }
}

/* Responsive pour le footer */
@media (max-width: 992px) { /* Ajustement pour tablettes */
    .site-footer-wavy .footer-cta-text {
        font-size: 2.2em;
        margin-bottom: 40px;
    }
     .site-footer-wavy {
        /* Réduire la "hauteur" de l'ondulation pour les écrans plus petits si nécessaire */
        clip-path: polygon(0% 10%, 20% 3%, 40% 8%, 60% 1%, 80% 7%, 100% 2%, 100% 100%, 0% 100%);
        padding-top: 70px;
    }
}

/* Styles pour écran de bureau (responsive) */
@media (min-width: 768px) {
    .service-card {
        flex-direction: row;
        align-items: center; /* Changez de flex-start à center pour un meilleur alignement vertical global de la carte */
        justify-content: space-between;
    }

    .service-identity {
        /* flex: 0 0 200px; /* Ajustez cette largeur si nécessaire ou utilisez auto */
        flex-basis: auto; /* Permet à la section de prendre la largeur de son contenu */
        min-width: 300px; /* Optionnel: pour s'assurer qu'il y a assez de place pour le logo le plus long */
        max-width: 350px; /* Optionnel: pour éviter qu'il ne devienne trop large */
        margin-right: 20px;
        margin-bottom: 0;
        flex-direction: row; /* <<< MODIFICATION CLÉ: Alignement horizontal */
        align-items: center;   /* <<< MODIFICATION CLÉ: Centrer verticalement le numéro et le logo */
    }

    .service-logo {
        margin-top: 0; /* <<< Enlever la marge du haut qui était pour la disposition verticale */
        /* margin-left: 10px; /* Optionnel: si vous voulez plus d'espace entre le numéro et le logo */
        padding: 8px 0px 8px 0px; /* Ajuster le padding pour qu'il ne soit pas trop à droite */
        /* Si le logo-candy est trop décalé, on peut lui enlever son padding-left spécifique ici */
    }
    .logo-candy {
        padding-left: 0; /* Pour un alignement plus proche du numéro */
    }


    .service-details {
        flex-grow: 1;
        margin-right: 20px;
        margin-bottom: 0;
    }

    .service-action {
        flex: 0 0 150px;
        align-self: center;
        margin-top: 0;
    }

    .trial-button {
        display: inline-block;
        width: auto;
    }
	
	.pros-cons-layout {
        flex-direction: row; /* Mettre les colonnes côte à côte */
        gap: 30px; /* Espace entre les colonnes */
    }

    .pros-column, .cons-column {
        /* flex: 1; déjà défini, assure une répartition égale */
    }
}

/* Ajustements fins pour les logos sur desktop si nécessaire */
@media (min-width: 992px) {
    .service-identity {
        /* flex: 0 0 220px; /* Ajustez si vous revenez à une largeur fixe */
        min-width: 300px;
        max-width: 350px;
    }
    .service-action {
        flex: 0 0 180px;
    }
}

/* Responsive pour les petits écrans */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column; /* Empiler les éléments */
        text-align: center; /* Centrer le texte quand empilé */
        gap: 15px; /* Espace entre les sections empilées */
    }

    .header-branding .main-title {
        font-size: 1.8em; /* Réduire un peu la taille sur mobile */
    }

    .header-branding .subtitle {
        font-size: 0.9em;
    }

    .header-action {
        flex-direction: column; /* Empiler aussi le texte et le bouton dans la section action */
        gap: 10px;
    }
    .header-action .action-button {
        padding: 12px 30px; /* Rendre le bouton un peu plus grand/facile à taper */
    }

    .site-footer-wavy {
        padding-top: 60px; /* Moins de padding car l'ondulation peut être moins haute */
        /* Simplifier ou ajuster le clip-path pour mobile si besoin */
        clip-path: polygon(0% 8%, 25% 2%, 50% 6%, 75% 0%, 100% 4%, 100% 100%, 0% 100%);
    }

    .site-footer-wavy .footer-cta-text {
        font-size: 1.8em; /* Taille du texte principal réduite */
        margin-bottom: 30px;
    }

    .site-footer-wavy .footer-bottom-content {
        flex-direction: column; /* Empiler les éléments */
        align-items: center;
        text-align: center;
        gap: 15px; /* Espace entre les sections empilées */
        border-top: none; /* Optionnel : enlever la bordure sur mobile si on préfère */
    }

    .site-footer-wavy .footer-nav ul {
        flex-direction: column; /* Empiler les liens de navigation */
        gap: 10px;
        margin-bottom: 15px; /* Espace avant le copyright */
    }
     .site-footer-wavy .footer-bottom-right {
        flex-direction: column; /* Empiler copyright et bouton scroll top */
        gap: 15px;
    }

    .site-footer-wavy .footer-copyright {
        text-align: center;
    }
}