:root {
  --primary-color: #ff9e3e;
  --secondary-color: #bd0000;
  --font-header: Arial, Helvetica, sans-serif;
  --font-body: Arial, sans-serif;
  --max-content-width: 1200px;
}

body {
  font-family: var(--font-body);
  color: #000000;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* ==================== BASE STRUCTURE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.site-wrap {
    margin: 50px;
}

@media (min-width: 1200px) {
    .site-wrap {
        margin: 5px 7% 50px;
    }
}

/* ==================== HEADER STYLES ==================== */
.site-header {
    padding: 10px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

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

.logo-text {
    font-family: 'Ysabeau', serif;
    font-weight: 700;
    font-size: 28px;
    color: #111;
}

.logo-icon {
    width: 48px;
    height: 48px;
}

.main-nav {
    display: flex;
    gap: 40px;
    flex: 1;
    justify-content: center;
    margin-top: 20px;
}

.nav-link {
    font-size: 16px;
    text-decoration: none;
    color: #222;
    letter-spacing: 0.02em;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}

.small-link {
    font-size: 15px;
    color: #000;
    text-decoration: none;
}

/* ==================== MOBILE MENU ==================== */
.hamburger-btn {
    display: none;
    border: none;
    background: none;
    font-size: 2em;
    cursor: pointer;
    z-index: 1002;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    z-index: 1001;
    padding: 20px;
}

.main-nav-mobile {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 60px;
}

.main-nav-mobile .nav-link {
    font-size: 1.1em;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.mobile-menu-overlay.open {
    right: 0;
}

/* ==================== FOOTER STYLES ==================== */
.site-footer {
    margin-top: 50px;
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.logo-small {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-center {
    flex: 1;
    text-align: center;
    display: none !important;
}

.footer-right {
    display: flex;
    gap: 90px;
    align-items: center;
    margin-top: 52px;
}

.footer-right a {
    text-decoration: none;
    color: #000;
}

.footer-right a:hover {
    color: #ff9e3e;
}

/* ==================== TITLES ==================== */
.titre-tarif {
    font-size: 4rem;
    font-weight: bold;
    padding-top: 8%;
}
.section-title-connected {
    font-size: 3rem;
}
.description-connected {
       font-size: 1.2rem;
 
}
.description-connected-phrase2 {
       font-size: 1.1rem;
       color: #bd0000;
       margin-left: 3%;
 
}
.btn-connexion {
    background: none;
    border: none;
       color: #bd0000;
    text-decoration: underline;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    margin-left: 5px;     /* petit espace avant le bouton */
}

.btn-connexion:hover {
    color: #0056b3;       /* effet hover */
}


h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 40px;
}

.titre-abonnement {
    font-size: 40px !important;
    font-weight: bold !important;
}

.titre-credits-supp {
    font-size: 35px !important;
    font-weight: bold !important;
}

.section-title,
.section-title-w {
    font-size: 40px;
    font-weight: 700;
    color: #161616;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 3%; 
    line-height: 1;
}

.section-title2 {
    font-size: 20px;
    font-weight: 700;
    color: #161616;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 3%; 
}

.manu {
    display: inline-block;
    margin-left: 3.5%;
    padding-bottom: 15px;
}

.subtitle {
    margin-bottom: 30px;
    margin-left: 3%;
}

.description {
    font-size: 25px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
    margin-left: 3%;
    text-align: justify;

}

/* ==================== BUTTONS SYSTEM ==================== */
.boz-btn-group {
  display: flex;       /* met les boutons sur une ligne */
  justify-content:  flex-start; /* centre horizontalement */
  gap: 20px;           /* espace entre les boutons */
  flex-wrap: wrap;     /* permet de passer à la ligne si écran petit */
  margin: 20px 0;      /* optionnel : espace vertical */
}

.boz-btn{
  display: inline-block;     /* pour que padding et width fonctionnent */
  width: 300px;              /* même largeur pour tous */
  height: 50px;              /* même hauteur pour tous */
  line-height: 50px;         /* centre verticalement le texte */
  padding: 0;                /* le padding est remplacé par height/line-height */
  font-weight: 700;
  font-size: 18px;
  border: 3px solid var(--primary-color);
  background: white;
  color: var(--dark);
  border-radius: 8px;
  text-align: center;
  text-decoration: none;     /* supprime le souligné */
  box-shadow: 5px 5px 0px #000000;
  transition: all 0.2s ease;
  cursor: pointer;
}
.boz-btn-tarifs{
  display: inline-block;
  margin-left: 3%;    /* pour que padding et width fonctionnent */
  width: 300px;              /* même largeur pour tous */
  height: 50px;              /* même hauteur pour tous */
  line-height: 50px;         /* centre verticalement le texte */
  padding: 0;                /* le padding est remplacé par height/line-height */
  font-weight: 700;
  font-size: 18px;
  border: 3px solid var(--primary-color);
  background: white;
  color: var(--dark);
  border-radius: 8px;
  text-align: center;
  text-decoration: none;     /* supprime le souligné */
  box-shadow: 5px 5px 0px #000000;
  transition: all 0.2s ease;
  cursor: pointer;
}

.boz-btn-tarifs {
    margin-left: 3%;
}

.boz-btn:hover,
.boz-btn-tarifs:hover,
.boz-btn:focus,
.boz-btn:active {
    text-decoration: none !important;
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0px #000000;
}

.boz-btn-subscription{
    display: block;
    margin: 0 auto; 
    margin-bottom: 6px !important;   
  width: 200px;              
  height: 40px;              
  line-height: 30px;         
  padding: 0;               
  font-weight: 700;
  font-size: 18px;
  border: 3px solid var(--primary-color);
  background: white;
  color: var(--dark);
  border-radius: 8px;
  text-align: center;
  text-decoration: none;     
  box-shadow: 5px 5px 0px #000000;
  transition: all 0.2s ease;
  cursor: pointer;
}

.boz-btn-subscription:hover {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0px #000000;
}

.boz-btn-video {
    display: inline-block;
    width: 300px;
    height: 50px;
    font-weight: 700;
    font-size: 18px;
    line-height: 50px;
    text-align: center;
    padding: 0;
    margin: 0 auto;
    border: 3px solid var(--primary-color);
    border-radius: 8px;
    background: white;
    color: #000;
    box-shadow: 5px 5px 0px #000;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.boz-btn-video:hover,
.boz-btn-video:focus,
.boz-btn-video:active {
    text-decoration: none !important;
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0px #000;
}

/* ==================== TOGGLE BUTTONS ==================== */
.toggle-container {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center; /* <-- centrer horizontalement */
    align-items: center;      /* <-- centrer verticalement */
    flex-wrap: wrap;
}

.toggle-btn {
    display: inline-block;
    min-width: 150px;
    flex: 1;
    max-width: 200px;
    height: 50px;
    line-height: 50px;
    padding: 0 10px;
    font-weight: 700;
    font-size: 18px;
    border: 3px solid var(--primary-color);
    background: white;
    color: #333;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    box-shadow: 5px 5px 0px #000000;
    transition: all 0.2s ease;
    cursor: pointer;
    outline: none;
    white-space: nowrap;
}

.toggle-btn.active {
    background: #000000;
    color: white;
    border-color: var(--primary-color);
}

.toggle-btn:not(.active):hover {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0px #000000;
    background: #f5f5f5;
}

.toggle-btn.active:hover {
    background: #1a1a1a;
}

/* ==================== PRICING CONTAINER ==================== */
.pricing-container {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 20px;
    margin-bottom: 0px;
}

.pricing-card {
    flex: 1;
    border: 2px solid #1d1c1c;
    padding: 20px;
    padding-bottom: 0;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    min-height: 150px;
}

.credits-card {
    flex: 1.4;
}

.pricing-card h3 {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

#pricing-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s ease;
    text-align: center;
    margin: 0 auto;
}

.pricing-card *:last-child {
    margin-bottom: 0;
}

/* ==================== PRICE DISPLAY ==================== */
.price {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000;
    line-height: 1;
}

.price-subtitle {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.price-details {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #000;
    line-height: 1;
}

.price-note {
    text-align: center;
}

.economy-badge {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
}

.economy-badge span {
    font-size: 18px;
    font-weight: 700;
    color: #2e7d32;
}

/* ==================== WARNING BOX ==================== */
.warning-box {
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 6px;
    padding: 5px; 
    padding-top: 0px; 
    margin-top: 0px;
    font-size: 15px;
    line-height: 1.6;
    color: #1c1b1b;
    text-align: justify;

}

.warning-box strong {
    display: block;
    margin-bottom: 8px;
    color: #000;
}

/* ==================== CREDITS SECTION ==================== */
.credit-explanation {
    text-align: center;
    margin-bottom: 1px;
    padding: 1px;
}

.credit-explanation p {
    font-size: 15px;
    color: #333;
    line-height: 1.4;
    margin: 2px 0;
}

.credit-pricing-tiers {
    border: 2px solid #ffffff;
    padding: 5px;
    margin-bottom: 5px;
    text-align: center;
}

.credit-pricing-tiers p {
    font-size: 15px;
    color: #000;
    line-height: 1.4;
    margin: 2px 0;
}

.tier-title {
    margin-bottom: 15px !important;
}

.savings-badge {
    color: #2e7d32;
    font-weight: 600;
}

/* ==================== CREDIT CALCULATOR ==================== */
.credit-calculator {
    border: 2px solid #ffffff;
    padding: 20px 20px;
    margin-bottom: 25px;
}

.calculator-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 2px 0;
    
}

.calculator-row label {
    font-size: 14px;
    color: #000;
    white-space: nowrap;
}

.calculator-row input[type="number"] {
    width: 120px;
    padding: 6px 8px;
    border: 1px solid #000;
    font-size: 14px;
    text-align: center;
    transform: translateX(50px);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.calculator-row input[type="number"]::-webkit-outer-spin-button,
.calculator-row input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.montant-a-regler {
    transform: translateX(50px);
}

.unlimited-notice {
    text-align: center;
    font-size: 14px;
    color: #000;
    margin: 2px 0;
    transform: translateX(-55px);
}

.price-display {
    width: 120px;
    padding: 10px 12px;
    border: 1px solid #000;
    text-align: center;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(52px);
}

#price-display-value {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    align-items: center;
    color: #000;
}

.currency {
    font-size: 9px;
    color: #666;
    margin-left: 10px;
}
/* Responsive - Mobile */
@media (max-width: 768px) {
    .calculator-row {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .calculator-row label {
        text-align: center;
        width: 100%;
    }
    
    .calculator-row input[type="number"],
    .price-display {
        width: 100%;
        text-align: center;
        max-width: 100%;
    }
    
    .unlimited-notice {
        text-align: center;
    }
}

.credit-note {
    text-align: left;
    margin-bottom: 10px;
    padding: 10px;
    text-align: justify;

}

.credit-note p {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

/* ==================== PROMO BANNER ==================== */
.promo-banner {
    margin-top: 0px;
    margin-bottom: 2px;
    
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
    border-radius: 10px;
    padding: 1px;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
    border: 2px solid #000;
}

.promo-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 2px;
    padding-left: 18px;
}

.promo-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.promo-title {
    font-size: 35px;
    font-weight: bold;
    text-shadow: 6px 6px 6px rgba(0, 0, 0, 0.3);
    color: #000;
}

.promo-highlight {
    font-size: 35px;
    font-weight: bold;
    color: #000;
    line-height: 1.4;
}

.promo-note {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 500;
    line-height: 1.5;
}

/* ==================== BUTTONS ACTIONS ==================== */
.button-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.action-btn {
    padding: 12px 30px;
    border: 2px solid #ffffff;
    border-radius: 25px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #000;
    display: inline-block;
}

.action-btn:hover {
    background: #f0f0f0;
}

.add-to-cart-btn {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    display: inline-block;
}

/* ==================== ENTERPRISE SECTION ==================== */
.enterprise-section {
    margin-top: 60px;
}

.enterprise-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-left: 3%;
}

.enterprise-description {
    font-size: 25px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #333;
    font-weight: 500;
    text-align: justify;

}

.highlight {
    color: #bd0000;
    font-weight: bold;
}

/* ==================== CONTACT FORM ==================== */
.custom-contact-section {
    margin-top: 50px;
    padding: 0 10px;
}

.custom-form-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.custom-contact-form {
    border: 2px solid #202020 !important;
    border-radius: 25px !important;
    padding: 20px !important;
    padding-top: 50px !important;
    max-width: 700px !important;
    margin: 4px auto !important;
    background: white !important;
}

.custom-form-row {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 15px !important;
    gap: 10px !important;
}

.custom-form-row label {
    min-width: 100px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #000 !important;
    flex-shrink: 0;
}

.custom-form-row input,
.custom-form-row textarea {
    flex: 1 !important;
    padding: 8px 10px !important;
    border: none !important;
    border-bottom: 2px solid #000 !important;
    font-size: 15px !important;
    background: transparent !important;
    outline: none !important;
}

.custom-form-row input:focus,
.custom-form-row textarea:focus {
    border-bottom-color: #ff9e3e !important;
}

.custom-form-row textarea {
    min-height: 120px !important;
    border: 2px solid #000 !important;
    border-radius: 10px !important;
    padding: 15px !important;
    resize: vertical !important;
    margin-top: 10px !important;
}

.custom-required {
    color: red !important;
    font-weight: bold !important;
}

.custom-required-note {
    text-align: left !important;
    font-size: 14px !important;
    color: #666 !important;
    margin: 10px 0 20px 0 !important;
}

.custom-submit-wrapper {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 15px !important;
    margin-top: 30px !important;
}

.custom-cancel-btn,
.custom-submit-btn {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    outline: none !important;
}

.custom-cancel-btn img,
.custom-submit-btn img {
    display: block !important;
    max-width: 150px !important;
    height: auto !important;
    transition: all 0.3s ease !important;
}

.custom-cancel-btn:hover,
.custom-submit-btn:hover:not(:disabled) {
    transform: scale(1.05) !important;
    opacity: 0.8 !important;
}

.custom-submit-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* ==================== LOGIN MODAL ==================== */
.modal-overlay#loginModal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.75) !important;
    z-index: 10000 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    right: auto !important;
}

.modal-overlay#loginModal.hidden {
    display: none !important;
}

.modal-overlay#loginModal:not(.hidden) {
    display: flex !important;
    animation: fadeInAuth 0.3s ease;
}

@keyframes fadeInAuth {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-overlay#loginModal .modal-content-wrapper {
    position: relative;
    max-width: 750px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUpAuth 0.3s ease;
    margin: 0 auto;
}

@keyframes slideUpAuth {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-overlay#loginModal .close-modal-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 28px;
    cursor: pointer;
    z-index: 10001;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.modal-overlay#loginModal .close-modal-btn:hover {
    background: white;
    color: #333;
    transform: scale(1.1);
}

.modal-overlay#loginModal .auth-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-overlay#loginModal .header {
    text-align: center;
    width: 100%;
    margin-bottom: 30px;
}

.modal-overlay#loginModal #loginForm,
.modal-overlay#loginModal #signupForm,
.modal-overlay#loginModal #verifyForm {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.modal-overlay#loginModal .form-group {
    width: 100%;
    text-align: left;
}

.modal-overlay#loginModal .auth-btn,
.modal-overlay#loginModal .google-btn {
    width: 100%;
}

.modal-overlay#loginModal .divider {
    width: 100%;
    text-align: center;
}

.modal-overlay#loginModal .toggle-form {
    width: 100%;
    text-align: center;
}

.modal-overlay#loginModal .modal-content-wrapper::-webkit-scrollbar {
    width: 10px;
}

.modal-overlay#loginModal .modal-content-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-overlay#loginModal .modal-content-wrapper::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.modal-overlay#loginModal .modal-content-wrapper::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* ==================== VIDEO CONTAINER ==================== */
#video-container {
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    margin-top: 20px;
}

#video-container iframe {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ==================== TRANSLATION ==================== */
.lang-btn {
    border: none;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
    position: relative;
    top: 0; /* Valeur par défaut */
}
@media (max-width: 768px) {
    .lang-btn {
        font-size: 25px;
        top: -9px; /* Décalage pour petits écrans */
    }
}

@media (max-width: 480px) {
    .lang-btn {
        font-size: 25px;
        top: -9px; /* Décalage pour très petits écrans */
    }
}
/* ==================== FLOATING CART ==================== */
.floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.cart-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 165, 0, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.cart-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 165, 0, 0.6);
}

.cart-icon i {
    font-size: 24px;
    color: white;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff0000;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid white;
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.cart-dropdown {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: none;
    animation: slideUp 0.3s ease;
}

.cart-dropdown.active {
    display: block;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    transition: color 0.2s;
}

.close-cart:hover {
    color: #000;
}

.cart-items {
    max-height: 350px;
    overflow-y: auto;
    padding: 15px;
}

.empty-cart {
    text-align: center;
    color: #999;
    padding: 40px 20px;
    font-size: 14px;
}

.cart-item {
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    position: relative;
    background: #fafafa;
    transition: all 0.2s;
}

.cart-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 8px;
}

.cart-item-title {
    font-weight: 600;
    font-size: 15px;
    color: #333;
}

.cart-item-badge {
    background: #FFA500;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.cart-item-badge.annuel {
    background: #4caf50;
}

.cart-item-details {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.cart-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 700;
    color: #FF8C00;
}

.remove-item {
    background: #ff4444;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.remove-item:hover {
    background: #cc0000;
}

.cart-footer {
    padding: 20px;
    border-top: 2px solid #e0e0e0;
    background: #fafafa;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.cart-total span:last-child {
    color: #FF8C00;
}

.checkout-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.checkout-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.cart-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.cart-alert.success {
    border-left: 4px solid #4caf50;
}

.cart-alert.error {
    border-left: 4px solid #ff4444;
}

.cart-alert.warning {
    border-left: 4px solid #ff9800;
}

.cart-alert i {
    font-size: 20px;
}

.cart-alert.success i {
    color: #4caf50;
}

.cart-alert.error i {
    color: #ff4444;
}

.cart-alert.warning i {
    color: #ff9800;
}

/* ==================== RESPONSIVE MASTER ==================== */

/* Desktop Large (1200px+) - Déjà géré en haut */

/* Tablettes Large (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .site-footer .footer-inner {
        display: grid !important;
        grid-template-columns: 25% 25% 50%;
        place-items: center;
    }

    .site-footer .footer-inner .footer-left .logo-small img {
        width: 90%;
    }

    .site-footer .footer-inner .footer-right a {
        font-size: 12px !important;
    }
}

/* Tablettes (768px - 991px) */
@media (max-width: 991px) {
    .site-wrap {
        margin: 30px;
    }
    
    .hamburger-btn {
        display: block;
        margin: 0 0 0 auto;
    }

    .main-nav {
        display: none;
    }

    .header-right .small-link {
        display: none;
    }

    .site-header .header-inner {
        justify-content: space-between;
    }
    
    .titre-tarif {
        font-size: 2.5rem;
        padding-top: 5%;
    }
    
    .section-title,
    .section-title-w,
    .enterprise-title {
        font-size: 28px;
        margin-left: 0;
    }
    
    .manu {
        margin-left: 0;
    }
    
    .subtitle {
        font-size: 28px;
        margin-left: 0;
    }
    
    .description,
    .enterprise-description {
        font-size: 18px;
        margin-left: 0;
    }
    
    .titre-abonnement {
        font-size: 28px !important;
    }
    
    .titre-credits-supp {
        font-size: 24px !important;
    }
    
    .toggle-container {
        gap: 15px;
        margin-left: 0;
        justify-content: center;
    }
    
    .boz-btn-tarifs {
        margin-left: 0;
    }
    
    .custom-form-title {
        font-size: 28px;
    }
    
    .site-footer .footer-inner {
        display: flex !important;
        gap: 10px;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .footer-right {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        margin-top: 0;
    }
}

/* Mobile Large (481px - 768px) */
@media (max-width: 768px) {
    .site-wrap {
        margin: 20px;
    }
    
    .titre-tarif {
        font-size: 2rem;
    }
    
    .section-title,
    .section-title-w,
    .enterprise-title {
        font-size: 24px;
    }
    
    .titre-abonnement {
        font-size: 24px !important;
    }
    
    .titre-credits-supp {
        font-size: 22px !important;
    }
    
    .toggle-container {
        gap: 10px;
        margin-left: 0;
        justify-content: center;
        flex-wrap: nowrap;
    }
    
    .toggle-btn {
        min-width: 130px;
        max-width: 180px;
        font-size: 16px;
        height: 45px;
        line-height: 45px;
    }
    
    .boz-btn-group {
        justify-content: center;
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
    
    .boz-btn,
    .boz-btn-tarifs {
        max-width: 280px;
        font-size: 16px;
        margin-left: 0;
    }
    
    .pricing-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .pricing-card {
        padding: 15px;
    }
    
    .price {
        font-size: 32px;
    }
    
    .price-details {
        font-size: 20px;
    }
    
    .warning-box,
    .credit-explanation p,
    .credit-pricing-tiers p,
    .credit-note p {
        font-size: 13px;
    }
    
    .calculator-row {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .calculator-row input[type="number"],
    .price-display,
    .montant-a-regler,
    .unlimited-notice {
        transform: translateX(0);
        width: 100%;
        max-width: 100%;
    }
    
    .promo-banner {
        padding: 15px;
    }

    .promo-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .promo-title,
    .promo-highlight {
        font-size: 20px;
    }

    .promo-note {
        font-size: 14px;
    }
    
    .button-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .custom-contact-form {
        padding: 20px 15px !important;
        padding-top: 30px !important;
        margin: 10px !important;
        border-radius: 15px !important;
    }
    
    .custom-form-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        margin-bottom: 20px !important;
    }
    
    .custom-form-row label {
        width: 100% !important;
        margin-bottom: 5px !important;
        font-size: 15px !important;
        text-align: left !important;
    }
    
    .custom-form-row input {
        width: 100% !important;
        padding: 10px !important;
        border: 1px solid #000 !important;
        border-radius: 8px !important;
        font-size: 16px !important;
    }
    
    .custom-form-row textarea {
        width: 100% !important;
        min-height: 100px !important;
        padding: 12px !important;
        font-size: 16px !important;
        margin-top: 0 !important;
    }
    
    .custom-required-note {
        text-align: left !important;
        margin: 15px 0 !important;
    }
    
    .custom-submit-wrapper {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    
    .custom-cancel-btn img,
    .custom-submit-btn img {
        max-width: 120px !important;
    }
    
    .modal-overlay#loginModal .modal-content-wrapper {
        max-width: 95% !important;
        width: 95% !important;
        max-height: 85vh !important;
    }

    .modal-overlay#loginModal .auth-container {
        padding: 30px 25px !important;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-center {
        order: 3;
    }
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
    .site-wrap {
        margin: 15px;
    }
    
    .titre-tarif {
        font-size: 1.75rem;
    }
    
    .section-title,
    .section-title-w,
    .enterprise-title {
        font-size: 22px;
    }
    
    .titre-abonnement,
    .titre-credits-supp {
        font-size: 20px !important;
    }
    
    .toggle-btn {
        min-width: 120px;
        max-width: 150px;
        font-size: 14px;
        height: 42px;
        line-height: 42px;
        padding: 0 8px;
    }
    
    .boz-btn,
    .boz-btn-tarifs,
    .boz-btn-subscription {
        font-size: 15px;
        height: 45px;
        line-height: 45px;
        max-width: 260px !important;
    }
    
    .promo-title,
    .promo-highlight {
        font-size: 18px;
    }
    
    .promo-note {
        font-size: 13px;
    }
    
    .button-container .boz-btn {
        width: 95% !important;
        max-width: 280px !important;
        height: 48px !important;
        line-height: 48px !important;
        font-size: 16px !important;
    }
    
    .custom-form-title {
        font-size: 24px;
    }
    
    .custom-contact-form {
        padding: 15px 10px !important;
        padding-top: 25px !important;
        margin: 5px !important;
    }
    
    .custom-form-row {
        margin-bottom: 18px !important;
    }
    
    .custom-form-row label {
        font-size: 14px !important;
    }
    
    .custom-form-row input,
    .custom-form-row textarea {
        font-size: 16px !important;
    }
    
    .custom-submit-wrapper {
        flex-direction: column-reverse !important;
        gap: 10px !important;
    }
    
    .custom-cancel-btn,
    .custom-submit-btn {
        width: 100% !important;
    }
    
    .custom-cancel-btn img,
    .custom-submit-btn img {
        max-width: 100% !important;
        width: 180px !important;
        margin: 0 auto !important;
    }
    
    .cart-dropdown {
        width: calc(100vw - 40px);
        right: -150px;
    }
    
    .floating-cart {
        bottom: 20px;
        right: 20px;
    }
    
    .modal-overlay#loginModal .modal-content-wrapper {
        max-width: 98% !important;
        width: 98% !important;
        max-height: 90vh !important;
        border-radius: 12px !important;
    }

    .modal-overlay#loginModal .auth-container {
        padding: 25px 20px !important;
    }

    .modal-overlay#loginModal .close-modal-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 24px !important;
        top: 8px !important;
        right: 8px !important;
    }

    .modal-overlay#loginModal #loginForm,
    .modal-overlay#loginModal #signupForm {
        max-width: 100% !important;
    }
}

/* Extra Small (≤ 375px) */
@media (max-width: 375px) {
    .site-wrap {
        margin: 10px;
    }
    
    .titre-tarif {
        font-size: 1.5rem;
    }
    
    .section-title,
    .section-title-w,
    .enterprise-title {
        font-size: 20px;
    }
    
    .titre-abonnement,
    .titre-credits-supp {
        font-size: 18px !important;
    }
    
    .toggle-btn {
        min-width: 100px;
        max-width: 140px;
        font-size: 13px;
        height: 40px;
        line-height: 40px;
    }
    
    .pricing-card {
        padding: 12px;
    }
    
    .button-container .boz-btn {
        width: 100% !important;
        max-width: 240px !important;
        height: 45px !important;
        line-height: 45px !important;
        font-size: 15px !important;
    }
    
    .custom-contact-section {
        padding: 0 5px;
    }
    
    .custom-contact-form {
        border-width: 1px !important;
        padding: 12px 8px !important;
        padding-top: 20px !important;
    }
    
    .custom-form-title {
        font-size: 22px;
    }
}

/* Fix pour les champs de formulaire */
@supports (-webkit-touch-callout: none) {
    .custom-form-row input,
    .custom-form-row textarea {
        font-size: 16px !important;
    }
}

.custom-form-row input::placeholder,
.custom-form-row textarea::placeholder {
    color: #999;
    opacity: 1;
}

.custom-form-row input,
.custom-form-row textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
}
/*=================== LISTE DÉROULANTE DES LANGUES ==================== */ 
.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000; /* ✅ Augmenté pour être au-dessus de tout */
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.lang-item {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.lang-item:last-child {
    border-bottom: none;
}

.lang-item:hover {
    background-color: #fff3e6;
}

.lang-item.active {
    background-color: #faa046;
    color: white;
}

.lang-item.active .lang-code,
.lang-item.active .lang-name {
    color: white;
}

.lang-code {
    font-weight: bold;
    font-size: 13px;
    color: #666;
    min-width: 35px;
    text-align: center;
}

.lang-name {
    font-size: 14px;
    color: #333;
    flex: 1;
}

/* ✅ Assurer que le conteneur parent est bien positionné */
.header-right {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}


/* Scrollbar personnalisée pour la liste */
.lang-dropdown::-webkit-scrollbar {
    width: 6px;
}

.lang-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.lang-dropdown::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.lang-dropdown::-webkit-scrollbar-thumb:hover {
    background: #000;
}

/* ==================== RESPONSIVE ==================== */

/* Tablettes (portrait) */
@media (max-width: 992px) {
    .lang-dropdown {
        right: 0;
        min-width: 190px;
        max-height: 350px;
    }
    
    .lang-item {
        padding: 11px 15px;
    }
    
    .lang-code {
        font-size: 12px;
        min-width: 32px;
    }
    
    .lang-name {
        font-size: 13px;
    }
}

/* Tablettes et petits écrans */
@media (max-width: 768px) {
    .lang-dropdown {
        right: -5px;
        min-width: 180px;
        max-height: 320px;
        border-width: 1.5px;
    }
    
    .lang-item {
        padding: 10px 14px;
    }
    
    .lang-code {
        font-size: 11px;
        min-width: 30px;
    }
    
    .lang-name {
        font-size: 13px;
    }
}

/* Smartphones */
@media (max-width: 576px) {
    .lang-dropdown {
        position: fixed; /* ✅ Position fixe pour éviter les débordements */
        top: 65px; /* ✅ Juste sous le header */
        right: 10px;
        left: auto;
        width: calc(100vw - 20px); /* ✅ Largeur adaptative */
        max-width: 280px;
        min-width: auto;
        max-height: 300px;
        margin: 0 auto;
    }
    
    .lang-item {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .lang-code {
        font-size: 12px;
        min-width: 32px;
    }
    
    .lang-name {
        font-size: 14px;
    }
}

/* Très petits smartphones */
@media (max-width: 400px) {
    .lang-dropdown {
        top: 60px;
        right: 5px;
        width: calc(100vw - 10px);
        max-width: 100%;
        max-height: 280px;
    }
    
    .lang-item {
        padding: 10px 12px;
    }
    
    .lang-code {
        font-size: 11px;
        min-width: 28px;
    }
    
    .lang-name {
        font-size: 13px;
    }
}

/* ✅ Mode paysage sur mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .lang-dropdown {
        max-height: 200px;
        top: 55px;
    }
}

/* ✅ Support RTL pour l'arabe */
[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

@media (max-width: 576px) {
    [dir="rtl"] .lang-dropdown {
        right: auto;
        left: 10px;
    }
}

/* ✅ Éviter le scroll du body quand le dropdown est ouvert sur mobile */
@media (max-width: 576px) {
    body:has(.lang-dropdown[style*="display: block"]) {
        overflow: hidden;
    }
}

/* ✅ Overlay optionnel pour fermer en cliquant en dehors (mobile) */
.lang-dropdown-overlay {
    display: none;
}

@media (max-width: 576px) {
    .lang-dropdown-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.3);
        z-index: 9999;
    }
}





/* ==================== TOOLTIPS HEADER (NOUVEAU SYSTÈME) ==================== */

/* Supprimez ou commentez l'ancien code tooltip si vous en avez un */

.small-link {
    position: relative;
    display: inline-block;
}

.header-tooltip {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ed5252 0%, #ed5252 100%);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 10001;
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Flèche du tooltip */
.header-tooltip::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #333;
}

/* Affichage au survol */
.small-link:hover .header-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(3px);
}

/* Animation d'apparition automatique */
.header-tooltip.auto-show {
    opacity: 1;
    visibility: visible;
    animation: tooltipPulse 6s ease-in-out;
}

@keyframes tooltipPulse {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-5px) scale(0.9);
    }
    10% {
        opacity: 1;
        transform: translateX(-50%) translateY(3px) scale(1.05);
    }
    15% {
        transform: translateX(-50%) translateY(3px) scale(1);
    }
    85% {
        opacity: 1;
        transform: translateX(-50%) translateY(3px) scale(1);
    }


}

/* Animation de disparition */
.header-tooltip.fade-out {
    animation: tooltipFadeOut 0.5s ease-out forwards;
}

@keyframes tooltipFadeOut {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(3px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-8px) scale(0.9);
        visibility: hidden;
    }
}

/* ==================== RESPONSIVE TOOLTIPS ==================== */
@media (max-width: 768px) {
    .header-tooltip {
        font-size: 0.75rem;
        padding: 8px 12px;
        bottom: -45px;
        max-width: 200px;
        white-space: normal;
        text-align: center;
    }
    
    .header-tooltip::before {
        border-width: 6px;
    }
}

@media (max-width: 480px) {
    .header-tooltip {
        font-size: 0.7rem;
        padding: 6px 10px;
        bottom: -42px;
        max-width: 180px;
    }
    
    .header-tooltip::before {
        border-width: 5px;
    }
}








