210 lines
3.9 KiB
CSS
210 lines
3.9 KiB
CSS
/* --- Containers --- */
|
|
.home-container {
|
|
width: 90%; /* occupe 90% de l’écran sur petits écrans */
|
|
max-width: 800px; /* limite la largeur sur grands écrans */
|
|
margin: 0 auto;
|
|
padding: 3rem 1.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3rem;
|
|
overflow-y: scroll; /* Permet le scroll vertical */
|
|
scrollbar-width: none; /* Firefox */
|
|
}
|
|
.home-container::-webkit-scrollbar {
|
|
display: none; /* Chrome, Safari, Edge */
|
|
}
|
|
/* --- Hero --- */
|
|
.badge {
|
|
display: inline-block;
|
|
padding: 0.25rem 0.75rem;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
border-radius: 9999px;
|
|
border: 1px solid #d1d5db;
|
|
color: #71717a;
|
|
}
|
|
|
|
.hero-title {
|
|
font-family: 'Playfair Display', serif;
|
|
font-size: 2.5rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.hero-subtitle {
|
|
color: #71717a;
|
|
font-weight: 300;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.hero-image-wrapper {
|
|
position: relative;
|
|
margin-top: 3rem;
|
|
border-radius: 1rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hero-image {
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
}
|
|
|
|
.hero-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(255,255,255,0.4);
|
|
pointer-events: none;
|
|
border-radius: 1rem;
|
|
}
|
|
|
|
.dark .hero-overlay {
|
|
background: rgba(18,18,18,0.7);
|
|
}
|
|
|
|
/* --- Social --- */
|
|
.social-title {
|
|
font-family: 'Playfair Display', serif;
|
|
font-size: 1.75rem;
|
|
font-style: italic;
|
|
}
|
|
|
|
.social-subtitle {
|
|
color: #71717a;
|
|
font-weight: 300;
|
|
}
|
|
|
|
.social-buttons {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.instagram-button {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.75rem 2rem;
|
|
border: 1px solid #d1d5db;
|
|
border-radius: 9999px;
|
|
background: white;
|
|
font-weight: 500;
|
|
text-decoration: none;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.instagram-button:hover {
|
|
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.qr-wrapper {
|
|
padding: 1.5rem;
|
|
background: white;
|
|
border: 1px solid #d1d5db;
|
|
border-radius: 1rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.qr-image {
|
|
width: 128px;
|
|
height: 128px;
|
|
}
|
|
|
|
.qr-text {
|
|
margin-top: 0.5rem;
|
|
font-size: 0.625rem;
|
|
color: #71717a;
|
|
letter-spacing: 0.05em;
|
|
text-transform: uppercase;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* --- Contact --- */
|
|
.contact-title {
|
|
font-family: 'Playfair Display', serif;
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.contact-subtitle {
|
|
color: #71717a;
|
|
font-weight: 300;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.contact-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.contact-input, .contact-textarea {
|
|
border: none;
|
|
border-bottom: 1px solid #d1d5db;
|
|
padding: 0.75rem 0;
|
|
font-size: 1rem;
|
|
outline: none;
|
|
background: transparent;
|
|
color: #1a1a1a;
|
|
}
|
|
|
|
.contact-input::placeholder, .contact-textarea::placeholder {
|
|
color: #d1d5db;
|
|
}
|
|
|
|
.contact-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
padding: 0.5rem 1.5rem;
|
|
border-radius: 9999px;
|
|
background: #1a1a1a;
|
|
color: white;
|
|
font-weight: 500;
|
|
border: none;
|
|
cursor: pointer;
|
|
margin: 0 auto;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.contact-button:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.success-message {
|
|
color: green;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* --- Footer --- */
|
|
.footer {
|
|
text-align: center;
|
|
color: #71717a;
|
|
font-size: 0.625rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
padding-bottom: 3rem;
|
|
}
|
|
|
|
.footer-line {
|
|
height: 1px;
|
|
width: 3rem;
|
|
background: #d1d5db;
|
|
margin: 0 auto 1rem auto;
|
|
}
|
|
|
|
/* --- Dark mode toggle --- */
|
|
.dark-toggle {
|
|
position: fixed;
|
|
bottom: 1.5rem;
|
|
right: 1.5rem;
|
|
padding: 0.75rem;
|
|
border-radius: 9999px;
|
|
background: white;
|
|
border: 1px solid #d1d5db;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
|
}
|