/* Formulaire Contacts CSE — dans le style du thème enfant */
.ancv-cse { max-width: 760px; margin: 2rem auto; padding: 28px 30px; background: var(--paper, #fff); border: 1px solid var(--line, #e6e9ee); border-top: 4px solid var(--gold-500, #c8a54d); border-radius: var(--radius-lg, 16px); box-shadow: var(--shadow-card, 0 8px 24px rgba(11, 40, 66, .06)); font-family: var(--font-body, Inter, system-ui, sans-serif); }
.ancv-cse .ancv-cse-titre { margin: 0 0 .35rem; font-family: var(--font-display, Georgia, serif); font-size: 1.55rem; line-height: 1.25; color: var(--navy-900, #0b3e73); }
.ancv-cse .ancv-cse-sous { margin: 0 0 1.3rem; color: var(--ink-soft, #425466); font-size: .98rem; line-height: 1.55; }
.ancv-cse .ancv-cse-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.ancv-cse .ancv-cse-grille p { margin: 0 0 12px; }
.ancv-cse .ancv-cse-large { grid-column: 1 / -1; }
.ancv-cse label { display: block; margin-bottom: 5px; font-size: .86rem; font-weight: 600; color: var(--ink, #1c2530); }
.ancv-cse input[type=text], .ancv-cse input[type=email], .ancv-cse input[type=tel], .ancv-cse select, .ancv-cse textarea {
  width: 100%; padding: 11px 12px; border: 1px solid #cfd6de; border-radius: var(--radius-sm, 8px); background: #fff; font: inherit; font-size: .95rem; color: var(--ink, #1c2530);
}
.ancv-cse input:focus, .ancv-cse select:focus, .ancv-cse textarea:focus { outline: none; border-color: var(--navy-900, #0b3e73); box-shadow: 0 0 0 3px rgba(11, 62, 115, .12); }
.ancv-cse .ancv-cse-consent { margin: 6px 0; }
.ancv-cse .ancv-cse-consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--ink-soft, #425466); }
.ancv-cse .ancv-cse-consent input { margin-top: 3px; flex: 0 0 auto; }
.ancv-cse .ancv-cse-envoyer { margin-top: 10px; width: 100%; padding: 15px 20px; border: 0; border-radius: var(--radius-md, 10px); background: var(--navy-900, #0b3e73); color: #fff; font: inherit; font-size: 1.05rem; font-weight: 600; cursor: pointer; transition: background .2s ease; }
.ancv-cse .ancv-cse-envoyer:hover { background: var(--navy-800, #0f2a43); }
.ancv-cse .ancv-cse-rgpd { margin: 12px 0 0; font-size: .76rem; line-height: 1.5; color: var(--ink-muted, #6b7280); }
.ancv-cse .ancv-cse-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.ancv-cse .ancv-cse-erreur { padding: 10px 14px; border-radius: var(--radius-sm, 8px); background: var(--danger-bg, #fbeceb); color: var(--danger-text, #a3312c); font-size: .9rem; }
.ancv-cse .ancv-cse-merci { text-align: center; padding: 10px 0; }
.ancv-cse .ancv-cse-merci-titre { font-family: var(--font-display, Georgia, serif); font-size: 1.4rem; color: #1c6b3f; margin: 0 0 .5rem; }
@media (max-width: 640px) {
  .ancv-cse { padding: 22px 18px; }
  .ancv-cse .ancv-cse-grille { grid-template-columns: 1fr; }
}

/* Boutons d'appel vers le formulaire, dans le guide CSE */
.ancv-cse-cta { margin: 1.4rem 0 2rem; text-align: center; }
.ancv-cse-cta a, .ancv-cse-cta a:hover { text-decoration: none !important; }
.ancv-cse-cta a { display: inline-block; padding: 13px 24px; border-radius: var(--radius-md, 10px); background: var(--navy-900, #0b3e73); color: #fff !important; font-weight: 600; text-decoration: none; transition: background .2s ease; }
.ancv-cse-cta a:hover { background: var(--navy-800, #0f2a43); }
#formulaire-cse { scroll-margin-top: 160px; }
