:root {
    --primary-color: #C69769;
    /* Améthyste (Violet intense) */
    --primary-dark: #6B5B63;
    --secondary-color: #C3DAD1;
    /* Aigue-Marine (Vert d'eau) */
    --text-color: #594D53;
    /* Gris anthracite/violet */
    --bg-color: #fcf7f4;
    /* Off-white inspired by Quartz Rose (#F4E3D9) */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --font-main: 'Gravity', 'Outfit', sans-serif;
    --font-heading: 'Logoplex', 'Logoplexi', 'Jost', sans-serif;
    --font-signature: 'Arrange Signature', 'Great Vibes', cursive;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll from animations */
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1rem;
    font-weight: 300;
}

/* Utility / Glassmorphism */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(147, 50, 145, 0.3);
}

.btn-primary-small {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-primary-small:hover {
    background-color: var(--glass-border);
    color: var(--primary-dark);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background-color: #6B5B63;
}

.navbar.scrolled {
    background: rgba(89, 77, 83, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 5%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-family: var(--font-signature);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--primary-color);
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: var(--transition);
}

nav a:hover:not(.btn-primary-small) {
    color: rgba(255, 255, 255, 0.8);
}

/* Sections */
section {
    padding: 100px 5%;
    scroll-margin-top: 60px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url("images/Tableau paysage.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 0 5%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(252, 251, 249, 0.3);
    /* Subtle light overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    padding: 40px;
    text-align: center;
    animation: fadeUp 1s ease-out forwards;
}

/* About Section */
.about {
    background-image: url("images/sable_caillou.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(252, 247, 244, 0.85);
    /* rgba value of var(--bg-color) with opacity for readability */
}

.voyages-sonores {
    background-image: url("images/vibration.png");
    background-size: cover;
    background-position: center;
    position: relative;
}

.voyages-sonores::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(252, 247, 244, 0.85);
    /* rgba value of var(--bg-color) with opacity for readability */
}

.about-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.benefits {
    list-style: none;
    margin-top: 1.5rem;
}

.benefits li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

/* Services Section */
.services {
    background-image: url("images/sable_caillou.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(252, 247, 244, 0.85);
}

.services>* {
    position: relative;
    z-index: 1;
}

.badge-decouverte {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 500;
    box-shadow: 0 8px 25px rgba(198, 151, 105, 0.4);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-color);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.price {
    display: block;
    margin-top: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(135deg, var(--bg-color) 0%, #eef3f0 100%);
}

.contact-container {
    max-width: 800px;
    width: 100%;
    padding: 50px;
    text-align: center;
}

.contact-info {
    margin: 2rem 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(147, 50, 145, 0.2);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background-color: var(--primary-dark);
    color: white;
}

.credits {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 5px;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.section-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 15px;
        background: var(--bg-color);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.2rem;
    }

    .contact-info {
        flex-direction: column;
    }
}