<!DOCTYPE html>
<html lang="pt-BR" class="scroll-smooth">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Proposta Aceita — OPCON</title>
    <link rel="icon" type="image/jpeg" href="{{ asset('favicon.jpg') }}">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap" rel="stylesheet">
    <style>
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Poppins', sans-serif; background: #f1f5f9; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
    </style>
</head>
<body>
    <div style="background:#fff; border-radius:20px; border:1px solid #e2e8f0; max-width:480px; width:100%; padding:2.5rem; text-align:center; box-shadow:0 10px 40px rgba(0,0,0,0.06);">
        <div style="width:64px;height:64px;border-radius:50%;background:#ecfdf5;display:flex;align-items:center;justify-content:center;margin:0 auto 1.25rem;">
            <svg style="width:32px;height:32px;color:#25b87e;" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
            </svg>
        </div>
        <h1 style="font-size:1.5rem; font-weight:800; color:#1e3a5f; margin-bottom:0.5rem;">Proposta aceita!</h1>
        <p style="font-size:0.9375rem; color:#64748b; margin-bottom:1.5rem; line-height:1.6;">
            Obrigado, <strong>{{ $proposta->razao_social }}</strong>.<br>
            Nossa equipe entrará em contato em breve para dar início ao seu atendimento.
        </p>
        <div style="background:#f8fafc; border-radius:12px; padding:1rem 1.25rem; margin-bottom:1.5rem; text-align:left;">
            <div style="display:flex; justify-content:space-between; margin-bottom:0.5rem;">
                <span style="font-size:0.8125rem; color:#64748b;">Honorário mensal</span>
                <strong style="font-size:0.9375rem; color:#1e3a5f;">R$ {{ number_format($proposta->honorario_final, 2, ',', '.') }}</strong>
            </div>
            <div style="display:flex; justify-content:space-between;">
                <span style="font-size:0.8125rem; color:#64748b;">Regime tributário</span>
                <span style="font-size:0.8125rem; color:#374151;">{{ $proposta->regime_tributario }}</span>
            </div>
        </div>
        <p style="font-size:0.8125rem; color:#94a3b8; margin-bottom:1.5rem;">Aceite registrado em {{ $proposta->aceita_em->format('d/m/Y \à\s H:i') }}</p>
        <a href="{{ route('home') }}"
           style="display:inline-flex; align-items:center; gap:0.5rem; padding:0.625rem 1.5rem; background:#1e3a5f; color:#fff; border-radius:10px; font-size:0.875rem; font-weight:600; text-decoration:none;">
            ← Voltar ao site
        </a>
    </div>
</body>
</html>
