/* Souvita - Styles partages */

:root {
    --bg: #faf9f6; --surface: #ffffff; --border: #e5e2dc;
    --text: #2d2d2d; --muted: #7a7671; --accent: #7d9b76;
    --accent-dark: #5a7a54; --accent-light: #e8f0e5;
    --radius: 12px; --shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.04);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Lato', -apple-system, system-ui, sans-serif;
    background: var(--bg); color: var(--text);
    line-height: 1.6; min-height: 100vh;
}

h1, h2, h3, h4, .logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600; line-height: 1.2;
}

.logo { font-size: 1.4rem; font-weight: 700; color: var(--accent-dark); letter-spacing: .5px; }

a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Navigation */
nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: .75rem 2rem; max-width: 1200px; margin: 0 auto;
    background: var(--surface);
}
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { font-size: .85rem; color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
    background: var(--accent); color: white !important;
    padding: .4rem 1.2rem; border-radius: 50px; font-size: .8rem; font-weight: 600;
}
.nav-cta:hover { background: var(--accent-dark); }

/* Hero */
.hero {
    text-align: center; padding: 5rem 2rem 3rem;
    background: linear-gradient(180deg, var(--accent-light) 0%, var(--bg) 100%);
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(ellipse at center, rgba(125,155,118,0.03) 0%, transparent 70%);
    pointer-events: none;
}
.hero h1 { font-size: 3rem; margin-bottom: .8rem; color: var(--text); position: relative; }
.hero p { font-size: 1.05rem; color: var(--muted); max-width: 600px; margin: 0 auto 2rem; line-height: 1.7; position: relative; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }
.btn {
    display: inline-block; background: var(--accent); color: white;
    padding: .75rem 2rem; border-radius: 50px; font-weight: 600; font-size: .9rem;
    transition: background .2s, transform .1s; border: none; cursor: pointer;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); text-decoration: none; }
.btn-outline { background: transparent; color: var(--accent-dark); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent-light); }

/* Sections */
section { padding: 3.5rem 2rem; max-width: 1100px; margin: 0 auto; }
.section-title { font-size: 2rem; text-align: center; margin-bottom: .5rem; }
.section-subtitle { text-align: center; color: var(--muted); font-size: .95rem; margin-bottom: 2.5rem; }

/* Offres cards */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.offer-card {
    background: var(--surface); border-radius: var(--radius); padding: 2rem 1.5rem;
    border: 1px solid var(--border); text-align: center;
    transition: box-shadow .2s, transform .1s;
}
.offer-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.offer-icon { font-size: 2rem; margin-bottom: 1rem; }
.offer-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.offer-card p { font-size: .85rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.offer-link { font-weight: 600; font-size: .85rem; color: var(--accent-dark); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; counter-reset: step; }
.step { text-align: center; }
.step-num {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--accent); color: white;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem; margin: 0 auto 1rem;
}
.step h4 { margin-bottom: .3rem; }
.step p { font-size: .85rem; color: var(--muted); }

/* FAQ */
.faq-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: .75rem;
}
.faq-q { font-weight: 600; cursor: pointer; position: relative; padding-right: 1.5rem; }
.faq-a { font-size: .9rem; color: var(--muted); margin-top: .5rem; line-height: 1.6; }

/* Footer */
footer {
    background: var(--text); color: rgba(255,255,255,.6);
    padding: 2.5rem 2rem 1.5rem; margin-top: 2rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; }
footer h4 { color: white; font-size: .9rem; margin-bottom: .8rem; font-family: 'Lato', sans-serif; }
footer a { color: rgba(255,255,255,.5); font-size: .8rem; display: block; margin-bottom: .4rem; }
footer a:hover { color: white; text-decoration: none; }
.footer-bottom { text-align: center; padding-top: 1.5rem; margin-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .75rem; max-width: 1100px; margin-left: auto; margin-right: auto; }

/* Pages interieures */
.page { max-width: 800px; margin: 2rem auto; padding: 0 2rem; }
.page h1 { font-size: 2rem; margin-bottom: .5rem; }
.page h2 { font-size: 1.3rem; margin: 1.5rem 0 .5rem; }
.page p { font-size: .9rem; color: var(--muted); line-height: 1.7; margin-bottom: 1rem; }
.page ul { margin: 0 0 1rem 1.5rem; }
.page li { font-size: .9rem; color: var(--muted); margin-bottom: .3rem; }

/* Pricing cards */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.pricing-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 2rem 1.5rem; text-align: center;
}
.pricing-card.featured { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-light); }
.pricing-card h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.pricing-card .price { font-size: 2rem; font-weight: 700; color: var(--accent-dark); margin-bottom: .2rem; }
.pricing-card .period { font-size: .8rem; color: var(--muted); margin-bottom: 1rem; }
.pricing-card ul { text-align: left; list-style: none; margin: 1rem 0; }
.pricing-card li { font-size: .82rem; color: var(--muted); margin-bottom: .4rem; padding-left: 1.2rem; position: relative; }
.pricing-card li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Inscription page */
.form-card {
    max-width: 480px; margin: 2rem auto; padding: 2.5rem;
    background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
}
.form-card label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .3rem; }
.form-card input, .form-card select {
    width: 100%; padding: .7rem 1rem;
    border: 1px solid var(--border); border-radius: 8px;
    font-size: .95rem; margin-bottom: 1.2rem;
}
.form-card input:focus, .form-card select:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light);
}

/* Price options */
.price-option { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.price-option label {
    flex: 1; border: 2px solid var(--border); border-radius: var(--radius);
    padding: 1rem; text-align: center; cursor: pointer; margin-bottom: 0;
}
.price-option label.selected { border-color: var(--accent); background: var(--accent-light); }
.price-option input { display: none; }
.price-option .amount { font-size: 1.2rem; font-weight: 700; color: var(--accent-dark); }
.price-option .period { font-size: .8rem; color: var(--muted); }

/* Page 404 */
.page-404 { text-align: center; padding: 5rem 2rem; }
.page-404 h1 { font-size: 4rem; color: var(--accent-dark); }
.page-404 p { margin-bottom: 2rem; }

/* Utility */
.text-center { text-align: center; }
.muted { color: var(--muted); }

/* Responsive */
@media (max-width: 640px) {
    .hero h1 { font-size: 2rem; }
    nav { padding: .5rem 1rem; flex-direction: column; gap: .5rem; }
    .nav-links { gap: 1rem; }
    section { padding: 2rem 1rem; }
}
