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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #111;
    color: #fff;
    line-height: 1.6;
}

/* --- HERO --- */
.hero {
    height: 100vh;
    background:
            linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
            url("../images/maquilleuse2.jpeg") no-repeat center top 35% / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
}
.hero h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    animation: fadeDown 1.2s ease forwards;
}
.hero p {
    font-size: 1.2em;
    max-width: 600px;
    margin-bottom: 30px;
    animation: fadeUp 1.5s ease forwards;
}
.hero a {
    background: linear-gradient(135deg, #d4af37, #ffedc0);
    color: #111;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(212,175,55,0.5);
    transition: 0.3s;
}
.hero a:hover {
    background: #fff;
    color: #d4af37;
    transform: translateY(-3px);
}
@keyframes fadeDown { from {opacity:0; transform:translateY(-30px);} to {opacity:1; transform:translateY(0);} }
@keyframes fadeUp { from {opacity:0; transform:translateY(30px);} to {opacity:1; transform:translateY(0);} }

/* --- TITRES DES SECTIONS --- */
section {
    padding: 80px 60px;
}
section h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #d4af37;
    position: relative;
}
section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #d4af37;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* --- ABOUT --- *//* --- About --- */
.about {
    padding: 80px 20px;
    background: linear-gradient(135deg, #111, #1c1c1c);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* Photo à gauche */
.about-photo img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.8);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.about-photo img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(212, 175, 55, 1);
}

/* Texte à droite */
.about-text {
    flex: 1;
    min-width: 300px;
    color: #fdfdfd;
}
.about-text h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #d4af37;
    position: relative;
}
.about-text h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #d4af37;
    margin-top: 8px;
}
.about-text p {
    font-size: 1.05em;
    line-height: 1.6;
    margin-bottom: 15px;
}
.about-text strong {
    color: #d4af37;
}
.about-text em {
    color: #f4c2c2;
}

/* Responsive */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .about-photo img {
        width: 220px;
        height: 220px;
    }
    .about-text h2::after {
        margin: 8px auto 0;
    }
}


/* --- SERVICES --- */
.services {
    padding: 60px 20px;
    text-align: center;
}

.services h2 {
    font-size: 32px;
    color: #d4af37;
    margin-bottom: 40px;
    position: relative;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* exactement 2 services par ligne */
    gap: 75px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: #111;
    border: 2px solid #d4af37;
    border-radius: 15px;
    padding: 25px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* Titre + Prix alignés */
.title-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.title-price h3 {
    color: #fff;
    font-size: 1.2em;
}

.title-price .price {
    color: #d4af37;
    font-weight: bold;
    font-size: 1.1em;
}

.title-price .dots {
    flex: 1;
    border-bottom: 1px dashed #444; /* ligne discrète */
    margin: 0 10px;
}


/* Description */
.service-card p {
    color: #f4c2c2;
    font-size: 0.95em;
}



/* --- PORTFOLIO --- */
/* --- Portfolio --- */
.portfolio-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #111, #1c1c1c);
    text-align: center;
}

.portfolio-section h2 {
    font-size: 32px;
    color: #d4af37;
    margin-bottom: 10px;
    position: relative;
}
.portfolio-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #d4af37;
    margin: 10px auto 0;
    border-radius: 2px;
}
.portfolio-intro {
    color: #f4c2c2;
    margin-bottom: 40px;
    font-size: 1.05em;
}

/* --- Grille Portfolio --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.portfolio-item {
    background: #111;
    border: 2px solid #d4af37;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}
.portfolio-item:hover img {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 500px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}


/* --- CONTACT --- */
/* --- Contact --- */
.contact {
    padding: 100px 20px;
    background: linear-gradient(135deg, #111, #1c1c1c);
    color: #fff;
}

.contact-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 40px;
    background: rgba(0,0,0,0.6);
    border: 2px solid #d4af37;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

/* Texte à gauche */
.contact-text {
    flex: 1;
    background: #111;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}
.contact-text h2 {
    font-size: 2.2em;
    color: #d4af37;
    margin-bottom: 15px;
}
.contact-text p {
    font-size: 1.05em;
    line-height: 1.6;
    color: #f4c2c2;
}
.contact-text em {
    color: #fff;
    font-weight: bold;
}

/* Formulaire à droite */
.contact-form {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #1a1a1a;
}

.contact-form input,
.contact-form textarea {
    padding: 14px;
    border: 1px solid #444;
    border-radius: 8px;
    font-size: 1em;
    background: #111;
    color: #fff;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border: 1px solid #d4af37;
    box-shadow: 0 0 10px rgba(212,175,55,0.6);
    outline: none;
}

/* Bouton */
.contact-form button {
    padding: 14px;
    background: linear-gradient(135deg, #d4af37, #ffedc0);
    color: #111;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 5px 15px rgba(212,175,55,0.4);
}
.contact-form button:hover {
    background: #fff;
    color: #d4af37;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 900px) {
    .contact-wrapper {
        flex-direction: column;
    }
    .contact-text, .contact-form {
        text-align: center;
    }
}


/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 25px;
    background: #000;
    color: #888;
}


/*PAGE RDV*/
/* --- Page Rendez-vous --- */
.rdv-page {
    padding: 120px 20px;
    background: linear-gradient(135deg, #111, #1c1c1c);
    color: #fff;
}

.rdv-container {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 40px;
    background: rgba(0,0,0,0.7);
    border: 2px solid #d4af37;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

/* Colonne gauche */
.rdv-left {
    flex: 1;
    background: #111;
    padding: 30px;
    text-align: center;
    border-right: 2px solid #d4af37;
}
.rdv-profile img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #d4af37;
    margin-bottom: 10px;
}
.rdv-profile h3 {
    color: #d4af37;
    margin-bottom: 5px;
}
.rdv-profile p {
    font-size: 0.95em;
    color: #f4c2c2;
}
.rdv-service, .calendar {
    margin-top: 25px;
    text-align: left;
}
.rdv-service h4, .calendar h4 {
    margin-bottom: 10px;
    color: #fff;
}
.rdv-service select,
.calendar input[type="date"] {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #444;
    background: #1a1a1a;
    color: #fff;
}

/* Colonne droite */
.rdv-right {
    flex: 2;
    padding: 30px;
}
.rdv-right h4 {
    margin-bottom: 15px;
    color: #d4af37;
}
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 25px;
}
.time-slots button {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #444;
    background: #1a1a1a;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}
/* Survol */
.time-slots button:hover {
    background: #d4af37;
    color: #111;
    border: 1px solid #d4af37;
}

/* Sélectionné */
.time-slots button.selected {
    background: #d4af37;
    color: #111;
    border: 2px solid #d4af37;
    box-shadow: 0 0 12px rgba(212,175,55,0.7);
}

/* Formulaire */
.rdv-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.rdv-form input, .rdv-form textarea, .rdv-form select {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #444;
    background: #111;
    color: #fff;
    font-size: 1em;
}
.rdv-form input:focus, .rdv-form textarea:focus {
    border: 1px solid #d4af37;
    box-shadow: 0 0 10px rgba(212,175,55,0.6);
    outline: none;
}
.rdv-form button {
    padding: 14px;
    background: linear-gradient(135deg, #d4af37, #ffedc0);
    color: #111;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(212,175,55,0.4);
}
.rdv-form button:hover {
    background: #fff;
    color: #d4af37;
    transform: translateY(-3px);
}

/* Politiques */
/* --- Politiques générales --- */
.rdv-policy {
    max-width: 900px;
    margin: 50px auto;
    background: #111;
    padding: 40px;
    border-radius: 12px;
    border: 2px solid #d4af37;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.rdv-policy h2 {
    text-align: center;
    font-size: 2em;
    color: #d4af37;
    margin-bottom: 30px;
}

.policy-block {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #444;
}

.policy-block h3 {
    color: #d4af37;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.policy-block p {
    color: #ddd;
    line-height: 1.6;
    font-size: 1em;
}

.policy-block strong {
    color: #d4af37;
}

.policy-block em {
    color: #f4c2c2;
}


/* Responsive */
@media (max-width: 900px) {
    .rdv-container {
        flex-direction: column;
    }
    .rdv-left {
        border-right: none;
        border-bottom: 2px solid #d4af37;
    }
}

.alert {
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 6px;
    font-weight: 500;
    opacity: 1;
}

.alert.success {
    background: #e6f8ef;
    color: #1e7f4a;
}

.alert.error {
    background: #fde8e8;
    color: #b91c1c;
}

.field-error {
    display: block;
    margin-top: 4px;
    font-size: 0.85rem;
    color: #b91c1c;
}

.time-slots button.disabled {
    background-color: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}

.hint {
    font-size: 0.85rem;
    color: #999;
    margin-top: 8px;
}
.rdv-form {
    width: 100%;
}

.rdv-columns {
    display: flex;
    gap: 40px;
}

@media (max-width: 900px) {
    .rdv-columns {
        flex-direction: column;
    }
}
.field {
    width: 100%;
    margin-bottom: 18px;
}

.field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #ccc;
}
.submit-btn {
    width: 100%;
    margin-top: 10px;
}

/* =========================
   LOGIN PAGE
   ========================= */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8e6ec, #fff);
    font-family: 'Poppins', sans-serif;
}

.login-page h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #3a3a3a;
    text-align: center;
}

/* ===== CONTAINER ===== */
.login-page form {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ===== INPUTS ===== */
.login-page input {
    padding: 0.9rem 1rem;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 0.95rem;
    outline: none;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.login-page input:focus {
    border-color: #d48aa1;
    box-shadow: 0 0 0 3px rgba(212, 138, 161, 0.15);
}

/* ===== BUTTON ===== */
.login-page button {
    margin-top: 0.5rem;
    padding: 0.9rem;
    border-radius: 12px;
    border: none;
    background: #d48aa1;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.login-page button:hover {
    background: #c3778e;
    transform: translateY(-2px);
}

/* ===== ERROR ===== */
.login-page .error {
    margin-top: 1rem;
    color: #c0392b;
    font-size: 0.9rem;
    text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .login-page form {
        padding: 2rem 1.5rem;
    }
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #111;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}


.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
}

/* CTA */
.nav-links .cta {
    color: #111;
    background: #d4af37;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 700;
}

.burger {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background: #fff;
    display: block;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: #111;
        padding: 30px 20px;
        gap: 20px;
    }

    .burger {
        display: flex;
    }

    .nav-links.active {
        display: flex;
    }
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.portfolio-filters button {
    padding: 8px 18px;
    border-radius: 25px;
    border: none;
    background: #eee;
    cursor: pointer;
    font-weight: 600;
}

.portfolio-filters button.active {
    background: #d4af37;
    color: #000;
}

.service-link {
    text-decoration: none;
    color: inherit;
}

.service-details {
    max-width: 800px;
    margin: auto;
}

.btn-primary {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 24px;
    background: #d4af37;
    color: black;
    text-decoration: none;
}


.service-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;      /* 👈 nombre de lignes */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

    line-height: 1.5;
    max-height: calc(1.5em * 4);
}

/* ===== SERVICE DETAILS ===== */

.service-details-wrapper {
    display: flex;
    justify-content: center;
    padding: 120px 20px;
    background: #0f0f0f;
}

.service-details-card {
    max-width: 820px;
    width: 100%;
    background: #161616;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 16px;
}

.service-header h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.service-price {
    font-size: 1.6rem;
    font-weight: 600;
    color: #d4af37;
    white-space: nowrap;
}

.service-meta {
    margin-bottom: 32px;
    color: #bbb;
    font-size: 0.95rem;
}

.service-description-full {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 32px;
}

.service-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.service-highlights li {
    margin-bottom: 10px;
    color: #cfcfcf;
    font-size: 0.95rem;
}

.service-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-book {
    padding: 14px 28px;
    background: linear-gradient(135deg, #d4af37, #f5d76e);
    color: #000;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212,175,55,0.4);
}

.btn-back {
    padding: 14px 24px;
    border: 1px solid rgba(255,255,255,0.2);
    color: #ddd;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-back:hover {
    background: rgba(255,255,255,0.05);
}

/* ===== FOOTER ===== */

.site-footer {
    background: #0f0f0f;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(212,175,55,0.2);
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.social-link {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    transition: transform 0.2s ease, background 0.2s ease;
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: #d4af37;
}

.social-link:hover {
    transform: translateY(-2px);
    background: rgba(212,175,55,0.15);
}

.footer-copy {
    font-size: 0.85rem;
    color: #aaa;
}

/* ===== ABOUT SOCIALS ===== */

.about-socials {
    display: flex;
    gap: 18px;
    margin-top: 20px;
}

.about-socials .social-link {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    transition: transform 0.2s ease, background 0.2s ease;
}

.about-socials .social-link svg {
    width: 18px;
    height: 18px;
    fill: #d4af37;
}

.about-socials .social-link:hover {
    transform: translateY(-2px);
    background: rgba(212,175,55,0.18);
}

.policy-content {
    white-space: pre-line;
}

.highlight {
    background-color: #fff3b0;
    color: #000;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}
