/* =================================================================
   RAFFAELO — contact.css  (page Contact)
   ================================================================= */

/* En-tête de page */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; background: center/cover no-repeat; transform: scale(1.05); }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(45,30,16,.9), rgba(60,90,64,.7)); }
.page-hero__inner { position: relative; max-width: 720px; margin: 0 auto; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: .6rem; }
.page-hero p { color: rgba(255,255,255,.9); font-size: 1.1rem; margin: 0 auto; max-width: 56ch; }
.page-hero .eyebrow { color: var(--wood-light); justify-content: center; }
.page-hero .eyebrow::before { background: var(--wood-light); }
.breadcrumb { position: relative; z-index: 1; font-size: .85rem; color: rgba(255,255,255,.8); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: #fff; }

/* Fond texturé bois léger */
.contact-page {
  background-color: var(--beige);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(139,94,60,.05), transparent 40%),
    repeating-linear-gradient(90deg, rgba(120,80,50,.022) 0 2px, transparent 2px 24px);
}

/* ----------  Disposition 2 colonnes  ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Carte (formulaire / infos) */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.card__title { font-size: 1.5rem; margin-bottom: .3rem; }
.card__intro { color: var(--muted); margin-bottom: 1.6rem; }

/* ----------  Formulaire  ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  color: var(--wood-darkest);
  margin-bottom: .4rem;
}
.field label .req { color: var(--terracotta); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  font: inherit;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(194,105,62,.12);
}
.field textarea { resize: vertical; min-height: 130px; }

/* Case RGPD */
.consent {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .88rem;
  color: var(--muted);
  margin: .4rem 0 1.4rem;
}
.consent input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--terracotta); flex: 0 0 18px; }
.consent a { font-weight: 600; }

.form-submit .btn { width: 100%; justify-content: center; }

/* Message de confirmation (affiché par JS après envoi) */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.form-success.is-visible { display: block; animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.form-success__icon {
  width: 76px; height: 76px;
  margin: 0 auto 1rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #e2efe0, #cfe6cd);
  color: var(--forest-dark);
  font-size: 2rem;
}
.form-success h3 { font-size: 1.4rem; }
.form-success p { color: var(--muted); }

/* ----------  Colonne infos  ---------- */
.info-list { margin-bottom: 1.8rem; }
.info-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.info-item:last-child { border-bottom: none; }
.info-item__icon {
  width: 46px; height: 46px; flex: 0 0 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--beige);
  color: var(--terracotta-dark);
  font-size: 1.1rem;
}
.info-item b { display: block; color: var(--wood-darkest); margin-bottom: .15rem; }
.info-item span, .info-item a { color: var(--muted); font-size: .95rem; }
.info-item a:hover { color: var(--terracotta-dark); }

/* Horaires */
.hours { list-style: none; }
.hours li { display: flex; justify-content: space-between; padding: .45rem 0; font-size: .92rem; border-bottom: 1px dashed var(--line); }
.hours li span:first-child { color: var(--wood-darkest); font-weight: 500; }
.hours li span:last-child { color: var(--muted); }
.hours li.closed span:last-child { color: var(--terracotta-dark); font-weight: 600; }

/* Carte Google Maps */
.map-card { padding: 0; overflow: hidden; }
.map-card iframe { display: block; width: 100%; height: 320px; border: 0; }

/* Bloc rappel téléphone */
.callout {
  display: flex; align-items: center; gap: 1rem;
  background: linear-gradient(150deg, var(--wood-darkest), var(--wood-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  margin-top: 1.5rem;
}
.callout i { font-size: 1.6rem; color: var(--wood-light); }
.callout b { display: block; font-size: 1.3rem; font-family: var(--font-title); }
.callout span { font-size: .88rem; color: rgba(255,255,255,.8); }

/* ----------  Responsive  ---------- */
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}
