:root {
    --beige: #F5F1EB;
    --black: #1A1A1A;
    --olive: #6B7D5C;
    --white: #FFFFFF;
    --gray: #888888;
    --border: rgba(26, 26, 26, 0.1);
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--black);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo, .footer-logo {
    font-family: var(--font-serif);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.container-fluid {
    width: 100%;
    padding: 0 5%;
}

.section {
    padding: 120px 0;
}

.bg-light {
    background-color: var(--beige);
}

.subtitle {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--olive);
    margin-bottom: 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--black);
    color: var(--white);
}

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

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--black);
    color: var(--black);
}

.btn-outline:hover {
    background-color: var(--black);
    color: var(--white);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.8rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 30px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.header.scrolled .logo, .header.scrolled .nav ul li a {
    color: var(--black);
}

.logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
    z-index: 1001;
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav ul li a {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: currentColor;
    transition: var(--transition);
}

.nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

.header.scrolled .menu-toggle span {
    background-color: var(--black);
}

/* Hero */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 5%;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Salon Section */
.salon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vh;
    align-items: center;
}

.salon-img img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.salon-text h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.salon-text p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Prestations */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 50px 40px;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--gray);
    margin-bottom: 30px;
    flex-grow: 1;
}

.price {
    display: inline-block;
    font-weight: 500;
    font-size: 0.95rem;
    border-top: 1px solid var(--border);
    padding-top: 15px;
    width: 100%;
    color: var(--olive);
}

/* Galerie */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
    border-radius: 4px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.gallery-overlay span {
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: var(--transition);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* Booking */
.booking-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 60px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.03);
    border-radius: 8px;
}

.booking-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 40px;
}

.booking-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.steps-indicator {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    position: relative;
}

.steps-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border);
    z-index: 1;
}

.step {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray);
    opacity: 0.6;
    transition: var(--transition);
    background: var(--white);
    padding: 0 10px;
    z-index: 2;
}

.step.active {
    color: var(--olive);
    opacity: 1;
}

.booking-step {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.booking-step.active {
    display: block;
}

.booking-step h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.select-wrapper {
    position: relative;
}

select {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border);
    font-family: var(--font-sans);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    appearance: none;
    background: var(--white) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>') no-repeat right 15px center;
    cursor: pointer;
    border-radius: 4px;
}

select:focus {
    border-color: var(--olive);
}

.step-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

/* Calendar placeholder */
.calendar-ui {
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 4px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 500;
}

.cal-nav {
    background: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.cal-nav:hover {
    background: var(--beige);
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 10px;
}

.calendar-days div {
    padding: 10px 0;
    font-size: 0.9rem;
}

.calendar-days .day {
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.calendar-days .day:hover {
    background: var(--beige);
}

.calendar-days .day.selected {
    background: var(--black);
    color: var(--white);
    transform: scale(1.1);
}

.calendar-days .disabled {
    color: var(--border);
}

/* Time slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.time-slot {
    padding: 15px;
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: var(--transition);
    border-radius: 4px;
}

.time-slot:hover:not(.disabled) {
    border-color: var(--black);
}

.time-slot.active {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.time-slot.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: var(--beige);
}

/* Form */
.form-group {
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border);
    font-family: var(--font-sans);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    border-radius: 4px;
}

input:focus {
    border-color: var(--olive);
}

/* Success */
.success {
    text-align: center;
    padding: 40px 0;
}

.check-icon {
    width: 80px;
    height: 80px;
    background: var(--olive);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 30px;
}

.summary-details {
    color: var(--gray);
    margin-top: 15px;
    font-size: 0.95rem;
}

/* Avis */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial {
    background: var(--white);
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.stars {
    color: var(--olive);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gray);
    margin-bottom: 20px;
}

.author {
    font-family: var(--font-serif);
    font-weight: 600;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.info-block {
    margin-bottom: 30px;
}

.info-block h4 {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    margin-bottom: 10px;
}

.hours li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.socials {
    margin-top: 30px;
}

.socials a {
    margin-right: 20px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
}

.socials a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--black);
    transition: var(--transition);
}

.socials a:hover::after {
    width: 100%;
}

.map-placeholder {
    width: 100%;
    height: 500px;
    background: #EAEAEA;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;utf8,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><path d="M0 39.5h40v1H0z" fill="rgba(0,0,0,0.05)"/><path d="M39.5 0v40h1V0z" fill="rgba(0,0,0,0.05)"/></svg>');
}

.pin {
    width: 20px;
    height: 20px;
    background: var(--black);
    border-radius: 50%;
    margin-bottom: 10px;
    position: relative;
    box-shadow: 0 0 0 10px rgba(26,26,26,0.1);
}

.pin::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 15px 10px 0;
    border-style: solid;
    border-color: var(--black) transparent transparent;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-top {
    text-align: center;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.footer-links a {
    margin-left: 20px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal, .reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal.active, .reveal-up.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0);
}

/* Responsive */
@media (max-width: 992px) {
    .section { padding: 80px 0; }
    .hero h1 { font-size: 4rem; }
    .salon-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .booking-wrapper { padding: 40px 20px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .steps-indicator { flex-wrap: wrap; justify-content: space-around; gap: 20px; }
    .steps-indicator::before { display: none; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100vw;
        height: 100vh;
        background: var(--black);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        padding: 50px;
    }
    .nav.nav-open {
        right: 0;
    }
    .header.scrolled .menu-toggle span { background-color: var(--black); }
    .nav.nav-open ~ .menu-toggle span { background-color: var(--white); }
    .nav.nav-open ~ .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav.nav-open ~ .menu-toggle span:nth-child(2) { opacity: 0; }
    .nav.nav-open ~ .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .nav ul { flex-direction: column; text-align: center; gap: 40px; }
    .nav ul li a { font-size: 1.5rem; }
    
    .hero h1 { font-size: 3rem; }
    .cards-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .time-slots { grid-template-columns: repeat(2, 1fr); }
    
    .footer-bottom { flex-direction: column; text-align: center; gap: 20px; }
    .footer-links a { margin: 0 10px; }
}
