/* Base styles - Minimalist, Clean, No animations */
:root {
    --bg-color: #ffffff;
    --text-color: #111827;
    --text-muted: #6b7280;
    --primary-color: #111827;
    --border-color: #e5e7eb;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--text-muted);
}

/* Hero Section */
.hero {
    padding: 180px 0 140px;
    text-align: center;
    background-color: #111827;
    background-image: linear-gradient(rgba(17, 24, 39, 0.7), rgba(17, 24, 39, 0.85)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.badge {
    display: inline-block;
    background-color: #e0e7ff;
    color: #4f46e5;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: #ffffff;
}

.hero p {
    font-size: 1.25rem;
    color: #d1d5db;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #374151;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Sections */
section {
    padding: 120px 0;
}

/* Image Grids */
.about-grid, .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img, .contact-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    object-fit: cover;
    height: 380px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image img:hover, .contact-image img:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 30px 50px rgba(0,0,0,0.12);
}

.about, .contact {
    background-color: #fbfbfb;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Values Section */
.values {
    background-color: var(--bg-color);
}

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

.value-card {
    padding: 32px;
    background-color: #fdfdfd;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.04);
}

.value-card i {
    font-size: 2.5rem;
    margin-bottom: 24px;
    display: inline-block;
    padding: 16px;
    border-radius: 16px;
}

.value-card:nth-child(1) i {
    color: #3b82f6;
    background-color: #eff6ff;
}

.value-card:nth-child(2) i {
    color: #f59e0b;
    background-color: #fffbeb;
}

.value-card:nth-child(3) i {
    color: #10b981;
    background-color: #ecfdf5;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

.apps {
    background-color: #fbfbfb;
    border-top: 1px solid var(--border-color);
}

/* Icons */
i.ph, i.ph-fill {
    vertical-align: middle;
    margin-right: 6px;
    font-size: 1.15em;
    position: relative;
    top: -1px;
}

section h2 {
    font-size: 2.25rem;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.about p, .contact p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
}

.contact .btn {
    margin-top: 30px;
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.app-card {
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.app-logo {
    width: 80px;
    height: 80px;
    border-radius: 22%; /* Style icône iOS */
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.app-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.app-card p {
    color: var(--text-muted);
}

/* App Specific Colors */
.card-mora {
    background-color: rgba(13, 115, 255, 0.04);
    border-color: rgba(13, 115, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-mora:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(13, 115, 255, 0.12);
}

.btn-mora {
    color: rgb(13, 115, 255);
    border-color: rgb(13, 115, 255);
}

.btn-mora:hover {
    background-color: rgb(13, 115, 255);
    border-color: rgb(13, 115, 255);
    color: #ffffff;
}

.card-flipup {
    background-color: rgba(255, 107, 90, 0.04);
    border-color: rgba(255, 107, 90, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-flipup:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255, 107, 90, 0.15);
}

.btn-flipup {
    color: #FF6B5A;
    border-color: #FF6B5A;
}

.btn-flipup:hover {
    background-color: #FF6B5A;
    border-color: #FF6B5A;
    color: #ffffff;
}

/* Enhanced Footer */
footer {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 60px 0 30px;
    background-color: #fcfcfc;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-info h3 {
    color: var(--text-color);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.5rem;
    }
    
    header .container {
        flex-direction: column;
        gap: 20px;
    }

    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .about-image img, .contact-image img {
        height: 280px;
    }

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

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