/* ─────────────────────────────────────────────────────────────
   Bhuvi Beauté — styles des sous-pages (prestations, tarifs, faq, blog)
   Tokens alignés sur DESIGN.md. Le CSS de index.html n'est pas touché.
   ───────────────────────────────────────────────────────────── */

:root {
    --cream: #f7f5f3;
    --paper: #fffdfc;
    --rose-blush: #f9e8e8;
    --rose-soft: #f2d0d0;
    --rose-mid: #c4718a;
    --rose-deep: #6a2c43;
    --rose-dark: #5a2436;
    --txt: #2b1c1c;
    --muted: #6f5454;
    --faint: #97807f;
    --border: #ecd4d4;
    --green: #4d9e6b;

    --radius: 14px;
    --radius-lg: 18px;
    --container: 1120px;

    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    text-wrap: pretty;
    background: #f7f5f3;
    color: var(--txt);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--rose-deep);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--rose-deep);
    outline-offset: 3px;
    border-radius: 4px;
}

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

.display {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    text-wrap: balance;
}

.eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rose-dark);
    margin: 0 0 10px;
}

/* ─── Boutons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 13px 26px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--rose-deep);
    color: #fff;
}

.btn-primary:hover {
    background: var(--rose-dark);
    color: #fff;
    box-shadow: 0 4px 14px rgba(126, 53, 80, 0.18);
}

.btn-ghost {
    background: var(--paper);
    color: var(--rose-dark);
    border-color: var(--rose-soft);
}

.btn-ghost:hover {
    border-color: var(--rose-mid);
    background: #fff;
}

.btn-sm {
    min-height: 42px;
    padding: 9px 18px;
    font-size: 14px;
}

.icon-phone {
    width: 17px;
    height: 17px;
    flex: none;
}

/* ─── Header ──────────────────────────────────────────────── */
.site-header {
    background: rgba(251, 246, 243, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 40;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: var(--txt);
    font-weight: 600;
}

.brand img {
    width: 20px;
    height: 20px;
    border-radius: 5px;
}

.brand__name {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

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

.site-nav a {
    color: var(--txt);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
}

.site-nav a:hover {
    color: var(--rose-deep);
}

.site-nav a[aria-current="page"] {
    color: var(--rose-dark);
    font-weight: 600;
}

.site-header .btn {
    white-space: nowrap;
}

/* ─── Menu mobile : bouton burger + panneau déroulant (≤860px) ── */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--paper);
    cursor: pointer;
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    order: 3;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--txt);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
    order: 1;
}

.header-call {
    order: 2;
}

@media (max-width: 860px) {
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 14px 28px rgba(43, 28, 28, 0.1);
        padding: 6px 0 10px;
        z-index: 45;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        display: flex;
        align-items: center;
        min-height: 46px;
        padding: 10px 24px;
        font-size: 15.5px;
        border-top: 1px solid var(--border);
    }

    .site-nav a:first-of-type {
        border-top: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .header-call {
        margin-left: auto;
    }
}

@media (max-width: 720px) {
    .header-call {
        display: none;
    }

    .nav-toggle {
        margin-left: auto;
    }

    .site-footer a {
        padding: 11px 0;
    }
}

/* ─── Lien d'évitement (skip link) ────────────────────────── */
.skip-link {
    position: absolute;
    left: 16px;
    top: -64px;
    z-index: 100;
    background: var(--rose-deep);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 0 0 var(--radius) var(--radius);
    transition: top 0.15s ease;
}

.skip-link:focus {
    top: 0;
}

#main:focus {
    outline: none;
}

/* Zones défilantes focalisables (tableaux) */
.table-scroll:focus-visible {
    outline: 2px solid var(--rose-deep);
    outline-offset: 2px;
    border-radius: var(--radius);
}

/* ─── Fil d'ariane ────────────────────────────────────────── */
.breadcrumb {
    background: var(--paper);
    border-bottom: 1px solid var(--border);
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 12px 0;
    font-size: 13px;
    color: var(--muted);
}

.breadcrumb li + li::before {
    content: "›";
    margin-right: 8px;
    color: var(--faint);
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--rose-deep);
    text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
    color: var(--rose-dark);
    font-weight: 600;
}

/* ─── Hero de page ────────────────────────────────────────── */
.page-hero {
    padding: 56px 0 40px;
}

.page-hero h1 {
    font-size: clamp(2rem, 5.5vw, 3rem);
    margin: 0 0 16px;
    max-width: 20ch;
}

.page-hero__lead {
    max-width: 55ch;
    text-wrap: pretty;
    font-size: 17px;
    color: var(--muted);
    margin: 0 0 26px;
}

.page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.page-hero__note {
    margin: 22px 0 0;
    font-size: 13.5px;
    color: var(--muted);
}

.page-hero__note strong {
    color: var(--rose-dark);
    font-variant-numeric: tabular-nums;
}

/* ─── Sections ────────────────────────────────────────────── */
.section {
    padding: 40px 0;
}

.section--blush {
    background: var(--rose-blush);
    color: var(--txt);
}

.section--blush .eyebrow,
.section--blush h2 {
    color: var(--rose-dark);
}

.section h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin: 0 0 12px;
}

.section__sub {
    color: var(--muted);
    max-width: 62ch;
    margin: 0 0 26px;
}

/* ─── Tableau prix / durée ────────────────────────────────── */
.price-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.price-table caption {
    text-align: left;
    padding: 14px 18px;
    font-weight: 600;
    color: var(--rose-dark);
    border-bottom: 1px solid var(--border);
}

.price-table th,
.price-table td {
    text-align: left;
    padding: 13px 18px;
    border-bottom: 1px solid var(--border);
    font-size: 14.5px;
    vertical-align: top;
}

.price-table thead th {
    background: var(--rose-blush);
    color: var(--rose-dark);
    font-size: 12.5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
    border-bottom: 0;
}

.price-table td.price,
.price-table td.duration {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.price-table td.price {
    font-weight: 700;
    color: var(--rose-dark);
    text-align: right;
}

.price-table td.duration {
    color: var(--muted);
    text-align: right;
}

.price-table .service-desc {
    display: block;
    font-size: 13px;
    color: var(--muted);
    font-weight: 400;
    margin-top: 3px;
}

.table-scroll {
    overflow-x: auto;
}

/* ─── Avis ────────────────────────────────────────────────── */
.reviews {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.review {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin: 0;
}

.review p {
    margin: 0;
}

.review__stars {
    color: var(--rose-deep);
    letter-spacing: 2px;
    margin-bottom: 10px !important;
}

.review__text {
    font-size: 15px;
    margin-bottom: 12px !important;
}

.review__author {
    font-weight: 600;
    font-size: 14px;
}

.review__tag {
    font-size: 12.5px;
    color: var(--muted);
}

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq {
    max-width: 74ch;
}

.faq details {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 4px 18px;
    margin-bottom: 10px;
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
    padding: 14px 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    color: var(--rose-deep);
    font-size: 20px;
    line-height: 1;
    flex: none;
}

.faq details[open] summary::after {
    content: "–";
}

.faq details p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 15px;
}

/* ─── Liens croisés ───────────────────────────────────────── */
.cross-links {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.cross-links a {
    display: block;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    text-decoration: none;
    color: var(--txt);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.cross-links a:hover {
    border-color: var(--rose-mid);
    box-shadow: 0 4px 14px rgba(126, 53, 80, 0.08);
}

.cross-links strong {
    display: block;
    font-size: 15px;
    color: var(--rose-dark);
}

.cross-links span {
    font-size: 13px;
    color: var(--muted);
}

/* ─── Bloc CTA ────────────────────────────────────────────── */
.cta-block {
    background: var(--rose-blush);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: left;
}

.cta-block h2 {
    margin: 0 0 8px;
}

.cta-block p {
    margin: 0 0 22px;
    color: var(--rose-dark);
    font-size: 15px;
}

.cta-block__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
    background: var(--paper);
    border-top: 1px solid var(--border);
    margin-top: 48px;
    padding: 40px 0 24px;
}

.site-footer__grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.site-footer__brand {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px;
}

.site-footer p,
.site-footer address {
    font-style: normal;
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 8px;
}

.site-footer__title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rose-dark);
    margin: 0 0 12px;
}

.site-footer a {
    display: block;
    color: var(--txt);
    text-decoration: none;
    font-size: 14px;
    padding: 5px 0;
}

.site-footer a:hover {
    color: var(--rose-deep);
}

.site-footer__bottom {
    border-top: 1px solid var(--border);
    margin-top: 28px;
    padding-top: 18px;
    font-size: 12.5px;
    color: var(--muted);
}

/* ─── Barre d'appel mobile ────────────────────────────────── */
.call-bar {
    display: none;
}

@media (max-width: 720px) {
    body {
        padding-bottom: 92px;
    }

    .page-hero {
        padding: 36px 0 28px;
    }

    .section {
        padding: 32px 0;
    }

    .cta-block {
        padding: 32px 20px;
    }

    .btn,
    .cta-block__actions .btn,
    .page-hero__actions .btn {
        width: 100%;
    }

    .call-bar {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        z-index: 50;
        display: flex;
        gap: 10px;
        padding: 8px;
        border-radius: 999px;
        background: rgba(255, 253, 252, 0.92);
        backdrop-filter: blur(10px);
        border: 1px solid var(--border);
        box-shadow: 0 6px 22px rgba(43, 28, 28, 0.12);
    }

    .call-bar .btn {
        flex: 1;
    }
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ─── Blog : hub ──────────────────────────────────────────── */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--rose-dark);
    background: var(--rose-blush);
    border: 1px solid var(--rose-soft);
    border-radius: 999px;
    padding: 4px 12px;
}

.post-list {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.post-card a {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-decoration: none;
    color: var(--txt);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.post-card a:hover {
    border-color: var(--rose-mid);
    box-shadow: 0 4px 14px rgba(126, 53, 80, 0.08);
}

.post-card__topic {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rose-dark);
}

.post-card__title {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.3;
}

.post-card__excerpt {
    font-size: 14px;
    color: var(--muted);
}

/* ─── Blog : article ──────────────────────────────────────── */
.article {
    max-width: 560px;
}

.article h1 {
    font-size: clamp(1.9rem, 5vw, 2.7rem);
    margin: 0 0 16px;
}

.article__meta {
    font-size: 13.5px;
    color: var(--muted);
    margin: 0 0 24px;
}

.article__intro {
    font-size: 18px;
    color: var(--txt);
    border-left: 1px solid var(--rose-soft);
    padding-left: 16px;
    margin: 0 0 28px;
}

.article p {
    color: var(--txt);
}

.article h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.4rem, 3.6vw, 1.9rem);
    margin: 40px 0 12px;
}

.article h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 26px 0 8px;
}

.article ul,
.article ol {
    padding-left: 22px;
    color: var(--txt);
}

.article li {
    margin-bottom: 8px;
}

.article blockquote.review {
    margin: 26px 0;
}

.article .cta-block {
    margin: 36px 0;
}

.article__note {
    background: var(--rose-blush);
    border-radius: var(--radius);
    padding: 16px 18px;
    font-size: 14.5px;
    color: var(--rose-dark);
}

.article__note strong {
    color: var(--rose-dark);
}

.article__proof {
    margin: 0 0 28px;
    font-size: 13.5px;
    color: var(--muted);
}

.article__proof strong {
    color: var(--rose-dark);
    font-variant-numeric: tabular-nums;
}

.article a {
    color: var(--rose-deep);
}
.article a.btn-primary,
.article a.btn-primary:hover {
    color: #fff;
}
.article__note a {
    color: var(--rose-dark);
}

.related {
    margin-top: 40px;
}

/* Discreet animations */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        opacity: 0;
        transform: translateY(6px);
        animation: fade-in-up 420ms ease forwards;
    }
    .fade-in-delay-1 { animation-delay: 80ms; }
    .fade-in-delay-2 { animation-delay: 140ms; }
    .fade-in-delay-3 { animation-delay: 200ms; }
}

@keyframes fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Liens vers les avis d'origine ───────────────────────── */
.review__link,
.review-card__link {
    margin: 10px 0 0;
    font-size: 13px;
}
.review__link a,
.review-card__link a {
    color: var(--rose-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
}
.review__link a:hover,
.review-card__link a:hover {
    color: var(--rose-deep);
}

/* ─── Barre mobile : sobre, sans flou ─────────────────────── */
@media (max-width: 720px) {
    body {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }
    .call-bar {
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        gap: 8px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
        border-radius: 0;
        background: var(--paper);
        border: 0;
        border-top: 1px solid var(--border);
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .call-bar .btn {
        flex: 1;
        min-height: 48px;
        padding-left: 12px;
        padding-right: 12px;
        font-size: 14px;
    }
    .site-footer {
        margin-bottom: 0;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 0 14px;
    }
    .page-hero h1,
    .article h1 {
        font-size: clamp(1.7rem, 8.5vw, 2.3rem);
        overflow-wrap: anywhere;
    }
    .btn {
        padding-left: 16px;
        padding-right: 16px;
    }
    .call-bar {
        padding-left: 12px;
        padding-right: 12px;
    }
    .price-table th,
    .price-table td {
        padding: 11px 12px;
        font-size: 14px;
    }
}

/* ─── Blog : confort de lecture mobile ────────────────────── */
@media (max-width: 720px) {
    .post-list {
        grid-template-columns: 1fr;
    }
    .post-card a {
        padding: 18px;
    }
    .post-card__title {
        font-size: 20px;
    }
    .article {
        max-width: 100%;
    }
    .article p,
    .article li {
        font-size: 16.5px;
        overflow-wrap: anywhere;
    }
    .article h2 {
        margin-top: 32px;
    }
    .article__intro {
        font-size: 17px;
        padding-left: 12px;
    }
    .table-scroll {
        margin-left: -14px;
        margin-right: -14px;
        padding-left: 14px;
        padding-right: 14px;
    }
    .tags {
        gap: 6px;
    }
    .tag {
        font-size: 11.5px;
        padding: 4px 10px;
    }
}

/* ─── Apparition douce, une seule fois, sans surcharge ────── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(8px);
        transition: opacity 500ms ease, transform 500ms ease;
    }
    .reveal.is-visible {
        opacity: 1;
        transform: none;
    }
}
.reviews__more {
    margin: 20px 0 0;
    font-size: 14px;
}
.reviews__more a {
    color: var(--rose-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
}
