/**
 * Page brochure — demande de coordonnées gated
 * (nom, société, e-mail, téléphone). Tokens du design system maquette.css.
 */

/* ---------- Page brochure ---------- */
.brochure-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
  min-width: 0;
}
.brochure-grid > * { min-width: 0; }

.brochure-pitch h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 18px; }
.brochure-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 6px;
}
.brochure-list li {
  border-left: 3px solid var(--safety, #009245);
  padding-left: 16px;
}
.brochure-list strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 16.5px;
  color: var(--ink, #0F2D4A);
  margin-bottom: 2px;
}
.brochure-list span { font-size: 15.5px; color: var(--muted, #626D77); line-height: 1.55; }

/* ---------- Carte formulaire ---------- */
.brochure-card {
  background: #fff;
  border: 1px solid var(--line, #E4E6E8);
  border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 36px); /* aligné sur .contact-card */
  box-shadow: var(--shadow-lg);
}
.brochure-card h3 {
  font-size: 22px;
  color: var(--ink, #0F2D4A);
  margin-bottom: 6px;
}
.brochure-card-sub { font-size: 15px; color: var(--muted, #626D77); margin-bottom: 20px; }

.brochure-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.brochure-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
/* Tous les champs en pleine largeur (alignement homogène) */
.brochure-form > .brochure-field { grid-column: 1 / -1; }
.brochure-field label {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink, #0F2D4A);
}
.brochure-field label em { color: var(--safety-deep, #007236); font-style: normal; }
.brochure-field input {
  width: 100%;
  min-height: 52px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 0.75rem 1rem;
  font-family: "Poppins", sans-serif;
  font-size: 15.5px;
  color: var(--text, #242A31);
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}
.brochure-field input::placeholder { color: #93A0AC; }
.brochure-field input:hover { border-color: #B9C2CB; }
.brochure-field input:focus {
  outline: none;
  background: #fff;
  border-color: var(--safety, #009245);
  box-shadow: var(--focus-ring);
}
/* Honeypot : hors écran */
.brochure-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
}

.brochure-error {
  grid-column: 1 / -1;
  background: #FFF7F7;
  border: 1px solid #F3C6C6;
  border-left: 4px solid #dc2626;
  color: #b91c1c;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 14px;
}

.brochure-submit {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  border: none;
  border-radius: var(--radius);
  background: var(--safety, #009245);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 146, 69, 0.26);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.brochure-submit:hover { background: var(--safety-deep, #007236); transform: translateY(-1px); }
.brochure-submit svg { width: 17px; height: 17px; }

.brochure-rgpd {
  grid-column: 1 / -1;
  font-size: 12.5px;
  color: var(--muted, #626D77);
  line-height: 1.6;
}

/* ---------- Panneau succès ---------- */
.brochure-success { text-align: left; }
.brochure-success .safex-icon { width: 44px; height: 44px; color: var(--safety-deep, #007236); }
.brochure-success h3 { margin: 12px 0 6px; }
.brochure-success p { font-size: 15.5px; color: var(--muted, #626D77); line-height: 1.6; }
.brochure-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  min-height: 54px;
  border-radius: var(--radius);
}
.brochure-download svg { width: 17px; height: 17px; }
.brochure-note { margin-top: 16px; font-size: 13.5px; }
.brochure-note a { color: var(--safety-deep, #007236); font-weight: 600; }

@media (max-width: 900px) {
  .brochure-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .brochure-form { grid-template-columns: 1fr; }
  .brochure-field:nth-of-type(2) { grid-column: 1 / -1; }
}