/* RGPD Modal */
.rgpd-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.rgpd-content {
    background: white;
    border-radius: 10px;
    padding: 20px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
}

.rgpd-header {
    margin-bottom: 20px;
    text-align: center;
}

.rgpd-header h2 {
    color: var(--primary-color);
    font-size: 1.5em;
}

.rgpd-header h2 i {
    font-size: 2em;
    display: block;
    margin-bottom: 10px;
}

.cookie-info {
    margin: 20px 0;
}

.cookie-info ul {
    list-style-type: none;
    padding-left: 20px;
}

.cookie-info li {
    margin: 5px 0; /* Réduit l'interligne entre les puces */
    position: relative;
}

.cookie-info li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: -15px;
}

.rgpd-footer {
    text-align: center;
    margin-top: 20px;
}

.button-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s;
}

.button-primary:hover,
.button-primary:active {
    background: var(--secondary-color);
    color: white; /* Garde le texte blanc au hover */
}

.rgpd-links {
    margin-top: 10px;
    font-size: 0.9em;
}

.age-warning {
    background: var(--warning-color);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.age-warning i {
    color: #ff0000;
    font-size: 1.2em;
}

/* A propos */ 

.a-propos .about-sections {
    max-width: 1200px;
    margin: 0 auto;
}

.a-propos .about-hero {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.a-propos .hero-image {
    position: relative;
    height: 100%;
}

.a-propos .cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    object-position: 0 64%;
}

.a-propos .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));*/
}

.a-propos .about-content {
    position: relative;
    padding: 2rem;
}

.a-propos .about-text {
    position: relative;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.a-propos .about-text::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px 3px 0 0;
    width: 98.5%;
    margin: auto;
}

.a-propos .mission-statement {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}


.a-propos .mission-statement h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.a-propos .mission-statement p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.a-propos .mission-statement h2::before {
    content: '"';
    position: absolute;
    font-size: 8em;
    left: 0.3em;
    top: -0.3em;
    color: rgba(91, 127, 173, 0.22);
    z-index: 1;
    font-family: serif;
}

.a-propos .about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.a-propos .feature-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.a-propos .feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.a-propos .feature-item:hover {
    transform: translateY(-5px);
}

.a-propos .feature-item:hover::before {
    transform: scaleX(1);
}

.a-propos .feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.a-propos .feature-item h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.a-propos .feature-item p {
    color: var(--text-color-light);
    line-height: 1.6;
}

.a-propos .about-host {
    text-align: center;
    padding: 3rem 0;
    position: relative;
}

.a-propos .host-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.a-propos .host-content h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.a-propos .host-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .a-propos .about-hero {
        height: 166px;
    }

    .a-propos .about-features {
        grid-template-columns: 1fr;
    }

    .a-propos .mission-statement h2 {
        font-size: 1.8rem;
    }

    .a-propos .mission-statement p {
        font-size: 1.1rem;
    }
}


/* Page Données Personnelles */
.data-sections {
    display: grid;
    gap: 20px;
    padding: 20px 0;
    grid-template-columns: repeat(2, 1fr); /* Fusion des media queries */
}

.data-section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.data-section h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3em;
}

/* Alignement du titre comme les autres pages */
.donnees-personnelles .page-title {
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
    color: #87b5f1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.donnees-personnelles .page-title i {
    color: #87b5f1; /* Icône en noir */
}

/* Style des listes unifié */
.data-section ul {
    padding-left: 20px;
    margin: 15px 0;
}

.data-section li {
    margin: 8px 0;
    position: relative;
    padding-left: 15px;
    list-style: none; /* Supprime les puces par défaut */
}

.data-section li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.data-section.full-width {
    grid-column: 1 / -1; /* Prend toute la largeur */
}

.data-content {
    min-height: 100px;
}

.actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.action-button {
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.action-button:not(.danger) {
    background: var(--primary-color);
    color: white;
}

.action-button.danger {
    background: var(--danger-color);
    color: white;
}

.action-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (min-width: 768px) {
    .data-sections {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Page Données Personnelles */
.donnees-personnelles .page-title {
    text-align: left;
    font-size: 2rem;
    color: #333;
    margin: 2rem 0 3rem;
    font-weight: 700;
    padding-left: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.donnees-personnelles .page-title i {
    color: #a6c9f5;
}

.donnees-personnelles .data-sections {
    max-width: 1400px;
    text-align: center;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: -1.5rem;
}

.donnees-personnelles .data-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 2.5rem;
    text-align: left;
}

.donnees-personnelles .data-section.full-width {
    grid-column: 1 / -1;
}

.donnees-personnelles .data-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
}

.donnees-personnelles .data-section h2 i {
    color: var(--primary-color);
}

/* RGPD Grid Layout */
.donnees-personnelles .data-section.full-width .data-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.donnees-personnelles .data-section.full-width .legal-intro {
    grid-column: 1 / -1;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.1em;
    color: #87b5f1;
}

.donnees-personnelles .data-section.full-width .rgpd-block {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.donnees-personnelles .data-section.full-width .rgpd-block:hover {
    transform: translateY(-2px);
}

.donnees-personnelles .data-section.full-width h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2em;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .donnees-personnelles .data-section.full-width .data-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Pages Mentions Légales et Données Personnelles */
.donnees-personnelles .data-sections,
.mentions-legales .legal-sections {
    max-width: 1400px;
    text-align: center;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: -1.5rem;
}

.donnees-personnelles .data-section,
.mentions-legales .legal-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 2.5rem;
    text-align: left;
}

.donnees-personnelles .page-title,
.mentions-legales .page-title {
    text-align: left;
    font-size: 2rem;
    color: #333;
    margin: 2rem 0 3rem;
    font-weight: 700;
    padding-left: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Styles pour le formulaire de contact */
.contact .form-group {
    margin-bottom: 1.5rem;
}

.contact .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #87b5f1;
    font-weight: 600;
}

.contact .form-group input,
.contact .form-group select,
.contact .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(44, 31, 62, 0.2);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact .form-group input:focus,
.contact .form-group select:focus,
.contact .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--secondary-color);
}

.contact .submit-btn {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.contact .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 176, 0.2);
}

.contact .submit-btn i {
    font-size: 0.9em;
}

.contact .info-block {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.contact .info-block:last-child {
    margin-bottom: 0;
}

.contact .info-block h3 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.contact .info-block p {
    color: #87b5f1;
    line-height: 1.5;
}

.contact .info-block a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact .info-block a:hover {
    color: var(--secondary-color);
}

/* Message flash pour le formulaire de contact */
.flash-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.flash-message.success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.flash-message.error {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

/* Style pour la grille de responsabilité */
.responsibility-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 1rem -1.5rem;  /* Marges négatives pour étendre la grille */
    padding: 0 1.5rem;     /* Padding pour compenser les marges négatives */
    width: calc(100% + 3rem); /* Largeur étendue pour compenser les marges */
    box-sizing: border-box;
}

.responsibility-block {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    width: 100%;        /* Force la largeur à 100% */
}

/* Ajustement pour le conteneur parent */
.legal-section.data-section.full-width .data-content {
    padding: 0;        /* Retire le padding pour permettre l'extension */
    overflow: hidden;  /* Contient les marges négatives */
    width: 100%;      /* Assure la pleine largeur */
}

@media (max-width: 768px) {
    .responsibility-grid, .donnees-personnelles .data-sections,
.mentions-legales .legal-sections {
        grid-template-columns: 1fr;
    }
    
}

/* Styles pour la page Guide des Partenaires */
.partners-grid {
    display: grid;
    gap: 2rem;
    margin-top: 1rem;
}

.partner-block {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    align-items: center;
}

.partner-block.premium {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 1px solid #eee;
}

.partner-logo {
    text-align: center;
    padding: 1rem;
}

.partner-logo img {
    max-width: 200px;
    height: auto;
    object-fit: contain;
}

.partner-info h3 {
    color: #87b5f1;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.partner-info p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.partner-info ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.partner-btn, .contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.partner-btn:hover, .contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 176, 0.2);
}

@media (max-width: 768px) {
    .partner-block {
        grid-template-columns: 1fr;
    }
    
    .partner-logo img {
        max-width: 150px;
    }
}

/* Benefits Grid */
.partner-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-block {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.benefit-block:hover {
    transform: translateY(-5px);
}

.benefit-block i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.benefit-block h3 {
    color: #87b5f1;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.benefit-block p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.partner-cta {
text-align: center;
}

/* CTA Structure */
.cta-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.cta-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1.1em;
    line-height: 1.6;
}

.cta-text p:first-child {
    margin-bottom: 1rem;
}

.cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cta-action .contact-btn {
    margin-bottom: 1.5rem;
}

.cta-action .reassurance {
    color: #666;
    font-size: 0.9em;
    max-width: 80%;
}

/* Logos partenaires */
.partners-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
    padding: 2rem 4rem;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
    border-top: 1px solid #eee;
}

.partners-logos .logo-wrapper {
    height: 35px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.partners-logos .logo-wrapper:hover {
    opacity: 0.5;
}

.partners-logos img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
}

/* Responsive */
@media (max-width: 768px) {
    .partner-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .cta-action .reassurance {
        max-width: 100%;
    }

    .partners-logos {
        padding: 1.5rem;
        gap: 2rem;
    }
    
    .partners-logos .logo-wrapper {
        height: 25px;
    }
}

