/* CSS spécifique pour les effets de texte des pages terms et similaires */

/* Hero section avec effet glitch pour terms.html et pages similaires */
.terms-page .hero,
.about-page .hero,
.team-page .hero,
.services-page .hero,
.joinus-page .hero,
.links-page .hero {
    position: relative;
    height: 100vh;
    max-height: 100vh !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    flex-direction: column;
}

.terms-page .hero-bg,
.about-page .hero-bg,
.team-page .hero-bg,
.services-page .hero-bg,
.joinus-page .hero-bg,
.links-page .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: #000000;
}

.terms-page .hero-overlay,
.about-page .hero-overlay,
.team-page .hero-overlay,
.services-page .hero-overlay,
.joinus-page .hero-overlay,
.links-page .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
}

.terms-page .hero-content,
.about-page .hero-content,
.team-page .hero-content,
.services-page .hero-content,
.joinus-page .hero-content,
.links-page .hero-content {
    text-align: start;
    z-index: 1;
    width: 75vw;
}

.terms-page .hero-title,
.about-page .hero-title,
.team-page .hero-title,
.services-page .hero-title,
.joinus-page .hero-title,
.links-page .hero-title {
    font-size: clamp(2.5rem, 8vw, 7rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 1rem 0;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2em;
    align-items: center;
    min-height: 80px;
}

/* Effet glitch pour le titre */
.terms-page .glitch,
.about-page .glitch,
.team-page .glitch,
.services-page .glitch {
    position: relative;
    color: white;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}
.terms-page .hero-subtitle,
.about-page .hero-subtitle,
.team-page .hero-subtitle,
.services-page .hero-subtitle,
.joinus-page .hero-subtitle,
.links-page .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    text-align: start;
}

.terms-page .hero-subtitle2,
.about-page .hero-subtitle2,
.team-page .hero-subtitle2,
.services-page .hero-subtitle2,
.joinus-page .hero-subtitle2,
.links-page .hero-subtitle2 {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 100%;
    margin: 0;
    text-align: start;
}

/* Hero scroll indicator */
.terms-page .hero-scroll,
.about-page .hero-scroll,
.team-page .hero-scroll,
.services-page .hero-scroll,
.joinus-page .hero-scroll,
.links-page .hero-scroll {
    position: absolute;
    bottom: 2rem;
    right: 4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.terms-page .scroll-text,
.about-page .scroll-text,
.team-page .scroll-text,
.services-page .scroll-text,
.joinus-page .scroll-text,
.links-page .scroll-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

.terms-page .scroll-line,
.about-page .scroll-line,
.team-page .scroll-line,
.services-page .scroll-line,
.joinus-page .scroll-line,
.links-page .scroll-line {
    width: 1px;
    height: 4rem;
    background: rgba(255, 255, 255, 0.3);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 0.8; transform: scaleY(0.5); }
}

/* Responsive pour les effets glitch */
@media (max-width: 768px) {
    .terms-page .hero-title,
    .about-page .hero-title,
    .team-page .hero-title,
    .services-page .hero-title,
    .joinus-page .hero-title,
    .links-page .hero-title {
        font-size: clamp(2rem, 8vw, 4rem);
    }
    
    .terms-page .hero-content,
    .about-page .hero-content,
    .team-page .hero-content,
    .services-page .hero-content,
    .joinus-page .hero-content,
    .links-page .hero-content {
        width: 90vw;
        padding: 0 1rem;
    }
    
    .terms-page .hero-scroll,
    .about-page .hero-scroll,
    .team-page .hero-scroll,
    .services-page .hero-scroll,
    .joinus-page .hero-scroll,
    .links-page .hero-scroll {
        bottom: 1rem;
        right: 2rem;
    }
}

@media (max-width: 480px) {
    .terms-page .hero-scroll,
    .about-page .hero-scroll,
    .team-page .hero-scroll,
    .services-page .hero-scroll,
    .joinus-page .hero-scroll,
    .links-page .hero-scroll {
        display: none;
    }
    
    .terms-page .hero-content,
    .about-page .hero-content,
    .team-page .hero-content,
    .services-page .hero-content,
    .joinus-page .hero-content,
    .links-page .hero-content {
        width: 95vw;
    }
}

/* Styles pour les sections de contenu légal */
.legal, .cgu, .cgv, .contact {
    padding: 6rem 0;
    background: #f8f9fa;
}

.legal-content {
    max-width: 1200px;
    margin: 0 auto;
}

.legal-section {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.legal-item {
    margin-bottom: 2.5rem;
}

.legal-item:last-child {
    margin-bottom: 0;
}

.legal-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e74c3c;
}

.legal-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

.legal-text p {
    margin-bottom: 1rem;
}

.legal-text p:last-child {
    margin-bottom: 0;
}

.legal-text strong {
    font-weight: 600;
    color: #2c3e50;
}

.legal-text ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

/* Section titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

/* Contact section dans terms */
.contact {
    background: #2c3e50;
    color: white;
}

.contact .section-title {
    color: white;
}

.contact .section-title::after {
    background: #e74c3c;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    text-align: center;
}

.contact-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.contact-link {
    color: #e74c3c;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #c0392b;
}

/* Responsive pour les sections légales */
@media (max-width: 768px) {
    .legal, .cgu, .cgv, .contact {
        padding: 3rem 0;
    }
    
    .legal-section {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-details {
        gap: 2rem;
    }
    
    .contact-item {
        flex: 1 1 200px;
    }
}

@media (max-width: 480px) {
    .legal-section {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .legal-subtitle {
        font-size: 1.25rem;
    }
    
    .contact-details {
        flex-direction: column;
        gap: 1.5rem;
    }
}
