/* =============================================================================
   /include/contact.css — Page Contact (CNATUREL)
   Chargé par /web/contact.php en plus de /include/global.css

   Règle CNaturel :
   - Tout chemin dans un CSS = chemin relatif au fichier CSS, jamais absolu /…
   ============================================================================= */

/* =============================================================================
   BASE PAGE + FOND (IMAGE)
   ============================================================================= */

.page-contact{
  /* ✅ chemin relatif depuis /include/contact.css vers /graphisme/ */
  --contact-bg: url("../graphisme/contact-cnaturel.webp");
  background: #0b0b0b;
}

/* =============================================================================
   HERO / OVERLAY
   ============================================================================= */

.contact-main{
  position: relative;
  min-height: 70vh;
  overflow: clip;
}

.contact-hero{
  position: absolute;
  inset: 0;
  background-image: var(--contact-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(0.95) contrast(0.95); /* proche FAQ (image calmée) */
  transform: translateZ(0);
  z-index: 0;
}

/* Comme sur vos FAQ : voile fallback désactivé (vous l’avez mis à none).
   Ici on garde juste une légère lecture globale en jouant via la transparence des cartouches. */
.contact-main::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(255,255,255,.05); /* voile très léger, comme .faq-veil */
  z-index: 1;
}

/* =============================================================================
   CONTENEUR
   ============================================================================= */

.contact-wrap{
  position: relative;
  z-index: 2;                 /* au-dessus fond + voile */
  max-width: 1100px;
  margin: 0 auto;
  padding: 42px 16px 56px;
}

.contact-head{
  max-width: 820px;
  color: #fff;
  text-shadow: 0 10px 24px rgba(0,0,0,.35);
}

.contact-head h1{
  margin: 0 0 10px;
  line-height: 1.1;
}

.contact-lead{
  margin: 0;
  opacity: .95;
}

/* =============================================================================
   ALERTES — calées sur l’effet FAQ (cartouche “verre léger”)
   ============================================================================= */

.contact-alert{
  margin: 18px 0 22px;
  padding: 14px 16px;

  border: 1px solid var(--border, #e6e6e6);
  border-radius: 14px;

  background: rgba(255,255,255,.55);
  box-shadow: 0 8px 18px rgba(255,255,255,.05);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  overflow: hidden;
}

.contact-alert.ok{ border-left: 6px solid #1a7f37; }
.contact-alert.err{ border-left: 6px solid #b42318; }

.contact-alert ul{
  margin: 8px 0 0 18px;
}

/* =============================================================================
   GRILLE
   ============================================================================= */

.contact-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}

@media (min-width: 900px){
  .contact-grid{
    grid-template-columns: 0.75fr 1.25fr; /* ✅ formulaire plus large */
    align-items: start;
    gap: 24px;
  }

  .contact-wrap{
    max-width: 1200px;                  /* ✅ un peu plus large */
  }
}

/* =============================================================================
   CARTOUCHES — EXACTEMENT COMME .faq-item (verre léger)
   ============================================================================= */

.contact-card{
  border: 1px solid var(--border, #e6e6e6);
  border-radius: 14px;

  background: rgba(255,255,255,.55);
  box-shadow: 0 8px 18px rgba(255,255,255,.05);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  margin: 0;
  overflow: hidden;

  padding: 18px 18px; /* même confort que summary (18px) */
  transition: box-shadow .18s ease,
              border-color .18s ease,
              background .18s ease,
              transform .18s ease;
}

@media (hover:hover){
  .contact-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0,0,0,.10);
  }
}

@media (prefers-reduced-motion: reduce){
  .contact-card{ transition: none; }
  .contact-card:hover{ transform: none; }
}

.contact-card h2{
  margin: 0 0 12px;
  color: var(--ink, #2e2e2e);
}
.contact-card p{
  color: rgba(46,46,46,.92);
}

/* =============================================================================
   BLOC INFOS
   ============================================================================= */

.contact-kv{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px 12px;
  margin-top: 14px;
}

.contact-kv .k{
  font-weight: 600;
  opacity: .85;
  color: var(--ink, #2e2e2e);
}

.contact-kv .v{
  color: var(--ink, #2e2e2e);
}

.contact-kv .v a{
  font-weight: 650;
  text-decoration: none;
	
}

.contact-kv .v a:hover{
  text-decoration: underline;
}

.hint{
  font-size: .92rem;
  opacity: .75;
  margin-top: 3px;
}

/* =============================================================================
   FORMULAIRE
   ============================================================================= */

.field{ margin-bottom: 12px; }

label{
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink, #2e2e2e);
}

input, select, textarea{
  width: 100%;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  background: rgba(255,255,255,.92); /* lisible sur fond “verre” */
}

textarea{ resize: vertical; }

.row{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 700px){
  .row{ grid-template-columns: 1fr 1fr; }
}

fieldset.field{
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,.35);
}

legend{
  font-weight: 650;
  padding: 0 6px;
  color: var(--ink, #2e2e2e);
}

/* Radios — sur une seule ligne (desktop) */
.radios{
  display: flex;
  flex-wrap: nowrap;
  gap: 28px;
  align-items: center;
  margin-top: 8px;
}

.radio{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink, #2e2e2e);
}

/* Sécurité mobile */
@media (max-width: 520px){
  .radios{
    flex-wrap: wrap;
    gap: 10px 18px;
  }
}

.help{
  margin-top: 6px;
  font-size: .93rem;
  opacity: .75;
  color: var(--ink, #2e2e2e);
}

/* Bouton — cohérent pages 2026 */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 750;
  cursor: pointer;
  background: #222;
  color: #fff;
  text-decoration: none;
}

.btn:hover{ filter: brightness(1.06); }

.btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,0,0,.16);
}

/* Honeypot */
.hp{
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}