/* JOURT ProTOOLS - App Page Styles */
/* Version 3.0 - Style coherent avec jourt.com */

:root {
    --primary: #34ABA2;
    --primary-dark: #215f58;
    --primary-light: #5fc9c0;
    --accent: #854500;
    --accent-light: #b86000;
    --success: #4CAF50;
    --bg-main: #34ABA2;
    --bg-white: #ffffff;
    --bg-card: #fff linear-gradient(180deg, rgba(195, 195, 195, 0.4) 0%, rgba(255, 255, 255, 1) 100px);
    --bg-header: rgba(240, 240, 240, 0.97);
    --text-dark: #1a1a1a;
    --text-body: #333333;
    --text-muted: #454545;
    --shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
    --radius-sm: 8px;
    --radius-md: 0.5vw;
    --radius-lg: 0.5vw;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    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;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: serif;
    background: var(--bg-main);
    color: var(--text-body);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== HEADER - Style jourt.com ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    max-height: 90px;
    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;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

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

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

.header-title {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-dark);
    margin-left: 3px;
}

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

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

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

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

.header-contact {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95em;
    padding: 8px 16px;
    border: 2px solid var(--accent);
    border-radius: 25px;
    transition: var(--transition);
}

.header-contact:hover {
    background: var(--accent);
    color: white;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 110px 20px 40px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    background: none;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    margin-right: 10px;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-muted);
}

/* ===== HERO SECTION ===== */
.hero {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 50px 40px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent));
}

.hero-banner {
    width: 100%;
    max-width: 750px;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 3em;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.hero .tagline {
    font-size: 1.4em;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-weight: 400;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.95em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.free {
    background: linear-gradient(135deg, var(--success), #66bb6a);
    color: white;
}

.badge.pro {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
}

.badge.lang {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

/* ===== CTA BUTTONS ===== */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-playstore {
    background: #000000;
    color: white;
    padding: 12px 28px;
}

.btn-playstore:hover {
    background: #222222;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-playstore img {
    height: 40px;
}

.btn-secondary {
    background: #666666;
    color: white;
}

.btn-secondary:hover {
    background: #444444;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 1.2em;
    padding: 16px 40px;
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.mascot {
    width: 100px;
    height: auto;
    margin-top: 20px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

/* ===== SECTIONS ===== */
.section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 50px 40px;
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid #e8e8e8;
    border-radius: var(--radius-md);
    padding: 30px 25px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(52,171,162,0.15), rgba(52,171,162,0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.feature-card h3 {
    font-size: 1.15em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95em;
    color: var(--text-muted);
    line-height: 1.6;
}

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

.pricing-card {
    background: var(--bg-white);
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.pricing-label {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card h3 {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 3em;
    font-weight: 800;
    color: var(--accent);
    margin: 20px 0;
    line-height: 1;
}

.pricing-price .period {
    font-size: 0.35em;
    font-weight: 500;
    color: var(--text-muted);
    display: block;
    margin-top: 5px;
}

.pricing-features {
    list-style: none;
    margin: 25px 0;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95em;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--success);
    border-radius: 50%;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===== AUDIENCES DETAILED ===== */
.audiences-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.audience-card {
    background: linear-gradient(135deg, rgba(52,171,162,0.08), rgba(52,171,162,0.03));
    border: 1px solid rgba(52,171,162,0.2);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.audience-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.audience-card[open] {
    background: var(--bg-white);
    border-color: var(--primary);
}

.audience-header {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
}

.audience-header::-webkit-details-marker {
    display: none;
}

.audience-name {
    font-weight: 700;
    font-size: 1em;
    color: var(--text-dark);
}

.audience-toggle {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
}

.audience-card[open] .audience-toggle {
    transform: rotate(45deg);
}

.audience-desc {
    padding: 0 20px 20px;
    margin: 0;
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-muted);
    border-top: 1px solid rgba(52,171,162,0.15);
    padding-top: 15px;
    margin-top: -5px;
}

/* Catégories de métiers avec séparateurs */
.audience-category {
    grid-column: 1 / -1;
    margin: 20px 0 10px;
}

.audience-category:first-child {
    margin-top: 0;
}

.audience-separator {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin-bottom: 15px;
}

.audience-category-title {
    font-size: 0.95em;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(52,171,162,0.15), rgba(52,171,162,0.05));
    border-radius: var(--radius-sm);
    display: inline-block;
    margin: 0 auto;
    width: 100%;
}

/* ===== PRIVACY SECTION ===== */
.privacy-intro {
    text-align: center;
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-body);
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.privacy-card {
    background: linear-gradient(135deg, rgba(52,171,162,0.08), rgba(52,171,162,0.03));
    border: 1px solid rgba(52,171,162,0.2);
    padding: 25px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.privacy-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.privacy-title {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-title::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 0.8em;
    flex-shrink: 0;
}

.privacy-desc {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* ===== APP INFO ===== */
.app-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.app-info-item {
    text-align: center;
    padding: 25px 15px;
    background: rgba(52,171,162,0.05);
    border-radius: var(--radius-md);
}

.app-info-item .value {
    font-size: 1.8em;
    font-weight: 800;
    color: var(--primary-dark);
    display: block;
    margin-bottom: 5px;
}

.app-info-item .label {
    font-size: 0.9em;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== FOOTER - Style jourt.com (carte centree fond_blanc) ===== */
.footer {
    background: #fff 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: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    text-align: center;
    padding: 25px 30px;
    margin: 30px auto 40px;
    max-width: 1000px;
    width: calc(100% - 40px);
}

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

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

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

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

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

.social-btn {
    color: #000000;
    text-decoration: none;
    font-size: 24px;
    text-shadow: #fff 0px 0px 1px;
    transition: var(--transition);
}

.social-btn:hover {
    color: var(--accent);
}

.footer-copyright,
.copyright {
    color: var(--text-muted);
    font-size: 0.9em;
    line-height: 1.6;
}

.footer-copyright strong,
.copyright strong {
    color: var(--text-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header {
        padding: 0 15px;
        height: 70px;
    }

    .header-logo {
        height: 44px;
    }

    .header-title {
        display: none;
    }

    .header-contact {
        padding: 6px 12px;
        font-size: 0.85em;
    }

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

    .container {
        padding: 90px 15px 30px;
    }

    .footer {
        padding: 20px 15px;
        margin-top: 20px;
    }

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

    .footer-social {
        gap: 10px;
    }

    .hero {
        padding: 35px 25px;
    }

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

    .hero .tagline {
        font-size: 1.1em;
    }

    .section {
        padding: 35px 25px;
    }

    .section-title {
        font-size: 1.5em;
    }

    .pricing-card.featured {
        transform: none;
    }

    .footer-links {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8em;
    }

    .badges {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

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

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

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

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero, .section {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== PRINT ===== */
@media print {
    .header, .language-selector, .cta-buttons, .footer-social {
        display: none !important;
    }

    body {
        background: white;
    }

    .container {
        padding: 20px;
    }

    .section {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}
