/* ============================================================
   Audit Panel - Stylesheet
   Style: Pro/Big4
   Palette: Bleu marine, gris, blanc
   ============================================================ */

/* ============ RESET ============ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1A1F36;
    background: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

:root {
    --navy: #0B1F3A;
    --navy-dark: #060F1F;
    --navy-soft: #1E3A5F;
    --blue-accent: #2563EB;
    --gray-900: #1A1F36;
    --gray-700: #4B5563;
    --gray-500: #6B7280;
    --gray-300: #D1D5DB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;
    --border: #E5E7EB;

    --container-max: 1140px;
    --container-padding: 24px;
    --radius: 8px;
    --radius-lg: 12px;
}

/* ============ CONTAINER ============ */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* ============ TYPOGRAPHY ============ */

h1, h2, h3, h4, h5, h6 {
    font-family: "Georgia", "Times New Roman", serif;
    font-weight: 400;
    color: var(--navy);
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.15;
    font-weight: 500;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    line-height: 1.2;
    font-weight: 500;
    margin-bottom: 16px;
}

h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--navy);
}

p {
    color: var(--gray-700);
    line-height: 1.65;
}

a {
    color: var(--blue-accent);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--navy);
}

code {
    background: var(--gray-100);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: "SF Mono", "Monaco", "Consolas", monospace;
    font-size: 0.9em;
    color: var(--navy);
}

/* ============ NAV ============ */

.nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.95);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-weight: 600;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--navy);
    color: var(--white);
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    font-family: "Georgia", serif;
}

.logo-text {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
    font-family: "Georgia", serif;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav-links a:hover {
    color: var(--navy);
}

.nav-cta {
    padding: 8px 16px;
    background: var(--navy);
    color: var(--white) !important;
    border-radius: var(--radius);
    transition: background 0.15s ease;
}

.nav-cta:hover {
    background: var(--navy-dark);
    color: var(--white) !important;
}

.nav-cta.active {
    background: var(--blue-accent);
}

/* ============ HERO ============ */

.hero {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
    border-bottom: 1px solid var(--border);
}

.hero-content {
    max-width: 800px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.hero-title {
    margin-bottom: 24px;
    color: var(--navy);
}

.hero-highlight {
    color: var(--gray-700);
    font-weight: 400;
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-700);
    margin-bottom: 36px;
    max-width: 680px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-meta {
    font-size: 14px;
    color: var(--gray-500);
}

/* ============ HERO INSTALL ============ */

.hero-install {
    padding: 80px 0 40px;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
    border-bottom: 1px solid var(--border);
}

.hero-install h1 {
    margin-bottom: 20px;
}

.hero-subtitle-install {
    font-size: 1.15rem;
    color: var(--gray-700);
    max-width: 720px;
    margin-bottom: 8px;
}

/* ============ BUTTONS ============ */

.btn-primary,
.btn-secondary,
.btn-primary-light,
.btn-download,
.btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
    cursor: pointer;
    border: none;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--navy-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(11, 31, 58, 0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-50);
    color: var(--navy);
    border-color: var(--navy);
}

.btn-primary-light {
    background: var(--white);
    color: var(--navy);
}

.btn-primary-light:hover {
    background: var(--gray-50);
    color: var(--navy);
    transform: translateY(-1px);
}

.btn-download {
    background: var(--navy);
    color: var(--white);
    width: 100%;
    padding: 14px 24px;
    margin-top: 16px;
}

.btn-download:hover {
    background: var(--blue-accent);
    color: var(--white);
}

.btn-link {
    padding: 0;
    color: var(--blue-accent);
    font-weight: 600;
    background: transparent;
}

.btn-link:hover {
    color: var(--navy);
}

/* ============ SECTION HEADER ============ */

.section-header {
    max-width: 720px;
    margin: 0 auto 64px;
    text-align: center;
}

.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.section-eyebrow.light {
    color: rgba(255, 255, 255, 0.7);
}

.section-lead {
    font-size: 1.1rem;
    color: var(--gray-700);
    margin-top: 16px;
}

/* ============ MODULES ============ */

.modules {
    padding: 100px 0;
    background: var(--white);
}

.module-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.module-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.2s ease;
}

.module-card:hover {
    border-color: var(--navy);
    box-shadow: 0 12px 32px rgba(11, 31, 58, 0.08);
    transform: translateY(-2px);
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.module-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.module-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #DCFCE7;
    color: #15803D;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.module-screenshot {
    aspect-ratio: 16 / 10;
    background: var(--gray-100);
    border-radius: var(--radius);
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.module-tagline {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 24px;
    font-weight: 500;
    font-style: italic;
    font-family: "Georgia", serif;
}

.module-features {
    list-style: none;
}

.module-features li {
    padding: 14px 0;
    border-top: 1px solid var(--border);
}

.module-features li:last-child {
    padding-bottom: 0;
}

.module-features strong {
    display: block;
    color: var(--navy);
    font-size: 15px;
    margin-bottom: 4px;
    font-weight: 600;
}

.module-features span {
    display: block;
    color: var(--gray-700);
    font-size: 14px;
    line-height: 1.5;
}

/* ============ WHY ============ */

.why {
    padding: 100px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}

.why-item {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--navy);
    color: var(--white);
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.why-item h3 {
    margin-bottom: 8px;
}

.why-item p {
    font-size: 15px;
    color: var(--gray-700);
}

/* ============ PILOTE ============ */

.pilote {
    padding: 100px 0;
    background: var(--navy);
    color: var(--white);
}

.pilote-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.pilote h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.pilote-lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    margin-bottom: 36px;
}

.pilote-perks {
    list-style: none;
    text-align: left;
    max-width: 480px;
    margin: 0 auto 40px;
}

.pilote-perks li {
    padding: 12px 0 12px 32px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    position: relative;
}

.pilote-perks li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--white);
    font-weight: 700;
}

/* ============ DOWNLOADS ============ */

.downloads {
    padding: 80px 0 40px;
    background: var(--white);
}

.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.download-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.2s ease;
}

.download-card:hover {
    border-color: var(--navy);
    box-shadow: 0 8px 24px rgba(11, 31, 58, 0.08);
}

.download-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--gray-100);
    color: var(--navy);
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.download-card h3 {
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.download-card p {
    color: var(--gray-700);
    font-size: 15px;
    margin-bottom: 16px;
}

.download-meta {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 10px;
    text-align: center;
}

/* ============ INSTALL STEPS ============ */

.install-steps {
    padding: 80px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps-list {
    list-style: none;
    max-width: 720px;
    margin: 0 auto;
    counter-reset: step;
}

.steps-list li {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.steps-list li:last-child {
    border-bottom: none;
}

.step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    font-family: "Georgia", serif;
}

.step-content h3 {
    margin-bottom: 6px;
    color: var(--navy);
}

.step-content p {
    color: var(--gray-700);
    font-size: 15px;
}

.install-demo {
    max-width: 720px;
    margin: 60px auto 0;
}

/* ============ TEST FILES ============ */

.test-files {
    padding: 80px 0;
    background: var(--white);
}

.test-pack {
    display: flex;
    gap: 32px;
    max-width: 720px;
    margin: 0 auto;
    padding: 32px;
    background: var(--gray-50);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    align-items: flex-start;
}

.test-pack-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.test-pack-content h3 {
    margin-bottom: 12px;
}

.test-pack-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.test-pack-content ul li {
    padding: 6px 0 6px 24px;
    color: var(--gray-700);
    font-size: 15px;
    position: relative;
}

.test-pack-content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--navy);
    font-weight: 700;
}

/* ============ HELP ============ */

.help {
    padding: 80px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--border);
}

.help-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.help-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.help-card h3 {
    margin-bottom: 12px;
}

.help-card p {
    color: var(--gray-700);
    font-size: 15px;
    margin-bottom: 16px;
}

/* ============ PLACEHOLDER ============ */

.placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f3f4f6 25%, transparent 25%, transparent 50%, #f3f4f6 50%, #f3f4f6 75%, transparent 75%);
    background-size: 12px 12px;
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    padding: 20px;
}

.placeholder-wide {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #f3f4f6 25%, transparent 25%, transparent 50%, #f3f4f6 50%, #f3f4f6 75%, transparent 75%);
    background-size: 12px 12px;
    background-color: #fafafa;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.placeholder-sub {
    font-size: 12px;
    color: var(--gray-300);
    margin-top: 4px;
    font-weight: 400;
}

/* ============ FOOTER ============ */

.footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 48px 0 32px;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 600;
}

.footer-brand .logo-mark {
    background: var(--white);
    color: var(--navy);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-meta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

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

@media (max-width: 768px) {

    .nav-links {
        gap: 16px;
    }

    .nav-links a:not(.nav-cta) {
        display: none;
    }

    .hero {
        padding: 60px 0 50px;
    }

    .module-grid,
    .why-grid,
    .download-grid,
    .help-grid {
        grid-template-columns: 1fr;
    }

    .test-pack {
        flex-direction: column;
    }

    .modules,
    .why,
    .pilote {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   STYLES ADDITIONNELS POUR LA NOUVELLE PAGE INSTALL
   À AJOUTER À LA FIN DU FICHIER styles.css EXISTANT
   ============================================================ */

/* ============ INSTALL METHODS ============ */

.install-methods {
    padding: 80px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
}

.method-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.method-card:hover {
    box-shadow: 0 12px 32px rgba(11, 31, 58, 0.08);
    transform: translateY(-2px);
}

.method-card.recommended {
    border: 2px solid var(--navy);
    box-shadow: 0 8px 24px rgba(11, 31, 58, 0.06);
}

.method-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    padding: 6px 14px;
    background: var(--navy);
    color: var(--white);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.method-badge.alt {
    background: var(--gray-700);
}

.method-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.method-icon {
    font-size: 36px;
    line-height: 1;
}

.method-header h3 {
    margin-bottom: 4px;
    font-size: 1.4rem;
}

.method-tagline {
    font-size: 13px;
    color: var(--blue-accent);
    font-weight: 600;
    margin: 0;
}

.method-description {
    color: var(--gray-700);
    font-size: 15px;
    margin-bottom: 20px;
}

.method-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    counter-reset: step;
}

.method-steps li {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
}

.method-steps li:first-child {
    border-top: none;
}

.method-step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    font-family: "Georgia", serif;
}

.method-steps li > div strong {
    display: block;
    font-size: 14px;
    color: var(--navy);
    margin-bottom: 4px;
    font-weight: 600;
}

.method-steps li > div p {
    color: var(--gray-700);
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

.method-steps a {
    color: var(--blue-accent);
    text-decoration: underline;
}

.method-pros {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-top: auto;
}

.method-pros strong {
    display: block;
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.method-pros ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.method-pros ul li {
    padding: 4px 0 4px 18px;
    color: var(--gray-700);
    font-size: 13px;
    position: relative;
    line-height: 1.5;
}

.method-pros ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--blue-accent);
    font-weight: 700;
}

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

