/* ============================================================
   Sourire en Booth — Design system partagé
   Utilisé par index.php, tarifs.php, avis.php, faq.php, contact.php
   ============================================================ */

:root {
    --bg: #0a0a0b;
    --bg-raised: #131315;
    --card: #161618;
    --card-hover: #1c1c1f;
    --border: #26262a;
    --text: #ffffff;
    --text-muted: #9c9ca3;
    --cyan: #00adb5;
    --cyan-soft: #51adb9;
    --orange: #F28924;
    --violet: #8b5cf6;
    --pink: #ec4899;
    --radius-lg: 26px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --font-head: 'Poppins', 'Inter', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-hand: 'OrangeJuice', 'Kalam', cursive;
}

@font-face {
    font-family: 'OrangeJuice';
    src: url('fonts/orange_juice_2_0.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

img { max-width: 100%; }

a { color: inherit; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.01em;
}

p { color: var(--text-muted); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── Boutons ────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
    padding: 14px 26px; border-radius: 100px; border: none; cursor: pointer;
    text-decoration: none; white-space: nowrap; transition: transform .15s ease, opacity .15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--cyan); color: #fff; }
.btn-primary:hover { opacity: 0.9; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-underline { background: none; border: none; color: var(--cyan); font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0; font-size: 0.95rem; font-family: inherit; }

/* ── Nav bar ────────────────────────────────────────────── */
.site-nav {
    position: sticky; top: 0; z-index: 500;
    background: rgba(10,10,11,0.86); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    overflow: visible;
}
.site-nav-inner { max-width: 1180px; margin: 0 auto; padding: 8px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-brand img { height: 106px; width: auto; display: block; margin-top: -13px; }
@media (max-width: 700px) { .site-brand img { height: 84px; } }
@media (max-width: 480px) { .site-brand img { height: 64px; } }
.site-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.site-links a { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 0.92rem; transition: color .15s; }
.site-links a:hover, .site-links a.active { color: var(--cyan); }
.site-nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); width: 42px; height: 42px; border-radius: 12px; font-size: 1.2rem; cursor: pointer; }

@media (max-width: 860px) {
    .site-links { position: fixed; top: 78px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; align-items: flex-start; padding: 18px 24px 24px; gap: 16px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .2s ease; }
    .site-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .site-nav-cta .btn span.long { display: none; }
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); margin-top: 24px; padding: 18px 0 16px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand img { height: 26px; }
.footer-brand span { font-family: var(--font-head); font-weight: 800; font-size: 0.92rem; }
.footer-inline-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.footer-inline-links a { text-decoration: none; color: var(--text-muted); font-size: 0.85rem; font-weight: 600; }
.footer-inline-links a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 0.76rem; color: var(--text-muted); }
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--cyan); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 0.85rem; }
.footer-social a:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── Sections génériques (pages Tarifs / Avis / FAQ / Contact) ── */
.page-hero { padding: 64px 0 20px; text-align: center; }
.page-hero .eyebrow-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 14px; }
.page-hero p { max-width: 560px; margin: 0 auto; font-size: 1.02rem; }
.section { padding: 56px 0; }
.section-inner-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
@media (max-width: 600px) { .section-inner-card { padding: 24px; border-radius: 20px; } }