body {
font-family: 'REM', 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;
}
.hero-banner {
width: auto;
height: 230px;
background-image: url('../img/bandeau7.jpg');
background-size: cover;
background-position: center 20%;
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;
}
.hero-banner .separator {
width: 150px;
height: 3px;
background: #c19a5f;
border-radius: 2px;
margin-top: 10px;
}
.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-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;
}
.section-header{
font-family: 'REM', sans-serif;
width: 900px;
margin: 0 auto;
}
.section-header h2 {
font-size: 1.7rem;
font-weight: 400;
color: #333;
margin: 0;
margin-top: 50px;
margin-bottom: 20px;
position: relative;
text-align: center;
}
.section-header h2::after {
content: '';
display: block;
width: 100px;
height: 2px;
background-color: #c19a5f;
margin: 20px auto 0;
}
.section-header p {
font-size: 1rem;
font-weight: 400;
color: #555;
margin-top: 15px;
margin-bottom: -30px;
text-align: center;
}
.estimation-container {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 40px 20px;
margin-top: 40px;
}
.estimation-wrapper {
display: flex;
justify-content: space-between;
align-items: flex-start;
max-width: 1000px;
width: 100%;
margin: 0 auto;
gap: 50px;
}
.estimation-info {
width: 45%;
text-align: left;
margin-top: 30px;
}
.estimation-info p {
font-size: 1rem;
color: #444;
line-height: 1.6;
margin-bottom: 15px;
padding-left: 10px;
padding-right: 20px;
text-align: left;
}
.estimation-form {
width: 45%;
background: rgba(255, 255, 255, 0);
padding: 20px;
text-align: center;
}
.estimation-form form {
display: flex;
flex-direction: column;
align-items: center;
}
.estimation-form p {
position: relative;
display: inline-block;
font-size: 1.7rem;
font-weight: 400;
margin-bottom: 40px;
margin-top: 0px;
text-align: left;
text-decoration: none;
}
.estimation-form p::after {
content: "";
display: block;
width: 30%;
height: 2px;
background-color: #c19a5f;
margin-top: 30px;
margin-left: auto;
margin-right: auto;
}
.estimation-form input,
.estimation-form textarea {
width: 90%;
max-width: 400px;
padding: 12px;
margin-bottom: 15px;
border: none;
border-bottom: 1px solid #222;
background-color: #fdf5e600;
color: #333;
font-size: 16px;
font-family: inherit;
transition: all 0.3s ease-in-out;
}
.estimation-form input:focus,
.estimation-form textarea:focus {
border-color: #b9986c;
background-color: #fff;
outline: none;
}
.estimation-form textarea {
height: 100px;
resize: none;
}
.estimation-form button {
width: auto;
max-width: 500px;
padding: 10px 15px;
background-color: #c19a5f;
border: none;
border-radius: 3px;
color: #fff;
font-size: 1rem;
cursor: pointer;
transition: 0.3s;
font-weight: 400;
font-family: inherit;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
margin-top: 20px;
}
.estimation-form button:hover {
background: #a0763d;
}
.info-block {
display: flex;
align-items: flex-start;
gap: 10px;
margin-bottom: 15px;
padding-left: 10px;
}
.info-block i {
color: #c19a5f;
font-size: 1.1rem;
width: 24px;
min-width: 24px;
text-align: center;
margin-top: 4px;
flex-shrink: 0;
}
.info-block p {
margin: 0;
font-size: 1rem;
color: #444;
line-height: 1.6;
}
@media (max-width: 1100px) {
.section-header {
padding: 0px 15px;
max-width: 90%;
margin-bottom: 50px;
}
.hero-content {
width: 90%;
animation: fadeInUpShifted 0.8s ease-out forwards;
}
.hero-content h1 {
font-size: 1.8rem;
}
.hero-content p {
font-size: 1rem;
}
}
@media (max-width: 1024px) {
.estimation-container {
padding: 30px;
max-width: 90%;
}
.estimation-wrapper {
flex-direction: column;
align-items: center;
gap: 30px;
}
.estimation-info,
.estimation-form {
width: 80%;
text-align: center;
}
.estimation-info h2 {
font-size: 1.8rem;
}
.estimation-info p {
font-size: 1rem;
}
.estimation-form {
padding: 25px;
}
}
@media (max-width: 768px) {
.estimation-container {
padding: 20px;
max-width: 95%;
}
.estimation-info,
.estimation-form {
width: 90%;
}
.estimation-info h2 {
font-size: 1.6rem;
}
.estimation-info p {
font-size: 0.95rem;
}
.estimation-form {
padding: 20px;
}
.estimation-form input,
.estimation-form textarea {
padding: 10px;
font-size: 0.95rem;
}
.estimation-form button {
font-size: 0.95rem;
padding: 10px;
}
.hero-content {
width: 90%;
margin-left: 20px;
}
}
@media (max-width: 600px) {
.estimation-container {
padding: 15px;
max-width: 98%;
}
.estimation-info,
.estimation-form {
width: 100%;
}
.estimation-info h2 {
font-size: 1.4rem;
}
.estimation-info p {
font-size: 0.9rem;
}
.section-header p {
font-size: 0.9rem;
}
.estimation-form {
padding: 15px;
}
.estimation-form input,
.estimation-form textarea {
padding: 8px;
font-size: 0.9rem;
}
.estimation-form button {
font-size: 0.9rem;
padding: 8px;
}
.hero-content h1 {
font-size: 1.4rem;
}
.hero-content p {
font-size: 0.9rem;
}
.section-header h2 {
font-size: 1.4rem;
}
.section-header h2 {
font-size: 1.4rem;
}
}
@media screen and (max-width: 768px) {
body::before {
background-size: auto 100vh;
background-position: center;
background-attachment: scroll;
}
}