
/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --terracotta: #C4728A;
    --terracotta-light: #FCEEF3;
    --terracotta-mid: #E0A3B5;
    --teal: #5A9E7A;
    --teal-light: #EAF5EE;
    --teal-mid: #8DCBA8;
    --amber: #7AAD85;
    --amber-light: #EDF6F0;
    --cream: #FDF8FA;
    --brown-dark: #2E1F28;
    --brown-mid: #7A4F61;
    --text: #2E1F28;
    --text-muted: #7A6070;
    --border: rgba(196,114,138,0.15);
    --radius: 16px;
    --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
}

/* ── TYPOGRAPHIE COMMUNE ── */
h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem; font-weight: 700;
    color: var(--brown-dark); margin-bottom: 0.5rem;
}
h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem; font-weight: 600;
    color: var(--brown-dark); margin-bottom: 1rem;
}
p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 0.75rem; }
strong { color: var(--brown-dark); }
a { color: var(--terracotta); }

/* ── NAV ── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(253,248,250,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem; font-weight: 700;
    color: var(--terracotta); text-decoration: none;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
    text-decoration: none; color: var(--text-muted);
    font-size: 0.9rem; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--terracotta); }
.nav-cta {
    background: var(--terracotta); color: #fff;
    border: none; border-radius: 50px;
    padding: 0.5rem 1.4rem; font-size: 0.9rem; font-weight: 500;
    cursor: pointer; text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--brown-mid); transform: translateY(-1px); }
.back-link {
    font-size: 0.88rem; color: var(--text-muted);
    text-decoration: none; transition: color 0.2s;
}
.back-link:hover { color: var(--terracotta); }

/* ── SECTIONS COMMUNES ── */
section { padding: 6rem 2rem; }
.container { max-width: 1300px; margin: 0 auto; }
.section-label {
    font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--terracotta); font-weight: 500; margin-bottom: 0.75rem;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700; line-height: 1.2;
    color: var(--brown-dark); margin-bottom: 1.25rem;
}
.section-subtitle {
    font-size: 1.05rem; color: var(--text-muted);
    max-width: 540px; line-height: 1.8;
}

/* ── HERO ── */
#accueil {
    padding-top: 5rem;
    min-height: 90vh;
    display: flex; align-items: center;
    background:
        radial-gradient(ellipse 60% 50% at 80% 50%, #FCEEF380 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 10% 80%, #EAF5EE50 0%, transparent 60%),
        var(--cream);
}
.hero-outer { max-width: 1100px; margin: 0 auto; width: 100%; }
.hero-inner {
    max-width: 1300px; margin: 0 auto; width: 100%;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-tag {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--teal-light); color: var(--teal);
    border-radius: 50px; padding: 0.35rem 1rem;
    font-size: 0.82rem; font-weight: 500; margin-bottom: 1.5rem;
}
.hero-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-mid); }
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 700; line-height: 1.15;
    color: var(--brown-dark); margin-bottom: 1.25rem;
    white-space: nowrap; width: max-content;
}
.hero-title em { color: var(--terracotta); font-style: normal; }
.hero-desc { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.btn-primary {
    background: var(--terracotta); color: #fff;
    border: none; border-radius: 50px;
    padding: 0.85rem 2rem; font-size: 1rem; font-weight: 500;
    cursor: pointer; text-decoration: none;
    transition: background 0.2s, transform 0.15s; display: inline-block;
}
.btn-primary:hover { background: var(--brown-mid); transform: translateY(-2px); }
.btn-secondary {
    color: var(--text-muted); font-size: 0.95rem;
    text-decoration: none; font-weight: 500;
    display: flex; align-items: center; gap: 0.4rem; transition: color 0.2s;
}
.btn-secondary:hover { color: var(--terracotta); }
.hero-stats {
    display: flex; gap: 2.5rem; margin-top: 2.5rem;
    padding-top: 2rem; border-top: 1px solid var(--border);
}
.stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--brown-dark); }
.stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card {
    background: #fff; border-radius: 24px;
    padding: 2rem; width: 100%; max-width: 380px;
    box-shadow: 0 24px 64px rgba(61,35,20,0.1);
    position: relative; z-index: 1;
}
.avatar {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, var(--terracotta-mid), var(--teal-mid));
    display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', serif; font-size: 1.8rem; color: #fff;
    margin-bottom: 1rem;
}
.hero-card h3 { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--brown-dark); }
.hero-card p { font-size: 0.88rem; color: var(--text-muted); margin-top: 0.25rem; }
.rating { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; }
.stars { color: var(--amber); letter-spacing: 2px; }
.rating-text { font-size: 0.82rem; color: var(--text-muted); }
.testimonial-mini {
    background: var(--cream); border-radius: var(--radius-sm);
    padding: 0.9rem 1rem; margin-top: 1rem;
    font-size: 0.88rem; color: var(--text-muted); line-height: 1.6;
    border-left: 3px solid var(--terracotta-mid);
}
.badge-float {
    position: absolute; right: -1.5rem; bottom: -1.5rem;
    background: var(--teal); color: #fff;
    border-radius: 50px; padding: 0.6rem 1rem;
    font-size: 0.82rem; font-weight: 500;
    box-shadow: 0 8px 20px rgba(90,158,122,0.3);
    white-space: nowrap; z-index: 3;
}

/* ── À PROPOS ── */
#apropos { background: #fff; }
.apropos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.apropos-img-wrap { position: relative; }
.apropos-img {
    width: 100%; aspect-ratio: 4/5; border-radius: 24px;
    background: linear-gradient(160deg, var(--terracotta-light) 0%, var(--teal-light) 100%);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.apropos-initials {
    font-family: 'Playfair Display', serif;
    font-size: 8rem; color: var(--terracotta-mid); opacity: 0.35; user-select: none;
}
.apropos-badge {
    position: absolute; 
    top: 1rem;      /* ← haut au lieu de bottom */
    left: -1.5rem;  /* ← reste à gauche */
    background: #fff; border-radius: var(--radius);
    padding: 0.6rem 0.9rem; box-shadow: 0 12px 32px rgba(61,35,20,0.12);

}
.apropos-badge .badge-num { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--teal); font-weight: 700; }
.apropos-badge .badge-text { font-size: 0.72rem; color: var(--text-muted); }





.apropos-top {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr;;
    gap: 4rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.apropos-texte {
    padding-top: 1rem;
}

.apropos-valeurs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.apropos-valeurs .value-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.apropos-img {
    width: 100%;
    aspect-ratio: 2/1;
    border-radius: 0px;
    background: none;
    overflow: hidden;
}


.values { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.value-item { display: flex; gap: 1rem; align-items: flex-start; }
.value-icon {
    width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.value-icon.orange { background: var(--terracotta-light); }
.value-icon.teal { background: var(--teal-light); }
.value-icon.amber { background: var(--amber-light); }
.value-title { font-weight: 500; color: var(--brown-dark); font-size: 0.95rem; }
.value-desc { font-size: 0.88rem; color: var(--text-muted); margin-top: 0.15rem; }

/* ── SERVICES ── */
#services {
    background:
        radial-gradient(ellipse 70% 60% at 100% 100%, var(--teal-light) 0%, transparent 65%),
        var(--cream);
}
.services-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem;
}
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.services-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.service-card {
    background: #fff; border-radius: var(--radius);
    padding: 2rem; position: relative; overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s; border: 1px solid var(--border);
    
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(61,35,20,0.1); }
.service-card.featured { background: var(--terracotta); color: #fff; border-color: transparent; }
.service-card.featured .service-desc,
.service-card.featured .service-duration,
.service-card.featured .service-price-label { color: rgba(255,255,255,0.75); }
.service-card.featured .service-name { color: #fff; }
.service-card.featured .service-tag { background: rgba(255,255,255,0.2); color: #fff; }
.service-tag {
    display: inline-block; background: var(--terracotta-light);
    color: var(--terracotta); border-radius: 50px;
    padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 500; margin-bottom: 1.25rem;
}
.service-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.service-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--brown-dark); margin-bottom: 0.75rem; }
.service-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.service-footer {
    display: flex; flex-direction: column; gap: 0.75rem;
    border-top: 1px solid var(--border); padding-top: 1rem; margin-top: auto;
    align-items: flex-start;
}
.service-card.featured .service-footer { border-color: rgba(255,255,255,0.2); }
.service-price { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; }
.service-price-label { font-size: 0.78rem; color: var(--text-muted); }
.service-duration { font-size: 0.82rem; color: var(--text-muted); }
.service-btn {
    display: inline-block; padding: 0.4rem 1rem;
    border-radius: 50px; font-size: 0.82rem; font-weight: 500;
    text-decoration: none; cursor: pointer;
    border: 1px solid var(--border); color: var(--brown-dark); background: transparent;
    transition: background 0.2s, color 0.2s;
}
.service-btn:hover { background: var(--terracotta); color: #fff; border-color: transparent; }
.service-card.featured .service-btn { background: #fff; color: var(--terracotta); border-color: transparent; }
.service-card.featured .service-btn:hover { background: rgba(255,255,255,0.85); }

/* ── TABS ── */
.tabs { display: flex; gap: 0.5rem; margin-top: 1rem; }
.tab {
    padding: 0.4rem 1.25rem; border-radius: 50px;
    border: 1px solid var(--border); background: transparent;
    font-size: 0.85rem; font-weight: 500; cursor: pointer;
    color: var(--text-muted); font-family: 'DM Sans', sans-serif; transition: all 0.2s;
}
.tab:hover { border-color: var(--terracotta); color: var(--terracotta); }
.tab.active { background: var(--terracotta); color: #fff; border-color: var(--terracotta); }

/* ── RENDEZ-VOUS ── */
#rendez-vous { background: #fff; }
.rdv-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.rdv-info { position: sticky; top: 5rem; }
.rdv-steps { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.rdv-step { display: flex; gap: 1rem; align-items: flex-start; }
.step-num {
    width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
    background: var(--terracotta-light); color: var(--terracotta);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.82rem;
}
.step-title { font-weight: 500; color: var(--brown-dark); font-size: 0.95rem; }
.step-desc { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.15rem; }
.rdv-form { background: var(--cream); border-radius: 20px; padding: 2.5rem; border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--brown-dark); }
.form-group input,
.form-group select,
.form-group textarea {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 0.7rem 1rem;
    font-family: 'DM Sans', sans-serif; font-size: 0.92rem; color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s; outline: none; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(196,114,138,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
    width: 100%; background: var(--terracotta); color: #fff;
    border: none; border-radius: 50px; padding: 1rem;
    font-size: 1rem; font-weight: 500; cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.2s, transform 0.15s; margin-top: 0.5rem;
}
.form-submit:hover { background: var(--brown-mid); transform: translateY(-1px); }
.form-note { text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-top: 0.75rem; }
.form-success { display: none; text-align: center; padding: 2rem; }
.form-success .check-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--teal-light); color: var(--teal);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; margin: 0 auto 1rem;
}
.form-success h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--brown-dark); margin-bottom: 0.5rem; }
.form-success p { font-size: 0.9rem; color: var(--text-muted); }

/* ── FOOTER ── */
footer {
    background: #2E1F28; color: rgba(255,255,255,0.6);
    padding: 3rem 2rem; text-align: center;
}
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: #fff; font-weight: 700; margin-bottom: 0.75rem; }
.footer-links { display: flex; justify-content: center; gap: 2rem; list-style: none; margin: 1.25rem 0; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--terracotta-mid); }
.footer-copy { font-size: 0.78rem; margin-top: 1.5rem; }
footer a { color: rgba(255,255,255,0.5); text-decoration: underline; }

/* ── NOTIFICATION ── */
.notif {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999;
    background: #fff; border-radius: var(--radius);
    padding: 1rem 1.25rem; max-width: 300px;
    box-shadow: 0 12px 32px rgba(61,35,20,0.15);
    border-left: 4px solid var(--teal);
    transform: translateX(120%); transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.notif.show { transform: translateX(0); }
.notif-title { font-weight: 500; color: var(--brown-dark); font-size: 0.9rem; }
.notif-text { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ── SIDEBAR ATELIERS ── */
.sidebar { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 50; display: flex; align-items: center; }
.sidebar-panel {
    background: #fff; border-radius: 16px 0 0 16px;
    border: 1px solid var(--border); border-right: none;
    width: 260px; max-height: 70vh;
    box-shadow: -8px 0 32px rgba(196,114,138,0.1);
    display: flex; flex-direction: column;
    transition: width 0.3s ease, opacity 0.3s ease; overflow: hidden;
}
.sidebar-panel.reduit { width: 0; opacity: 0; border: none; }
.sidebar-header { padding: 1.25rem 1.25rem 0.75rem; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.sidebar-title { font-family: 'Playfair Display', serif; font-size: 0.95rem; font-weight: 700; color: var(--brown-dark); }
.sidebar-content { overflow-y: auto; padding: 0.75rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.85rem; }
.atelier-card { background: var(--cream); border-radius: 10px; padding: 0.85rem; border: 1px solid var(--border); transition: transform 0.2s; }
.atelier-card:hover { transform: translateX(-2px); }
.atelier-tag {
    display: inline-block; padding: 0.15rem 0.6rem; border-radius: 50px;
    font-size: 0.7rem; font-weight: 500;
    background: var(--terracotta-light); color: var(--terracotta); margin-bottom: 0.4rem;
}
.atelier-nom { font-size: 0.88rem; font-weight: 600; color: var(--brown-dark); margin-bottom: 0.25rem; }
.atelier-date { font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.3rem; }
.atelier-places { font-size: 0.75rem; margin-top: 0.4rem; color: var(--teal); font-weight: 500; }
.atelier-places.complet { color: var(--terracotta); }
.sidebar-toggle {
    background: var(--terracotta); color: #fff;
    border: none; border-radius: 8px 0 0 8px;
    width: 28px; min-height: 50px;
    cursor: pointer; display: flex;
    align-items: center; justify-content: center;
    font-size: 1rem; font-weight: 700;
    box-shadow: -4px 0 12px rgba(196,114,138,0.2);
    transition: background 0.2s; flex-shrink: 0;
    writing-mode: horizontal-tb;
}
.sidebar-toggle:hover { background: var(--brown-mid); }

/* ── PAGES LÉGALES ── */
main { max-width: 760px; margin: 0 auto; padding: 4rem 2rem; }
/* Page admin — plus large */
.main-admin { max-width: 1400px; margin: 0 auto; padding: 2rem; }
.page-label {
    font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--terracotta); font-weight: 500; margin-bottom: 0.75rem;
}
.date-maj { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 3rem; }
.intro-box {
    background: var(--teal-light); border-radius: 12px; padding: 1.25rem 1.5rem;
    margin-bottom: 3rem; font-size: 0.92rem; color: var(--teal); border-left: 4px solid var(--teal);
}
.section { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--border); }
.section:last-child { border-bottom: none; }
ul { list-style: none; margin: 0.75rem 0; }
.section ul li {
    font-size: 0.95rem; color: var(--text-muted);
    padding: 0.4rem 0; padding-left: 1.25rem; position: relative;
}
.section ul li::before {
    content: '→'; position: absolute; left: 0;
    color: var(--terracotta); font-size: 0.85rem;
}
.droits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.droit-card { background: var(--terracotta-light); border-radius: 10px; padding: 1rem; }
.droit-titre { font-weight: 600; color: var(--brown-dark); font-size: 0.9rem; margin-bottom: 0.35rem; }
.droit-desc { font-size: 0.82rem; color: var(--text-muted); }
.contact-box {
    background: #fff; border-radius: 12px; padding: 1.25rem 1.5rem;
    margin-top: 1rem; border: 1px solid var(--border);
    font-size: 0.92rem; color: var(--text-muted);
}
.contact-box strong { display: block; margin-bottom: 0.25rem; color: var(--brown-dark); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .services-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* Grilles en colonne unique */
    .hero-inner, .apropos-grid, .services-grid, .rdv-grid { 
        grid-template-columns: 1fr; 
    }

    /* Cache la colonne info RDV sur mobile — le formulaire suffit */
    .rdv-info { display: none; }

    /* Formulaire pleine largeur */
    .rdv-form { padding: 1.5rem; }

    /* Formulaire — champs en colonne */
    .form-row { grid-template-columns: 1fr; }

    /* Hero */
    .hero-visual { display: none; }
    .badge-float { display: none; }
    .hero-title { white-space: normal; width: auto; font-size: 1.8rem; }
    .hero-stats { gap: 1.5rem; }

    /* Nav */
    nav { padding: 0 1rem; }
    .nav-links { display: none; }

    /* Logo plus petit */
    .nav-logo img { height: 50px !important; }

    /* Sections */
    section { padding: 3rem 1.25rem; }
    .services-header { flex-direction: column; align-items: flex-start; }

    /* Sidebar cachée */
    .sidebar { display: none; }

    /* À propos */
    .apropos-badge { display: none; }

    /* Footer */
    .footer-links { flex-direction: column; gap: 0.75rem; align-items: center; }
}


@media (max-width: 600px) {
    .services-grid-4 { grid-template-columns: 1fr; }
    .droits-grid { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 768px) {
    .apropos-top { grid-template-columns: 1fr; }
    .apropos-valeurs { grid-template-columns: 1fr; }
}