:root {
    --color-primary: #b69f89;
    --color-secondary: #d4c4b7;
    --color-accent: #e8e1d9;
    --color-text: #333333;
    --color-light: #ffffff;
    --color-dark: #2c2c2c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-light);
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 8%;
    background: var(--color-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.5rem 0;
}

.nav-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
    margin-right: 0.5rem;
}

.nav-brand:hover .nav-logo {
    transform: scale(1.1);
}

.nav-brand a {
    text-decoration: none;
    color: inherit;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--color-primary);
    font-weight: 500;
    letter-spacing: 2px;
}

.nav-brand a:hover {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 400;
    transition: color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(to right,
        rgba(255, 255, 255, 0.75),
        rgba(255, 255, 255, 0.75)),
        url('https://images.unsplash.com/photo-1579372786545-d24232daf58c?ixlib=rb-1.2.1&auto=format&fit=crop&w=2850&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: 80px;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes snowfall {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 500px 500px, 400px 400px;
    }
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
    font-weight: 400;
    text-align: center;
    animation: slideDown 1.2s ease-out forwards;
    opacity: 0;
}

.hero h1 em {
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: var(--color-text);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    letter-spacing: 2px;
    animation: fadeIn 1.2s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

section {
    padding: 4rem 10%;
    position: relative;
    background: var(--color-light);
}

section:nth-child(even) {
    background-color: var(--color-accent);
}

.creations {
    padding: 5rem 8%;
    position: relative;
    background: var(--color-light);
    overflow: hidden;
}

.creations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="1" fill="%23b69f89" opacity="0.15"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.creation-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin: 3rem auto 3.5rem;
    max-width: 1400px;
}

.creation-item {
    background: var(--color-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(182, 159, 137, 0.1);
}

.creation-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(182, 159, 137, 0.25);
}

.creation-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
}

.creation-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.creation-item:hover .creation-image::after {
    opacity: 1;
}

.creation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.creation-item:hover .creation-image img {
    transform: scale(1.08);
}

.creation-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.creation-item h3 {
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
    align-self: center;
}

.creation-item h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background-color: var(--color-secondary);
}

.creation-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text);
    flex-grow: 1;
    font-weight: 300;
}

.creations-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.creations-title h2 {
    margin-bottom: 1rem;
}

.creations-title p {
    font-size: 1.1rem;
    color: var(--color-text);
    font-weight: 300;
    margin-bottom: 1rem;
}

.btn-voir-creations, .btn-voir-plus {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background-color: var(--color-primary);
    color: var(--color-light);
    text-decoration: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(182, 159, 137, 0.3);
    border: 1px solid transparent;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-voir-creations, .btn-voir-plus {
    position: relative;
    overflow: hidden;
}

.btn-voir-creations::before, .btn-voir-plus::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 70%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
    transform: rotate(30deg);
    transition: all 0.8s ease-in-out;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
}

.btn-voir-creations:hover::before, .btn-voir-plus:hover::before {
    left: 150%;
    opacity: 1;
}

.btn-voir-creations:hover {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(182, 159, 137, 0.2);
}

.btn-voir-plus:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.collection {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
                url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="1" fill="%23b69f89" opacity="0.3"/></svg>');
    position: relative;
}

.collection-item {
    background: var(--color-light);
    padding: 1rem;
    border: 1px solid var(--color-secondary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.collection-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.collection-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle at 50% 50%, white 0%, transparent 10%),
        radial-gradient(circle at 50% 50%, white 0%, transparent 7%);
    background-size: 20px 20px, 14px 14px;
    animation: snowfall 15s linear infinite;
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

.collection-image:hover::before {
    opacity: 0.8;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
}

.collection-item:hover .collection-image img {
    transform: scale(1.05);
}

.collection-item h3 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.collection-item p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--color-text);
}

.collection h2 {
    font-size: 3.5rem;
    color: #c1936d;
    text-align: center;
    margin-bottom: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.collection-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--color-text);
    font-family: 'Montserrat', sans-serif;
}

.saison-page {
    padding: 4rem 2%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.saison-page h1 {
    text-align: center;
    color: var(--color-primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Cormorant Garamond', serif;
}

.saison-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--color-text);
}

.saison-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 1rem;
    max-width: 1600px;
    margin: 0 auto;
}

.saison-item {
    background: var(--color-light);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.saison-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.saison-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.saison-item:hover .saison-image img {
    transform: scale(1.05);
}

.saison-item h3 {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.saison-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text);
}

.voir-plus {
    text-align: center;
    margin-top: 3rem;
}

.back-home {
    text-align: center;
    padding: 3rem 0;
    background-color: var(--color-light);
}

.btn-back {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--color-primary);
    color: var(--color-light);
    text-decoration: none;
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-back:hover {
    background-color: var(--color-text);
    transform: translateY(-2px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cupcake {
    width: 25px;
    height: 25px;
    background: url('../images/arrow-up.svg') no-repeat center;
    background-size: contain;
}

.text-center {
    text-align: center;
}

.creations-page {
    padding: 8rem 10% 4rem;
    background-color: var(--color-light);
}

.creations-page h1 {
    font-size: 4rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 400;
}

.creations-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text);
}

.creations-categories {
    margin-bottom: 5rem;
}

.creations-categories h2 {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
}

.creations-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.creations-grid .creation-item {
    flex: 0 1 calc(33.33% - 2rem);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.creations-grid .creation-item:hover {
    transform: translateY(-10px);
}

.contact-info {
    background-color: var(--color-accent);
    text-align: center;
    padding: 4rem 10%;
}

.contact-info h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn-contact {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-primary);
    color: var(--color-light);
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background-color: var(--color-text);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

footer h2 {
    color: var(--color-primary);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-secondary);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    section {
        padding: 5rem 5%;
    }
}

h1 {
    font-size: 3.5rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Cormorant Garamond', serif;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 3.5rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: var(--color-secondary);
    margin: 1rem auto;
}

h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.contact {
    padding: 8rem 5%;
    background-color: var(--color-light);
}

.contact-form {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 0;
    border: none;
    border-bottom: 1px solid var(--color-secondary);
    background: transparent;
    font-size: 1rem;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.form-group textarea {
    height: 150px;
    min-height: 150px;
    max-height: 150px;
    resize: none;
    padding: 0.8rem 0;
}

.form-group label {
    position: absolute;
    top: 0.8rem;
    left: 0;
    font-size: 1rem;
    color: var(--color-text);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom: 2px solid var(--color-primary);
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:valid ~ label {
    top: -1.2rem;
    font-size: 0.8rem;
    color: var(--color-primary);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
}

footer {
    background-color: var(--color-accent);
    color: var(--color-text);
    padding: 5rem 10%;
    text-align: center;
}

footer h2 {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    section {
        padding: 5rem 5%;
    }
}

/* Section "Un peu de moi" - Design professionnel */
.about-section {
    padding: 6rem 8%;
    background-color: var(--color-light);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    background-color: var(--color-accent);
    border-radius: 50%;
    opacity: 0.5;
    z-index: 0;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 250px;
    height: 250px;
    background-color: var(--color-accent);
    border-radius: 50%;
    opacity: 0.3;
    z-index: 0;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-image {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    position: relative;
    transform: rotate(-2deg);
    transition: transform 0.5s ease;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    background-color: var(--color-secondary);
    opacity: 0.4;
    border-radius: 10px;
    z-index: -1;
    transition: transform 0.5s ease;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    border: 5px solid var(--color-light);
    border-radius: 6px;
}

.about-image:hover {
    transform: rotate(0deg);
}

.about-image:hover::before {
    transform: translate(-5px, -5px);
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-content {
    flex: 1;
    padding: 0 1rem;
}

.about-content h2 {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.8rem;
    position: relative;
    display: inline-block;
    font-weight: 400;
}

.about-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 70px;
    height: 2px;
    background-color: var(--color-secondary);
}

.about-text {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--color-accent);
}

.about-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 1.8rem;
    color: var(--color-text);
    font-weight: 300;
}

.about-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        gap: 3.5rem;
    }
    
    .about-image, .about-content {
        width: 100%;
    }
    
    .about-content {
        padding: 0;
    }
    
    .about-image {
        transform: rotate(-1deg);
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 1200px) {
    .creations-grid .creation-item {
        flex: 0 1 calc(50% - 2rem);
    }
}

@media (max-width: 768px) {
    .creations-grid .creation-item {
        flex: 0 1 100%;
    }
    
    .creations-page h1 {
        font-size: 3rem;
    }
    
    .creations-categories h2 {
        font-size: 2.2rem;
    }
    
    .creations-intro {
        font-size: 1.1rem;
    }
}

@media (max-width: 1200px) {
    .creation-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .collection-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .saison-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .collection-grid {
        grid-template-columns: 1fr;
    }
    .saison-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .creation-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .creation-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .creation-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Améliorations pour le chargement des images, espacement et contraste */
.creation-image img, .collection-image img, .about-image img, .section img {
    /* Optimisation pour le chargement des images */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
    
    /* Attribuer une taille largeur/hauteur par défaut pour éviter le layout shift */
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* Amélioration de l'espacement des sections pour une meilleure respiration */
.creations, .about-section, .collection, .testimonials {
    padding: 6rem 10%;  /* Augmentation du padding vertical */
    margin-bottom: 2rem; /* Marge entre les sections */
}

.creations-title, .testimonials-title {
    margin-bottom: 3.5rem; /* Plus d'espace sous les titres */
}

.creation-item, .collection-item {
    padding: 1.5rem; /* Plus d'espace interne */
}

.creation-content {
    padding: 1.5rem 1.5rem 2rem;
}

.creation-content h3, .collection-item h3 {
    margin-bottom: 1.5rem; /* Plus d'espace sous les titres */
}

/* Amélioration du contraste texte/fond */
:root {
    --color-text: #333333; /* Texte légèrement plus foncé pour un meilleur contraste */
}

.section p, .creation-content p, .collection-item p, .testimonial-quote {
    color: #333333; /* Texte plus foncé pour un meilleur contraste */
    line-height: 1.8; /* Interligne plus aéré pour faciliter la lecture */
}

.section-title h2, .creations-title h2, .collection h2, .testimonials-title h2 {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); /* Ombre subtile pour améliorer la lisibilité sur fond clair */
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.95); /* Fond légèrement plus opaque */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); /* Ombre plus prononcée */
}

/* Section sur fond clair - amélioration du contraste */
section:nth-child(even) {
    background-color: var(--color-accent);
}

section:nth-child(even) h2,
section:nth-child(even) h3 {
    color: #6a503f; /* Titre plus foncé sur fond clair */
}

/* Section sur fond blanc */
section:nth-child(odd) {
    background-color: #ffffff;
}

/* Section "Savoir-faire" */
.savoir-faire-hero {
    position: relative;
    padding: 5rem 0;
    margin: 0;
    overflow: hidden;
    text-align: center;
}

.savoir-faire-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/slide9.jpg') no-repeat center center;
    background-size: cover;
    filter: brightness(0.85);
    z-index: -2;
}

.savoir-faire-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.9));
    z-index: -1;
}

.savoir-faire-hero h2 {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 2.5rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
}

.savoir-faire-hero .expertise-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    position: relative;
}

.savoir-faire-hero .expertise-content::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

.savoir-faire-hero .expertise-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

.savoir-faire-hero .expertise-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .savoir-faire-hero {
        padding: 4rem 1rem;
    }
    
    .savoir-faire-hero h2 {
        font-size: 2.5rem;
    }
    
    .savoir-faire-hero .expertise-content {
        padding: 2rem;
    }
}
