
:root {
    --primary: #0B1E3D; /* Bleu Marine Trust */
    --secondary: #1C3F75;
    --accent: #F7931A; /* Bitcoin Orange */
    --success: #27AE60;
    --light: #F4F6F8;
    --white: #ffffff;
    --text: #2c3e50;
    --font-main: 'Inter', system-ui, sans-serif;
}

body { font-family: var(--font-main); margin: 0; background: var(--light); color: var(--text); line-height: 1.6; }
h1, h2, h3 { color: var(--primary); font-weight: 700; }
a { text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
header { background: var(--white); border-bottom: 1px solid #ddd; padding: 15px 0; position: sticky; top:0; z-index:100;}
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.logo span { color: var(--accent); }
nav ul { display: flex; gap: 25px; list-style: none; margin: 0; padding: 0; }
nav a { color: var(--text); font-weight: 500; transition: color 0.3s; }
nav a:hover { color: var(--accent); }
.header-actions { display: flex; gap: 15px; align-items: center; }
.btn-cta { background: var(--accent); color: white; padding: 10px 20px; border-radius: 6px; font-weight: 600; }
.btn-cta:hover { background: #e0820b; }

/* Héros générique */
.hero { background: var(--primary); color: white; padding: 80px 0; text-align: center; }
.hero h1 { color: white; font-size: 2.8rem; margin-bottom: 10px; }
.hero p { font-size: 1.2rem; opacity: 0.9; max-width: 600px; margin: 0 auto 30px; }

/* Cards & Grid */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 40px 0; }
.card { background: white; padding: 30px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.2s; }
.card:hover { transform: translateY(-5px); }
.icon { font-size: 2rem; margin-bottom: 15px; display: block; }

/* Tableaux DCA */
.dca-table { width: 100%; border-collapse: collapse; margin-top: 20px; background: white; border-radius: 8px; overflow: hidden; }
.dca-table th, .dca-table td { padding: 15px; text-align: left; border-bottom: 1px solid #eee; }
.dca-table th { background: var(--secondary); color: white; }
.highlight-dip { background: #e8f5e9; } /* Vert très clair */

/* Simulateur */
.sim-container { background: white; padding: 40px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); max-width: 500px; margin: -50px auto 50px; position: relative; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; }
.form-group input, select { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box; }
.result-box { margin-top: 25px; padding: 20px; background: var(--light); border-left: 4px solid var(--accent); }

/* Footer */
footer { background: #111; color: #888; padding: 50px 0; font-size: 0.9rem; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
footer h4 { color: white; margin-bottom: 20px; }
footer ul { list-style: none; padding: 0; }
footer li { margin-bottom: 10px; }
footer a { color: #888; }
