/* ===== STYLES COMMUNS – Aurélie & Compagnie ===== */

:root {
    --sage: #8fae8b;
    --sage-dark: #5f7d5b;
    --cream: #faf8f5;
    --warm: #f5ede4;
    --terracotta: #c4785b;
    --terracotta-hover: #b06848;
    --dark: #2c2c2c;
    --text: #4a4a4a;
    --text-light: #7a7a7a;
    --white: #ffffff;
    --font-body: 'Montserrat', -apple-system, sans-serif;
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.8;
    background: var(--cream);
    font-weight: 400;
    font-size: 16px;
}

/* Links */
a {
    color: var(--terracotta);
    text-decoration: none;
}
a:hover { text-decoration: underline; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--terracotta);
    color: white;
}

.btn-primary:hover {
    background: var(--terracotta-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196,120,91,0.3);
    text-decoration: none;
}

.btn-outline {
    border: 1.5px solid var(--sage);
    color: var(--sage-dark);
}

.btn-outline:hover {
    background: var(--sage);
    color: white;
    text-decoration: none;
}

/* ===== NAVIGATION (fixe, toutes pages) ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: -0.02em;
}

.nav-brand:hover {
    text-decoration: none;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}

.nav-tagline {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--sage-dark);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.1rem;
    text-align: center;
}

.nav-logo {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--sage-dark);
    text-decoration: none;
}

.nav-cta {
    background: var(--terracotta);
    color: white !important;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
}

.nav-cta:hover {
    background: var(--terracotta-hover) !important;
    color: white !important;
    text-decoration: none !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark);
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1.2rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
}

/* Back link (pages secondaires) */
.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--terracotta);
    text-decoration: none;
}
.back-link:hover { text-decoration: underline; }

/* Footer commun (pages secondaires) */
.page-footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.75rem;
    color: var(--text-light);
    border-top: 1px solid rgba(0,0,0,0.05);
}
.page-footer a {
    color: var(--terracotta);
    text-decoration: none;
}
.page-footer a:hover { text-decoration: underline; }

/* ===== FOOTER (complet, toutes pages) ===== */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding: 3rem 2rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand {
    font-family: var(--font-body);
    font-size: 1.4rem;
    color: white;
    margin-bottom: 0.75rem;
}

.footer-col h3 {
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-col p, .footer-col a {
    font-size: 0.85rem;
    line-height: 2;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    display: block;
}

.footer-col a:hover { color: white; text-decoration: none; }

.footer-bottom {
    max-width: 1100px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.75rem;
    text-align: center;
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

.footer-bottom a:hover { color: white; }

@media (max-width: 900px) {
    .footer-inner { grid-template-columns: 1fr; }
}

/* ===== PAGES DÉTAIL – RESPONSIVE ===== */
@media (max-width: 600px) {
    .page-header {
        padding-top: 5.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    .page-header h1 {
        margin-top: 1rem;
    }
}

/* Compensation nav fixe pour les ancres */
section[id] {
    scroll-margin-top: 1.5rem;
}
