/* ============================================
   IDENTITÉ VISUELLE
   Palette : encre profonde + bronze brossé + ivoire pierre
   Typo : serif éditoriale (titres) + sans-serif neutre (texte)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Questrial&display=swap');

:root {
    --ink: #2A1F1A;
    --ink-soft: #4A3F38;
    --stone: #FAF6F1;
    --stone-deep: #EFE7DD;
    --bronze: #B8945A;
    --bronze-light: #D4AA72;
    --success: #4A7A5C;
    --error: #B4483C;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Questrial', -apple-system, sans-serif;
    --radius: 2px;
    --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--stone);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { color: var(--ink-soft); }

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

img { max-width: 100%; display: block; }

/* ============================================
   HEADER
   ============================================ */

.site-header {
    background: var(--ink);
    color: var(--stone);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    color: var(--stone);
}

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

.main-nav a {
    font-size: 0.92rem;
    color: var(--stone-deep);
    transition: color 0.2s ease;
}

.main-nav a:hover { color: var(--bronze-light); }

.nav-toggle { display: none; background: none; border: none; color: var(--stone); font-size: 1.4rem; cursor: pointer; }

/* ============================================
   BOUTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--bronze);
    color: var(--ink);
}
.btn-primary:hover { background: var(--bronze-light); }

.btn-outline {
    background: transparent;
    border-color: currentColor;
    color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--stone); }

.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ============================================
   HERO
   ============================================ */

.hero {
    background: var(--ink);
    color: var(--stone);
    padding: 110px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    right: -10%;
    top: -20%;
    width: 480px;
    height: 480px;
    border: 1px solid rgba(199, 168, 118, 0.25);
    border-radius: 50%;
}

.hero-inner { max-width: 720px; position: relative; text-align: center; margin: 0 auto; }

.hero .eyebrow {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--bronze-light);
    margin-bottom: 18px;
    display: block;
}

.hero-wordmark {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 8px;
}
.hero-wordmark em { color: var(--bronze-light); font-style: italic; }

.hero-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--stone-deep);
    margin-bottom: 32px;
}

.hero-divider {
    width: 80px;
    height: 1px;
    background: var(--bronze);
    margin: 0 auto 32px;
}

.hero h1 { margin-bottom: 22px; }
.hero p.hero-quote { color: var(--stone-deep); font-size: 1.15rem; font-style: italic; margin: 0 auto 34px; max-width: 620px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   PHOTO AVEC CADRE (section À propos)
   ============================================ */

.framed-photo {
    position: relative;
    padding: 18px 18px 18px 0;
}
.framed-photo::before {
    content: '';
    position: absolute;
    top: 0; left: 18px; right: -18px; bottom: -18px;
    border: 1px solid var(--bronze);
    z-index: 0;
}
.framed-photo img {
    position: relative;
    z-index: 1;
    display: block;
}
.framed-photo::after {
    content: '✦';
    position: absolute;
    bottom: -30px;
    right: -10px;
    font-size: 3rem;
    color: var(--bronze-light);
    opacity: 0.6;
    z-index: 0;
}

/* ============================================
   CERCLE DECORATIF (section Mon Univers)
   ============================================ */

.energy-circle {
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--bronze-light), var(--bronze) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.energy-circle::before {
    content: '';
    position: absolute;
    width: 62%;
    height: 62%;
    border-radius: 50%;
    border: 1px solid rgba(42,31,26,0.35);
}
.energy-circle .circle-words {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--ink);
    text-align: center;
    line-height: 2;
}

/* ============================================
   SECTION CONTACT SUR LA HOME (fond sombre)
   ============================================ */

.contact-dark-section {
    background: var(--ink);
    color: var(--stone);
    padding: 90px 0;
}
.contact-dark-section input,
.contact-dark-section textarea {
    background: var(--stone);
    border: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}
.contact-dark-section .form-group { margin-bottom: 16px; }

/* ============================================
   SECTIONS GENERALES
   ============================================ */

section { padding: 80px 0; }

.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head .eyebrow {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--bronze);
    display: block;
    margin-bottom: 12px;
}

/* ============================================
   GRILLE PRESTATIONS
   ============================================ */

.prestations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.prestation-card {
    background: #fff;
    border: 1px solid var(--stone-deep);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.prestation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(23, 22, 26, 0.08);
}

.prestation-card .card-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.prestation-card h3 { margin-bottom: 10px; }
.prestation-card p { font-size: 0.94rem; flex: 1; margin-bottom: 20px; }

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--stone-deep);
}

.card-price { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.card-duration { font-size: 0.82rem; color: var(--ink-soft); }

/* ============================================
   FICHE PRESTATION
   ============================================ */

.prestation-detail {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    align-items: start;
}

.prestation-detail .price-box {
    background: #fff;
    border: 1px solid var(--stone-deep);
    padding: 28px;
    border-radius: var(--radius);
    position: sticky;
    top: 100px;
}

.price-box .amount { font-family: var(--font-display); font-size: 2rem; margin-bottom: 4px; }
.price-box .duration { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 24px; }

/* ============================================
   RESERVATION — TUNNEL
   ============================================ */

.booking-steps {
    display: flex;
    gap: 8px;
    margin-bottom: 44px;
    list-style: none;
}

.booking-steps li {
    flex: 1;
    text-align: center;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--stone-deep);
    color: var(--ink-soft);
}

.booking-steps li.active { border-color: var(--bronze); color: var(--ink); font-weight: 600; }

.calendar-picker {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 32px;
}

.day-chip {
    flex: 0 0 auto;
    background: #fff;
    border: 1px solid var(--stone-deep);
    border-radius: var(--radius);
    padding: 14px 18px;
    text-align: center;
    cursor: pointer;
    min-width: 78px;
    transition: all 0.15s ease;
}

.day-chip .dow { display: block; font-size: 0.72rem; text-transform: uppercase; color: var(--ink-soft); }
.day-chip .num { display: block; font-family: var(--font-display); font-size: 1.3rem; margin-top: 4px; }
.day-chip.selected { border-color: var(--bronze); background: var(--ink); color: var(--stone); }
.day-chip.selected .dow, .day-chip.selected .num { color: var(--stone); }

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
    margin-bottom: 32px;
}

.slot-btn {
    background: #fff;
    border: 1px solid var(--stone-deep);
    border-radius: var(--radius);
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.15s ease;
}

.slot-btn:hover { border-color: var(--bronze); }
.slot-btn.selected { background: var(--bronze); border-color: var(--bronze); color: var(--ink); font-weight: 600; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.86rem; margin-bottom: 6px; font-weight: 500; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--stone-deep);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bronze);
}

.summary-box {
    background: #fff;
    border: 1px solid var(--stone-deep);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 28px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.94rem;
    border-bottom: 1px solid var(--stone-deep);
}
.summary-row:last-child { border-bottom: none; font-weight: 600; }

.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.alert-error { background: #FBEAE7; color: var(--error); border: 1px solid #EBC3BC; }
.alert-success { background: #EAF2EC; color: var(--success); border: 1px solid #C6DECC; }

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

.site-footer {
    background: var(--ink);
    color: var(--stone-deep);
    margin-top: 100px;
    padding-top: 60px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bronze-light);
    margin-bottom: 16px;
}

.footer-col a, .footer-col p { display: block; font-size: 0.88rem; color: var(--stone-deep); margin-bottom: 8px; }
.footer-col a:hover { color: var(--bronze-light); }

.footer-bottom {
    border-top: 1px solid rgba(242, 239, 233, 0.12);
    padding: 22px 0;
    font-size: 0.8rem;
    color: rgba(242, 239, 233, 0.5);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 860px) {
    .main-nav { display: none; }
    .nav-toggle { display: block; }
    .prestation-detail { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .price-box { position: static; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}
