/* ══════════════════════════════════════════════════════════════
   NATIC Technologies — Formulaire audit de sécurité
   Fichier : natic-audit.css
   À placer dans : /templates/VOTRE-TEMPLATE/css/natic-audit.css
   Puis déclarer dans : /templates/VOTRE-TEMPLATE/index.php
   <link rel="stylesheet" href="/templates/VOTRE-TEMPLATE/css/natic-audit.css">
   ══════════════════════════════════════════════════════════════ */

#natic-wrap * { box-sizing: border-box; margin: 0; padding: 0; }
#natic-wrap {
  font-family: 'Segoe UI', Arial, sans-serif;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 0 10px;
  color: #222;
}
#natic-wrap .na-header {
  background: #003366; color: #fff;
  border-radius: 8px 8px 0 0;
  padding: 22px 28px 18px;
}
#natic-wrap .na-header h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 5px; }
#natic-wrap .na-header p  { font-size: .87rem; opacity: .85; }

#natic-wrap form {
  background: #fff;
  border: 1.5px solid #b0c4de;
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 26px 28px 30px;
}
#natic-wrap .na-section {
  background: #003366; color: #fff;
  font-weight: 700; font-size: .92rem;
  padding: 8px 14px; border-radius: 5px;
  margin: 22px 0 14px; letter-spacing: .3px;
}
#natic-wrap .na-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
@media (max-width: 580px) {
  #natic-wrap .na-row { grid-template-columns: 1fr; }
  #natic-wrap form { padding: 16px 14px 22px; }
}
#natic-wrap .na-field { margin-bottom: 12px; }
#natic-wrap label {
  display: block; font-weight: 600; font-size: .86rem;
  color: #003366; margin-bottom: 4px;
}
#natic-wrap label .req { color: #E85D04; margin-left: 2px; }
#natic-wrap input[type=text],
#natic-wrap input[type=email],
#natic-wrap input[type=tel],
#natic-wrap select,
#natic-wrap textarea {
  width: 100%; border: 1.5px solid #b0c4de;
  border-radius: 5px; padding: 9px 12px;
  font-size: .91rem; color: #222; background: #fff;
  transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
#natic-wrap select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23003366' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
#natic-wrap input:focus, #natic-wrap select:focus, #natic-wrap textarea:focus {
  border-color: #0077B6; outline: none;
  box-shadow: 0 0 0 3px rgba(0,119,182,.15);
}
#natic-wrap textarea { resize: vertical; min-height: 88px; }

/* Radio paiement */
#natic-wrap .na-radio-group { display: flex; flex-direction: column; gap: 8px; }
#natic-wrap .na-radio-group label {
  display: flex; align-items: center; gap: 10px;
  font-weight: 400; font-size: .9rem; color: #222;
  background: #f8f9fa; border: 1.5px solid #b0c4de;
  border-radius: 6px; padding: 10px 14px; cursor: pointer;
  transition: background .15s, border-color .15s;
}
#natic-wrap .na-radio-group label:hover { background: #EBF5FB; border-color: #0077B6; }
#natic-wrap .na-radio-group input[type=radio] {
  width: 17px; height: 17px; min-width: 17px;
  accent-color: #E85D04; cursor: pointer;
}

/* Cartes formule */
#natic-wrap .na-formule-group {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 4px;
}
@media (max-width: 620px) { #natic-wrap .na-formule-group { grid-template-columns: 1fr; } }
#natic-wrap .na-formule-card {
  border: 2px solid #b0c4de; border-radius: 8px;
  padding: 12px 10px; cursor: pointer; text-align: center;
  background: #fff; transition: border-color .2s, box-shadow .2s, background .2s;
}
#natic-wrap .na-formule-card:hover { border-color: #0077B6; background: #EBF5FB; }
#natic-wrap .na-formule-card input[type=radio] { display: none; }
#natic-wrap .na-formule-card.selected {
  border-color: #E85D04; background: #fff5ee;
  box-shadow: 0 0 0 3px rgba(232,93,4,.15);
}
#natic-wrap .na-formule-card .na-badge  { font-size: 1.5rem; margin-bottom: 5px; }
#natic-wrap .na-formule-card .na-fname  { font-weight: 700; color: #003366; font-size: .9rem; }
#natic-wrap .na-formule-card .na-price  { color: #E85D04; font-weight: 700; font-size: 1rem; margin: 3px 0 1px; }
#natic-wrap .na-formule-card .na-fcfa   { font-size: .74rem; color: #666; }
#natic-wrap .na-formule-card .na-delai  { font-size: .73rem; color: #555; margin-top: 4px; background: #EBF5FB; border-radius: 3px; padding: 2px 5px; display: inline-block; }

#natic-wrap .na-notice {
  background: #EBF5FB; border-left: 4px solid #0077B6;
  padding: 10px 14px; border-radius: 4px;
  font-size: .85rem; color: #333; margin: 6px 0 14px; line-height: 1.5;
}

/* Sections conditionnelles */
#section-reseau  { display: none; }
#section-premium { display: none; }
#section-reseau.visible  { display: block; animation: fadeInSection .4s ease; }
#section-premium.visible { display: block; animation: fadeInSection .4s ease; }
@keyframes fadeInSection {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Bannières Standard et Premium */
#natic-wrap .na-standard-banner {
  background: linear-gradient(135deg, #0077B6 0%, #005a8e 100%);
  color: #fff; border-radius: 8px; padding: 14px 18px;
  margin-bottom: 16px; font-size: .88rem; line-height: 1.55;
  display: flex; align-items: center; gap: 12px;
}
#natic-wrap .na-premium-banner {
  background: linear-gradient(135deg, #E85D04 0%, #c44e00 100%);
  color: #fff; border-radius: 8px; padding: 14px 18px;
  margin-bottom: 16px; font-size: .88rem; line-height: 1.55;
  display: flex; align-items: center; gap: 12px;
}
#natic-wrap .na-standard-banner .icon,
#natic-wrap .na-premium-banner  .icon { font-size: 1.6rem; flex-shrink: 0; }
#natic-wrap .na-standard-banner strong,
#natic-wrap .na-premium-banner  strong { display: block; font-size: .95rem; margin-bottom: 3px; }

/* Bouton submit */
#natic-wrap .na-submit {
  background: #E85D04; color: #fff; border: none;
  border-radius: 6px; font-size: 1rem; font-weight: 700;
  padding: 14px 0; width: 100%; cursor: pointer;
  letter-spacing: .4px; transition: background .2s, transform .1s; margin-top: 6px;
}
#natic-wrap .na-submit:hover    { background: #c44e00; transform: translateY(-1px); }
#natic-wrap .na-submit:disabled { background: #aaa; cursor: not-allowed; transform: none; }

/* Messages succès / erreur */
#natic-success {
  display: none; background: #d4edda;
  border: 2px solid #28a745; border-radius: 8px;
  padding: 30px 22px; text-align: center;
  color: #155724; margin-top: 18px;
}
#natic-success h3 { font-size: 1.25rem; margin-bottom: 10px; }
#natic-success p  { font-size: .93rem; margin-bottom: 7px; line-height: 1.6; }
#natic-error {
  display: none; background: #f8d7da;
  border: 1.5px solid #f5c6cb; color: #721c24;
  border-radius: 6px; padding: 10px 14px;
  font-size: .88rem; margin-top: 10px;
}
#natic-wrap .na-formule-error {
  display: none; color: #E85D04;
  font-size: .82rem; margin-top: 4px; font-weight: 600;
}
