credit-direct/templates/entete.html
2025-12-18 09:44:42 +01:00

314 lines
7.9 KiB
HTML

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>En-tête - ESI Credit Direct</title>
<style>
:root {
--orange-credit-direct: #F76622;
--text-dark: #333333;
--background-light: #f5f5f5;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
background-color: var(--background-light);
}
.credit-recap {
background-color: #fff;
padding: 20px 0;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
margin-bottom: 20px;
border: 1px solid #e0e0e0;
}
.credit-recap-container {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 30px;
}
.credit-info {
display: flex;
align-items: stretch;
gap: 0;
width: 100%;
}
.credit-item {
display: flex;
flex-direction: column;
gap: 8px;
min-width: 140px;
border: 1px solid #e0e0e0;
padding: 10px 15px;
background-color: #fff;
margin-left: -1px;
flex: 1;
}
.credit-item:first-child {
margin-left: 0;
}
.credit-label {
font-size: 14px;
color: #666;
font-weight: normal;
}
.credit-value {
font-size: 18px;
font-weight: bold;
color: var(--text-dark);
}
.credit-value.highlight {
color: var(--orange-credit-direct);
}
.progress-steps {
display: flex;
justify-content: space-between;
max-width: 1200px;
margin: 20px auto;
padding: 0 15px;
}
.step {
display: flex;
align-items: center;
gap: 10px;
}
.step-number {
width: 24px;
height: 24px;
border-radius: 50%;
background-color: #fff;
border: 2px solid #ddd;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 14px;
}
.step.active .step-number {
background-color: var(--orange-credit-direct);
border-color: var(--orange-credit-direct);
color: white;
}
.step-text {
color: #999;
font-size: 14px;
}
.step.active .step-text {
color: var(--text-dark);
font-weight: bold;
}
/* Nouveau style pour le header et la navigation */
header {
background-color: white;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
padding: 15px 0;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
max-width: 200px;
}
.logo img {
width: 100%;
height: auto;
}
nav ul {
display: flex;
list-style: none;
gap: 30px;
}
nav a {
text-decoration: none;
color: var(--text-dark);
font-weight: 500;
font-size: 16px;
padding: 8px 15px;
border-radius: 4px;
transition: all 0.3s ease;
}
nav a:hover {
color: var(--orange-credit-direct);
background-color: rgba(247, 102, 34, 0.1);
}
/* Style pour le main */
main {
min-height: calc(100vh - 300px);
padding: 40px 0;
}
/* Style pour le footer */
footer {
background-color: var(--text-dark);
color: white;
padding: 30px 0;
margin-top: 40px;
}
footer .container {
text-align: center;
}
footer p {
font-size: 14px;
opacity: 0.8;
}
/* Media queries pour la responsivité */
@media (max-width: 768px) {
.credit-info {
flex-wrap: wrap;
gap: 15px;
}
.credit-item {
flex: 1 1 calc(50% - 15px);
}
.progress-steps {
flex-wrap: wrap;
gap: 20px;
}
.step {
flex: 1 1 calc(50% - 10px);
}
nav ul {
gap: 15px;
}
nav a {
padding: 5px 10px;
font-size: 14px;
}
}
@media (max-width: 480px) {
.credit-item {
flex: 1 1 100%;
}
.step {
flex: 1 1 100%;
}
nav ul {
flex-direction: column;
align-items: center;
}
}
</style>
</head>
<body>
<div class="credit-recap">
<div class="credit-recap-container">
<div class="credit-info">
<div class="credit-item">
<span class="credit-label">Type:</span>
<span class="credit-value">Prêt à tempérament</span>
</div>
<div class="credit-item">
<span class="credit-label">Montant:</span>
<span class="credit-value">10.001,00€</span>
</div>
<div class="credit-item">
<span class="credit-label">TAEG:</span>
<span class="credit-value">7.45%</span>
</div>
<div class="credit-item">
<span class="credit-label">Durée:</span>
<span class="credit-value">60 mois</span>
</div>
<div class="credit-item">
<span class="credit-label">Mensualité:</span>
<span class="credit-value highlight">199,01€</span>
</div>
</div>
</div>
</div>
<div class="progress-steps">
<div class="step active">
<span class="step-number">1</span>
<span class="step-text">Contact</span>
</div>
<div class="step">
<span class="step-number">2</span>
<span class="step-text">Revenus & charges</span>
</div>
<div class="step">
<span class="step-number">3</span>
<span class="step-text">Informations personnelles</span>
</div>
<div class="step">
<span class="step-number">4</span>
<span class="step-text">Coordonnées</span>
</div>
</div>
<header>
<div class="container">
<div class="logo">
<a href="/">
<img src="../assets/images/logo.png" alt="ESI Credit Direct">
</a>
</div>
<nav>
<ul>
<li><a href="/">Accueil</a></li>
<li><a href="/simulateur">Simulateur de crédit</a></li>
<li><a href="/contact">Contact</a></li>
</ul>
</nav>
</div>
</header>
<main>
<!-- Le contenu principal sera injecté ici -->
</main>
<footer>
<div class="container">
<p>&copy; 2024 ESI Credit Direct. Tous droits réservés.</p>
</div>
</footer>
</body>
</html>