body {
font-family: 'Montserrat', sans-serif;
margin: 0;
padding: 0;
background-color: transparent;
color: #333;
position: relative;
overflow-x: hidden;
}
body::before {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('../img/fond.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
opacity: 0.2;
z-index: -1;
}
main {
min-height: calc(100vh - 200px);
display: flex;
flex-direction: column;
justify-content: center;
}
.container-2 {
width: 90%;
max-width: 1200px;
margin: 0 auto;
padding: 40px 0;
margin-bottom: 50px;
}
h2 {
text-align: center;
width: 100%;
margin-bottom: 40px;
margin-top: 70px;
font-size: 1.7rem;
font-weight: 400;
font-family: 'REM', sans-serif;
}
.mission-underline {
width: 10%;
height: 2px;
background-color: #c19a5f;
margin: 30px auto 0;
border-radius: 2px;
margin-bottom: 50px;
}
.hero-banner {
width: 100%;
height: 230px;
background-image: url('../img/bandeau3.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
position: relative;
display: flex;
align-items: center;
justify-content: flex-start;
text-align: left;
padding: 20px;
padding-left: 15%;
color: #222;
margin-top: 75px;
box-shadow: inset 0px 10px 12px -10px rgba(0, 0, 0, 0.3);
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
overflow: hidden;
font-family: 'REM', sans-serif;
margin-bottom: -50px;
}
.hero-banner::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(0px);
z-index: 1;
}
.hero-banner::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 80px;
background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.7));
z-index: 2;
pointer-events: none;
}
.hero-content {
position: relative;
z-index: 3;
max-width: 900px;
width: 80%;
animation: fadeInUp 0.8s ease-out forwards;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInUpShifted {
from {
opacity: 0;
transform: translate(-50px, 30px);
}
to {
opacity: 1;
transform: translate(-50px, 0);
}
}
.hero-content h1 {
font-size: 2rem;
font-weight: 600;
margin-bottom: 15px;
color: #333;
text-transform: uppercase;
font-family: 'REM';
line-height: 1.4;
}
.hero-content p {
font-size: 1rem;
font-weight: 400;
line-height: 1.6;
color: #333;
font-family: 'REM';
}
.separator {
width: 150px;
height: 3px;
background: #c19a5f;
border-radius: 2px;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
margin-top: 20px;
}
.card {
background: rgba(255, 255, 255, 0.493);
padding: 20px;
border-radius: 25px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
text-align: left;
}
.card i {
font-size: 2.5rem;
color: #cda34f;
margin-bottom: 10px;
display: block;
text-align: center;
}
.card h3 {
color: #333;
text-align: center;
margin-bottom: 30px;
margin-top: 30px;
font-size: 1.1rem;
font-weight: 600;
}
.card ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 10px;
}
.card ul li {
display: flex;
align-items: flex-start;
gap: 10px;
font-size: 0.9rem;
line-height: 1.5;
}
.card ul li::before {
content: "\f054";
font-family: "Font Awesome 5 Free";
font-weight: 900;
color: #c19a5f;
font-size: 19px;
display: inline-block;
min-width: 16px;
text-align: center;
margin-top: -3px;
}
.dispositifs .card h3 {
margin-top: 0px;
}
.dispositifs .card p {
font-size: 0.9rem;
margin-bottom: 30px;
}
.investir ul {
list-style: none;
padding: 0;
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
}
.investir ul li {
flex: 1 1 150px;
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
background: rgba(255, 255, 255, 0.493);
padding: 20px;
border-radius: 25px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
text-align: center;
min-height: 200px;
}
.investir ul li i {
color: #cda34f;
font-size: 34px;
margin-bottom: 0px;
margin-top: 5px;
}
.investir ul li h3 {
color: #333;
text-align: center;
margin-bottom: 0px;
font-size: 1.1rem;
font-weight: 600;
}
.investir ul li p {
font-size: 0.9rem;
line-height: 1.5;
color: #333;
max-width: 90%;
}
@media (max-width: 1100px) {
.hero-content {
width: 80%;
animation: fadeInUpShifted 0.8s ease-out forwards;
}
.hero-content h1 {
font-size: 1.8rem;
}
.hero-content p {
font-size: 1rem;
}
.investir ul {
flex-direction: row;
justify-content: space-around;
}
.investir ul li {
width: 45%;
}
.grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 768px) {
.hero-banner {
width: 80%;
}
.hero-content {
width: 90%;
margin-left: 20px;
}
.hero-content p {
width: 90%;
padding-right: 10px;
}
.investir ul {
flex-direction: column;
align-items: center;
}
.investir ul li {
width: 80%;
max-width: 400px;
padding-bottom: 20PX;
}
.grid {
grid-template-columns: 1fr;
}
.card {
text-align: left;
}
.hero-content {
width: 95%;
}
.hero-content h1 {
font-size: 1.4rem;
}
.hero-content p {
font-size: 0.9rem;
}
.atouts h2,
.investir h2,
.dispositifs h2 {
font-size: 1.3rem;
}
}
@media screen and (max-width: 768px) {
body::before {
background-size: auto 100vh;
background-position: center;
background-attachment: scroll;
}
}