/* ==========================================================================
   Page Investisseurs - Styles specifiques
   Importe apres style.css pour heriter de la base (reset, fonts, couleurs)
   ========================================================================== */

/* --- Override du * global de style.css (qui force font-size: 28px) --- */
html {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

* {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}

body {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    display: block;
    align-items: initial;
    justify-content: initial;
}

/* --- Language switcher --- */
[data-lang-en] { display: none; }
[data-lang-fr] { display: initial; }
html[lang="en"] [data-lang-fr] { display: none; }
html[lang="en"] [data-lang-en] { display: initial; }

/* Elements block par defaut */
p[data-lang-en],
h1[data-lang-en],
h2[data-lang-en],
h3[data-lang-en],
div[data-lang-en],
li[data-lang-en] { display: none; }
p[data-lang-fr],
h1[data-lang-fr],
h2[data-lang-fr],
h3[data-lang-fr],
div[data-lang-fr],
li[data-lang-fr] { display: block; }
html[lang="en"] p[data-lang-fr],
html[lang="en"] h1[data-lang-fr],
html[lang="en"] h2[data-lang-fr],
html[lang="en"] h3[data-lang-fr],
html[lang="en"] div[data-lang-fr],
html[lang="en"] li[data-lang-fr] { display: none; }
html[lang="en"] p[data-lang-en],
html[lang="en"] h1[data-lang-en],
html[lang="en"] h2[data-lang-en],
html[lang="en"] h3[data-lang-en],
html[lang="en"] div[data-lang-en],
html[lang="en"] li[data-lang-en] { display: block; }

/* --- Header / Nav --- */
.invest-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 40px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.invest-header .logo {
    max-width: 150px;
    height: auto;
    margin: 0;
}

.invest-header .lang-switcher {
    position: absolute;
    right: 30px;
    top: 30px;
}

.lang-switcher {
    display: flex;
    gap: 0;
}

.lang-switcher button {
    background: #fff;
    border: none;
    color: #000;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
    letter-spacing: 0.05em;
    overflow: visible;
    position: static;
}

.lang-switcher button:hover {
    background: #FF0000;
}

.lang-switcher button.active {
    background: #FF0000;
    cursor: default;
}

/* --- Hero --- */
.invest-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1600 / 850;
    overflow: hidden;
}

.invest-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* --- Sections communes --- */
.invest-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 40px;
}

.invest-section--wide {
    max-width: 100%;
}

/* --- Intro --- */
.invest-intro {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.invest-intro .subtitle {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 8px;
}

.invest-intro .tech-name {
    font-size: 48px;
    font-weight: 400;
    color: #FF0000;
    letter-spacing: 0.05em;
    margin-bottom: 0;
}

/* --- Titre de section commun (H2 + filet) --- */
.section-heading {
    font-size: 28px;
    font-weight: 400;
    color: #B1B1B1;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 10px;
}

.section-heading::before {
    content: '';
    display: block;
    width: 600px;
    max-width: 100%;
    height: 2px;
    background: #707070;
    margin: 0 auto 15px;
}

.section-subheading {
    font-size: 28px;
    font-weight: 400;
    color: #B1B1B1;
    text-align: center;
    margin-bottom: 15px;
    padding-top: 10px;
}

/* --- Executive Summary --- */
.invest-summary {
    text-align: center;
    padding-top: 0;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.kpi-item {
    text-align: center;
}

.kpi-label {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #B1B1B1;
    margin-bottom: 8px;
}

.kpi-value {
    font-size: 44px;
    font-weight: 400;
    line-height: 1.1;
}

/* --- Problemes (centree, 2 colonnes) --- */
.invest-problems {
    text-align: center;
}

.problems-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    text-align: center;
}

.problem-item h3 {
    font-size: 24px;
    font-weight: 400;
    color: #FF0000;
    margin-bottom: 16px;
}

.problem-item p {
    font-size: 20px;
    line-height: 1.7;
    color: #fff;
    max-width: 300px;
    margin: 0 auto;
}

/* --- Solution (centree, 3 colonnes) --- */
.invest-solution {
    text-align: center;
}

.invest-solution .accent {
    color: #f00;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.solution-item p {
    font-size: 24px;
    line-height: 1.7;
    color: #fff;
    max-width: 300px;
    margin: 0 auto;
}

/* --- CTA Download --- */
.invest-cta {
    text-align: center;
    padding: 15px 40px;
}

.btn-download {
    display: inline-block;
    padding: 16px 48px;
    background: #fff;
    color: #000;
    font-size: 22px;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: transform 0.2s ease, opacity 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-download:hover {
    transform: scale(1.02);
}

/* --- Equipe --- */
.invest-team {
    text-align: center;
}


.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 20px;
}

.team-member {
    text-align: center;
}

.team-member .portrait {
    width: 300px;
    height: 225px;
    object-fit: cover;
    margin-bottom: 16px;
}

.team-member .name {
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 4px;
}

.team-member .role {
    font-size: 22px;
    color: #FF0000;
    margin-bottom: 4px;
}

.team-member .expertise {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.4;
}

/* --- Entoure par --- */

.supported-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 40px;
    margin-bottom: 20px;
    text-align: center;
}

.supported-member .name {
    font-size: 30px;
    font-weight: 400;
}

.supported-member .role {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.5);
}

/* --- Advisors --- */

.advisor-member .portrait {
    width: 300px;
    height: 225px;
    object-fit: cover;
    margin-bottom: 16px;
}

.advisor-member .name {
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 2px;
}

.advisor-member .credential {
    font-size: 22px;
    color: #FF0000;
    margin-bottom: 4px;
}

.advisor-member .role {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Video (autonome, ne depend pas de style.css) --- */
.invest-video {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 40px 30px;
}

.invest-video .video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.invest-video .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Footer --- */
.invest-footer {
    text-align: center;
    padding: 10px 40px 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .invest-header {
        padding: 16px 24px;
    }

    .invest-header .logo {
        max-width: 120px;
    }

    .invest-hero {
        aspect-ratio: 16 / 9;
    }

    .invest-header .lang-switcher {
        right: 24px;
    }

    .invest-section {
        padding: 40px 24px;
    }

    .invest-intro {
        padding-top: 50px;
    }

    .invest-intro .subtitle {
        font-size: 18px;
    }

    .invest-intro .tech-name {
        font-size: 22px;
    }

    .kpi-grid {
        gap: 24px;
    }

    .kpi-value {
        font-size: 36px;
    }

    .problems-grid {
        gap: 30px;
    }

    .solution-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .team-member .portrait {
        max-width: 100%;
        height: auto;
    }

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

    .invest-video {
        padding: 24px 24px 40px;
    }
}

@media (max-width: 480px) {
    .invest-header {
        padding: 12px 16px;
    }

    .invest-header .logo {
        max-width: 100px;
    }

    .lang-switcher button {
        padding: 4px 10px;
        font-size: 12px;
    }

    .invest-hero {
        aspect-ratio: 16 / 9;
    }

    .invest-header .lang-switcher {
        right: 16px;
    }

    .invest-section {
        padding: 30px 16px;
    }

    .invest-intro .subtitle {
        font-size: 16px;
    }

    .invest-intro .tech-name {
        font-size: 20px;
    }

    .kpi-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .kpi-value {
        font-size: 40px;
    }

    .problems-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .solution-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section-heading,
    .section-subheading {
        font-size: 22px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .team-member .portrait {
        max-width: 100%;
        height: auto;
    }

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

    .btn-download {
        padding: 14px 32px;
        font-size: 14px;
    }

    .invest-video {
        padding: 16px 16px 30px;
    }
}
