/*
 * THÈME : PALETTE 1 - LUXE NOCTURNE & PASSION MÛRE
 * --------------------------------------------------
 * Version complète et corrigée.
 * Respecte 100% de la mise en page originale.
*/

:root {
    /* Palette Principale "Luxe Nocturne" */
    --color-background: #1A1A1A;      /* Gris Charbon / Fond Principal */
    --color-surface: #2B2B2B;         /* Gris Foncé / Pour les cartes et panneaux */
    --color-text: #F5F5F5;            /* Blanc cassé / Texte principal pour la lisibilité */
    --color-text-subtle: #a0a0a0;     /* Gris clair / Texte secondaire, labels */

    /* Palette d'Interaction */
    --color-action: #9A2A2A;          /* Rouge Bordeaux / Boutons principaux, CTAs */
    --color-action-hover: #802020;    /* Bordeaux plus sombre pour les survols */
    --color-accent: #C1A574;          /* Or Brossé / Titres, icônes, éléments "premium" */
    --color-border: #444444;          /* Gris moyen / Pour les bordures subtiles */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden;
}

h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-accent);
    margin-top: 0;
    margin-bottom: 5px;
}

h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--color-text); /* Corrigé pour être visible sur fond sombre */
}

h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-accent);
}

a {
    text-decoration: none;
    color: var(--color-accent);
}

.site-header {
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 20px 0;
    font-family: 'Arial', sans-serif;
}

.service-image {
    max-width: 90%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    display: block;
}

.wp-block-video video {
    max-width: 220px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header a {
    text-decoration: none;
    color: var(--color-accent);
}

.header-branding .main-title {
    font-size: 2.2em;
    font-weight: bold;
    margin: 0;
    line-height: 1.1;
    color: var(--color-text);
}

.header-branding .subtitle {
    font-size: 0.95em;
    margin: 5px 0 0 0;
    color: var(--color-text-subtle);
    opacity: 0.9;
}

.header-action, .header-button-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-sidebar {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-action .action-text {
    font-size: 1.1em;
    color: var(--color-text);
}

.header-action .action-button {
    background-color: var(--color-action);
    color: var(--color-text);
    border: 2px solid var(--color-action);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bolder;
    font-size: 1.2em;
    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.2);
}

.header-action .action-button:hover, .header-action .action-button:focus {
    background-color: var(--color-action-hover);
    border-color: var(--color-action-hover);
    transform: translateY(-2px);
    outline: none;
}

.header-button-nav {
    flex-direction: row;
    gap: 5px;
}

.page-header {
    background-color: var(--color-surface);
    color: var(--color-text);
    padding: 15px 20px;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.wp-block-video {
    margin: 0 auto;
    max-width: 90%;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 15px;
}

.service-card {
    position: relative;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    margin-bottom: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    cursor: pointer;
    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.2);
}

.service-identity {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    margin: 15px auto;
}

.service-number {
    background-color: var(--color-accent);
    color: var(--color-background);
    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, .logo-seduced, .logo-promptchan {
    font-family: 'Arial Black', Gadget, sans-serif;
    font-size: 1.8em;
    color: var(--color-accent);
}

.service-details {
    margin-bottom: 15px;
}

.service-details .service-name {
    color: var(--color-accent);
    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: var(--color-text-subtle);
}

.checkmark {
    color: var(--color-accent);
    margin-right: 8px;
    font-weight: bold;
}

.service-action {
    margin-top: auto;
}

.trial-button {
    display: block;
    background-color: var(--color-action);
    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;
    z-index: 2;
}

.trial-button:hover {
    background-color: var(--color-action-hover);
}

.pros-cons-widget {
    max-width: 1000px;
    margin: 30px auto;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.pros-cons-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.column {
    flex: 1;
}

.column-title {
    font-size: 1.1em;
    font-weight: bold;
    color: var(--color-text);
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
    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;
}

.pros-title-icon-box {
    background-color: var(--color-accent);
}

.pros-title-icon-box::before {
    content: "";
    position: absolute;
    box-sizing: border-box;
    left: 6px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid var(--color-background);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.cons-title-icon-box {
    background-color: var(--color-action);
}

.cons-title-icon-box::before, .cons-title-icon-box::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
    left: 8px;
    top: 3px;
    width: 2px;
    height: 12px;
    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: var(--color-background);
    padding: 12px 15px;
    margin-bottom: 1px;
    display: flex;
    align-items: center;
    font-size: 0.95em;
    color: var(--color-text);
    border-radius: 3px;
}

.item-list li:not(:last-child) {
    margin-bottom: 6px;
}

.list-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    border: 1.5px solid var(--color-text);
    box-sizing: border-box;
}

.pro-icon {
    background-color: var(--color-accent);
}

.con-icon {
    background-color: var(--color-action);
}

.item-list li.empty-item {
    background-color: transparent;
    border: none;
}

.item-list li.empty-item .list-icon {
    visibility: hidden;
}

.site-footer-wavy {
    background-color: var(--color-accent);
    color: var(--color-text);
    padding-top: 100px;
    padding-bottom: 30px;
    position: relative;
    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;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-footer-wavy .footer-cta-text {
    font-size: 2.2em;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 50px;
    color: var(--color-text);
    text-transform: uppercase;
}

.site-footer-wavy .footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    gap: 20px;
}

.site-footer-wavy .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}

.site-footer-wavy .footer-nav a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.85em;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.site-footer-wavy .footer-nav a:hover {
    color: #000;
}

.site-footer-wavy .footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-footer-wavy .footer-copyright {
    font-size: 0.8em;
    color: var(--color-text);
    text-align: right;
}

.site-footer-wavy .scroll-top-btn {
    background-color: var(--color-surface);
    color: var(--color-text);
    width: 36px;
    height: 36px;
    border-radius: 4px;
    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: #6a6a6a;
}

.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 var(--color-text);
    position: relative;
    top: -1px;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.profile-card {
    background-color: var(--color-surface);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.profile-card-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.profile-card-image.placeholder {
    background-color: var(--color-background);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--color-text-subtle);
    font-weight: bold;
}

.profile-card-content {
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.profile-card-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: var(--color-accent);
}

.profile-card-prompt {
    margin-bottom: 1rem;
    flex-grow: 1;
}

.prompt-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-subtle);
    letter-spacing: 0.5px;
}

.prompt-answer {
    font-family: serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--color-text);
    margin: 0.25rem 0 0 0;
}

.profile-card-footer {
    text-align: right;
    margin-top: 1rem;
}

.heart-icon {
    width: 24px;
    height: 24px;
    color: var(--color-border);
    transition: color 0.2s ease-in-out;
}

.profile-card:hover .heart-icon {
    color: var(--color-action);
}

.no-profiles {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background-color: var(--color-surface);
    border-radius: 8px;
}

.profile-container-inspired {
    max-width: 900px;
    margin: 40px auto;
    background-color: var(--color-surface);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.profile-page-inspired {
    padding: 25px 30px;
}

.profile-header-inspired {
    display: flex;
    align-items: center;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--color-border);
}

.phi-left {
    margin-right: 30px;
    flex-shrink: 0;
}

.profile-avatar-inspired {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.phi-right {
    flex-grow: 1;
}

.profile-sub-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 16px;
    color: var(--color-text-subtle);
    margin-bottom: 10px;
}

.profile-sub-info span {
    margin-right: 5px;
}

.profile-sub-info .separator-dot {
    margin-left: 0px;
    margin-right: 8px;
    color: var(--color-text-subtle);
}

.profile-sub-info .location-display a {
    color: var(--color-accent);
    text-decoration: none;
}

.profile-sub-info .location-display a:hover {
    text-decoration: underline;
}

.phi-right .headline-display {
    font-size: 17px;
    color: var(--color-text-subtle);
    margin-top: 10px;
    margin-bottom: 20px;
    font-style: italic;
}

.contact-button-inspired {
    background-color: var(--color-action);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.contact-button-inspired:hover {
    background-color: var(--color-action-hover);
}

.profile-section-inspired {
    margin-bottom: 30px;
}

.profile-section-inspired h2 {
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 8px;
    margin-bottom: 15px;
    color: var(--color-accent); /* Assure la visibilité */
}

.profile-section-inspired p {
    color: var(--color-text);
    font-size: 15px;
}

.interests-list-inspired {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.interests-list-inspired li {
    background-color: rgba(193, 165, 116, 0.1);
    border: 1px solid var(--color-accent);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 14px;
    color: var(--color-accent);
}

.details-list-inspired dt {
    font-weight: bold;
    color: var(--color-text);
    float: left;
    width: 120px;
    clear: left;
}

.details-list-inspired dd {
    margin-left: 130px;
    margin-bottom: 8px;
    color: var(--color-text-subtle);
}

.profile-container-inspired > h1 {
    text-align: center;
    color: var(--color-action);
    margin-top: 20px;
    margin-bottom: 10px;
}

.profile-container-inspired > p {
    text-align: center;
    color: var(--color-text);
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.homepage-header {
    text-align: center;
    margin-bottom: 2rem;
}

.homepage-header h1 {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.homepage-header p {
    font-size: 1.1rem;
    color: var(--color-text-subtle);
    margin: 0 auto;
}

.profiles-grid-homepage {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.listing-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.listing-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: var(--color-background);
}

.listing-card-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--color-border);
    font-weight: bold;
}

.listing-card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.listing-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-accent);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.listing-card-bio {
    font-size: 0.9rem;
    color: var(--color-text-subtle);
    flex-grow: 1;
    margin-bottom: 1rem;
}

.listing-card-button {
    background-color: var(--color-action);
    color: #fff;
    text-align: center;
    padding: 12px;
    font-weight: bold;
    border-radius: 4px;
    margin-top: auto;
    transition: background-color 0.2s;
}

.listing-card:hover .listing-card-button {
    background-color: var(--color-action-hover);
    filter: brightness(1.1);
}

.city-list-section {
    background-color: var(--color-background);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 2.5rem 1.5rem;
    text-align: center;
    margin: 2rem 0;
}

.city-list-section h2 {
    color: var(--color-text);
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.city-list-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 15px;
}

.city-list-links a {
    color: var(--color-accent);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 5px 0;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.city-list-links a:hover {
    color: var(--color-text);
    border-bottom-color: var(--color-text);
}

.pagination-container {
    text-align: center;
    margin: 2rem 0 3rem 0;
}

.pagination-container p {
    font-weight: bold;
    color: var(--color-text-subtle);
    margin-bottom: 1rem;
}

.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    gap: 7px;
    flex-wrap: wrap;
}

.page-item .page-link {
    display: block;
    padding: 8px 14px;
    color: var(--color-accent);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}

.page-item .page-link:hover {
    background-color: var(--color-background);
    border-color: var(--color-accent);
}

.page-item.active .page-link {
    background-color: var(--color-action);
    color: #fff;
    border-color: var(--color-action);
    font-weight: bold;
}

.breadcrumb-container {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-subtle);
}

.breadcrumb-container a {
    color: var(--color-accent);
    text-decoration: none;
}

.breadcrumb-container a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
}

.search-container {
    position: relative;
    width: 250px;
}

.search-form input[type="search"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    background-color: var(--color-surface);
    color: var(--color-text);
    border-radius: 5px;
    font-size: 1rem;
}

.search-results {
    display: none;
    position: absolute;
    top: 107px;
    left: 0;
    right: 0;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-top: none;
    border-radius: 0 0 5px 5px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
}

.result-item {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
}

.result-item:hover {
    background-color: var(--color-background);
}

.result-item .result-title {
    display: block;
    font-weight: bold;
}

.result-item .result-context {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-subtle);
}

.no-results {
    padding: 1rem;
    color: var(--color-text-subtle);
    text-align: center;
}

.main-nav {
    background-color: var(--color-surface);
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--color-action);
    color: white;
}

.logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
}

.sidebar-right {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 300px;
    background-color: var(--color-surface);
    color: white;
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.sidebar-right.is-open {
    transform: translateX(0);
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.sidebar-title {
    margin: 0;
}

.sidebar-subtitle {
    margin: 0.25rem 0 0 0;
    font-size: 1.2em;
    font-weight: bold;
}

.sidebar-content {
    padding: 1rem;
    overflow-y: auto;
    flex-grow: 1;
}

.sidebar-nav {
    margin-top: 30px;
    border-top: solid 1px var(--color-border);
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav a {
    display: block;
    padding: 0.75rem 0.5rem;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.sidebar-nav a:hover {
    background-color: rgba(193, 165, 116, 0.1); /* Lueur dorée subtile */
}

.sidebar-open-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

#search-open-btn {
    color: #fff;
}

.sidebar-open-btn .hamburger-icon,
.sidebar-open-btn .hamburger-icon::before,
.sidebar-open-btn .hamburger-icon::after {
    content: '';
    display: block;
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s;
}

.sidebar-open-btn .hamburger-icon::before {
    transform: translateY(-8px);
}

.sidebar-open-btn .hamburger-icon::after {
    transform: translateY(8px);
}

.sidebar-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
}

.sidebar-close-btn:hover {
    opacity: 1;
}

.sidebar-overlay {
    /*position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0s 0.3s;*/
}

.sidebar-overlay.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-in-out;
}

/* Supprimé car le thème n'utilise pas d'animation arc-en-ciel */
/* @keyframes rainbow-flow { ... } */


@media (max-width: 992px) {
    .site-footer-wavy .footer-cta-text {
        font-size: 2.2em;
        margin-bottom: 40px;
    }

    .site-footer-wavy {
        clip-path: polygon(0% 10%, 20% 3%, 40% 8%, 60% 1%, 80% 7%, 100% 2%, 100% 100%, 0% 100%);
        padding-top: 70px;
    }
}

@media (min-width: 768px) {
    .service-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .service-identity {
        flex-basis: auto;
        min-width: 300px;
        max-width: 350px;
        margin-right: 20px;
        margin-bottom: 0;
        flex-direction: row;
        align-items: center;
    }

    .service-logo {
        margin-top: 0;
        padding: 8px 0px 8px 0px;
    }

    .logo-candy {
        padding-left: 0;
    }

    .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;
        gap: 30px;
    }

    .pros-column, .cons-column {}
}

@media (min-width: 992px) {
    .service-identity {
        min-width: 300px;
        max-width: 350px;
    }

    .service-action {
        flex: 0 0 180px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .header-branding .main-title {
        font-size: 1.8em;
    }

    .header-branding .subtitle {
        font-size: 0.9em;
    }

    .header-action {
        flex-direction: column;
        gap: 10px;
    }

    .header-action .action-button {
        padding: 12px 30px;
    }

    .site-footer-wavy {
        position: relative;
        padding-top: 60px;
        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;
        margin-bottom: 30px;
    }

    .site-footer-wavy .footer-bottom-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        border-top: none;
    }

    .site-footer-wavy .footer-nav ul {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
    }

    .site-footer-wavy .footer-bottom-right {
        flex-direction: column;
        gap: 15px;
    }

    .site-footer-wavy .footer-copyright {
        text-align: center;
    }
}