/* --- CONTACT PAGE STYLES --- */

.contact-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Lato', sans-serif;
}

/* Header de la page */
.page-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0cbb3;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Layout Grille (2 colonnes) */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Info (plus petit) | Formulaire (plus large) */
    gap: 60px;
    margin-bottom: 80px;
}

/* Colonne Informations */
.contact-info-box {
    background: #fcfcfc; /* Fond très léger pour détacher */
    padding: 30px;
    border: 1px solid #e0cbb3;
    border-top: 4px solid #b64024; /* Accent Terracotta */
}

.info-item {
    margin-bottom: 30px;
}

.info-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item h3 i {
    color: #b64024;
}

.info-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.info-item a {
    color: #b64024;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}

.info-item a:hover {
    color: #8c311a;
}

/* Colonne Formulaire */
.contact-form-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #444;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    background: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s;
    box-sizing: border-box; /* Important pour le padding */
}

.form-input:focus, .form-textarea:focus {
    border-color: #b64024;
    outline: none;
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    background-color: #b64024;
    color: #fff;
    border: none;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-block;
}

.btn-submit:hover {
    background-color: #8c311a;
}

/* Note sécurité / RGPD */
.form-note {
    font-size: 0.8rem;
    color: #888;
    margin-top: 15px;
    font-style: italic;
}

/* RESPONSIVE */
@media (max-width: 800px) {
    .contact-wrapper {
        grid-template-columns: 1fr; /* Stack vertical */
        gap: 40px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}

/* --- GOOGLE RECAPTCHA STYLE --- */
.captcha-container {
    margin-bottom: 25px;
    /* Permet de gérer le débordement sur les très petits écrans si nécessaire */
    overflow: hidden; 
}

/* --- SIDEBAR WIDGETS COMMUN --- */
.sidebar-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 30px 0;
}

.sidebar-widget {
    margin-bottom: 30px;
    text-align: center; /* Centré par défaut pour ces widgets */
}

.sidebar-widget h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sidebar-widget p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* --- SECURE CONTACT (PGP) --- */
.pgp-box {
    background: #f9f9f9;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 4px;
    text-align: left;
}

.pgp-key-id {
    display: block;
    font-family: monospace;
    color: #333;
    font-size: 0.85rem;
    background: #fff;
    padding: 5px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    text-align: center;
}

.pgp-download-link {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #b64024;
    text-decoration: none;
    border: 1px dashed #b64024;
    padding: 8px;
    border-radius: 3px;
    transition: background 0.3s;
}

.pgp-download-link:hover {
    background: #fff0eb;
}

/* --- DONATION BOX CLEAN (FOND BLANC + IMAGE) --- */
.donation-box-clean {
    /* Pas de background spécifique, hérite du blanc de la sidebar */
    padding: 0; 
}

.donation-img-wrapper {
    margin-bottom: 15px;
}

.donation-img {
    max-width: 120px; /* Taille contrôlée de l'image */
    height: auto;
    display: block;
    margin: 0 auto; /* Centrage */
}

/* Input BTC (Réutilisation du style précédent) */
.btc-input-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 10px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.btc-input-wrapper .prefix {
    font-weight: bold;
    color: #b64024; /* Couleur accent */
    margin-right: 8px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.btc-input-wrapper input {
    border: none;
    background: transparent;
    font-family: monospace;
    font-size: 0.85rem;
    color: #555;
    flex-grow: 1;
    outline: none;
    text-overflow: ellipsis;
}

.copy-icon-btn {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 1rem;
    padding: 0 0 0 5px;
    transition: color 0.3s;
}

.copy-icon-btn:hover {
    color: #b64024;
}

/* PGP Box Style */
.pgp-box {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pgp-key-field {
    flex: 1;
    border: none;
    background: #fff;
    padding: 8px;
    font-family: monospace;
    font-size: 0.85rem;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.copy-btn-pgp {
    background: #b64024;
    color: #fff;
    border: none;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 3px;
    white-space: nowrap;
    transition: background 0.3s;
}

.copy-btn-pgp:hover {
    background: #8c311a;
}
