/* --- VARIABLES --- */
:root {
    --primary: #10B981;
    --primary-hover: #059669;
    --black: #000000;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-100: #f3f4f6;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: #ffffff;
    color: var(--black);
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* --- HERO SECTION --- */
.hero-section {
    padding-top: 8rem; /* pt-32 */
    padding-bottom: 4rem; /* pb-16 */
    background: linear-gradient(135deg, var(--black), var(--gray-900), var(--black));
    color: #ffffff;
}

.hero-section .container {
    max-width: 48rem; /* max-w-3xl */
}

.text-center {
    text-align: center;
}

.legal-badge {
    inline-size: max-content;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.badge-icon {
    width: 1rem;
    height: 1rem;
}

.hero-title {
    font-size: 3.5rem; /* text-5xl à text-6xl */
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.text-primary {
    color: var(--primary);
}

.hero-desc {
    color: var(--gray-400);
    font-size: 1.125rem;
    line-height: 1.6;
}

.hero-meta {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* --- MAIN CONTENT & SUMMARY --- */
.main-content {
    background-color: #ffffff;
}

.container-content {
    max-width: 56rem; /* max-w-4xl */
    padding-top: 5rem; /* py-20 */
    padding-bottom: 5rem;
}

.summary-banner {
    background-color: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 3.5rem; /* mb-14 */
    display: flex;
    gap: 1rem;
}

.summary-icon-box {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background-color: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.summary-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.summary-title {
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.summary-text {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* --- SECTIONS LAYOUT --- */
.sections-stack {
    display: flex;
    flex-direction: column;
    gap: 3rem; /* space-y-12 */
}

.section-block {
    scroll-margin-top: 6rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.section-icon-box {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background-color: var(--black);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-svg {
    width: 1.25rem;
    height: 1.25rem;
}

.section-title {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700;
    color: var(--black);
}

.section-body {
    padding-left: 52px; /* Correspond au pl-[52px] */
    display: flex;
    flex-direction: column;
    gap: 1.25rem; /* space-y-5 */
}

.subsection-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.block-text {
    color: var(--gray-600);
    line-height: 1.625;
}

.divider {
    margin-top: 3rem;
    border-bottom: 1px solid var(--gray-100);
}

.mt-12 {
    margin-top: 3rem;
}

/* --- CTA BANNER --- */
.cta-banner {
    margin-top: 4rem;
    background: linear-gradient(to right, var(--black), var(--gray-900));
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .cta-banner {
        flex-direction: row;
    }
}

.cta-left {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.cta-icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.cta-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.cta-desc {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        width: auto;
    }
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s;
}

.btn-primary-bg {
    background-color: var(--primary);
    color: var(--black);
}

.btn-primary-bg:hover {
    background-color: var(--primary-hover);
}

.btn-secondary-bg {
    background-color: var(--gray-800);
    color: #ffffff;
}

.btn-secondary-bg:hover {
    background-color: var(--gray-700);
}

/* --- RELATED LINKS FOOTER --- */
.related-links {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.related-links a {
    color: var(--primary);
    text-decoration: none;
}

.related-links a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .section-body {
        padding-left: 0; /* Enlève le décalage sur mobile pour gagner de la place */
    }
}