/**
 * Adn|Resto — thème emerald (page d'accueil)
 * Aligné sur le tunnel d'inscription
 */
:root {
    --adn-emerald: #10b981;
    --adn-emerald-dark: #059669;
    --adn-emerald-light: #34d399;
    --adn-emerald-deep: #064e3b;
    --adn-emerald-muted: #d1fae5;
    --adn-gradient: linear-gradient(to right, #059669 0%, #10b981 51%, #059669 100%);
    scrollbar-gutter: stable;
}

.defaultcolor,
.hover-default:hover,
.hover-default:focus {
    color: var(--adn-emerald) !important;
}

.gradient-btn,
.gradient-bg,
.back-top,
.loader .cssload-loader,
.side-menu.gradient-bg,
.count_down.animated-gradient p,
.progress-bars .progress .progress-bar.gradient-bg {
    background-image: var(--adn-gradient) !important;
    background-color: var(--adn-emerald) !important;
}

.gradient-btn:hover,
.gradient-btn:focus {
    background-position: right center !important;
}

.lang-switcher .lang-btn.active {
    background: var(--adn-emerald) !important;
    border-color: var(--adn-emerald) !important;
    color: #fff !important;
}

#platform-offer .platform-item span.icon,
.feature-item .icon,
.feature-item .icon i {
    color: var(--adn-emerald) !important;
}

.feature-item:hover .text h3 span {
    background-image: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: var(--adn-emerald-dark) !important;
    color: var(--adn-emerald-dark) !important;
}

#pricing .pricing-badge {
    background: var(--adn-emerald) !important;
}

.pricing-item .button {
    background: var(--adn-emerald) !important;
    border-color: var(--adn-emerald) !important;
}

.pricing-item .button:hover,
.pricing-item .button:focus {
    background: #fff !important;
    color: var(--adn-emerald-deep) !important;
    border-color: var(--adn-emerald) !important;
}

.pricing-item.active {
    background: var(--adn-emerald-deep) !important;
}

.pricing-item.active .button {
    background: var(--adn-emerald) !important;
    border-color: #fff !important;
}

.pricing-item.active .button:hover,
.pricing-item.active .button:focus {
    background: #fff !important;
    color: var(--adn-emerald-deep) !important;
}

.pricing-list li::before,
.price-included::before {
    color: var(--adn-emerald) !important;
}

.pricing-item.active .pricing-list li::before {
    color: var(--adn-emerald-light) !important;
}

/* Toggle tarif annuel — pill à côté du prix (synchronisé sur les 3 cartes) */
.pricing-price-main {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    line-height: 1.2;
}

.pricing-item .pricing-duration {
    font-size: 0.95rem;
    font-weight: 400;
    color: #64748b;
    white-space: nowrap;
}

.pricing-item.active .pricing-duration {
    color: rgba(255, 255, 255, 0.82);
}

.pricing-billing-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--adn-emerald);
    background: #fff;
    color: var(--adn-emerald-dark);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
    vertical-align: middle;
    margin-left: 0.15rem;
}

.pricing-billing-pill:hover,
.pricing-billing-pill:focus {
    background: var(--adn-emerald-muted);
    outline: none;
}

.pricing-billing-pill[aria-pressed="true"] {
    background: var(--adn-emerald);
    border-color: var(--adn-emerald);
    color: #fff;
}

.pricing-billing-pill[aria-pressed="true"] .billing-save {
    color: #fff;
}

.pricing-billing-pill .billing-save {
    color: var(--adn-emerald-dark);
    font-weight: 700;
}

.pricing-item.active .pricing-billing-pill {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.pricing-item.active .pricing-billing-pill .billing-save {
    color: #fff;
}

.pricing-item.active .pricing-billing-pill:hover,
.pricing-item.active .pricing-billing-pill:focus {
    background: rgba(255, 255, 255, 0.18);
}

.pricing-item.active .pricing-billing-pill[aria-pressed="true"] {
    background: #fff;
    border-color: #fff;
    color: var(--adn-emerald-deep);
}

.pricing-item.active .pricing-billing-pill[aria-pressed="true"] .billing-save {
    color: var(--adn-emerald-deep);
}

.pricing-billing-note {
    font-size: 0.78rem;
    color: #94a3b8;
    margin: 0.45rem 0 0;
    min-height: 1.1em;
    text-align: center;
}

.pricing-item.active .pricing-billing-note {
    color: rgba(255, 255, 255, 0.72);
}

.pricing-includes-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    margin: 0 0 0.75rem;
    line-height: 1.35;
}

.pricing-item.active .pricing-includes-label {
    color: rgba(255, 255, 255, 0.88);
}

#services-slider .owl-item.center .service-box {
    background-image: var(--adn-gradient) !important;
}

/* Évite le « tremblement » de page : cartes de taille identique (plus de zoom central Trax) */
#services-slider .service-box,
#services-slider .owl-item.center .service-box {
    padding: 3rem 1.5rem !important;
    margin-top: 0 !important;
    min-height: 280px;
    box-sizing: border-box;
}

#services-slider .service-box > span,
.process-wrapp li > .pro-step,
.process-wrapp li > .pro-step::before,
.process-wrapp li::before,
.process-wrapp li::after {
    background: var(--adn-emerald) !important;
    border-color: var(--adn-emerald) !important;
}

.process-wrapp li > .pro-step {
    color: #fff !important;
}

.footer ul.links li a:hover,
.footer ul.links li a:focus,
ul.links li a:hover,
ul.links li a:focus {
    color: var(--adn-emerald) !important;
}

.button.btnsecondary {
    border-color: var(--adn-emerald) !important;
    color: var(--adn-emerald) !important;
}

.button.btnsecondary:hover,
.button.btnsecondary:focus {
    background: var(--adn-emerald) !important;
    color: #fff !important;
}

/* Barre de défilement — remplace le bleu Trax (#3EABDC) dans style.css */
html {
    scrollbar-color: var(--adn-emerald) #e2e8f0;
    scrollbar-width: thin;
}

::-webkit-scrollbar-track {
    background-color: #e2e8f0;
}

::-webkit-scrollbar {
    width: 8px;
    background-color: #e2e8f0;
}

::-webkit-scrollbar-thumb {
    background: var(--adn-emerald);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--adn-emerald-dark);
    box-shadow: none;
}
