/* ===== NidBot — design system "Nid & Éclosion" =====
   Palette : forêt profonde + or chaud (éclosion) + crème doux
   Typo : Fraunces (display, chaleureux, organique) + Inter (texte, UI)
*/

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --forest-900: #0F1E19;
    --forest-800: #16281F;
    --forest-700: #1E3629;
    --gold-500: #D4A24C;
    --gold-400: #E3B968;
    --cream-100: #F5F1E6;
    --cream-050: #FBF9F3;
    --sage-400: #8AA88C;
    --ink-muted: rgba(245, 241, 230, 0.65);
    --radius: 14px;
    --shadow-soft: 0 20px 60px -20px rgba(15, 30, 25, 0.35);
}

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--cream-050);
    color: var(--forest-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

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

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Header ---- */
.site-header {
    background: var(--forest-900);
    color: var(--cream-100);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(212, 162, 76, 0.15);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo .mark { color: var(--gold-500); }

.nav-links {
    display: flex;
    gap: 32px;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a { opacity: 0.85; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }

.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
    border: none;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: var(--forest-900);
}

.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(212, 162, 76, 0.5); }

.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(245, 241, 230, 0.3);
    color: var(--cream-100);
}

.btn-outline:hover { border-color: var(--gold-500); }

/* ---- Hero ---- */
.hero {
    background: radial-gradient(ellipse at top right, var(--forest-700), var(--forest-900) 65%);
    color: var(--cream-100);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    right: -80px;
    top: 20px;
    width: 480px;
    height: 480px;
    border: 1.5px solid rgba(212, 162, 76, 0.15);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 100px;
    width: 340px;
    height: 340px;
    border: 1.5px solid rgba(212, 162, 76, 0.25);
    border-radius: 50%;
}

.hero-inner { max-width: 640px; position: relative; z-index: 2; }

.eyebrow {
    color: var(--gold-500);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
    display: block;
}

.hero h1 {
    font-size: 3.4rem;
    margin-bottom: 22px;
}

.hero p.lead {
    font-size: 1.15rem;
    color: var(--ink-muted);
    margin-bottom: 34px;
    max-width: 520px;
}

.hero-actions { display: flex; gap: 16px; }

/* ---- Sections ---- */
section { padding: 90px 0; }

.section-header { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-header h2 { font-size: 2.2rem; margin-bottom: 14px; }
.section-header p { color: rgba(15, 30, 25, 0.65); font-size: 1.05rem; }

/* ---- Prototype cards ---- */
.proto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.proto-card {
    background: white;
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(15, 30, 25, 0.06);
    transition: transform 0.2s ease;
}

.proto-card:hover { transform: translateY(-4px); }

.proto-icon {
    font-size: 2.4rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream-100);
    border-radius: 16px;
    margin-bottom: 20px;
}

.proto-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.proto-card .tagline { color: var(--gold-500); font-weight: 600; font-size: 0.9rem; margin-bottom: 14px; }
.proto-card p.desc { color: rgba(15, 30, 25, 0.7); font-size: 0.95rem; margin-bottom: 22px; }

/* ---- Pack cards ---- */
.pack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.pack-card {
    background: white;
    border: 1.5px solid rgba(15, 30, 25, 0.08);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
}

.pack-card.featured {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(212, 162, 76, 0.12);
}

.pack-card .pack-name { font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }
.pack-card .pack-price { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 600; margin: 12px 0; }
.pack-card .pack-price small { font-size: 0.9rem; font-weight: 400; color: rgba(15, 30, 25, 0.5); }
.pack-card .pack-duration { color: rgba(15, 30, 25, 0.5); font-size: 0.85rem; margin-bottom: 18px; }
.pack-card ul { list-style: none; text-align: left; margin-bottom: 22px; }
.pack-card ul li { padding: 6px 0; font-size: 0.9rem; color: rgba(15, 30, 25, 0.75); }
.pack-card ul li::before { content: '✓ '; color: var(--gold-500); font-weight: 700; }

/* ---- Forms ---- */
.form-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 44px;
    max-width: 480px;
    margin: 0 auto;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid rgba(15, 30, 25, 0.15);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.15s;
}

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

.form-group .hint { font-size: 0.8rem; color: rgba(15, 30, 25, 0.5); margin-top: 6px; }

.btn-block { width: 100%; text-align: center; }

.alert {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.alert-error { background: #FBE9E7; color: #B3261E; }
.alert-success { background: #E6F4EA; color: #1E6B34; }

/* ---- Tables (admin/dashboard) ---- */
table { width: 100%; border-collapse: collapse; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
th, td { padding: 14px 18px; text-align: left; font-size: 0.9rem; border-bottom: 1px solid rgba(15, 30, 25, 0.06); }
th { background: var(--forest-900); color: var(--cream-100); font-weight: 600; }

.badge { padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; display: inline-block; }
.badge-pending { background: #FFF3D6; color: #8A6300; }
.badge-approved { background: #E6F4EA; color: #1E6B34; }
.badge-rejected { background: #FBE9E7; color: #B3261E; }

/* ---- Footer ---- */
.site-footer {
    background: var(--forest-900);
    color: var(--ink-muted);
    padding: 56px 0 28px;
    font-size: 0.88rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-grid h4 { color: var(--cream-100); font-size: 0.95rem; margin-bottom: 16px; font-family: 'Inter', sans-serif; font-weight: 600; }
.footer-grid a { display: block; margin-bottom: 10px; opacity: 0.8; }
.footer-grid a:hover { opacity: 1; color: var(--gold-500); }

.footer-bottom {
    border-top: 1px solid rgba(245, 241, 230, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25D366;
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 8px 24px -6px rgba(0,0,0,0.35);
    z-index: 60;
    transition: transform 0.2s;
}

.whatsapp-float:hover { transform: scale(1.08); }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.3rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero::before, .hero::after { display: none; }
}
