/*
 Theme Name: Perso
 Description: Thème personnalisé - Pages Légales (Mentions + CGV)
 Version: 1.2.0
*/

/* ===========================================
   VARIABLES
   =========================================== */

:root {
    --primary-color: #CA9724;
    --primary-hover: #b88620;
    --black: #1a1a1a;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --text-color: #333333;
    --text-muted: #666666;
    --border-color: #e0e0e0;
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.15);
    --font-family: 'Arial', sans-serif;
}

/* ===========================================
   STYLES COMMUNS
   =========================================== */

.mentions-legales-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
}

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

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===========================================
   HERO SECTION
   =========================================== */
.legal-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    width: 100%;
    margin: 0;
}
.legal-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin: 0;
    text-align: center;
    line-height: 1.5;
}

/* ===========================================
   SECTION ENTREPRISE
   =========================================== */

.company-section {
    padding: 80px 0;
    background: var(--white);
}

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

.company-description {
    text-align: center;
    margin-bottom: 50px;
}

.company-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.service-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.commitment-box {
    display: flex;
    align-items: center;
    gap: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    padding: 40px;
    border-radius: 20px;
    color: var(--white);
}

.commitment-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.commitment-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.commitment-content p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* ===========================================
   SECTION INFORMATIONS LÉGALES
   =========================================== */

.legal-info-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.legal-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.legal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.legal-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.legal-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 15px;
}

.legal-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.legal-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-card a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* ===========================================
   SECTION CGV
   =========================================== */

.cgv-section {
    padding: 80px 0;
    background: var(--white);
}

.cgv-content {
    max-width: 900px;
    margin: 0 auto;
}

.cgv-article {
    background: var(--bg-light);
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cgv-article:hover {
    box-shadow: var(--shadow-medium);
}

.cgv-article.highlighted {
    border-left: 4px solid var(--primary-color);
}

.article-header {
    background: var(--white);
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 20px;
}

.article-number {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.article-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--black);
    margin: 0;
}

.article-content {
    padding: 30px;
}

.article-content p {
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 15px;
}

.article-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--text-color);
}

.sub-article {
    margin-bottom: 25px;
}

.sub-article:last-child {
    margin-bottom: 0;
}

.sub-article h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--border-color);
}

/* ===========================================
   SECTION RGPD
   =========================================== */

.rgpd-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.rgpd-content {
    max-width: 900px;
    margin: 0 auto;
}

.rgpd-intro {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-light);
}

.rgpd-intro p {
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 15px;
}

.rgpd-articles {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.rgpd-article {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.rgpd-article:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.rgpd-article h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.rgpd-article p {
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 15px;
}

.rgpd-article ul {
    margin: 15px 0;
    padding-left: 20px;
}

.rgpd-article li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--text-color);
}

.rights-contact,
.cnil-info {
    margin-top: 25px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
}

.rights-contact h4,
.cnil-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 15px;
}

.contact-card,
.cnil-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--white);
    border-radius: 10px;
    margin-top: 10px;
}

.contact-icon,
.cnil-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

/* ===========================================
   SECTION CONTACT
   =========================================== */

.legal-contact-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: var(--white);
    text-align: center;
}

.contact-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.contact-item i {
    font-size: 1.3rem;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 0.8;
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .legal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .mentions-legales-page .container {
        padding: 0 15px;
    }

   .legal-hero {
       padding: 80px 0;
   }
          .legal-hero-content {
              padding: 0 15px;
          }

         .hero-title {
             font-size: 2.2rem;
         }

         .hero-subtitle {
             font-size: 1.1rem;
         }

    .section-title {
        font-size: 2rem;
    }

    .company-section,
    .legal-info-section,
    .cgv-section,
    .rgpd-section {
        padding: 60px 0;
    }

    .commitment-box {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px 25px;
    }

    .legal-grid {
        grid-template-columns: 1fr;
    }

    .article-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
.legal-hero {
        padding: 60px 0;
    }
         .hero-title {
             font-size: 1.8rem;
         }
                  .hero-subtitle {
                      font-size: 1rem;
                  }

    .section-title {
        font-size: 1.6rem;
    }

    .company-section,
    .legal-info-section,
    .cgv-section,
    .rgpd-section {
        padding: 40px 0;
    }

    .services-grid,
    .legal-grid {
        gap: 20px;
    }

    .service-card,
    .legal-card {
        padding: 25px 20px;
    }

    .article-header,
    .article-content,
    .rgpd-article {
        padding: 25px 20px;
    }

    .contact-title {
        font-size: 1.6rem;
    }
}