/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FFFFFF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Variables */
:root {
    --primary-color: #7B1E3A;
    --accent-color: #FFB300;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --text-dark: #333;
    --text-light: #666;
}

/* Cookie Popup - Right Corner */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    z-index: 1000;
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.cookie-popup.show {
    transform: translateX(0);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cookie-link {
    color: var(--accent-color);
    text-decoration: underline;
}

.btn-accept {
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-accept:hover {
    background: #e6a000;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 1000;
    transition: all 0.3s ease;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
}

/* Brand Link Styles */
.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.brand-link:hover {
    transform: scale(1.02);
}

.brand-logo {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.brand-link:hover .brand-logo {
    transform: rotate(5deg);
}

.nav-brand h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5a1629 100%);
    color: var(--white);
    padding: 140px 0 80px;
    display: flex;
    align-items: center;
    min-height: 70vh;
}

/* Metro Gallery Section */
.metro-gallery {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.gallery-header p {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

.gallery-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    background: var(--white);
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100px);
}

.gallery-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(123, 30, 58, 0.9));
    color: var(--white);
    padding: 40px 30px 30px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease;
}

.gallery-slide.active .slide-overlay {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.3s;
}

.slide-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.slide-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.gallery-indicators {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(123, 30, 58, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.indicator:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.indicator::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: rgba(255, 179, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.indicator:hover::after {
    opacity: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding: 0 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.hero-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    justify-content: flex-start;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-secondary-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: #e6a000;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background: var(--light-gray);
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* Card Icons */
.card-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon img {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.savoir-card:hover .card-icon img,
.pratique-card:hover .card-icon img {
    transform: scale(1.1) rotate(5deg);
}

/* Savoirs Grid */
.savoirs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.savoir-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.savoir-card:hover {
    transform: translateY(-5px);
}

.savoir-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Card Features List */
.card-features {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.card-features li {
    padding: 0.5rem 0;
    border-left: 3px solid var(--accent-color);
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.card-features li:hover {
    border-left-color: var(--primary-color);
    padding-left: 1.5rem;
    color: var(--primary-color);
}

/* Practice Features Tags */
.practice-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.feature-tag {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Études Content */
.etudes-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.etude-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.etude-item:hover {
    transform: translateY(-5px);
}

.etude-item:nth-child(even) {
    flex-direction: row-reverse;
}

.etude-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.etude-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.etude-text {
    flex: 1;
}

.etude-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.etude-item p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Research Stats */
.research-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.research-stat {
    text-align: center;
}

.research-stat .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.3rem;
}

.research-stat .stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Methodology Steps */
.methodology-steps {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.method-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-gray);
    padding: 0.8rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.method-step:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.step-number {
    background: var(--primary-color);
    color: var(--white);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.step-text {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Evidence Section */
.evidence-section {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.evidence-section h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.evidence-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.evidence-card:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

.evidence-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.evidence-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.evidence-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Pratique Grid */
.pratique-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pratique-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.pratique-card:hover {
    transform: translateY(-5px);
}

.pratique-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Tools Section */
.tools-section {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tools-section h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tool-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,179,0,0.2), transparent);
    transition: left 0.5s ease;
}

.tool-item:hover::before {
    left: 100%;
}

.tool-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.tool-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tool-item p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.tool-btn {
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.tool-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    border: 3px solid var(--accent-color);
    transform: scale(1.05);
}

.pricing-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.pricing-card li:last-child {
    border-bottom: none;
}

/* Community Section */
.community-header {
    text-align: center;
    margin-bottom: 4rem;
}

.community-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.community-icon img {
    width: 80px;
    height: 80px;
    animation: pulse 3s ease-in-out infinite;
}

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

.community-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.testimonials h3, .team h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.3;
    font-family: serif;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.testimonial-rating {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-author {
    border-top: 2px solid var(--light-gray);
    padding-top: 1rem;
}

.testimonial-author cite {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.3rem;
}

.author-title {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.member-photo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.photo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 1.5rem;
}

.member-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.member-title {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.member-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.member-credentials {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.credential {
    background: var(--light-gray);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Community Stats */
.community-stats {
    margin-top: 3rem;
}

.community-stats h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
  
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Form Styles */
.inscription-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.inscription-form * {
    pointer-events: auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
    color: #333;
    position: relative;
    z-index: 1;
    pointer-events: auto;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group input.error,
.form-group select.error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Contact Section */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    text-align: center;
}

.contact-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.contact-icon img {
    width: 70px;
    height: 70px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.contact-method-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: 50%;
}

.contact-method-info {
    flex: 1;
    text-align: left;
}

.contact-method-info strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.contact-method-info a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-method-info a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Quick Contact Form */
.quick-contact-form {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
}

.quick-contact-form h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
}

.minimal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.minimal-form input,
.minimal-form textarea {
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: var(--white);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.minimal-form input:focus,
.minimal-form textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 179, 0, 0.3);
    transform: translateY(-2px);
}

.minimal-form textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-minimal {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
    min-width: 150px;
}

.btn-minimal:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        top: 10px;
        left: 10px;
        right: 10px;
        border-radius: 15px;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
        position: relative;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background-color: var(--white);
        width: calc(100% - 20px);
        left: 10px;
        text-align: center;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 27px rgba(0,0,0,0.15);
        padding: 2rem 0;
        border-radius: 15px;
        backdrop-filter: blur(10px);
        z-index: 1000;
        display: none;
        transform: translateY(-20px);
    }
    
    .nav-menu.active {
        left: 10px;
    
        display: block;
        transform: translateY(0);
    }
    
    .nav-menu li {
        margin: 2rem 0;
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.3s ease;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.5s; }
    
    /* Metro Gallery Mobile */
    .metro-gallery {
        padding: 60px 0;
    }
    
    .gallery-header h2 {
        font-size: 2rem;
    }
    
    .gallery-container {
        height: 400px;
        margin: 0 20px;
        border-radius: 15px;
    }
    
    .slide-overlay {
        padding: 30px 20px 20px;
    }
    
    .slide-overlay h3 {
        font-size: 1.5rem;
    }
    
    .slide-overlay p {
        font-size: 0.9rem;
    }
    
    .gallery-indicators {
        gap: 10px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    /* Hero Section Mobile */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 0 60px;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    /* Sections Mobile */
    .section {
        padding: 60px 0;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    /* Cards Mobile */
    .savoirs-grid,
    .pratique-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .card-features li {
        font-size: 0.85rem;
    }
    
    .practice-features {
        justify-content: center;
    }
    
    /* Études Mobile */
    .etude-item {
        flex-direction: column !important;
        text-align: center;
        padding: 2rem;
    }
    
    .research-stats {
        justify-content: center;
    }
    
    .methodology-steps {
        flex-direction: column;
        align-items: center;
    }
    
    /* Community Mobile */
    .community-content {
        gap: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-member {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Contact Mobile */
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Cookie Mobile */
    .cookie-popup {
        display: block;
        max-width: 300px;
        bottom: 10px;
        right: 10px;
        left: 10px;
        right: auto;
        width: calc(100% - 20px);
        max-width: none;
        font-size: 14px;
        padding: 15px;
        transform: translateY(400px);
        transition: transform 0.3s ease;
    }
    
    .cookie-popup.show {
        transform: translateY(0);
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-buttons button {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card:hover {
        transform: translateY(-5px);
    }
    
    /* Tools Mobile */
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    /* Evidence Mobile */
    .evidence-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile form accessibility fixes for screens up to 768px */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        padding: 14px 12px;
        background: white !important;
        color: #333 !important;
        position: relative;
        z-index: 10;
        pointer-events: auto !important;
        user-select: text !important;
        -webkit-user-select: text !important;
        -webkit-appearance: none;
        appearance: none;
        touch-action: manipulation;
        border: 2px solid #ddd;
        border-radius: 6px;
    }
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        border-color: var(--accent-color) !important;
        box-shadow: 0 0 0 2px rgba(255, 179, 0, 0.3) !important;
        z-index: 11;
    }
    
    .inscription-form {
        background: white !important;
        position: relative;
        z-index: 5;
        padding: 2rem 1rem;
    }
}

/* Additional mobile fixes for screens up to 771px */
@media (max-width: 771px) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px !important;
        padding: 15px 12px !important;
        background: white !important;
        color: #333 !important;
        position: relative !important;
        z-index: 15 !important;
        pointer-events: auto !important;
        user-select: text !important;
        -webkit-user-select: text !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        touch-action: manipulation !important;
        border: 2px solid #ddd !important;
        border-radius: 6px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        border-color: var(--accent-color) !important;
        box-shadow: 0 0 0 3px rgba(255, 179, 0, 0.3) !important;
        z-index: 16 !important;
        outline: none !important;
    }
    
    .form-group {
        position: relative !important;
        z-index: 10 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .inscription-form {
        background: white !important;
        position: relative !important;
        z-index: 10 !important;
        padding: 2rem 1rem !important;
    }
    
    .inscription-form * {
        pointer-events: auto !important;
    }
    
    /* Checkbox fixes for mobile */
    input[type="checkbox"] {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
        margin-right: 10px !important;
        position: relative !important;
        z-index: 20 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        border: 2px solid #ddd !important;
        border-radius: 4px !important;
        background: white !important;
        display: inline-block !important;
        vertical-align: middle !important;
        flex-shrink: 0 !important;
    }
    
    input[type="checkbox"]:checked {
        background: var(--accent-color) !important;
        border-color: var(--accent-color) !important;
    }
    
    input[type="checkbox"]:checked::after {
        content: '✓' !important;
        display: block !important;
        color: white !important;
        font-size: 14px !important;
        font-weight: bold !important;
        text-align: center !important;
        line-height: 16px !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
    
    .checkbox-group {
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important;
        margin-bottom: 1.5rem !important;
        position: relative !important;
        z-index: 15 !important;
    }
    
    .checkbox-group label {
        flex: 1 !important;
        cursor: pointer !important;
        line-height: 1.4 !important;
        font-size: 14px !important;
        color: #333 !important;
        pointer-events: auto !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar {
        padding: 1rem;
    }
    
    .nav-brand h1 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .inscription-form {
        padding: 2rem 1.5rem;
    }
    
    /* Mobile form fixes */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 15px 12px;
        border: 2px solid #ddd;
        border-radius: 8px;
        background: white !important;
        color: #333 !important;
        position: relative;
        z-index: 10;
        pointer-events: auto !important;
        user-select: text !important;
        -webkit-user-select: text !important;
        -webkit-appearance: none;
        appearance: none;
        touch-action: manipulation;
    }
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--accent-color);
        box-shadow: 0 0 0 3px rgba(255, 179, 0, 0.2);
        z-index: 11;
    }
    
    .form-group {
        position: relative;
        z-index: 5;
        margin-bottom: 1.5rem;
    }
    
    .inscription-form {
        position: relative;
        z-index: 5;
        background: white !important;
    }
    
    .savoirs-grid,
    .pratique-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}