/**
 * JOURT ProTOOLS - Catalog Style
 * Version 3.0 - Style coherent avec le site principal jourt.com
 */

:root {
    --primary: #34ABA2;
    --primary-dark: #215f58;
    --accent: #854500;
    --white: #ffffff;
    --gray-light: #f5f8fa;
    --gray: #eaeded;
    --gray-dark: #454545;
    --text: #333333;
    --shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: auto;
    scrollbar-color: #215f58 #eaeded;
}

*::-webkit-scrollbar {
    width: 16px;
}

*::-webkit-scrollbar-track {
    background: #eaeded;
}

*::-webkit-scrollbar-thumb {
    background-color: #215f58;
    border-radius: 5px;
    border: 3px solid #eaeded;
}

body {
    font-family: serif;
    background: var(--primary);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header - Style jourt.com */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(240, 240, 240, 0.97);
    border-bottom: solid 1px rgba(0, 0, 0, 0.5);
    box-shadow: 0 6px 2px -2px rgba(100, 100, 100, 0.25);
    z-index: 200;
    height: 90px;
    max-height: 90px;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    height: 65px;
    width: auto;
}

.header-title {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-dark);
}

.lang-nav {
    display: flex;
    gap: 8px;
}

.lang-btn {
    font-size: 24px;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.lang-btn:hover,
.lang-btn.active {
    opacity: 1;
}

/* Main */
main {
    flex: 1;
    margin-top: 90px;
}

/* Hero */
.hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.mascotte {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--white);
    padding: 10px;
    box-shadow: var(--shadow);
}

.hero h1 {
    font-size: 2.5em;
    color: var(--white);
    text-shadow: var(--primary-dark) 2px 2px 4px;
    margin-bottom: 10px;
}

.hero .tagline {
    font-size: 1.4em;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: bold;
}

.hero .description {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Section title bar */
.section-title-bar {
    background: var(--white);
    padding: 15px 20px;
    text-align: center;
    border-bottom: 3px solid var(--primary);
}

.section-title-bar h2 {
    color: var(--primary-dark);
    font-size: 1.5em;
    margin: 0;
}

.section-title-bar.coming {
    background: var(--gray);
    border-bottom-color: var(--gray-dark);
}

.section-title-bar.coming h2 {
    color: var(--gray-dark);
}

/* Apps Section */
.apps-section {
    padding: 30px 20px;
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* App Cards */
.app-card {
    background: var(--white) linear-gradient(180deg, rgba(195, 195, 195, 0.4) 0%, rgba(255, 255, 255, 1) 100px);
    border: 1px solid #777777;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 25px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 16px, rgba(0, 0, 0, 0.3) 0px 6px 12px;
}

.app-card.coming-soon {
    opacity: 0.7;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.app-icon-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    background: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.app-info h3 {
    font-size: 1.4em;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
}

.badge.available {
    background: var(--primary);
    color: var(--white);
}

.badge.coming {
    background: var(--gray);
    color: var(--gray-dark);
}

.app-tagline {
    font-size: 1.1em;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 10px;
}

.app-description {
    color: var(--gray-dark);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 20px;
}

.app-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.price {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-dark);
}

.app-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-playstore {
    background: #000;
    color: var(--white);
    font-size: 0.9em;
}

.btn-playstore:hover {
    background: #333;
}

.btn-disabled {
    background: var(--gray);
    color: var(--gray-dark);
    cursor: not-allowed;
}

/* Back Section */
.back-section {
    text-align: center;
    padding: 40px 20px;
}

.back-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    padding: 12px 24px;
    border: 2px solid var(--white);
    border-radius: 8px;
    transition: all 0.2s;
    display: inline-block;
}

.back-link:hover {
    background: var(--white);
    color: var(--primary-dark);
}

/* Footer - Style jourt.com (carte centree fond_blanc) */
.footer {
    background: var(--white) linear-gradient(180deg, rgba(195, 195, 195, 0.4) 0%, rgba(255, 255, 255, 1) 100px);
    border: 1px solid #777777;
    border-radius: 0.5vw;
    box-shadow: var(--shadow);
    text-align: center;
    padding: 25px 30px;
    max-width: 1000px;
    margin: 0 20px 40px;
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 40px);
}

.footer-content {
    max-width: 100%;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    color: var(--gray-dark);
    font-size: 0.9em;
    line-height: 1.6;
}

/* Back Section */
.back-section {
    margin-bottom: 30px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .header {
        height: 70px;
    }

    .header-content {
        padding: 0 15px;
    }

    .header-title {
        display: none;
    }

    .logo {
        height: 44px;
    }

    main {
        margin-top: 70px;
    }

    .hero h1 {
        font-size: 2em;
    }

    .container {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .app-header {
        flex-direction: column;
        text-align: center;
    }

    .app-actions {
        justify-content: center;
    }

    .footer {
        padding: 20px 15px;
        margin: 0 10px 30px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .lang-btn {
        font-size: 20px;
        padding: 2px 4px;
    }

    .back-section {
        margin-bottom: 20px;
    }
}
