/* Reset CSS pour éliminer les marges par défaut */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Empêche le scroll horizontal */
}

:root {
  --accent: rgb(134, 50, 69);
  --accent-rgb: 134, 50, 69;
  --accent-blur: #345a8a;
}

body, h1, h2, h3, h4, h5, h6, .cta, .card, .feature-item, .step, .testimonial, .footer-logo {
    font-family: 'Inter', 'Segoe UI', 'Poppins', 'Arial', sans-serif !important;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #181f2a;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('app/img/BG-4.jpg') center center / cover no-repeat;
    z-index: 1;
    transition: background-position 0.2s;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(20,28,40,0.5) 60%, rgba(24,31,42,0.5) 100%);
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: #e6eaf3;
    padding: 64px 24px 56px 24px;
}
.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: -100px;
    margin-bottom: 18px;
    text-shadow: 0 2px 12px #101624;
}
.hero-slogan {
    font-size: 1.4rem;
    margin-bottom: 32px;
    color: #b6bed2;
    font-weight: 400;
}
.hero-cta-row {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin-bottom: 150px;
    flex-wrap: wrap;
}
.cta {
    display: inline-block;
    padding: 18px 44px;
    font-size: 1.18rem;
    font-weight: 600;
    border-radius: 8px;
    background: linear-gradient(90deg, #345a8a 0%, #22304a 100%);
    color: #e6eaf3;
    box-shadow: 0 4px 18px rgba(60, 120, 220, 0.13);
    border: 1.5px solid #345a8a;
    text-decoration: none;
    transition: background 0.18s, box-shadow 0.18s, border 0.18s, transform 0.13s;
}
.cta:hover {
    background: linear-gradient(90deg, #22304a 0%, #345a8a 100%);
    border: 1.5px solid #6ca0f6;
    color: #fff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 32px rgba(60, 120, 220, 0.18);
}
.cta.secondary {
    background: none;
    color: #6ca0f6;
    border: 1.5px solid #6ca0f6;
    box-shadow: none;
}
.cta.secondary:hover {
    background: var(--accent);
    color: #fff !important;
    border-color: var(--accent);
}
.hero-mockup {
    margin: 36px auto 0 auto;
    display: flex;
    justify-content: center;
}
.mockup-placeholder {
    width: 260px;
    height: 160px;
    background: rgba(34,48,74,0.7);
    border: 2px dashed #6ca0f6;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6ca0f6;
    font-size: 1.1rem;
    font-style: italic;
}

/* === AVANTAGES (CARDS) === */
.advantages {
    padding: 75px 0 75px 0;
    background: #1a2233;
    text-align: center;
}
.advantages h2 {
    color: white;
    font-size: 2.1rem;
    margin-bottom: 38px;
}
.card-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}
.card {
    background: rgba(34, 48, 74, 0.92);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(20, 30, 50, 0.13);
    padding: 36px 20px 32px 20px;
    text-align: center;
    transition: box-shadow 0.18s, transform 0.13s;
    border: 1.5px solid #22304a;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 220px;
}
.card:hover {
    box-shadow: 0 8px 32px rgba(60, 120, 220, 0.18);
    border: 1.5px solid #6ca0f6;
    transform: translateY(-4px) scale(1.025);
}
.icon {
    margin-bottom: 18px;
    font-size: 2.2rem;
    color: #6ca0f6;
}
.card h3 {
    margin: 0 0 10px 0;
    font-size: 1.18rem;
    color: #6ca0f6;
    font-weight: 600;
}
.card p {
    color: #b6bed2;
    font-size: 1rem;
}

/* === FONCTIONNALITÉS CLÉS === */
.features-key {
    /* background: linear-gradient(120deg, #181f2a 60%, var(--accent) 100%); */
    padding: 75px 0 75px 0;
    text-align: center;
}
.features-key-content {
    position: relative;
    z-index: 2;
}
.features-key-BG {
    position: absolute;
    inset: 0;
    background: url('app/img/BG-4.jpg') center center / cover no-repeat;
    z-index: 0;
}
.features-key-BG-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(7, 23, 41, 0.75) 60%, rgba(109, 56, 81, 0.5) 100%);
    z-index: 1;
}
.features-key h2 {
    color: #6ca0f6;
    font-size: 2rem;
    margin-bottom: 32px;
}
.features-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 1.13rem;
    color: #e6eaf3;
    background: rgba(34,48,74,0.7);
    border-radius: 10px;
    padding: 18px 24px;
    box-shadow: 0 1px 6px rgba(20,30,50,0.08);
}
.feature-icon {
    font-size: 1.6rem;
    color: #6ca0f6;
    min-width: 32px;
    text-align: center;
}

/* === COMMENT ÇA MARCHE === */
.howto {
    background: #1a2233;
    padding: 75px 0 75px 0;
    text-align: center;
}
.howto h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 38px;
}
.steps-row {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}
.step {
    background: #232b3a;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(20, 30, 50, 0.10);
    padding: 32px 22px 22px 22px;
    min-width: 180px;
    max-width: 220px;
    text-align: center;
    border: 1.5px solid #22304a;
    margin-bottom: 12px;
}
.step-number {
    width: 75px;
    height: 75px;
    background: rgba(52, 90, 138, 0.125);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: 0 0 15px 10px rgba(52, 90, 138, 0.075)
}
.step h4 {
    margin: 0 0 8px 0;
    color: #6ca0f6;
    font-size: 1.08rem;
    font-weight: 600;
}
.step p {
    color: #b6bed2;
    font-size: 0.98rem;
    text-align: left;
}
.howto-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 32px;
}
.howto-illustration .mockup-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    font-size: 1rem;
}

/* === TÉMOIGNAGES === */
.testimonials {
    /* background: linear-gradient(120deg, var(--accent) 60%, #181f2a 100%); */
    padding: 75px 0 76px 0;
    text-align: center;
}

.testimonials-BG {
    position: absolute;
    inset: 0;
    background: url('app/img/BG-4.jpg') center center / cover no-repeat;
    z-index: 0;
    transform: scaleX(-1) scaleY(-1);
}
.testimonials-BG-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(7, 23, 41, 0.75) 60%, rgba(109, 56, 81, 0.5) 100%);
    z-index: 1;
    transform: scaleX(-1) scaleY(-1);
}

.testimonials-content {
    position: relative;
    z-index: 2;
}

.testimonials h2 {
    color: #6ca0f6;
    font-size: 2rem;
    margin-bottom: 32px;
}
.testimonial-row {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}
.testimonial {
    background: rgba(34, 48, 74, 0.92);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(20, 30, 50, 0.13);
    padding: 32px 24px 24px 24px;
    text-align: left;
    border: 1.5px solid #22304a;
    min-width: 260px;
    max-width: 360px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
}
.testimonial-avatar {
    font-size: 2.2rem;
    color: #6ca0f6;
    margin-right: 8px;
}
.testimonial-content p {
    color: #e6eaf3;
    font-size: 1.05rem;
    margin-bottom: 8px;
}
.testimonial-author {
    color: #b6bed2;
    font-size: 0.98rem;
    font-style: italic;
}

/* === APPAREILS COMPATIBLES === */
.devices {
    background: #1a2233;
    padding: 56px 0 44px 0;
    text-align: center;
}
.devices h2 {
    color: #6ca0f6;
    font-size: 2rem;
    margin-bottom: 32px;
}
.devices-row {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 24px;
}
.device-icon {
    font-size: 2.5rem;
    color: #6ca0f6;
    background: rgba(34,48,74,0.7);
    border-radius: 12px;
    padding: 18px 22px;
    box-shadow: 0 1px 6px rgba(20,30,50,0.08);
}
.devices-mockup {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}
.devices-mockup .mockup-placeholder {
    width: 320px;
    height: 120px;
    border-radius: 18px;
    font-size: 1.1rem;
}

/* === FOOTER === */
footer {
    background: #181f2a;
    color: #b6bed2;
    text-align: center;
    padding: 32px 0 18px 0;
    font-size: 1.05rem;
    border-top: 1.5px solid #22304a;
    margin-top: 0;
    box-shadow: 0 -2px 12px rgba(20, 30, 50, 0.10);
}
.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}
.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6ca0f6;
    margin-bottom: 12px;
}
.footer-links {
    margin: 12px 0 10px 0;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}
.footer-links a {
    color: #6ca0f6;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.15s;
}
.footer-links a:hover {
    color: var(--accent);
    text-decoration: underline;
}
.footer-socials {
    margin: 10px 0 12px 0;
    display: flex;
    justify-content: center;
    gap: 18px;
}
.footer-socials a {
    font-size: 1.4rem;
    color: #6ca0f6;
    transition: color 0.15s;
}
.footer-socials a:hover {
    color: var(--accent);
}
.footer-copyright {
    color: #b6bed2;
    font-size: 0.98rem;
    margin-top: 10px;
}

/* === ANIMATIONS D'APPARITION AU SCROLL === */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Variantes horizontales pour les images */
.reveal-left { 
    transform: translateX(-50px) rotateY(-5deg); 
}

.reveal-right { 
    transform: translateX(50px) rotateY(5deg); 
}

.reveal-left.visible,
.reveal-right.visible { 
    transform: translateX(0) rotateY(0deg); 
}

/* Effet de cascade pour les cartes */
.reveal-cascade {
    transition-delay: 0s;
}

.reveal-cascade:nth-child(1) { 
    transition-delay: 0s; 
    transform: translateY(30px) scale(0.95) rotateZ(-1deg);
}
.reveal-cascade:nth-child(2) { 
    transition-delay: 0.15s; 
    transform: translateY(30px) scale(0.95) rotateZ(0.5deg);
}
.reveal-cascade:nth-child(3) { 
    transition-delay: 0.3s; 
    transform: translateY(30px) scale(0.95) rotateZ(-0.5deg);
}
.reveal-cascade:nth-child(4) { 
    transition-delay: 0.45s; 
    transform: translateY(30px) scale(0.95) rotateZ(1deg);
}
.reveal-cascade:nth-child(5) { 
    transition-delay: 0.6s; 
    transform: translateY(30px) scale(0.95) rotateZ(-0.5deg);
}
.reveal-cascade:nth-child(6) {
    transition-delay: 0.75s;
    transform: translateY(30px) scale(0.95) rotateZ(0.5deg);
}
.reveal-cascade:nth-child(7) {
    transition-delay: 0.9s;
    transform: translateY(30px) scale(0.95) rotateZ(-1deg);
}
.reveal-cascade:nth-child(8) {
    transition-delay: 1.05s;
    transform: translateY(30px) scale(0.95) rotateZ(0.5deg);
}

.reveal-cascade.visible {
    transform: translateY(0) scale(1) rotateZ(0deg) !important;
}

/* === SECTION TARIFS === */
.pricing {
  position: relative;
  padding: 80px 24px;
  background: #181f2a;
  overflow: hidden;
}

.pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1;
  pointer-events: none;
}

.pricing > * {
  position: relative;
  z-index: 2;
  filter: blur(20px);
}

.pricing > *:last-child {
  filter: none;
}

/* Éléments qui ne doivent pas être floutés */
.pricing h2,
.pricing h3,
.waitlist-overlay,
.waitlist-overlay * {
  filter: none !important;
  z-index: 30;
}

.waitlist-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  text-align: center;
  padding: 20px 40px;
  border-radius: 16px;
  pointer-events: all;
}

.tarifs-BG {
  position: absolute;
  inset: 0;
  background: url('app/img/BG-4.jpg') center center / cover no-repeat;
  z-index: 1;
}

.tarifs-BG-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(20,28,40,0.7) 60%, rgba(24,31,42,0.7) 100%);
  z-index: 2;
}

.pricing h2 {
  position: relative;
  z-index: 3;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #e6eaf3;
  margin-bottom: 32px;
}

.pricing-row {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.waitlist-overlay h3 {
  color: #e6eaf3;
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.waitlist-overlay p {
  color: #b6bed2;
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.waitlist-btn {
  display: inline-block;
  padding: 16px 32px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid var(--accent);
  box-shadow: 0 0px 30px rgba(var(--accent-rgb),1);
}

.waitlist-btn:hover {
  background: #8a1a2f;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(176, 34, 60, 0.3);
}

.pricing-card {
    background: #242f42;
    border-radius: 16px;
    padding: 40px 32px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blur);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Désactive les effets de hover quand le flou est actif */
.pricing-card:hover {
    transform: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    cursor: default !important;
}

/* Désactive aussi les effets de hover sur la carte featured */
.pricing-card.featured:hover {
    transform: scale(1.05) !important; /* Garde le scale initial mais pas d'effet hover */
    border-color: var(--accent-blur) !important; /* Garde la bordure initiale */
    box-shadow: 0 20px 40px rgba(176, 34, 60, 0.3), 0 8px 16px rgba(0,0,0,0.4) !important; /* Garde l'ombre initiale */
    cursor: default !important;
}

.pricing-card.featured {
    border-color: var(--accent-blur);
    background: linear-gradient(135deg, #242f42 0%, #2a3748 100%);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(176, 34, 60, 0.3), 0 8px 16px rgba(0,0,0,0.4);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-blur);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header h3 {
    color: #e6eaf3;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #e6eaf3;
    margin-bottom: 8px;
}

.price span {
    font-size: 1rem;
    color: #b6bed2;
    font-weight: 400;
}

.pricing-header p {
    color: #b6bed2;
    margin-bottom: 32px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 32px;
}

.feature {
    color: #e6eaf3;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.feature.disabled {
    color: #6b7280;
}

.pricing-cta {
    display: inline-block;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(90deg, #345a8a 0%, #22304a 100%);
    color: #e6eaf3;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #345a8a;
}

.pricing-cta:hover {
    background: linear-gradient(90deg, #22304a 0%, #345a8a 100%);
    border-color: var(--accent-blur);
    transform: translateY(-2px);
}

.pricing-cta.featured {
    background: var(--accent-blur);
    border-color: var(--accent-blur);
}

.pricing-cta.featured:hover {
    background: #8a1a2f;
    transform: translateY(-2px);
}

/* Désactive les effets de hover sur les boutons des cartes quand le flou est actif */
.pricing-cta:hover {
    background: linear-gradient(90deg, #345a8a 0%, #22304a 100%) !important;
    border-color: #345a8a !important;
    transform: none !important;
    cursor: default !important;
}

.pricing-cta.featured:hover {
    background: var(--accent-blur) !important;
    border-color: var(--accent-blur) !important;
    transform: none !important;
    cursor: default !important;
}

/* Règles supplémentaires pour s'assurer que le hover est complètement désactivé */
.pricing .pricing-card:hover,
.pricing .pricing-card:focus,
.pricing .pricing-card:active {
    transform: none !important;
    box-shadow: none !important;
    background: none !important;
    border: none !important;
    cursor: default !important;
    outline: none !important;
}

.pricing .pricing-card.featured:hover,
.pricing .pricing-card.featured:focus,
.pricing .pricing-card.featured:active {
    transform: scale(1.05) !important; /* Garde le scale initial */
    box-shadow: 0 20px 40px rgba(176, 34, 60, 0.3), 0 8px 16px rgba(0,0,0,0.4) !important; /* Garde l'ombre initiale */
    border-color: var(--accent-blur) !important; /* Garde la bordure initiale */
    cursor: default !important;
    outline: none !important;
}

.pricing .pricing-cta:hover,
.pricing .pricing-cta:focus,
.pricing .pricing-cta:active {
    background: linear-gradient(90deg, #345a8a 0%, #22304a 100%) !important;
    border-color: #345a8a !important;
    transform: none !important;
    cursor: default !important;
    outline: none !important;
}

.pricing .pricing-cta.featured:hover,
.pricing .pricing-cta.featured:focus,
.pricing .pricing-cta.featured:active {
    background: var(--accent-blur) !important;
    border-color: var(--accent-blur) !important;
    transform: none !important;
    cursor: default !important;
    outline: none !important;
}

/* Désactiver aussi les transitions pour éviter les animations */
.pricing .pricing-card {
    transition: none !important;
}

.pricing .pricing-card * {
    transition: none !important;
}

.pricing .pricing-cta {
    transition: none !important;
}



/* === EFFETS D'APPARITION DES SECTIONS === */
@keyframes border-appear {
    0% { 
        transform: scaleX(0); 
        opacity: 0;
    }
    100% { 
        transform: scaleX(1); 
        opacity: 1;
    }
}

.section-border {
    position: relative;
}

.section-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: scaleX(0);
    opacity: 0;
    transform-origin: left;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.howto .section-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #153274, transparent);
    transform: scaleX(0);
    opacity: 0;
    transform-origin: left;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Style pour la nouvelle classe section-border-alt */
.section-border-alt {
    position: relative;
}

.section-border-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: scaleX(0);
    opacity: 0;
    transform-origin: left;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-border-alt.visible::before {
    transform: scaleX(1);
    opacity: 1;
}

.section-border.visible::before {
    transform: scaleX(1);
    opacity: 1;
}

/* === RESPONSIVE === */
@media (max-width: 1100px) {
    .card-row, .steps-row, .testimonial-row {
        max-width: 98vw;
    }
    .footer-content {
        max-width: 98vw;
    }
}
@media (max-width: 900px) {
    .hero-content {
        padding: 40px 8px 32px 8px;
    }
    .advantages, .howto, .features-key, .testimonials, .devices {
        padding-left: 2vw;
        padding-right: 2vw;
    }
}
@media (max-width: 700px) {
    .card-row, .steps-row, .testimonial-row, .devices-row {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 18px;
    }
    .howto-illustration {
        margin-left: 0;
        margin-top: 18px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero-slogan {
        font-size: 1.1rem;
    }
    .footer-logo {
        font-size: 1.1rem;
    }
}
@media (max-width: 500px) {
    .mockup-placeholder, .devices-mockup .mockup-placeholder {
        width: 98vw;
        min-width: 0;
        height: 80px;
        font-size: 0.9rem;
    }
    .hero-content {
        padding: 18px 2vw 12px 2vw;
    }
}

.section-separator {
    background: var(--accent);
}

.hero-mockup-3d {
    position: relative;
    width: 600px;
    height: 320px;
    max-width: 90vw;
    max-height: 50vw;
    margin: 0 auto;
    perspective: 1200px;
    perspective-origin: 50% 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-mockup-3d img {
    /* width: 150%; */
    height: 150%;
    object-fit: cover;
    border-radius: 16px;
    margin-right: 100px;
    box-shadow: 0 8px 32px rgba(20,30,50,0.18);
    transform: rotateY(-24deg) rotateX(12deg) scale(1.04);
    transition: transform 3s cubic-bezier(.4,2,.3,1), box-shadow 0.5s, margin-right 3s cubic-bezier(.4,2,.3,1);
    will-change: transform;
    /* Effet de disparition d'opacité comme dans WriterCop' */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 100%), linear-gradient(to bottom, transparent 0%, black 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 100%), linear-gradient(to bottom, transparent 0%, black 100%);
}
.hero-mockup-3d:hover img {
    margin-right: 0px;
    transform: rotateY(0deg) rotateX(0deg) scale(1.08);
    box-shadow: 0 16px 48px rgba(145,28,55,0.22), 0 2px 8px rgba(20,30,50,0.10);
}



/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1000;
    background: rgba(15, 22, 40, 0.98);
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
    border-bottom: 1.5px solid rgba(var(--accent), 0.18);
    backdrop-filter: blur(8px);
    transition: background 0.3s;
  }
  
  .navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 32px;
  }
  
  .navbar-logo a {
    color: #e6eaf3;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.2s;
    padding-top: 5px;
  }
  
  .navbar-logo a:hover {
    color: var(--accent, #b0223c);
  }
  
  /* Correction alignement vertical global du menu */
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#lang-switcher {
  padding-top: 8px;
  padding-bottom: 8px;
  margin-top: 0;
  height: auto;
  line-height: 1.2;
}

  .navbar-menu li a {
    color: #c7cbe3;
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-bottom 0.2s;
  }
  
  .navbar-menu li a:hover,
  .navbar-menu li a:focus {
    color: var(--accent, #b0223c);
    border-bottom: 2px solid var(--accent, #b0223c);
  }
  
  .navbar-actions {
    margin-left: 24px;
  }
  
  .navbar-btn {
    display: inline-block;
    background: var(--accent, #b0223c);
    color: #fff;
    font-weight: 600;
    padding: 8px 22px;
    border-radius: 24px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(var(--accent), 0.18);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
  }
  
  .navbar-btn:hover,
  .navbar-btn:focus {
    background: #d12a4c;
    color: #fff;
    box-shadow: 0 4px 16px rgba(var(--accent), 0.28);
  }
  
  /* Pour éviter que le contenu passe sous la navbar */
  body {
    padding-top: 64px;
  }
  
  @media (max-width: 900px) {
    .navbar-container {
      padding: 0 12px;
    }
    .navbar-menu {
      gap: 18px;
    }
    .navbar-logo a {
      font-size: 1.1rem;
    }
    .navbar-btn {
      padding: 7px 14px;
      font-size: 0.98rem;
    }
  }

.pricing {
  position: relative;
  padding: 80px 24px;
  background: #181f2a;
  overflow: hidden;
}

.pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1;
  pointer-events: none;
}

.pricing > * {
  position: relative;
  z-index: 2;
  filter: blur(20px);
}

.pricing > *:last-child {
  filter: none;
}

/* Éléments qui ne doivent pas être floutés */
.pricing h2,
.waitlist-overlay,
.waitlist-overlay * {
  filter: none !important;
  z-index: 30;
}

.waitlist-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  text-align: center;
  padding: 20px 40px;
  border-radius: 16px;
  pointer-events: all;
}

.tarifs-BG {
  position: absolute;
  inset: 0;
  background: url('app/img/BG-4.jpg') center center / cover no-repeat;
  z-index: 1;
}

.tarifs-BG-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(20,28,40,0.7) 60%, rgba(24,31,42,0.7) 100%);
  z-index: 2;
}

.pricing h2 {
  position: relative;
  z-index: 3;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #e6eaf3;
  /* margin-bottom: 32px; */
}

.pricing h3 {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #b6bed2;
  opacity: 0.7 !important;
  margin-top: -28px;
  margin-bottom: 32px;
}

.pricing-row {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Styles pour désactiver les interactions sur les cartes pricing */
.pricing .pricing-card:hover,
.pricing .pricing-card.featured:hover,
.pricing .pricing-cta:hover,
.pricing .pricing-cta.featured:hover,
.pricing .pricing-card {
  transform: none !important;
  box-shadow: none !important;
  border-color: #6b7280 !important;
  cursor: default !important;
  transition: none !important;
}

.pricing .pricing-card * {
  pointer-events: none;
}

.pricing .pricing-cta {
  pointer-events: none;
  opacity: 0.5;
}

.pricing-overlay-blocker {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
  background: transparent;
  pointer-events: all;
  user-select: none;
}

/* === AGE GATE === */
.age-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(135deg, rgba(20,28,40,0.95) 0%, rgba(24,31,42,0.95) 100%); */
  background: url('app/img/BG-4.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(10px);
}

.age-gate::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('app/img/Frame 4.png') center center / cover no-repeat;
  filter: blur(15px) brightness(0.3);
  opacity: 0.3;
  z-index: -1;
}

.age-gate-content {
  background: linear-gradient(120deg, rgba(24,31,42,0.98) 60%, rgba(var(--accent-rgb),0.25) 100%);
  /* border-radius: 8px; */
  box-shadow: 0 8px 64px rgba(90, 16, 16, 0.75), 0 0 0 2px var(--accent, #b0223c);
  padding: 32px 48px 48px 48px;
  text-align: center;
  color: #e6eaf3;
  max-width: 70vw;
  max-height: 70vh;
  /* border: 0.75px solid var(--accent, #b0223c); */
}

.age-gate-content h1 {
  font-size: 2.2rem;
  margin-bottom: 18px;
  color: var(--accent, #b0223c);
  letter-spacing: 1px;
  font-weight: 700;
  text-shadow: 0 2px 12px #101624;
}

.age-gate-content p {
  font-size: 1.15rem;
  margin-bottom: 32px;
  color: #b6bed2;
  font-weight: 400;
}

#age-confirm-btn-fr, #age-confirm-btn-en, #age-confirm-btn-de {
  background: var(--accent, #b0223c);
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  padding: 16px 38px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(var(--accent-rgb, 176,34,60), 0.18);
  transition: background 0.2s, box-shadow 0.2s, transform 0.13s;
  letter-spacing: 0.03em;
  outline: none;
}
#age-confirm-btn-fr:hover,
#age-confirm-btn-fr:focus,
#age-confirm-btn-en:hover,
#age-confirm-btn-en:focus,
#age-confirm-btn-de:hover,
#age-confirm-btn-de:focus {
  background: #d12a4c;
  box-shadow: 0 4px 24px rgba(var(--accent-rgb, 176,34,60), 0.28);
  transform: translateY(-2px) scale(1.04);
}

.age-gate-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  color: #b6bed2;
}

.age-gate-checkbox-row input[type="checkbox"] {
  accent-color: var(--accent, #b0223c);
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex-shrink: 0;
}

.age-gate-checkbox-row label {
  cursor: pointer;
  line-height: 1.5;
  user-select: text;
}

#age-confirm-btn:disabled {
  opacity: 0.6;
  filter: grayscale(0.5);
  cursor: not-allowed;
  box-shadow: none;
}





/* === HERO FULLSCREEN OVERLAY === */
.hero-fullscreen-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    cursor: zoom-out;
  }
  .hero-fullscreen-bg {
    position: absolute;
    inset: 0;
    background: rgba(20, 24, 40, 0.85);
    backdrop-filter: blur(10px) brightness(0.7);
    z-index: 1;
    transition: opacity 0.3s;
  }
  #hero-fullscreen-img {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 8px 48px rgba(0,0,0,0.45);
    transition: transform 0.3s;
    background: #181f2a;
  }
  .hero-fullscreen-close {
    position: absolute;
    top: 32px;
    right: 48px;
    z-index: 3;
    background: rgba(24,31,42,0.85);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 2.2rem;
    width: 48px;
    height: 48px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    transition: background 0.2s;
  }
  .hero-fullscreen-close:hover {
    background: var(--accent, #b0223c);
  }

/* === Sélecteur de langue dans la navbar === */
.navbar-lang {
  display: flex;
  align-items: center;
  margin-right: 18px;
}
/* Correction alignement vertical du dropdown de langue dans le menu */
.navbar-menu .navbar-lang {
  display: flex;
  align-items: center;
  height: auto;
  padding: 0;
  margin: 0;
  padding-top: 5px;
}
.navbar-menu {
    padding-top: -5px;
}
#lang-switcher {
  border: none;
  background: transparent;
  color: #c7cbe3;
  box-shadow: none;
  padding-top: 8px;
  padding-bottom: 8px;
  margin-top: 0;
  height: auto;
  line-height: 1.2;
}
#lang-switcher:focus {
  outline: none;
  border: none;
  box-shadow: none;
}
#lang-switcher option {
background: rgba(15, 22, 40, 0.98);
}

/* Dropdown custom langue */
.custom-lang-dropdown {
  position: relative;
  min-width: 54px;
}
.custom-lang-btn {
  background: transparent;
  border: none;
  color: #c7cbe3;
  font-size: 1rem;
  padding: 8px 18px 8px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.18s;
}
.custom-lang-btn:focus {
  outline: 2px solid var(--accent, #b0223c);
}
.custom-lang-list {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 54px;
  background: rgba(15,22,40,0.98);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(20,30,50,0.18);
  z-index: 999999;
  padding: 4px 0;
  margin: 0;
  list-style: none;
  border: none;
  display: none;
}
.custom-lang-option {
  color: #c7cbe3;
  padding: 8px 18px 8px 12px;
  cursor: pointer;
  font-size: 1rem;
  border: none;
  background: none;
  transition: background 0.15s, color 0.15s;
  display: block;
  width: 100%;
  text-align: left;
}
.custom-lang-option:hover, .custom-lang-option:focus {
  background: var(--accent-blur, #345a8a);
  color: #fff;
  outline: none;
}

/* Styles spécifiques pour le dropdown dans l'age-gate */
.age-gate .custom-lang-dropdown {
  position: relative;
  z-index: 999999;
  display: inline-block;
}
.age-gate .custom-lang-list {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 54px;
  background: rgba(15,22,40,0.98);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(20,30,50,0.18);
  z-index: 999999;
  padding: 4px 0;
  margin: 0;
  list-style: none;
  border: none;
  display: none;
  text-align: center;
}
.age-gate .custom-lang-option {
  color: #c7cbe3;
  padding: 8px 18px 8px 12px;
  cursor: pointer;
  font-size: 1rem;
  border: none;
  background: none;
  transition: background 0.15s, color 0.15s;
  display: block;
  width: 100%;
  text-align: center;
}
.age-gate .custom-lang-option:hover, .age-gate .custom-lang-option:focus {
  background: var(--accent-blur, #345a8a);
  color: #fff;
  outline: none;
}

/* Conteneur du dropdown dans l'age-gate */
.age-gate-lang-row {
  position: relative;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
  z-index: 999999;
  width: auto;
  align-self: flex-end;
}

/* Animations d'apparition pour le hero */
.hero-title {
  opacity: 0;
  transform: translateY(-30px);
  animation: heroFadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-slogan {
  opacity: 0;
  transform: translateY(-30px);
  animation: heroFadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-cta-row {
  opacity: 0;
  transform: translateY(-30px);
  animation: heroFadeInUp 0.8s ease-out 0.6s forwards;
}

.hero-mockup-3d {
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  animation: heroFadeInUp 1s ease-out 0.8s forwards;
}

@keyframes heroFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Nouveau layout pour "Comment ça marche" */
.howto-container {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 64px;
  align-items: center;
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 24px;
}

.howto-diaporama {
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}

.step-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease-out;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-height: 400px;
  text-align: right;
}

.step-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.step-slide .step-number {
  font-size: 6rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
  line-height: 1;
  display: block;
  text-align: right;
}

.step-slide h4 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #e6eaf3;
  margin-bottom: 20px;
  line-height: 1.2;
  display: block;
  text-align: right;
}

.step-slide p {
  font-size: 1.2rem;
  color: #b6bed2;
  line-height: 1.6;
  max-width: 550px;
  margin: 0;
  display: block;
  text-align: right;
  /* word-wrap: break-word;
  hyphens: auto; */
}

.step-indicators {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  gap: 12px;
  margin-top: 40px;
}

.step-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(182, 190, 210, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.step-indicator.active {
  background: var(--accent);
  transform: scale(1.2);
}

.step-indicator:hover {
  background: rgba(176, 34, 60, 0.6);
}

.howto-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 425px;
  position: relative;
  overflow: hidden;
}

.step-image {
  position: absolute;
  /* top: 0; */
  left: 0;
  /* width: 100%; */
  height: 100%;
  object-fit: cover;
  opacity: 0 !important;
  transform: scale(0.9) translateX(-30px) !important;
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
  pointer-events: none;
  z-index: 1;
  visibility: hidden;
  border-radius: 12px;
}

.step-image.active {
  opacity: 1 !important;
  transform: scale(1) translateX(0) !important;
  pointer-events: all;
  z-index: 2;
  visibility: visible;
}

.mockup-placeholder {
  background: linear-gradient(135deg, rgba(176, 34, 60, 0.1) 0%, rgba(24, 31, 42, 0.3) 100%);
  border: 2px dashed rgba(176, 34, 60, 0.3);
  border-radius: 16px;
  padding: 64px;
  text-align: center;
  color: #b6bed2;
  font-size: 1.1rem;
}