/* === RESET ET BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    color: #1a2332;
    background-color: #f5f7fa;
    line-height: 1.6;
}

body {
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === HEADER === */
.bp-header {
    background-color: rgba(49, 74, 73, 0.95);
    backdrop-filter: blur(10px);
    padding: 0 2rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.bp-header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.bp-logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.8px;
    background: linear-gradient(135deg, #ffffff 0%, #e8f1f5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bp-nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.bp-nav-list {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.bp-nav-list a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.bp-nav-list a:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
}

.bp-btn-connexion {
    background: linear-gradient(135deg, #3f5a57 0%, #314a49 100%);
    color: #ffffff;
    padding: 0.65rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(49, 74, 73, 0.25);
}

.bp-btn-connexion:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(49, 74, 73, 0.4);
}

/* === MAIN === */
.bp-main {
    flex: 1;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

/* === HERO SECTION === */
.bp-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #314a49 0%, #3f5a57 50%, #3f5a57 100%);
    position: relative;
    overflow: hidden;
}

.bp-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(10, 20, 20, 0.35) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(10, 20, 20, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.bp-hero-left {
    position: relative;
    z-index: 1;
}

.bp-hero-left h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1.75rem;
    letter-spacing: -1px;
}

.bp-hero-left p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    line-height: 1.75;
    max-width: 550px;
}

.bp-hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.bp-btn {
    display: inline-block;
    padding: 1rem 2.25rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.bp-btn-primary {
    background: linear-gradient(135deg, #3f5a57 0%, #314a49 100%);
    color: #ffffff;
}

.bp-btn-primary:hover {
    background: linear-gradient(135deg, #4a6865 0%, #3d5554 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(49, 74, 73, 0.35);
}

.bp-btn-secondary {
    background-color: #ffffff;
    color: #0f2d41;
    border: 2px solid #ffffff;
}

.bp-btn-secondary:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(255, 255, 255, 0.25);
}

/* === HERO PREVIEW CARD === */
.bp-hero-right {
    position: relative;
    z-index: 1;
}

.bp-board-preview {
    background: #3f5a57;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    border: none;
    backdrop-filter: none;
    overflow: hidden;
}

.bp-board-preview h3 {
    display: none;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.bp-board-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
    display: block;
}

/* === FEATURES SECTION === */
.bp-features {
    padding: 4rem 2rem;
    background-color: #f2eee9;
}

.bp-features-title {
    text-align: center;
    font-size: 2.35rem;
    font-weight: 600;
    color: #314a49;
    margin-bottom: 3.75rem;
    line-height: 1.35;
    letter-spacing: -0.2px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.bp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bp-feature-card {
    background: #fdfcfa;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(49, 74, 73, 0.08);
    position: relative;
    overflow: hidden;
}

.bp-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3f5a57 0%, #314a49 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.bp-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: rgba(49, 74, 73, 0.15);
}

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

.bp-feature-image {
    width: 100%;
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: #e8e4df;
}

.bp-feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #314a49;
    margin-bottom: 0.75rem;
    letter-spacing: -0.2px;
}

.bp-feature-card p {
    color: #4a5568;
    font-size: 0.92rem;
    line-height: 1.6;
    font-weight: 500;
}

/* === FORM SECTION === */
.bp-form-section {
    min-height: calc(100vh - 70px);
    padding: 4rem 2rem;
    background: #f2eee9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bp-form-container {
    background: #fdfcfa;
    border-radius: 16px;
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(49, 74, 73, 0.08);
}

.bp-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #314a49;
    margin-bottom: 0.75rem;
    text-align: center;
    letter-spacing: -0.5px;
}

.bp-form-subtitle {
    font-size: 1rem;
    color: #4a5568;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.bp-form-message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bp-form-success {
    background: linear-gradient(135deg, #3f5a57 0%, #314a49 100%);
    color: #ffffff;
}

.bp-form-error {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
}

.bp-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bp-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bp-form-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #314a49;
    letter-spacing: 0.2px;
}

.bp-form-input {
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(49, 74, 73, 0.15);
    border-radius: 8px;
    font-size: 1rem;
    color: #1a2332;
    background-color: #ffffff;
    transition: all 0.3s ease;
    font-family: inherit;
}

.bp-form-input:focus {
    outline: none;
    border-color: #3f5a57;
    box-shadow: 0 0 0 3px rgba(49, 74, 73, 0.1);
}

.bp-form-input::placeholder {
    color: #9ca3af;
}

.bp-btn-full {
    width: 100%;
    margin-top: 0.5rem;
}

.bp-form-info {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
    line-height: 1.6;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(49, 74, 73, 0.1);
}

/* === FOOTER === */
.bp-footer {
    background: linear-gradient(135deg, #314a49 0%, #3f5a57 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 2.5rem 2rem;
    text-align: center;
    margin-top: auto;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08);
}

.bp-footer p {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .bp-hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 2rem;
    }

    .bp-hero-left h1 {
        font-size: 2.5rem;
    }

    .bp-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .bp-header-container {
        height: auto;
        padding: 1rem 0;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .bp-logo {
        font-size: 1.5rem;
    }

    .bp-nav {
        gap: 1rem;
        width: 100%;
    }

    .bp-nav-list {
        gap: 1rem;
        flex: 1;
    }

    .bp-nav-list a {
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
    }

    .bp-btn-connexion {
        padding: 0.5rem 1.25rem;
    }

    .bp-hero {
        padding: 2rem 1.5rem;
    }

    .bp-hero-left h1 {
        font-size: 2rem;
    }

    .bp-hero-left p {
        font-size: 1rem;
    }

    .bp-hero-actions {
        flex-direction: column;
    }

    .bp-btn {
        width: 100%;
        text-align: center;
    }

    .bp-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .bp-features-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .bp-feature-card {
        padding: 2rem;
    }

    .bp-feature-image {
        height: 200px;
        margin-bottom: 1.25rem;
    }

    .bp-form-container {
        padding: 2rem 1.5rem;
    }

    .bp-form-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .bp-header-container {
        flex-direction: column;
    }

    .bp-nav {
        flex-direction: column;
    }

    .bp-nav-list {
        flex-direction: column;
        gap: 0.5rem;
    }

    .bp-nav-list a {
        text-align: center;
        width: 100%;
    }

    .bp-btn-connexion {
        width: 100%;
        text-align: center;
    }

    .bp-hero {
        padding: 1.5rem 1rem;
    }

    .bp-hero-left h1 {
        font-size: 1.5rem;
    }

    .bp-hero-left p {
        font-size: 0.95rem;
    }

    .bp-btn {
        padding: 0.875rem 1.75rem;
    }

    .bp-features {
        padding: 2rem 1rem;
    }

    .bp-features-title {
        font-size: 1.35rem;
    }

    .bp-feature-card {
        padding: 1.5rem;
    }

    .bp-form-section {
        padding: 2rem 1rem;
    }

    .bp-form-container {
        padding: 2rem 1.25rem;
    }

    .bp-form-title {
        font-size: 1.35rem;
    }

    .bp-form-subtitle {
        font-size: 0.9rem;
    }
}
