/* aut-authentique.css */
@import url('https://fonts.googleapis.com/css2?family=Lustria&display=swap');

/* BOUTON D'OUVERTURE DU MODAL */
.aut-open-modal-authentiques {
    display: inline-block;
    font-size: 1.3rem;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(57, 161, 93, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #2e7766;
    margin: 15px 0;
    text-align: center;
}
.aut-open-modal-authentiques:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(57, 161, 93, 0.5);
    background: linear-gradient(135deg, #2e7766 0%, #39a15d 100%);
}

.aut-open-modal-authentiques:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(57, 161, 93, 0.3);
}

/* MODAL OVERLAY */
.aut-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(205, 223, 247, 0.75);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.aut-overlay.aut-open {
    opacity: 1;
    visibility: visible;
}

.aut-container {
    font-family: "Lustria", serif;
    font-weight: 400;
    font-style: normal;
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 4px solid #FFF;
    font-size: 1.3em;
}

.aut-open .aut-container {
    transform: scale(1);
}

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

.aut-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.aut-close svg {
    color: #333;
}

.aut-content {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.aut-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.aut-error {
    text-align: center;
    padding: 40px;
    color: #d32f2f;
}

/* Styles du contenu du modal */
.aut-content main {
    max-width: 100%;
    background: none;
    padding-top: 0;
}

.aut-content h1 {
    font-size: 2rem;
    color: #1a1a1a;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #4CAF50;
}

.aut-content h2 {
    font-size: 1.5rem;
    color: #990033;
    margin: 30px 0 15px 0;
    font-weight: bold;
    text-shadow: 1px 1px #fff;
}

.aut-content section {
    margin-bottom: 30px;
}

.aut-content ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.aut-content ul li {
    padding: 10px 0 10px 30px;
    position: relative;
    line-height: 1.4;
}

.aut-content ul li:before {
    content: "•";
    position: absolute;
    left: 10px;
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.2em;
}

.aut-content strong {
    color: #2c3e50;
}

.aut-content p {
    line-height: 1.4;
    color: #333232;
    margin: 15px 0;
    font-family: Georgia, serif;
}

.cta-box {
    background: linear-gradient(135deg, #39a15d 0%, #2e7766 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 40px;
    text-align: center;
    box-shadow: 3px 0 2px 1px inset, -3px 0 2px 1px inset;
}

.cta-box h3 {
    margin: 0 0 15px 0;
    font-size: 1.8rem;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    background: white;
    color: #245719;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    .aut-open-modal-authentiques {
        font-size: 1.1rem;
        padding: 10px 20px;
    }
    
    .aut-container {
        max-height: 95vh;
        margin: 10px;
    }
    
    .aut-content {
        padding: 20px;
    }
    
    .aut-content h1 {
        font-size: 1.5rem;
    }
    
    .aut-content h2 {
        font-size: 1.2rem;
    }
    
    .aut-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .aut-overlay {
        padding: 10px;
    }
    
    .aut-content {
        padding: 15px;
    }
    
    .aut-open-modal-authentiques {
        font-size: 1rem;
        padding: 8px 15px;
    }
}