/* ══════════════════════════════════════════════
   Le Grand Virage — Standalone CSS
   Completely isolated from Drolement Box styles
   ══════════════════════════════════════════════ */

:root {
    --gv-ink: #1a1a2e;
    --gv-cream: #f7f4ef;
    --gv-gold: #b8882a;
    --gv-gold-light: #e8c97a;
    --gv-rust: #8b3a2a;
    --gv-sage: #4a6741;
    --gv-mid: #6b6b7b;
    --gv-border: #ddd8cf;
    --gv-white: #ffffff;
    --gv-success: #4a6741;
}

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

body {
    background: var(--gv-cream);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    color: var(--gv-ink);
    min-height: 100vh;
}

/* ── HERO ── */
.gv-hero {
    background: var(--gv-ink);
    padding: 64px 32px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.gv-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 0%, rgba(184,136,42,0.18) 0%, transparent 65%),
                radial-gradient(ellipse at 10% 100%, rgba(139,58,42,0.12) 0%, transparent 60%);
}
.gv-hero-inner { position: relative; max-width: 680px; margin: 0 auto; }
.gv-hero-tag {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gv-gold);
    border: 1px solid rgba(184,136,42,0.4);
    padding: 6px 16px;
    border-radius: 2px;
    margin-bottom: 28px;
}
.gv-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 52px);
    color: var(--gv-white);
    line-height: 1.12;
    margin-bottom: 20px;
}
.gv-hero h1 em { color: var(--gv-gold-light); font-style: italic; }
.gv-hero-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 36px;
}
.gv-hero-meta {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.gv-hero-meta span {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 1px;
}
.gv-hero-meta span strong { color: var(--gv-gold); font-weight: 500; }

/* ── PROGRESS ── */
.gv-progress-wrap {
    background: var(--gv-white);
    border-bottom: 1px solid var(--gv-border);
    padding: 14px 32px;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 16px;
}
.gv-progress-label { font-size: 12px; color: var(--gv-mid); white-space: nowrap; min-width: 80px; }
.gv-progress-bar { flex: 1; height: 3px; background: var(--gv-border); border-radius: 2px; overflow: hidden; }
.gv-progress-fill { height: 100%; background: linear-gradient(90deg, var(--gv-gold), var(--gv-gold-light)); border-radius: 2px; transition: width 0.4s ease; width: 0%; }
.gv-progress-pct { font-size: 12px; color: var(--gv-gold); font-weight: 500; min-width: 36px; text-align: right; }

/* ── LAYOUT ── */
.gv-container { max-width: 720px; margin: 0 auto; padding: 48px 24px 80px; }

/* ── PREAMBULE ── */
.gv-preambule {
    background: var(--gv-ink);
    color: rgba(255,255,255,0.88);
    border-radius: 4px;
    padding: 52px 48px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
}
.gv-preambule::before {
    content: '\201C';
    position: absolute;
    top: -20px;
    left: 28px;
    font-family: 'Playfair Display', serif;
    font-size: 180px;
    color: rgba(184,136,42,0.10);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.gv-preambule-hook {
    font-family: 'Playfair Display', serif;
    font-size: clamp(18px, 2.5vw, 22px);
    font-style: italic;
    color: var(--gv-gold-light);
    line-height: 1.55;
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.gv-preambule-concept {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.55);
    font-style: italic;
    margin-bottom: 28px;
}
.gv-preambule-body {
    font-size: 15px;
    line-height: 1.85;
    color: rgba(255,255,255,0.78);
    margin-bottom: 28px;
}
.gv-preambule-body + .gv-preambule-body { margin-top: -10px; }
.gv-preambule-body strong {
    color: var(--gv-white);
    font-weight: 500;
}
.gv-preambule-list {
    list-style: none;
    margin: 24px 0 28px;
    padding: 0;
    border-left: 2px solid rgba(184,136,42,0.4);
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.gv-preambule-list li {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255,255,255,0.75);
}
.gv-preambule-list li::before {
    content: attr(data-n) '.  ';
    color: var(--gv-gold);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.5px;
}
.gv-preambule-cta {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-style: italic;
    color: var(--gv-white);
    margin-bottom: 8px;
}
.gv-preambule-meta {
    font-size: 12px;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.35);
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.gv-preambule-meta strong { color: var(--gv-gold); font-weight: 500; }

/* ── SECTION HEADERS ── */
.gv-section-header {
    margin: 52px 0 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gv-border);
}
.gv-section-num {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gv-gold);
    margin-bottom: 6px;
}
.gv-section-header h2,
.gv-section-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 400;
    color: var(--gv-ink);
}
.gv-section-header p {
    margin-top: 8px;
    font-size: 14px;
    color: var(--gv-mid);
    line-height: 1.6;
}

/* ── QUESTION CARDS ── */
.gv-question {
    background: var(--gv-white);
    border-radius: 4px;
    border: 1px solid var(--gv-border);
    padding: 28px 28px 24px;
    margin-bottom: 20px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.gv-question:focus-within {
    border-color: var(--gv-gold);
    box-shadow: 0 0 0 3px rgba(184,136,42,0.08);
}
.gv-q-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.gv-q-num {
    font-size: 11px;
    font-weight: 500;
    color: var(--gv-white);
    background: var(--gv-gold);
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.gv-q-type {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gv-mid);
}
.gv-q-required { margin-left: auto; color: var(--gv-rust); font-size: 13px; }

.gv-question > label,
.gv-question > .gv-question-label {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: var(--gv-ink);
    line-height: 1.55;
    margin-bottom: 18px;
}
.gv-question > label em,
.gv-question > .gv-question-label em {
    display: block;
    font-size: 13px;
    font-style: italic;
    color: var(--gv-mid);
    margin-top: 4px;
}

/* ── INPUTS ── */
.gv-question textarea,
.gv-question input[type="text"],
.gv-question input[type="number"],
.gv-question input[type="email"],
.gv-question select {
    width: 100%;
    border: 1px solid var(--gv-border);
    border-radius: 3px;
    padding: 12px 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--gv-ink);
    background: var(--gv-cream);
    transition: border-color 0.2s;
    outline: none;
    resize: vertical;
}
.gv-question textarea:focus,
.gv-question input:focus,
.gv-question select:focus { border-color: var(--gv-gold); background: var(--gv-white); }
.gv-question textarea { min-height: 100px; }

/* ── RADIO / CHECKBOX OPTIONS ── */
.gv-options { display: flex; flex-direction: column; gap: 10px; }
.gv-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--gv-border);
    border-radius: 3px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.gv-option:hover { border-color: var(--gv-gold); background: rgba(184,136,42,0.04); }
.gv-option input { width: 18px; height: 18px; accent-color: var(--gv-gold); cursor: pointer; flex-shrink: 0; }
.gv-option span,
.gv-option label { font-size: 15px; line-height: 1.4; cursor: pointer; }

/* ── SCALE ── */
.gv-scale-wrap { display: flex; flex-direction: column; gap: 10px; }
.gv-scale-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--gv-mid); }
.gv-scale-buttons { display: flex; gap: 6px; }
.gv-scale-btn {
    flex: 1;
    padding: 10px 4px;
    border: 1px solid var(--gv-border);
    border-radius: 3px;
    background: var(--gv-cream);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--gv-mid);
    cursor: pointer;
    text-align: center;
    transition: all 0.15s;
}
.gv-scale-btn:hover { border-color: var(--gv-gold); color: var(--gv-gold); }
.gv-scale-btn.active { background: var(--gv-gold); border-color: var(--gv-gold); color: var(--gv-white); }

/* ── SUBMIT ZONE ── */
.gv-submit-zone {
    text-align: center;
    margin-top: 56px;
    padding: 40px 32px;
    background: var(--gv-ink);
    border-radius: 4px;
}
.gv-submit-zone p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
}
.gv-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gv-gold), #d4a83a);
    color: var(--gv-ink);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 16px 40px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
}
.gv-btn-submit:hover { opacity: 0.9; transform: translateY(-1px); }
.gv-confidential {
    margin-top: 18px;
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.5px;
}

/* ── FOOTER NOTE ── */
.gv-footer-note {
    background: var(--gv-white);
    border: 1px solid var(--gv-border);
    border-radius: 4px;
    padding: 28px 32px;
    margin-top: 48px;
}
.gv-footer-note h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--gv-ink);
}
.gv-footer-note ol { padding-left: 20px; }
.gv-footer-note li {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gv-mid);
    margin-bottom: 6px;
}
.gv-footer-note li strong { color: var(--gv-ink); font-weight: 500; }

/* ── SUCCESS MESSAGE ── */
.gv-success {
    text-align: center;
    padding: 56px 32px;
    background: var(--gv-ink);
    border-radius: 4px;
    margin-top: 56px;
}
.gv-success-title {
    color: var(--gv-gold-light);
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 16px;
}
.gv-success p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto;
}

/* ── FORM ERRORS ── */
.gv-form-errors {
    color: var(--gv-rust);
    font-size: 13px;
    margin-top: 6px;
}
.gv-form-errors ul {
    list-style: none;
    padding: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
    .gv-hero { padding: 48px 20px 40px; }
    .gv-container { padding: 32px 16px 60px; }
    .gv-question { padding: 20px 18px; }
    .gv-scale-buttons { flex-wrap: wrap; }
    .gv-scale-btn { min-width: calc(20% - 5px); }
    .gv-preambule { padding: 36px 24px; }
}
