/* ============================================================
   MakeYourSet - Site Vitrine Design System
   Palette : Bleu nuit + Ambre/Or + Blanc casse
   Typo : DM Serif Display (titres) + Inter (corps)
   Mobile-first, completement isole du CSS Vue SPA
   ============================================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Couleurs */
    --v-primary: #1a2332;
    --v-primary-light: #243044;
    --v-accent: #d4af37;
    --v-accent-hover: #c9a432;
    --v-accent-light: rgba(212, 175, 55, 0.1);
    --v-secondary: #2563eb;
    --v-secondary-hover: #1d4ed8;
    --v-bg: #f8fafc;
    --v-bg-alt: #f1f5f9;
    --v-surface: #ffffff;
    --v-border: #e2e8f0;
    --v-text: #1e293b;
    --v-text-muted: #64748b;
    --v-text-light: #94a3b8;
    --v-text-white: #ffffff;
    --v-success: #16a34a;
    --v-error: #dc2626;

    /* Typographie */
    --v-font-display: 'DM Serif Display', Georgia, serif;
    --v-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Espacement */
    --v-space-xs: 4px;
    --v-space-sm: 8px;
    --v-space-md: 16px;
    --v-space-lg: 24px;
    --v-space-xl: 48px;
    --v-space-2xl: 80px;
    --v-space-3xl: 120px;

    /* Layout */
    --v-max-width: 1200px;
    --v-header-height: 72px;
    --v-radius: 8px;
    --v-radius-lg: 16px;

    /* Ombres */
    --v-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --v-shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);

    /* Transitions */
    --v-transition: 0.2s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--v-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--v-text);
    background: var(--v-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--v-secondary);
    text-decoration: none;
    transition: color var(--v-transition);
}

a:hover {
    color: var(--v-secondary-hover);
}

/* --- Typographie --- */
h1, h2 {
    font-family: var(--v-font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--v-primary);
}

h3, h4, h5, h6 {
    font-family: var(--v-font-body);
    font-weight: 600;
    line-height: 1.3;
    color: var(--v-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Layout --- */
.container {
    max-width: var(--v-max-width);
    margin: 0 auto;
    padding: 0 var(--v-space-lg);
}

.section {
    padding: var(--v-space-2xl) 0;
}

.section-alt {
    padding: var(--v-space-2xl) 0;
    background: var(--v-bg-alt);
}

.section-dark {
    padding: var(--v-space-2xl) 0;
    background: var(--v-primary);
    color: var(--v-text-white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--v-text-white);
}

.section-title {
    text-align: center;
    margin-bottom: var(--v-space-xl);
}

.section-title p {
    color: var(--v-text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: var(--v-space-md) auto 0;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--v-header-height);
    z-index: 1000;
    background: transparent;
    transition: background var(--v-transition), box-shadow var(--v-transition);
}

.site-header.scrolled {
    background: var(--v-surface);
    box-shadow: var(--v-shadow);
}

.header-inner {
    max-width: var(--v-max-width);
    margin: 0 auto;
    padding: 0 var(--v-space-lg);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--v-font-display);
    font-size: 1.5rem;
    color: var(--v-text-white);
    transition: color var(--v-transition);
}

.site-header.scrolled .logo {
    color: var(--v-primary);
}

.logo:hover,
.site-header.scrolled .logo:hover {
    color: var(--v-secondary);
}

.logo span {
    color: var(--v-accent);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: var(--v-space-lg);
}

.site-nav a {
    color: rgba(255,255,255,0.85);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color var(--v-transition);
}

.site-header.scrolled .site-nav a {
    color: var(--v-text-muted);
}

.site-nav a:hover {
    color: var(--v-accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--v-space-sm);
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
    stroke: var(--v-text-white);
    transition: stroke var(--v-transition);
}

.site-header.scrolled .menu-toggle svg {
    stroke: var(--v-text);
}

/* --- Boutons --- */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--v-accent);
    color: var(--v-primary);
    font-family: var(--v-font-body);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--v-radius);
    cursor: pointer;
    transition: background var(--v-transition), transform var(--v-transition);
    text-decoration: none;
}

.btn-cta:hover {
    background: var(--v-accent-hover);
    color: var(--v-primary);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: transparent;
    color: var(--v-text-white);
    font-size: 1rem;
    font-weight: 500;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--v-radius);
    cursor: pointer;
    transition: border-color var(--v-transition), color var(--v-transition);
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: var(--v-text-white);
    color: var(--v-text-white);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: transparent;
    color: var(--v-accent);
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--v-accent);
    border-radius: var(--v-radius);
    cursor: pointer;
    transition: background var(--v-transition), color var(--v-transition);
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--v-accent);
    color: var(--v-primary);
}

.btn-text {
    color: var(--v-text-white);
    font-weight: 500;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity var(--v-transition);
}

.btn-text:hover {
    opacity: 1;
    color: var(--v-text-white);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--v-primary) 0%, var(--v-primary-light) 100%);
    padding: var(--v-space-3xl) 0 var(--v-space-2xl);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--v-space-xl);
    align-items: center;
}

.hero-text h1 {
    color: var(--v-text-white);
    margin-bottom: var(--v-space-lg);
    font-size: 2.5rem;
}

.hero-text h1 em {
    color: var(--v-accent);
    font-style: normal;
}

.hero-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: var(--v-space-lg);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--v-space-md);
    align-items: center;
}

.hero-visual {
    position: relative;
}

.hero-screenshot {
    border-radius: var(--v-radius-lg);
    box-shadow: var(--v-shadow-lg);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Placeholder quand pas d'image */
.hero-placeholder {
    aspect-ratio: 16/10;
    background: var(--v-primary-light);
    border-radius: var(--v-radius-lg);
    border: 2px dashed rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.875rem;
}

/* --- Barre de credibilite --- */
.credibility-bar {
    background: var(--v-surface);
    border-bottom: 1px solid var(--v-border);
    padding: var(--v-space-lg) 0;
}

.credibility-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--v-space-lg) var(--v-space-xl);
}

.credibility-item {
    display: flex;
    align-items: center;
    gap: var(--v-space-sm);
    color: var(--v-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.credibility-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--v-accent);
    flex-shrink: 0;
}

/* --- Grille etapes (Comment ca marche) --- */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--v-space-lg);
    counter-reset: step;
}

.step-card {
    background: var(--v-surface);
    border-radius: var(--v-radius-lg);
    padding: var(--v-space-lg);
    text-align: center;
    position: relative;
    border: 1px solid var(--v-border);
    transition: box-shadow var(--v-transition);
}

.step-card:hover {
    box-shadow: var(--v-shadow);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--v-accent-light);
    color: var(--v-accent);
    font-family: var(--v-font-display);
    font-size: 1.5rem;
    border-radius: 50%;
    margin-bottom: var(--v-space-md);
}

.step-card h3 {
    margin-bottom: var(--v-space-sm);
}

.step-card p {
    color: var(--v-text-muted);
    font-size: 0.9375rem;
}

/* --- Grille fonctionnalites --- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--v-space-lg);
}

.feature-card {
    background: var(--v-surface);
    border-radius: var(--v-radius-lg);
    padding: var(--v-space-lg);
    border: 1px solid var(--v-border);
    transition: box-shadow var(--v-transition), transform var(--v-transition);
}

.feature-card:hover {
    box-shadow: var(--v-shadow);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--v-accent-light);
    border-radius: var(--v-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--v-space-md);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--v-accent);
}

.feature-card h3 {
    margin-bottom: var(--v-space-sm);
}

.feature-card p {
    color: var(--v-text-muted);
    font-size: 0.9375rem;
}

/* --- Section video demo --- */
.demo-placeholder {
    aspect-ratio: 16/9;
    background: var(--v-primary);
    border-radius: var(--v-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.demo-placeholder .play-btn {
    width: 80px;
    height: 80px;
    background: var(--v-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--v-transition);
}

.demo-placeholder:hover .play-btn {
    transform: scale(1.1);
}

.demo-placeholder .play-btn svg {
    width: 32px;
    height: 32px;
    fill: var(--v-primary);
    margin-left: 4px;
}

.demo-caption {
    text-align: center;
    color: var(--v-text-muted);
    font-size: 0.875rem;
    margin-top: var(--v-space-md);
}

/* --- Social proof / Citation --- */
.quote-block {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.quote-text {
    font-family: var(--v-font-display);
    font-size: 1.5rem;
    color: var(--v-text);
    line-height: 1.5;
    margin-bottom: var(--v-space-lg);
}

.quote-text::before { content: '\201C'; }
.quote-text::after { content: '\201D'; }

.quote-author {
    color: var(--v-text-muted);
    font-size: 0.9375rem;
}

.quote-author strong {
    color: var(--v-text);
}

/* --- Tarification / Transparence --- */
.pricing-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--v-space-lg);
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--v-surface);
    border-radius: var(--v-radius-lg);
    padding: var(--v-space-lg);
    border: 1px solid var(--v-border);
    text-align: center;
}

.pricing-card.highlight {
    border-color: var(--v-accent);
    box-shadow: 0 0 0 1px var(--v-accent);
}

.pricing-card h3 {
    margin-bottom: var(--v-space-sm);
}

.pricing-card p {
    color: var(--v-text-muted);
    font-size: 0.9375rem;
}

.pricing-note {
    text-align: center;
    color: var(--v-text-muted);
    font-size: 0.875rem;
    margin-top: var(--v-space-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- About preview --- */
.about-preview-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--v-space-xl);
    align-items: center;
}

.about-preview-text p {
    color: var(--v-text-muted);
    font-size: 1.0625rem;
    margin-bottom: var(--v-space-lg);
}

.about-placeholder {
    aspect-ratio: 4/3;
    background: var(--v-bg-alt);
    border-radius: var(--v-radius-lg);
    border: 2px dashed var(--v-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--v-text-light);
    font-size: 0.875rem;
}

/* --- FAQ Accordion --- */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--v-border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: var(--v-space-lg) 0;
    text-align: left;
    cursor: pointer;
    font-family: var(--v-font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--v-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--v-space-md);
}

.faq-question:hover {
    color: var(--v-accent);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    stroke: var(--v-text-muted);
    flex-shrink: 0;
    transition: transform var(--v-transition);
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 0 var(--v-space-lg);
    color: var(--v-text-muted);
    line-height: 1.7;
}

/* --- CTA Final --- */
.final-cta {
    text-align: center;
}

.final-cta h2 {
    color: var(--v-text-white);
    margin-bottom: var(--v-space-lg);
}

.final-cta p {
    color: rgba(255,255,255,0.7);
    font-size: 1.125rem;
    margin-bottom: var(--v-space-lg);
}

/* --- Footer --- */
.site-footer {
    background: var(--v-primary);
    color: rgba(255,255,255,0.7);
    padding: var(--v-space-xl) 0 var(--v-space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--v-space-lg);
    margin-bottom: var(--v-space-xl);
}

.footer-col h4 {
    color: var(--v-text-white);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--v-space-md);
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 0.9375rem;
    padding: var(--v-space-xs) 0;
    transition: color var(--v-transition);
}

.footer-col a:hover {
    color: var(--v-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--v-space-lg);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--v-space-md);
    font-size: 0.8125rem;
}

/* --- Formulaire contact --- */
.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: var(--v-space-lg);
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: var(--v-space-sm);
    color: var(--v-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px var(--v-space-md);
    border: 1px solid var(--v-border);
    border-radius: var(--v-radius);
    font-family: var(--v-font-body);
    font-size: 1rem;
    color: var(--v-text);
    background: var(--v-surface);
    transition: border-color var(--v-transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--v-accent);
    box-shadow: 0 0 0 3px var(--v-accent-light);
}

.form-group small {
    display: block;
    color: var(--v-text-light);
    font-size: 0.8125rem;
    margin-top: var(--v-space-xs);
}

.form-reassurance {
    color: var(--v-text-muted);
    font-size: 0.875rem;
    margin-top: var(--v-space-md);
}

/* --- Page content (pages secondaires) --- */
.page-hero {
    background: linear-gradient(135deg, var(--v-primary) 0%, var(--v-primary-light) 100%);
    padding: calc(var(--v-header-height) + var(--v-space-2xl)) 0 var(--v-space-2xl);
    text-align: center;
}

.page-hero h1 {
    color: var(--v-text-white);
    margin-bottom: var(--v-space-md);
}

.page-hero p {
    color: rgba(255,255,255,0.7);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: var(--v-space-2xl) 0;
}

.page-content h2 {
    margin-bottom: var(--v-space-lg);
}

.page-content h3 {
    margin-top: var(--v-space-xl);
    margin-bottom: var(--v-space-md);
}

.page-content p {
    color: var(--v-text-muted);
    max-width: 800px;
}

.page-content ul,
.page-content ol {
    color: var(--v-text-muted);
    padding-left: var(--v-space-lg);
    margin-bottom: 1rem;
}

.page-content li {
    margin-bottom: var(--v-space-sm);
}

/* --- Process steps (comment ca marche detaille) --- */
.process-step {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--v-space-lg);
    margin-bottom: var(--v-space-xl);
    align-items: center;
}

.process-step-content .step-label {
    display: inline-flex;
    align-items: center;
    gap: var(--v-space-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--v-accent);
    margin-bottom: var(--v-space-md);
}

.process-step-visual {
    aspect-ratio: 16/10;
    background: var(--v-bg-alt);
    border-radius: var(--v-radius-lg);
    border: 2px dashed var(--v-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--v-text-light);
    font-size: 0.875rem;
}

/* --- Contact layout --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--v-space-xl);
}

.contact-info h3 {
    margin-bottom: var(--v-space-md);
}

.contact-info p {
    color: var(--v-text-muted);
    margin-bottom: var(--v-space-lg);
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: var(--v-space-sm);
    color: var(--v-text-muted);
    margin-bottom: var(--v-space-md);
}

.contact-detail svg {
    width: 20px;
    height: 20px;
    stroke: var(--v-accent);
    flex-shrink: 0;
}

/* --- Legal pages --- */
.legal-content {
    max-width: 800px;
}

.legal-content h2 {
    margin-top: var(--v-space-xl);
    font-size: 1.5rem;
}

.legal-content p,
.legal-content li {
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablette (768px+) */
@media (min-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-preview-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 3fr 2fr;
    }

    .process-step {
        grid-template-columns: 1fr 1fr;
    }

    .process-step:nth-child(even) .process-step-content {
        order: 2;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    h1 { font-size: 3.5rem; }

    .hero-content {
        grid-template-columns: 1fr 1.2fr;
    }

    .hero-text h1 {
        font-size: 3.25rem;
    }

    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* Mobile nav */
@media (max-width: 767px) {
    .menu-toggle {
        display: block;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: var(--v-header-height);
        left: 0;
        right: 0;
        background: var(--v-surface);
        flex-direction: column;
        padding: var(--v-space-lg);
        box-shadow: var(--v-shadow-lg);
        gap: var(--v-space-md);
    }

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

    .site-nav a {
        color: var(--v-text);
        padding: var(--v-space-sm) 0;
    }

    .site-nav .btn-cta {
        width: 100%;
        text-align: center;
    }
}
