agencedesignplus's picture
MISE À JOUR DESIGN AVANCÉ - Boutons et effets modernes
4d498c3 verified
Raw
History Blame Contribute Delete
12.6 kB
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
color: #134252;
background-color: #FCFCF9;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #FCFCF9;
}
::-webkit-scrollbar-thumb {
background: #20808D;
border-radius: 4px;
}
/* Animation classes */
.fade-in {
animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
/* Button styles - Glassmorphism Modern */
.btn-primary {
background: linear-gradient(135deg, rgba(32,128,141,0.95) 0%, rgba(29,116,128,0.98) 100%);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
color: white;
border: 1px solid rgba(255,255,255,0.18);
border-radius: 6px;
padding: 12px 28px;
font-weight: 500;
font-size: 15px;
box-shadow: 0 4px 12px rgba(32,128,141,0.25),
0 1px 3px rgba(0,0,0,0.08);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}
.btn-primary::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
opacity: 0;
transition: opacity 0.3s ease;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(32,128,141,0.35),
0 2px 6px rgba(0,0,0,0.12);
border-color: rgba(255,255,255,0.3);
}
.btn-primary:hover::before {
opacity: 1;
}
.btn-primary:active {
transform: translateY(0);
box-shadow: 0 2px 8px rgba(32,128,141,0.2);
}
.btn-secondary {
background: rgba(255,255,255,0.6);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
color: #20808D;
border: 1px solid rgba(32,128,141,0.3);
border-radius: 6px;
padding: 10px 24px;
font-weight: 500;
box-shadow: 0 2px 8px rgba(19,66,82,0.08);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-secondary:hover {
background: rgba(255,255,255,0.85);
border-color: rgba(32,128,141,0.5);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(19,66,82,0.12);
}
.btn-outline {
background: transparent;
backdrop-filter: blur(8px);
color: #20808D;
border: 1.5px solid #20808D;
border-radius: 6px;
padding: 10px 24px;
font-weight: 500;
transition: all 0.3s ease;
}
.btn-outline:hover {
background: rgba(32,128,141,0.08);
border-color: #1D747F;
color: #1D747F;
}
/* Input styles - Modern */
.input, .input-field {
background: rgba(255,255,255,0.8);
backdrop-filter: blur(8px);
border: 1px solid rgba(94,82,64,0.2);
border-radius: 6px;
padding: 12px 16px;
font-size: 15px;
color: #134252;
transition: all 0.3s ease;
box-shadow: 0 2px 4px rgba(19,66,82,0.04);
}
.input:focus, .input-field:focus {
border-color: #20808D;
outline: none;
box-shadow: 0 0 0 3px rgba(32,128,141,0.12),
0 2px 8px rgba(19,66,82,0.08);
background: white;
}
.input::placeholder, .input-field::placeholder {
color: rgba(98,108,113,0.6);
}
/* Hero Section - Modern */
.hero-section {
min-height: 85vh;
background: linear-gradient(165deg, #FCFCF9 0%, #FFFFFE 50%, rgba(32,128,141,0.03) 100%);
position: relative;
overflow: hidden;
padding: 80px 40px;
}
.hero-section::before {
content: '';
position: absolute;
top: -200px;
right: -150px;
width: 600px;
height: 600px;
background: radial-gradient(circle, rgba(32,128,141,0.08) 0%, transparent 70%);
border-radius: 50%;
z-index: 0;
}
.hero-section::after {
content: '';
position: absolute;
bottom: -100px;
left: -100px;
width: 400px;
height: 400px;
background: radial-gradient(circle, rgba(32,128,141,0.05) 0%, transparent 70%);
border-radius: 50%;
z-index: 0;
}
.hero-content {
position: relative;
z-index: 1;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: center;
max-width: 1280px;
margin: 0 auto;
}
.hero-title {
font-size: 56px;
font-weight: 600;
line-height: 1.1;
color: #134252;
margin-bottom: 24px;
letter-spacing: -0.02em;
}
.hero-title .highlight {
color: #20808D;
position: relative;
display: inline-block;
}
.hero-title .highlight::after {
content: '';
position: absolute;
bottom: 8px;
left: 0;
width: 100%;
height: 12px;
background: rgba(32,128,141,0.2);
z-index: -1;
border-radius: 3px;
}
.hero-subtitle {
font-size: 20px;
color: #626C71;
margin-bottom: 36px;
line-height: 1.6;
max-width: 500px;
}
.hero-image {
position: relative;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 20px 60px rgba(19,66,82,0.15);
}
.hero-image img {
width: 100%;
height: auto;
display: block;
border-radius: 16px;
}
.hero-image::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, rgba(32,128,141,0.05) 0%, transparent 60%);
z-index: 1;
pointer-events: none;
}
/* Benefits Section - Glass Cards */
.benefits-section {
padding: 100px 40px;
background: #FCFCF9;
}
.benefit-card {
background: rgba(255,255,255,0.7);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid rgba(94,82,64,0.12);
border-radius: 16px;
padding: 36px 28px;
text-align: center;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 4px 16px rgba(19,66,82,0.06);
position: relative;
overflow: hidden;
}
.benefit-card::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(32,128,141,0.03) 0%, transparent 70%);
opacity: 0;
transition: opacity 0.4s ease;
}
.benefit-card:hover {
transform: translateY(-8px);
box-shadow: 0 12px 32px rgba(19,66,82,0.12);
border-color: rgba(32,128,141,0.2);
}
.benefit-card:hover::before {
opacity: 1;
}
/* Gallery Section - Modern */
.looks-gallery {
padding: 100px 40px;
background: linear-gradient(180deg, #FCFCF9 0%, #FFFFFE 100%);
}
.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 24px;
max-width: 1280px;
margin: 0 auto;
}
.look-card {
position: relative;
border-radius: 12px;
overflow: hidden;
aspect-ratio: 3/4;
cursor: pointer;
transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 4px 16px rgba(19,66,82,0.08);
}
.look-card img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.4s ease;
}
.look-card:hover {
transform: scale(1.02);
box-shadow: 0 12px 32px rgba(19,66,82,0.15);
}
.look-card:hover img {
transform: scale(1.05);
}
.look-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 24px;
background: linear-gradient(to top, rgba(19,66,82,0.85) 0%, transparent 100%);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
transform: translateY(100%);
transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.look-card:hover .look-overlay {
transform: translateY(0);
}
.look-title {
font-size: 18px;
font-weight: 600;
color: white;
margin-bottom: 8px;
}
.look-category {
font-size: 14px;
color: rgba(255,255,255,0.85);
}
/* Navigation - Header glassmorphism sticky */
.header-nav {
position: sticky;
top: 0;
z-index: 100;
background: rgba(252,252,249,0.85);
backdrop-filter: blur(20px) saturate(180%);
-webkit-backdrop-filter: blur(20px) saturate(180%);
border-bottom: 1px solid rgba(94,82,64,0.12);
box-shadow: 0 2px 12px rgba(19,66,82,0.04);
transition: all 0.3s ease;
}
.header-nav.scrolled {
background: rgba(252,252,249,0.95);
box-shadow: 0 4px 20px rgba(19,66,82,0.08);
}
/* Card styles - Glassmorphism */
.card {
background: rgba(255,255,255,0.7);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid rgba(94,82,64,0.12);
border-radius: 16px;
padding: 36px 28px;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 4px 16px rgba(19,66,82,0.06);
position: relative;
overflow: hidden;
}
.card::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(32,128,141,0.03) 0%, transparent 70%);
opacity: 0;
transition: opacity 0.4s ease;
}
.card:hover {
transform: translateY(-8px);
box-shadow: 0 12px 32px rgba(19,66,82,0.12);
border-color: rgba(32,128,141,0.2);
}
.card:hover::before {
opacity: 1;
}
/* Input styles - Modern */
.input {
background: rgba(255,255,255,0.8);
backdrop-filter: blur(8px);
border: 1px solid rgba(94,82,64,0.2);
border-radius: 6px;
padding: 12px 16px;
font-size: 15px;
color: #134252;
transition: all 0.3s ease;
box-shadow: 0 2px 4px rgba(19,66,82,0.04);
}
.input:focus {
border-color: #20808D;
outline: none;
box-shadow: 0 0 0 3px rgba(32,128,141,0.12),
0 2px 8px rgba(19,66,82,0.08);
background: white;
}
.input::placeholder {
color: rgba(98,108,113,0.6);
}
/* Hero Section - Modern */
.hero-section {
min-height: 85vh;
background: linear-gradient(165deg, #FCFCF9 0%, #FFFFFE 50%, rgba(32,128,141,0.03) 100%);
position: relative;
overflow: hidden;
padding: 80px 40px;
}
.hero-section::before {
content: '';
position: absolute;
top: -200px;
right: -150px;
width: 600px;
height: 600px;
background: radial-gradient(circle, rgba(32,128,141,0.08) 0%, transparent 70%);
border-radius: 50%;
z-index: 0;
}
.hero-section::after {
content: '';
position: absolute;
bottom: -100px;
left: -100px;
width: 400px;
height: 400px;
background: radial-gradient(circle, rgba(32,128,141,0.05) 0%, transparent 70%);
border-radius: 50%;
z-index: 0;
}
.hero-content {
position: relative;
z-index: 1;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: center;
max-width: 1280px;
margin: 0 auto;
}
.hero-title {
font-size: 56px;
font-weight: 600;
line-height: 1.1;
color: #134252;
margin-bottom: 24px;
letter-spacing: -0.02em;
}
.hero-title .highlight {
color: #20808D;
position: relative;
display: inline-block;
}
.hero-title .highlight::after {
content: '';
position: absolute;
bottom: 8px;
left: 0;
width: 100%;
height: 12px;
background: rgba(32,128,141,0.2);
z-index: -1;
border-radius: 3px;
}
.hero-subtitle {
font-size: 20px;
color: #626C71;
margin-bottom: 36px;
line-height: 1.6;
max-width: 500px;
}
.hero-image {
position: relative;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 20px 60px rgba(19,66,82,0.15);
}
.hero-image img {
width: 100%;
height: auto;
display: block;
border-radius: 16px;
}
.hero-image::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, rgba(32,128,141,0.05) 0%, transparent 60%);
z-index: 1;
pointer-events: none;
}
/* Gallery Section - Modern */
.looks-gallery {
padding: 100px 40px;
background: linear-gradient(180deg, #FCFCF9 0%, #FFFFFE 100%);
}
.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 24px;
max-width: 1280px;
margin: 0 auto;
}
.look-card {
position: relative;
border-radius: 12px;
overflow: hidden;
aspect-ratio: 3/4;
cursor: pointer;
transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 4px 16px rgba(19,66,82,0.08);
}
.look-card img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.4s ease;
}
.look-card:hover {
transform: scale(1.02);
box-shadow: 0 12px 32px rgba(19,66,82,0.15);
}
.look-card:hover img {
transform: scale(1.05);
}
.look-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 24px;
background: linear-gradient(to top, rgba(19,66,82,0.85) 0%, transparent 100%);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
transform: translateY(100%);
transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.look-card:hover .look-overlay {
transform: translateY(0);
}
.look-title {
font-size: 18px;
font-weight: 600;
color: white;
margin-bottom: 8px;
}
.look-category {
font-size: 14px;
color: rgba(255,255,255,0.85);
}
/* Responsive adjustments */
@media (max-width: 768px) {
.hero-content {
grid-template-columns: 1fr;
gap: 40px;
}
.hero-title {
font-size: 2.5rem;
}
.hero-subtitle {
font-size: 1.25rem;
}
}