/* Variables */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #0f172a;
    --text: #334155;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --accent: #eff6ff;
    --gradient: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--text); line-height: 1.6; background: var(--bg); }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; right: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid #e2e8f0; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.brand { font-size: 1.5rem; font-weight: 800; color: var(--secondary); letter-spacing: -0.5px; }
.brand span { color: var(--primary); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 500; color: var(--text); font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary); }
.btn-nav { background: var(--secondary); color: white !important; padding: 10px 20px; border-radius: 50px; transition: transform 0.3s !important; }
.btn-nav:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: var(--text) !important; }
.menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero { 
    padding: 180px 0 120px; 
    text-align: center; 
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.85)), url('images/hero-lifestyle.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Effet de parallaxe premium */
    color: white;
}

.tagline { 
    display: inline-block; 
    background: rgba(37, 99, 235, 0.2); 
    backdrop-filter: blur(5px);
    color: #93c5fd; 
    border: 1px solid rgba(37, 99, 235, 0.3);
    padding: 8px 20px; 
    border-radius: 50px; 
    font-weight: 600; 
    font-size: 0.9rem; 
    margin-bottom: 24px; 
    letter-spacing: 0.5px; 
    text-transform: uppercase; 
}

.hero h1 { 
    font-size: 3.5rem; 
    font-weight: 800; 
    line-height: 1.1; 
    color: white; 
    margin-bottom: 25px; 
    letter-spacing: -1px; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero h1 span { 
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%); 
    background-clip: text;
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

.hero-text { 
    font-size: 1.35rem; 
    color: #e2e8f0; /* Texte clair sur fond sombre */
    max-width: 750px; 
    margin: 0 auto 40px; 
    font-weight: 400;
}

.hero-text strong {
    color: white;
    font-weight: 600;
}

.hero-actions { display: flex; gap: 20px; justify-content: center; align-items: center; }

.btn-primary { 
    background: var(--primary); 
    color: white; 
    padding: 18px 36px; 
    border-radius: 50px; 
    font-weight: 700; 
    font-size: 1.15rem; 
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4); /* Ombre colorée */
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s; 
    border: 2px solid transparent;
}

.btn-primary:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.5); 
    background: var(--primary-dark); 
}

.btn-link { 
    font-weight: 600; 
    color: white; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    padding: 10px 20px;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-link:hover { 
    color: #bfdbfe; 
    background: rgba(255,255,255,0.1);
}

/* Dream Section */
.dream-section { padding: 80px 0; background: white; color: var(--text); }
.dream-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.dream-text h2 { font-size: 2.5rem; margin-bottom: 20px; color: var(--secondary); line-height: 1.2; text-shadow: none; }
.dream-text p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 20px; }
.features { margin-top: 40px; display: flex; flex-direction: column; gap: 25px; }
.feature { display: flex; gap: 15px; align-items: flex-start; }
.check { background: var(--accent); color: var(--primary); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 1.2rem; flex-shrink: 0; }
.feature strong { display: block; color: var(--secondary); margin-bottom: 5px; font-size: 1.1rem; }
.feature p { font-size: 0.95rem; margin-bottom: 0; color: var(--text-light); }

.dream-visual { display: flex; align-items: center; justify-content: center; gap: 15px; position: relative; }
.card-visual { 
    background: white; 
    padding: 20px; 
    border-radius: 16px; 
    box-shadow: var(--shadow); 
    width: 130px; 
    text-align: center; 
    border: 1px solid #e2e8f0; 
    position: relative; 
    transition: transform 0.3s; 
}
.card-visual:hover { transform: translateY(-5px); }
.visual-icon { font-size: 2rem; display: block; margin-bottom: 8px; }
.card-visual strong { color: var(--secondary); font-size: 0.95rem; }
.card-1 { transform: none; }
.card-2 { z-index: 2; border: 2px solid var(--primary); transform: scale(1.05); }
.card-3 { transform: none; }
.arrow { color: var(--primary); font-size: 1.2rem; font-weight: bold; text-shadow: none; }

/* Solutions */
.solutions { padding: 100px 0; background: var(--bg-alt); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header h2 { font-size: 2.5rem; color: var(--secondary); margin-bottom: 15px; }
.section-header p { font-size: 1.2rem; color: var(--text-light); }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.solution-card { background: white; padding: 40px; border-radius: 24px; box-shadow: var(--shadow); transition: 0.3s; border: 1px solid transparent; display: flex; flex-direction: column; }
.solution-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.card-icon { font-size: 3rem; margin-bottom: 20px; }
.solution-card h3 { font-size: 1.5rem; margin-bottom: 5px; color: var(--secondary); }
.tech-subtitle { font-size: 0.9rem; color: var(--primary); font-weight: 600; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 0.5px; }
.solution-card p { color: var(--text-light); margin-bottom: 30px; flex-grow: 1; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #e2e8f0; padding-top: 20px; }
.card-bottom span { font-size: 0.9rem; font-weight: 600; color: var(--text-light); background: var(--bg-alt); padding: 5px 12px; border-radius: 50px; }
.card-bottom a { color: var(--primary); font-weight: 700; font-size: 0.95rem; }

/* Results */
.results { 
    padding: 100px 0; 
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.85)), url('images/nature-freedom.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}
.results .section-header h2 { color: white; text-shadow: 0 2px 4px rgba(0,0,0,0.2); }

.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.result-item { 
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(10px);
    padding: 40px; 
    border-radius: 24px; 
    position: relative; 
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s;
}
.result-item:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.15); }

.quote { font-size: 4rem; color: rgba(255, 255, 255, 0.2); position: absolute; top: 20px; left: 20px; font-family: serif; line-height: 1; }
.result-item p { position: relative; z-index: 1; font-size: 1.15rem; color: #f1f5f9; margin-bottom: 25px; font-style: italic; font-weight: 400; }
.author strong { display: block; color: white; font-size: 1.1rem; }
.author span { color: #cbd5e1; font-size: 0.9rem; }

/* Projects */
.projects { padding: 80px 0; background: #ffffff; }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.project-card { background: #ffffff; border-radius: 16px; border: 1px solid #e5e7eb; padding: 24px 24px 20px; box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--secondary); margin-bottom: 10px; }
.project-card p { font-size: 0.95rem; color: var(--text-light); margin-bottom: 16px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.project-tags span { font-size: 0.8rem; padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--text-light); font-weight: 500; }

/* Founder Section */
.founder { padding: 60px 0; background: white; overflow: hidden; border-top: 1px solid #f1f5f9; }
.founder-content { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; max-width: 900px; margin: 0 auto; }
.founder-text .tagline { background: var(--accent); color: var(--primary); font-size: 0.8rem; padding: 4px 12px; }
.founder-text h2 { font-size: 2rem; margin-bottom: 5px; color: var(--secondary); }
.founder-role { color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.founder-text p { font-size: 1rem; color: var(--text); margin-bottom: 15px; line-height: 1.6; }
.founder-text p strong { color: var(--secondary); }
.founder-values { display: flex; gap: 20px; margin-top: 20px; }
.val { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--secondary); font-size: 0.9rem; }
.val-icon { font-size: 1.2rem; }

.founder-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.avatar-circle { width: 180px; height: 180px; background: var(--gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 3rem; font-weight: 800; color: white; box-shadow: var(--shadow); position: relative; z-index: 1; }
.experience-badge { position: absolute; bottom: 10px; right: 10%; background: white; padding: 10px 15px; border-radius: 15px; box-shadow: var(--shadow); text-align: center; z-index: 2; border: 1px solid #e2e8f0; animation: float 6s ease-in-out infinite; }
.experience-badge .years { display: block; font-size: 1.5rem; font-weight: 800; color: var(--primary); line-height: 1; }
.experience-badge .label { font-size: 0.7rem; color: var(--text-light); line-height: 1.2; font-weight: 600; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Tech Minimal */
.tech-minimal { padding: 40px 0; background: var(--secondary); color: white; text-align: center; }
.tech-minimal p { opacity: 0.7; margin-bottom: 15px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.tech-list { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; color: white; font-weight: 600; }
.tech-list span:nth-child(even) { opacity: 0.3; }

/* Blog Section */
.blog { padding: 100px 0; background: var(--bg-alt); }
.blog .section-header h2 span.highlight { color: var(--primary); position: relative; display: inline-block; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.blog-card { background: white; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; height: 100%; }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-image { height: 200px; position: relative; width: 100%; }
.gradient-1 { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.gradient-2 { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.gradient-3 { background: linear-gradient(135deg, #34d399, #059669); }
.blog-cat { position: absolute; bottom: 15px; left: 20px; background: white; color: var(--secondary); padding: 6px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; box-shadow: var(--shadow); }
.blog-content { padding: 30px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-content h3 { font-size: 1.3rem; line-height: 1.4; margin-bottom: 15px; color: var(--secondary); font-weight: 700; }
.blog-content p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 25px; flex-grow: 1; }
.read-more { color: var(--primary); font-weight: 700; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 5px; margin-top: auto; }
.read-more:hover { gap: 10px; }

.blog-see-all {
    margin-top: 30px;
    text-align: center;
}

.blog-see-all a {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--secondary);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}

.blog-see-all a:hover {
    background: var(--text);
    box-shadow: var(--shadow);
}

body.home .blog-grid > article:nth-of-type(n+7) {
    display: none;
}

/* Article pages */
.article-body h2 {
    margin-top: 2.5rem;
}

.article-body h2:last-of-type {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.article-cta {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

/* CTA Final */
.cta-final { padding: 100px 0; background: white; }
.cta-box { 
    background: linear-gradient(rgba(37, 99, 235, 0.9), rgba(30, 64, 175, 0.9)), url('images/dream-house-2.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 32px; 
    padding: 80px 40px; 
    text-align: center; 
    color: white; 
    max-width: 900px; 
    margin: 0 auto; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.2); 
    border: 1px solid rgba(255,255,255,0.2);
}
.cta-box h2 { font-size: 2.8rem; margin-bottom: 15px; text-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.cta-box p { font-size: 1.2rem; opacity: 0.95; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; font-weight: 500; }

.simple-form { max-width: 500px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.form-group input, .form-group select { width: 100%; padding: 16px 24px; border-radius: 12px; border: none; font-size: 1rem; outline: none; font-family: inherit; }
.btn-submit { background: var(--secondary); color: white; border: none; padding: 18px; border-radius: 12px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: 0.3s; }
.btn-submit:hover { transform: scale(1.02); background: #020617; }
.form-note { font-size: 0.85rem; opacity: 0.7; margin-top: 10px; }

/* Footer */
footer { padding: 40px 0; border-top: 1px solid #e2e8f0; background: white; }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.copyright { text-align: center; color: var(--text-light); font-size: 0.9rem; }

/* Responsive */
@media (max-width: 900px) {
    .hero h1 { font-size: 2.5rem; }
    .dream-grid { grid-template-columns: 1fr; gap: 40px; }
    .dream-visual { transform: scale(0.8); }
}

@media (max-width: 768px) {
    .navbar .nav-links { display: none; }
    .menu-btn { display: block; }
    .navbar .nav-links.active { display: flex; position: absolute; top: 80px; left: 0; right: 0; background: white; flex-direction: column; padding: 20px; box-shadow: var(--shadow); border-bottom: 1px solid #e2e8f0; }
    .btn-nav { width: 100%; text-align: center; }
    .hero { padding: 120px 0 60px; }
    .hero-actions { flex-direction: column; }
    .btn-primary { width: 100%; }
    .article-cta {
        justify-content: center;
        text-align: center;
    }
    .card-visual { width: 120px; padding: 20px; }
    .visual-icon { font-size: 2rem; }
    .dream-visual { gap: 10px; }
}
