/* Mentions légales — matches site aesthetic */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fff;
    color: #333;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: #FF3333; text-decoration: none; }
a:hover { color: #e62e2e; }

/* ---------- Page title ---------- */
.legal-hero {
    padding: 7rem 2rem 2rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.legal-hero-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #FF3333;
    margin-bottom: 0.6rem;
}

.legal-hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.15;
}

.legal-breadcrumb {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #999;
}

.legal-breadcrumb a { color: #666; }
.legal-breadcrumb a:hover { color: #FF3333; }

/* ---------- Content ---------- */
.legal-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 4rem 2rem 5rem;
}

.legal-content p { margin-bottom: 1.1rem; color: #555; font-size: 0.97rem; }

/* Version / effective-date badge (top of a legal document page) */
.legal-version-badge {
    display: inline-block;
    margin-bottom: 2rem;
    padding: 0.4rem 0.9rem;
    background: #fff5f5;
    border: 1px solid #ffd6d6;
    border-radius: 6px;
    color: #b32424;
    font-size: 0.85rem;
    font-weight: 600;
}

.legal-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 2.5rem 0 0.9rem;
    padding-left: 0.85rem;
    border-left: 4px solid #FF3333;
    line-height: 1.3;
}

.legal-content h2:first-of-type { margin-top: 0; }

/* Articles flagged IMPORTANT in the source text */
.legal-content h2.legal-h2-important {
    background: #fff5f5;
    padding: 0.75rem 0.85rem;
    border-radius: 0 6px 6px 0;
}

.legal-content strong { color: #1a1a1a; }

/* Lists & notes (used on the politique-confidentialité page) */
.legal-content ul { margin: 0 0 1.1rem 1.5rem; color: #555; font-size: 0.97rem; }
.legal-content li { margin-bottom: 0.55rem; padding-left: 0.2rem; }
.legal-content li::marker { color: #FF3333; }
.legal-content li strong { color: #1a1a1a; }
.legal-content em { color: #888; font-size: 0.9rem; font-style: italic; }

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    padding: 0.85rem 1.8rem;
    background: #FF3333;
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.legal-back:hover {
    background: #e62e2e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 51, 51, 0.35);
}

@media (max-width: 768px) {
    .legal-hero { padding: 5.5rem 1.2rem 1.5rem; }
    .legal-hero h1 { font-size: 1.8rem; }
    .legal-content { padding: 2.5rem 1.3rem 4rem; }
    .legal-content h2 { font-size: 1.2rem; }
}

/* ============================================
   Footer
   ============================================ */
.alarm-footer {
    background: white;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid #e0e0e0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 4rem;
}

.footer-company { display: flex; flex-direction: column; gap: 1.5rem; }
.footer-logo { height: 50px; width: auto; object-fit: contain; align-self: flex-start; }
.footer-description { font-size: 0.95rem; color: #666; line-height: 1.6; }
.footer-google-review { display: flex; align-items: center; gap: 0.4rem; margin-top: 1rem; }
.footer-review-rating { font-weight: 700; font-size: 0.95rem; color: #333; }
.footer-review-stars { display: flex; gap: 1px; }
.footer-review-count { font-size: 0.8rem; color: #666; margin: 0; }
.footer-contact { display: flex; flex-direction: column; gap: 1rem; }

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-contact-item:hover { color: #FF3333; }
.footer-icon { width: 20px; height: 20px; color: #FF3333; flex-shrink: 0; }
.footer-hours { display: flex; flex-direction: column; }

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 1.5rem 0;
    font-family: 'Roboto', sans-serif;
}

.hours-list { display: flex; flex-direction: column; gap: 1rem; }
.hours-item { display: flex; flex-direction: column; gap: 0.25rem; }
.hours-day { font-size: 0.9rem; font-weight: 600; color: #333; }
.hours-time { font-size: 0.9rem; color: #666; }
.footer-nav { display: flex; flex-direction: column; gap: 0.75rem; }

.alarm-footer .footer-nav .footer-nav-link {
    color: #333 !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: fit-content;
}

.alarm-footer .footer-nav .footer-nav-link:hover {
    color: #FF3333 !important;
    padding-left: 0.5rem;
}

/* Two-column footer navigation */
.footer-nav-groups {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

/* Footer CTA button (under phone/email) */
.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.8rem 1.6rem;
    background: #FF3333;
    color: #fff !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    width: fit-content;
    box-shadow: 0 4px 14px rgba(255, 51, 51, 0.25);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-cta:hover {
    background: #e62e2e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 51, 51, 0.35);
}

.footer-cta svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.footer-map { display: flex; flex-direction: column; gap: 1rem; }

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.footer-address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom {
    background: white;
    border-top: 1px solid #e0e0e0;
    margin-top: 3rem;
    padding-top: 2rem;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright { font-size: 0.85rem; color: #666; margin: 0; }
.footer-legal { display: flex; align-items: center; gap: 1rem; }

.footer-legal-link {
    font-size: 0.85rem;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-link:hover { color: #FF3333; }
.footer-separator { color: #d0d0d0; font-size: 0.85rem; }

@media (max-width: 768px) {
    .alarm-footer { padding: 3rem 1.5rem 1.5rem; }
    .footer-container { grid-template-columns: 1fr; gap: 3rem; }
    .footer-logo { height: 45px; }
    .footer-description { font-size: 0.9rem; }
    .footer-title { font-size: 1rem; }
    .map-container iframe { height: 250px; }
    .footer-bottom-content { flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; }
    .footer-legal { flex-direction: column; gap: 0.5rem; }
    .footer-separator { display: none; }
}

/* ============================================
   Print (legal documents are commonly printed
   / saved as PDF for a client's records)
   ============================================ */
@media print {
    .hero-navbar, .hero-menu-btn, .mobile-nav, .alarm-footer, .legal-back { display: none; }
    .legal-hero { padding: 0 0 1rem; border-bottom: 1px solid #ccc; }
    .legal-content { max-width: 100%; padding: 1rem 0 0; }
    .legal-version-badge { background: none; border: 1px solid #999; color: #000; }
    .legal-content h2.legal-h2-important { background: none; border: 1px solid #999; }
    a { color: #000; text-decoration: underline; }
}
