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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #f5f7fa;
    color: #1a1a2e;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.container {
    max-width: 640px;
    width: 100%;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.domain-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f3460;
    word-break: break-all;
    margin-bottom: 0.25rem;
}

/* Sections FR / EN */
.announcement {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.announcement h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #0f3460;
}

.announcement p {
    font-size: 1rem;
    color: #444;
}

.price {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #e94560;
    margin-top: 0.5rem;
}

.separator {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 2rem 0;
}

/* Form */
.form-section {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.form-section h2 {
    font-size: 1.15rem;
    color: #0f3460;
    margin-bottom: 1.25rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fafbfc;
    color: #1a1a2e;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0f3460;
    background: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Info box achat */
.info-box {
    background: #eef4fb;
    border-left: 4px solid #0f3460;
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: #333;
    line-height: 1.5;
}

.info-box p + p {
    margin-top: 0.5rem;
}

/* Form row (2 colonnes) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* PayPal note */
.paypal-note {
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    margin: 1rem 0 0.25rem;
}

.paypal-note p + p {
    margin-top: 0.15rem;
}

/* Bouton achat */
.btn-buy {
    background: #0070ba;
}

.btn-buy:hover {
    background: #005a96;
}

/* Section achat */
.buy-section {
    border: 2px solid #0070ba;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

.captcha-group label {
    font-size: 0.95rem;
    color: #0f3460;
    font-weight: 700;
}

.captcha-group input {
    max-width: 120px;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: #0f3460;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background: #16213e;
}

/* Messages */
.msg {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    text-align: center;
}

.msg-success {
    background: #d4edda;
    color: #155724;
}

.msg-error {
    background: #f8d7da;
    color: #721c24;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 0.75rem;
    color: #999;
}

/* Responsive */
@media (max-width: 480px) {
    body {
        padding: 1rem 0.75rem;
    }

    .announcement,
    .form-section {
        padding: 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .domain-name {
        font-size: 1.3rem;
    }

    .price {
        font-size: 1.25rem;
    }
}
