/* ── Page Regards sur la recherche ─────────────────────────── */

/* Masquer le titre du formulaire GF (redondant avec le titre de page) */
.regards-page .gform_title { display: none; }

/* Masquer la description du formulaire GF */
.regards-page .gform_description { display: none; }

/* Layout général de la page */
.regards-page .entry-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Texte d'introduction */
.regards-page .entry-content > p:first-child {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

/* Titre de section (Informations générales, etc.) */
.regards-page .gsection_title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #1b3c86 !important;
    border-bottom: 2px solid #85c06c !important;
    padding-bottom: 0.5rem !important;
    margin-bottom: 1.5rem !important;
}

/* Labels des champs */
.regards-page .gfield_label {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #1a202c !important;
    margin-bottom: 0.4rem !important;
}

/* Description des champs */
.regards-page .gfield_description {
    font-size: 0.8rem !important;
    color: #718096 !important;
    margin-top: 0.2rem !important;
}

/* Champs input */
.regards-page .ginput_container input[type="text"],
.regards-page .ginput_container input[type="email"],
.regards-page .ginput_container input[type="url"],
.regards-page .ginput_container textarea {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    font-size: 0.9rem !important;
    color: #1a202c !important;
    background: #fafafa !important;
    transition: border-color 0.2s !important;
    font-family: inherit !important;
}

.regards-page .ginput_container input:focus,
.regards-page .ginput_container textarea:focus {
    border-color: #1b3c86 !important;
    background: #fff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(27,60,134,0.08) !important;
}

/* Textarea */
.regards-page .ginput_container textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

/* Compteur de caractères */
.regards-page .charleft {
    font-size: 0.75rem !important;
    color: #a0aec0 !important;
    text-align: right !important;
}

/* Checkboxes et radios */
.regards-page .gfield_checkbox li,
.regards-page .gfield_radio li {
    margin-bottom: 0.5rem !important;
}

.regards-page .gfield_checkbox input[type="checkbox"],
.regards-page .gfield_radio input[type="radio"] {
    accent-color: #1b3c86 !important;
    width: 16px !important;
    height: 16px !important;
    margin-right: 8px !important;
    vertical-align: middle !important;
}

.regards-page .gfield_checkbox label,
.regards-page .gfield_radio label {
    font-size: 0.88rem !important;
    color: #2d3748 !important;
    cursor: pointer !important;
    vertical-align: middle !important;
}

/* Champ conditionnel (URL) */
.regards-page .ginput_container_website input {
    font-family: monospace !important;
    font-size: 0.85rem !important;
}

/* Bouton de soumission */
.regards-page .gform_footer .gform_button,
.regards-page .gform_button[type="submit"] {
    background: #1b3c86 !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 40px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    letter-spacing: 0.02em !important;
    font-family: inherit !important;
}

.regards-page .gform_button:hover {
    background: #85c06c !important;
}

/* Note de confidentialité */
.regards-page .gform_wrapper .gform_footer {
    padding-top: 1.5rem !important;
    border-top: 1px solid #e2e8f0 !important;
    margin-top: 1rem !important;
}

/* Champs requis */
.regards-page .gfield_required {
    color: #85c06c !important;
    font-weight: 700 !important;
}

/* Message de validation erreur */
.regards-page .validation_error {
    background: #fff5f5 !important;
    border: 1px solid #feb2b2 !important;
    border-radius: 6px !important;
    padding: 1rem !important;
    color: #c53030 !important;
    font-size: 0.875rem !important;
}

/* Message de confirmation */
.regards-page .gform_confirmation_message {
    background: #f0fff4 !important;
    border: 1px solid #9ae6b4 !important;
    border-radius: 8px !important;
    padding: 1.5rem 2rem !important;
    color: #276749 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .regards-page .entry-content {
        padding: 0 1rem;
    }
}
