/* Page-specific styles for equipe, engagements, recherche, station-f */

/* Team Page */
.team-section {
    padding: 60px 0;
    background: white;
}

.team-intro-section {
    margin-bottom: 4rem;
}

/* Founders Photo Section */
.founders-photo-section {
    text-align: center;
    margin: 4rem 0;
}

.founders-image-container {
    position: relative;
    display: inline-block;
    max-width: 800px;
    width: 100%;
}

.founders-photo {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.founders-photo:hover {
    transform: scale(1.02);
}

.founders-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 2rem 1.5rem;
    border-radius: 0 0 16px 16px;
}

.founders-overlay h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.founders-overlay p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Founders Profiles */
.founders-profiles-section {
    margin-bottom: 4rem;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.founder-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

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

.founder-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #000000 0%, #1e3a8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.founder-initials {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.founder-info h3 {
    margin: 0 0 0.5rem 0;
    color: #1a1a1a;
    font-size: 1.4rem;
}

.founder-role {
    color: #1e3a8a;
    font-weight: 600;
    margin: 0 0 1rem 0;
    font-size: 1rem;
}

.founder-background {
    color: #666;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.founder-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e3a8a;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #000000;
}

.contact-link i {
    font-size: 1rem;
}

.founder-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.expertise-tag {
    background: rgba(30, 58, 138, 0.1);
    color: #1e3a8a;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Team Values */
.team-values-section {
    margin-bottom: 4rem;
}

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

.value-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.value-icon {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.value-card h4 {
    margin: 0 0 1rem 0;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.value-card p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Team CTA */
.team-cta {
    text-align: center;
    background: linear-gradient(135deg, #000000 0%, #1e3a8a 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
}

.team-cta h2 {
    margin-bottom: 1rem;
    color: white !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

.team-cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white !important;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: justify;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #1e3a8a;
    position: relative;
}

.intro-text::before {
    content: '"';
    font-size: 4rem;
    color: rgba(30, 58, 138, 0.1);
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: 'Georgia', serif;
}

.intro-text:nth-child(even) {
    background: #ffffff;
    border-left-color: #4CAF50;
}

.intro-text:nth-child(even)::before {
    color: rgba(76, 175, 80, 0.1);
}

.founders-main-section,
.contact-main-section {
    margin-bottom: 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.founders-showcase,
.contact-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.founder-profile,
.contact-profile {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.founder-profile:hover,
.contact-profile:hover {
    transform: translateY(-5px);
}

.founder-header h3,
.contact-details h4 {
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.founder-origin,
.contact-position {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.founder-description p,
.contact-details p {
    line-height: 1.6;
}

.contact-profile {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #000000 0%, #1e3a8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #1e3a8a;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.contact-link:hover {
    background: rgba(30, 58, 138, 0.1);
}

/* Engagements Page */
.commitments-section {
    padding: 60px 0;
    background: white;
}

.commitments-intro {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.commitments-intro h2 {
    margin-bottom: 1rem;
}

.commitments-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

.commitments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.commitment-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.commitment-icon {
    font-size: 3rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.commitment-card h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.commitment-card p {
    line-height: 1.6;
    color: #666;
}

.commitments-cta {
    text-align: center;
    background: linear-gradient(135deg, #000000 0%, #1e3a8a 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
}

.commitments-cta h2 {
    margin-bottom: 1rem;
    color: white !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

.commitments-cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white !important;
}

/* Recherche Page */
.research-content {
    padding: 60px 0;
    background: white;
}

.research-intro-section {
    margin-bottom: 4rem;
}

.bibliography-section {
    margin-bottom: 4rem;
}

.bibliography-content {
    max-width: 1000px;
    margin: 0 auto;
}

.bibliography-list p {
    margin-bottom: 1rem;
    line-height: 1.6;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #1e3a8a;
}

.bibliography-list strong {
    color: #1a1a1a;
}

.bibliography-list em {
    color: #666;
    font-style: italic;
}

.research-cta {
    text-align: center;
    background: linear-gradient(135deg, #000000 0%, #1e3a8a 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
}

.research-cta h2 {
    margin-bottom: 1rem;
    color: white !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

.research-cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white !important;
}

/* Station F Page - Version Simplifiée */
.station-f-simple {
    padding: 80px 0 60px;
    background: white;
}

.station-f-header {
    text-align: center;
    margin-bottom: 4rem;
}

.station-f-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.content-block {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: center;
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.content-block:hover {
    transform: translateY(-2px);
}

.station-f-logo img,
.ville-demain-logo img {
    width: 100%;
    height: auto;
    max-width: 180px;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.content-block:hover .station-f-logo img,
.content-block:hover .ville-demain-logo img {
    filter: grayscale(0%);
}

.station-f-text h2,
.ville-demain-text h2 {
    font-size: 1.8rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.station-f-text p,
.ville-demain-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.station-f-cta {
    text-align: center;
    background: linear-gradient(135deg, #000000 0%, #1e3a8a 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-top: 3rem;
}

.station-f-cta h2 {
    margin-bottom: 1rem;
    color: white !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

.station-f-cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white !important;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .station-f-simple {
        padding: 60px 0 40px;
    }

    .station-f-header {
        margin-bottom: 3rem;
    }

    .station-f-content {
        gap: 2rem;
    }

    .content-block {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }

    .station-f-logo img,
    .ville-demain-logo img {
        max-width: 120px;
    }

    .station-f-text h2,
    .ville-demain-text h2 {
        font-size: 1.5rem;
    }

    .station-f-text p,
    .ville-demain-text p {
        font-size: 1rem;
    }

    .station-f-cta {
        padding: 2.5rem 1.5rem;
        margin-top: 2rem;
    }

    .station-f-cta h2 {
        font-size: 2rem;
    }

    .station-f-cta p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .station-f-simple {
        padding: 40px 0 30px;
    }

    .station-f-header h1 {
        font-size: 2.5rem;
    }

    .content-block {
        padding: 1.5rem 1rem;
    }

    .station-f-logo img,
    .ville-demain-logo img {
        max-width: 100px;
    }

    .station-f-text h2,
    .ville-demain-text h2 {
        font-size: 1.3rem;
    }

    .station-f-text p,
    .ville-demain-text p {
        font-size: 0.95rem;
    }

    .station-f-cta {
        padding: 2rem 1rem;
    }

    .station-f-cta h2 {
        font-size: 1.8rem;
    }
}

/* Ville de Demain Collaboration */
.ville-demain-collaboration {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.03) 0%, rgba(30, 58, 138, 0.08) 100%);
    border-radius: 16px;
    margin: 2rem 0;
}

.collaboration-header {
    text-align: center;
    margin-bottom: 3rem;
}

.collaboration-content h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #1e3a8a;
}

.collaboration-content .section-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    color: #666;
}

.collaboration-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.collaboration-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
}

.collaboration-text strong {
    color: #1e3a8a;
}

.collaboration-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.impact-stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.impact-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #000000 0%, #1e3a8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.impact-stat p {
    margin: 0;
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.collaboration-vision {
    text-align: center;
}

.collaboration-vision h3 {
    color: #1e3a8a;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.collaboration-vision p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.vision-card {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vision-card:hover {
    transform: translateY(-3px);
}

.vision-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.vision-card h4 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.vision-card p {
    color: #666;
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
    flex-grow: 1;
}

/* Responsive Design pour Station F */
@media (max-width: 1024px) {
    .station-f-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .station-f-image {
        order: -1;
    }

    .station-f-content {
        order: 1;
        text-align: center;
    }

    .station-f-content p {
        padding: 0;
    }

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

    .collaboration-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

@media (max-width: 768px) {
    .station-f-section {
        padding: 40px 0;
    }

    .station-f-intro {
        margin-bottom: 3rem;
    }

    .station-f-benefits {
        margin-bottom: 3rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefit-item {
        padding: 1.5rem 1rem;
    }

    .ville-demain-collaboration {
        padding: 3rem 1rem;
        margin: 1rem 0;
    }

    .collaboration-header {
        margin-bottom: 2rem;
    }

    .collaboration-intro {
        gap: 2rem;
    }

    .collaboration-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .impact-stat {
        flex: 1;
        padding: 1rem;
    }

    .vision-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .vision-card {
        padding: 1.5rem 1rem;
    }

    .vision-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .station-f-section {
        padding: 30px 0;
    }

    .station-f-image img {
        max-height: 150px;
    }

    .station-f-content h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .station-f-content p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .benefits-grid {
        gap: 1rem;
    }

    .benefit-item {
        padding: 1.25rem 1rem;
    }

    .benefit-item i {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .benefit-item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .ville-demain-collaboration {
        padding: 2rem 1rem;
    }

    .collaboration-vision h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .collaboration-vision p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .vision-card {
        padding: 1.25rem 1rem;
    }

    .vision-card h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .vision-card p {
        font-size: 0.9rem;
    }

    .impact-stat .stat-number {
        font-size: 2rem;
    }

    .impact-stat p {
        font-size: 0.8rem;
    }
}

/* Améliorations de cohérence visuelle */
.station-f-cta {
    text-align: center;
    background: linear-gradient(135deg, #000000 0%, #1e3a8a 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-top: 2rem;
}

.station-f-cta h2 {
    margin-bottom: 1rem;
    color: white !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

.station-f-cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white !important;
}

/* Recherche Page Enhancements */
.intro-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.intro-highlight:hover {
    transform: translateY(-2px);
}

.intro-highlight i {
    font-size: 2rem;
    color: #1e3a8a;
    flex-shrink: 0;
}

.intro-highlight p {
    margin: 0;
    line-height: 1.6;
    color: #333;
}

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

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.step-number {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #000000 0%, #1e3a8a 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    margin: 0 0 0.5rem 0;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.step-content p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.bibliography-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.bib-category {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.bib-category:hover {
    transform: translateY(-5px);
}

.bib-category h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.5rem 0;
    color: #1e3a8a;
    font-size: 1.2rem;
}

.bib-category i {
    font-size: 1.5rem;
}

.bib-items p {
    margin: 0 0 0.75rem 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
}

.bib-items p:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.research-stats {
    text-align: center;
    margin: 3rem 0;
}

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

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 2rem 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #000000 0%, #1e3a8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-card p {
    margin: 0;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

/* Mentions Légales Page */
.legal-hero {
    padding: 80px 0 60px;
    background: white;
    text-align: center;
}

.legal-content-section {
    padding: 60px 0;
    background: white;
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}

.legal-text p {
    margin-bottom: 2rem;
    color: #555;
    font-size: 1.1rem;
}

.legal-text h2 {
    color: #1e3a8a;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #1e3a8a;
}

.legal-text strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* Responsive pour Mentions Légales */
@media (max-width: 768px) {
    .legal-hero {
        padding: 60px 0 40px;
    }

    .legal-content-section {
        padding: 40px 0;
    }

    .legal-text {
        padding: 0 1rem;
    }

    .legal-text h2 {
        font-size: 1.2rem;
        margin: 2rem 0 1rem 0;
    }

    .legal-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .legal-hero {
        padding: 40px 0 30px;
    }

    .legal-hero h1 {
        font-size: 2.5rem;
    }

    .legal-content-section {
        padding: 30px 0;
    }

    .legal-text h2 {
        font-size: 1.1rem;
    }

    .legal-text p {
        font-size: 0.95rem;
    }
}

/* Calendly Modal */
.calendly-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.calendly-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.calendly-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 80%;
    max-height: 700px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.calendly-modal[aria-hidden="false"] .calendly-modal-content {
    transform: scale(1);
}

.calendly-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.calendly-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.calendly-modal-close:hover {
    background: white;
    transform: scale(1.1);
}

.calendly-modal-close i {
    color: #333;
    font-size: 18px;
}

/* Responsive pour Calendly Modal */
@media (max-width: 768px) {
    .calendly-modal-content {
        width: 95%;
        height: 85%;
        max-height: 600px;
    }
}

/* Fixes for Calendly injected popup (widget.js) to avoid being hidden or under other elements */
.calendly-overlay,
.calendly-popup,
.calendly-popup .calendly-popup-content,
.calendly-popup iframe {
    z-index: 200000 !important;
}

.calendly-overlay {
    position: fixed !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0,0,0,0.65) !important;
}

.calendly-popup {
    position: relative !important;
    width: 90% !important;
    max-width: 1000px !important;
    height: 80% !important;
    max-height: 700px !important;
    background: #fff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3) !important;
}

.calendly-popup iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}

.calendly-close-overlay,
.calendly-popup-close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 40px !important;
    height: 40px !important;
    z-index: 200001 !important;
    cursor: pointer !important;
}

/* Ensure Calendly popup content fills the container and iframe grows */
.calendly-popup .calendly-popup-content {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 400px !important;
    box-sizing: border-box !important;
}

.calendly-popup .calendly-popup-content > iframe {
    flex: 1 1 auto !important;
    width: 100% !important;
    height: auto !important;
}

/* Hide spinner area when iframe loads (if Calendly keeps spinner) */
.calendly-popup .calendly-spinner {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255,255,255,0.6) !important;
    z-index: 200002 !important;
}

/* If spinner remains, allow iframe to be visible beneath */
.calendly-popup .calendly-popup-content iframe {
    position: relative !important;
    z-index: 1 !important;
}

/* Make spinner non-blocking so iframe beneath remains interactive */
.calendly-popup .calendly-spinner {
    background: transparent !important;
    pointer-events: none !important;
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 200002 !important;
}

/* Ensure close controls are visible and clickable */
.calendly-close-overlay,
.calendly-popup-close {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 200003 !important;
}

/* Styles for injected custom close controls */
.calendly-custom-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

.calendly-custom-close {
    font-size: 24px !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(0, 0, 0, 0.1) !important;
    background: #ffffff !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 200010 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
    padding: 0 !important;
    color: #000000 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.calendly-custom-close::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.05) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    border-radius: 50% !important;
}

.calendly-custom-close:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2) !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
}

.calendly-custom-close:hover::before {
    opacity: 1 !important;
}

.calendly-custom-close:active {
    transform: scale(0.95) !important;
    transition: all 0.1s ease !important;
}

.calendly-custom-close i {
    position: relative !important;
    z-index: 1 !important;
    font-weight: 600 !important;
}

@media (max-width: 480px) {
    .calendly-modal-content {
        width: 98%;
        height: 90%;
        max-height: 500px;
    }

    .calendly-modal-close {
        width: 35px;
        height: 35px;
        top: 10px;
        right: 10px;
    }

    .calendly-modal-close i {
        font-size: 16px;
    }
}

/* Style spécifique pour le titre blanc du simulateur */
.simulator-title-white {
    color: white !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}
