/* ========================================
   MENTIONS-LEGALES.CSS
   Styles for legal mentions page
======================================== */

/* ----------------------------------------
   LEGAL CONTENT
---------------------------------------- */
.legal-content {
    padding: 40px;
}

/* ----------------------------------------
   LEGAL SECTIONS
---------------------------------------- */
.legal-section {
    margin-bottom: 50px;
    padding: 30px;
    background: rgba(245, 245, 220, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(139, 69, 19, 0.2);
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    color: #4a2c17;
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.legal-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    border-radius: 2px;
}

/* ----------------------------------------
   INFO GRID LAYOUT
---------------------------------------- */
.legal-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.info-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(139, 69, 19, 0.1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.info-item h3 {
    color: #4a2c17;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.info-item p {
    color: #5d3e2a;
    line-height: 1.6;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.info-item p:last-child {
    margin-bottom: 0;
}

.info-item a {
    color: #8B4513;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #A0522D;
    text-decoration: underline;
}

/* ----------------------------------------
   LEGAL TEXT CONTENT
---------------------------------------- */
.legal-text {
    color: #5d3e2a;
    line-height: 1.7;
    font-size: 1rem;
}

.legal-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.legal-text p:last-child {
    margin-bottom: 0;
}

/* ----------------------------------------
   HIGHLIGHT BOXES
---------------------------------------- */
.highlight-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #8B4513;
    margin: 25px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.highlight-box h4 {
    color: #4a2c17;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.highlight-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ----------------------------------------
   CONTACT LEGAL
---------------------------------------- */
.contact-legal {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(139, 69, 19, 0.1);
    margin-top: 20px;
}

.contact-method {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 7px;
}

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

.contact-method strong {
    color: #4a2c17;

}

.contact-method a {
    color: #8B4513;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-method a:hover {
    color: #A0522D;
    text-decoration: underline;
}

/* ----------------------------------------
   LAST UPDATE
---------------------------------------- */
.last-update {
    text-align: center;
    padding: 20px;
    background: rgba(139, 69, 19, 0.05);
    border-radius: 8px;
    margin-top: 20px;
}

.last-update p {
    color: #8B4513;
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

/* ----------------------------------------
   LINKS STYLING
---------------------------------------- */
.legal-text a {
    color: #8B4513;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.legal-text a:hover {
    color: #A0522D;
    border-bottom-color: #A0522D;
    text-decoration: none;
}

/* ----------------------------------------
   RESPONSIVE DESIGN
---------------------------------------- */

/* Large tablets and medium screens */
@media (max-width: 1024px) {
    .legal-content {
        padding: 35px;
    }
    
    .legal-section {
        margin-bottom: 40px;
        padding: 25px;
    }
    
    .legal-section h2 {
        font-size: 1.7rem;
        margin-bottom: 20px;
    }
    
    .legal-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .info-item {
        padding: 20px;
    }
    
    .info-item h3 {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }
    
    .legal-text {
        font-size: 0.95rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .legal-content {
        padding: 25px;
    }
    
    .legal-section {
        margin-bottom: 35px;
        padding: 20px;
    }
    
    .legal-section h2 {
        font-size: 1.6rem;
        margin-bottom: 18px;
    }
    
    .legal-section h2::after {
        width: 50px;
        height: 2px;
    }
    
    .legal-info-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .info-item {
        padding: 18px;
    }
    
    .info-item h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .info-item p {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .legal-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .legal-text p {
        margin-bottom: 18px;
        text-align: left;
    }
    
    .highlight-box {
        padding: 16px;
        margin: 20px 0;
    }
    
    .highlight-box h4 {
        font-size: 1.05rem;
        margin-bottom: 8px;
    }
    
    .contact-legal {
        padding: 16px;
    }
    
    .contact-method {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        margin-bottom: 12px;
    }
    
    .contact-method strong {
        min-width: auto;
    }
}

/* Small tablets and large phones */
@media (max-width: 600px) {
    .legal-content {
        padding: 20px;
    }
    
    .legal-section {
        margin-bottom: 30px;
        padding: 16px;
        border-radius: 10px;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .legal-section h2::after {
        width: 40px;
    }
    
    .info-item {
        padding: 15px;
    }
    
    .info-item h3 {
        font-size: 1.05rem;
        margin-bottom: 8px;
    }
    
    .info-item p {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }
    
    .legal-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .legal-text p {
        margin-bottom: 15px;
    }
    
    .highlight-box {
        padding: 14px;
        margin: 15px 0;
        border-radius: 6px;
    }
    
    .highlight-box h4 {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .highlight-box p {
        font-size: 0.85rem;
    }
    
    .contact-legal {
        padding: 14px;
    }
    
    .contact-method {
        margin-bottom: 10px;
    }
    
    .last-update {
        padding: 15px;
    }
    
    .last-update p {
        font-size: 0.8rem;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .legal-content {
        padding: 16px;
    }
    
    .legal-section {
        margin-bottom: 25px;
        padding: 14px;
    }
    
    .legal-section h2 {
        font-size: 1.4rem;
        margin-bottom: 12px;
        line-height: 1.2;
    }
    
    .legal-section h2::after {
        width: 35px;
        height: 2px;
    }
    
    .info-item {
        padding: 12px;
    }
    
    .info-item h3 {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .info-item p {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }
    
    .legal-text {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .legal-text p {
        margin-bottom: 12px;
    }
    
    .highlight-box {
        padding: 12px;
        margin: 12px 0;
    }
    
    .highlight-box h4 {
        font-size: 0.95rem;
        margin-bottom: 5px;
    }
    
    .highlight-box p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .contact-legal {
        padding: 12px;
    }
    
    .contact-method {
        margin-bottom: 8px;
    }
    
    .last-update {
        padding: 12px;
    }
    
    .last-update p {
        font-size: 0.75rem;
    }
}

/* Very small screens */
@media (max-width: 320px) {
    .legal-content {
        padding: 12px;
    }
    
    .legal-section {
        margin-bottom: 20px;
        padding: 10px;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .legal-section h2::after {
        width: 30px;
    }
    
    .info-item {
        padding: 10px;
    }
    
    .info-item h3 {
        font-size: 0.95rem;
        margin-bottom: 5px;
    }
    
    .info-item p {
        font-size: 0.75rem;
        margin-bottom: 3px;
    }
    
    .legal-text {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .legal-text p {
        margin-bottom: 10px;
    }
    
    .highlight-box {
        padding: 10px;
        margin: 10px 0;
    }
    
    .highlight-box h4 {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }
    
    .highlight-box p {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .contact-legal {
        padding: 10px;
    }
    
    .last-update {
        padding: 10px;
    }
    
    .last-update p {
        font-size: 0.7rem;
    }
}