/* =========================
   legal.css
   Partagé par cgu.html, mentionslegales.html,
   politiqueconfidentialite.html
   Reset, header, footer viennent de style1.css.
========================= */

/* =========================
   PAGE HERO
========================= */
.page-hero {
    background: linear-gradient(135deg, #555555 0%, #555555 100%);
    padding: 70px 28px 60px;
    border-bottom: 3px solid var(--red);
}
.page-hero-inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.breadcrumb {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    transition: color 0.2s ease;
}
.breadcrumb:hover { color: rgba(255,255,255,0.8); }
.page-hero .section-label { margin-bottom: 10px; }
.page-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(24px, 3.5vw, 42px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}
.page-hero p {
    font-family: var(--font-head);
    font-size: 14px;
    color: rgba(255,255,255,0.45);
}

/* =========================
   CONTENU PRINCIPAL
========================= */
main.legal-main {
    max-width: 860px;
    margin: 0 auto;
    padding: 70px 28px 90px;
    flex: 1;
}

.legal-section {
    padding: 36px 0;
    border-bottom: 1px solid #eee;
}
.legal-section:first-child { padding-top: 0; }
.legal-section:last-child  { border-bottom: none; padding-bottom: 0; }

.legal-section h2 {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 14px;
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    gap: 12px;
}
/* numéro / label rouge devant chaque titre */
.legal-section h2 .legal-num {
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--red);
    flex-shrink: 0;
}

.legal-section p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.9;
    color: var(--gray-700);
    margin-bottom: 10px;
}
.legal-section p:last-child { margin-bottom: 0; }

.legal-section strong {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--black);
}

.legal-section a {
    color: var(--red);
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.legal-section a:hover { opacity: 0.7; text-decoration: underline; }

/* bloc info sur fond gris avec bordure rouge */
.legal-block {
    background: var(--gray-100);
    border-left: 3px solid var(--red);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 16px 20px;
    margin-bottom: 16px;
}
.legal-block:last-child { margin-bottom: 0; }
.legal-block p { margin: 0; font-size: 14px; line-height: 1.75; }
.legal-block .legal-block-label {
    display: block;
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 5px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .page-hero      { padding: 50px 20px 40px; }
    main.legal-main { padding: 44px 20px 60px; }
}
