/*
 * Le Bon Repos — contact page styles.
 * Loaded on the contact page via bonrepos-enhancements.php.
 */

.page-contact .site-content-inner.safar-container { max-width: none; padding: 0; }
.page-contact .safar-main-content-inner { margin: 0; }
.page-contact #primary { padding: 0; }
.page-contact .safar-single-page { margin: 0; }
.page-contact .post-thumbnail { display: none; }
.page-contact .entry-content { margin: 0; padding: 0; }
.page-contact .entry-content > h2.entry-title,
.page-contact .entry-title { display: none; }

/* ---- Header hero ----
 * Top padding accounts for the site's transparent header
 * (`safar-header-transparent-enable` body class) which is absolutely
 * positioned above this section. Without enough padding the header
 * logo overlaps the "Nous contacter" eyebrow on small viewports.
 */
.lbr-contact-hero {
  background: linear-gradient(135deg, #FAF5F1 0%, #F4EBDE 100%);
  padding: 160px 24px 70px;
  text-align: center;
}
.lbr-contact-hero__inner { max-width: 820px; margin: 0 auto; }
.lbr-contact-hero .lbr-eyebrow {
  letter-spacing: 4px;
  font-size: 12px;
  text-transform: uppercase;
  color: #C97A4F;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 14px;
}
.lbr-contact-hero h1 {
  font-family: Marcellus, Georgia, serif;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  margin: 0 0 18px;
  color: #362618;
  font-weight: 400;
}
.lbr-contact-hero p {
  font-size: 18px;
  line-height: 1.6;
  color: #555E63;
  margin: 0;
}

/* ---- Quick info cards (3-up) ---- */
.lbr-contact-quick {
  max-width: 1180px;
  margin: -40px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}
.lbr-contact-card {
  background: #fff;
  border: 1px solid #EAEAEA;
  border-radius: 12px;
  padding: 34px 28px;
  box-shadow: 0 6px 30px rgba(54,38,24,.06);
  transition: transform .2s, box-shadow .2s;
}
.lbr-contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(54,38,24,.12);
}
.lbr-contact-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #FAF5F1;
  color: #C97A4F;
  font-size: 26px;
  margin-bottom: 18px;
}
.lbr-contact-card h3 {
  font-family: Marcellus, Georgia, serif;
  font-size: 22px;
  margin: 0 0 12px;
  color: #362618;
  font-weight: 400;
}
.lbr-contact-card p {
  font-size: 15.5px;
  line-height: 1.65;
  color: #555E63;
  margin: 0 0 6px;
}
.lbr-contact-card strong { color: #362618; }
.lbr-contact-card a { color: #362618; text-decoration: none; border-bottom: 1px dotted #C97A4F; }
.lbr-contact-card a:hover { color: #C97A4F; border-bottom-style: solid; }
.lbr-contact-card__cta {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 18px;
  background: #C97A4F;
  color: #fff !important;
  border: none !important;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
}
.lbr-contact-card__cta:hover { background: #B16638; color: #fff !important; }

/* ---- Map with overlay info bubble ---- */
.lbr-contact-map {
  max-width: 1180px;
  margin: 80px auto;
  padding: 0 24px;
  position: relative;
}
.lbr-contact-map__wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 50px rgba(54,38,24,.14);
}
.lbr-contact-map iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
}
.lbr-contact-map__overlay {
  position: absolute;
  top: 30px;
  left: 30px;
  background: #fff;
  padding: 22px 26px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(54,38,24,.18);
  max-width: 320px;
}
.lbr-contact-map__overlay h4 {
  font-family: Marcellus, Georgia, serif;
  font-size: 18px;
  margin: 0 0 8px;
  color: #362618;
  font-weight: 400;
}
.lbr-contact-map__overlay p {
  font-size: 14px;
  line-height: 1.55;
  color: #555E63;
  margin: 0 0 14px;
}
.lbr-contact-map__overlay a.lbr-link-dir {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #362618;
  color: #fff;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .5px;
}
.lbr-contact-map__overlay a.lbr-link-dir:hover { background: #C97A4F; }

/* ---- Form + sidebar ---- */
.lbr-contact-form {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 100px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
}
.lbr-contact-form__main {
  background: #fff;
  border-radius: 12px;
  padding: 46px 44px;
  border: 1px solid #EAEAEA;
}
.lbr-contact-form__main .lbr-eyebrow {
  display: inline-block;
  letter-spacing: 4px;
  font-size: 12px;
  text-transform: uppercase;
  color: #C97A4F;
  font-weight: 600;
  margin-bottom: 10px;
}
.lbr-contact-form__main h2 {
  font-family: Marcellus, Georgia, serif;
  font-size: 34px;
  color: #362618;
  margin: 0 0 8px;
  font-weight: 400;
  line-height: 1.15;
}
.lbr-contact-form__main > p {
  font-size: 15.5px;
  color: #555E63;
  line-height: 1.6;
  margin: 0 0 28px;
}
.lbr-contact-form__main .wpcf7 p { margin: 0 0 18px; }
.lbr-contact-form__main .wpcf7 label {
  display: block;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #777;
  font-weight: 600;
  margin-bottom: 8px;
}
.lbr-contact-form__main .wpcf7 .lbr-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.lbr-contact-form__main .wpcf7 input[type="text"],
.lbr-contact-form__main .wpcf7 input[type="email"],
.lbr-contact-form__main .wpcf7 input[type="tel"],
.lbr-contact-form__main .wpcf7 textarea,
.lbr-contact-form__main .wpcf7 select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #EAEAEA;
  border-radius: 6px;
  background: #fff;
  font-size: 15px;
  color: #362618;
  font-family: inherit;
}
.lbr-contact-form__main .wpcf7 textarea { min-height: 150px; resize: vertical; }
.lbr-contact-form__main .wpcf7 input:focus,
.lbr-contact-form__main .wpcf7 textarea:focus,
.lbr-contact-form__main .wpcf7 select:focus {
  outline: 2px solid #C97A4F;
  outline-offset: -1px;
  border-color: #C97A4F;
}
.lbr-contact-form__main .wpcf7 input[type="submit"] {
  background: #C97A4F;
  color: #fff;
  border: none;
  padding: 15px 36px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}
.lbr-contact-form__main .wpcf7 input[type="submit"]:hover { background: #B16638; }

/* ---- Sidebar ---- */
.lbr-contact-form__side { display: flex; flex-direction: column; gap: 24px; }
.lbr-side-card {
  background: #FAF5F1;
  border-radius: 12px;
  padding: 30px 28px;
}
.lbr-side-card--dark {
  background: #362618;
  color: #f4ebde;
}
.lbr-side-card--dark h3,
.lbr-side-card--dark strong { color: #fff; }
.lbr-side-card h3 {
  font-family: Marcellus, Georgia, serif;
  font-size: 22px;
  margin: 0 0 16px;
  color: #362618;
  font-weight: 400;
}
.lbr-side-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #555E63;
  margin: 0 0 10px;
}
.lbr-side-card--dark p { color: #f4ebde; }
.lbr-side-card code {
  display: block;
  background: #fff;
  color: #362618;
  padding: 10px 14px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  margin: 6px 0;
  letter-spacing: 1px;
}
.lbr-side-card--dark code { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.15); }
.lbr-side-card__payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.lbr-payment-badge {
  display: inline-block;
  background: #fff;
  border: 1px solid #EAEAEA;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #362618;
  letter-spacing: .5px;
}
.lbr-side-card__btn {
  display: inline-block;
  padding: 12px 24px;
  background: #C97A4F;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 13px;
  text-transform: uppercase;
  margin-top: 12px;
}
.lbr-side-card__btn:hover { background: #B16638; color: #fff; }

/* ---- Final CTA ---- */
.lbr-contact-cta {
  background: #0d1f1c;
  color: #f4ebde;
  padding: 80px 24px;
  text-align: center;
}
.lbr-contact-cta .lbr-eyebrow { color: #E8C896; letter-spacing: 4px; font-size: 13px; text-transform: uppercase; font-weight: 600; display: inline-block; margin-bottom: 12px; }
.lbr-contact-cta h2 {
  font-family: Marcellus, Georgia, serif;
  font-size: 38px;
  margin: 0 0 20px;
  color: #fff;
  font-weight: 400;
}
.lbr-contact-cta p { font-size: 17px; line-height: 1.6; max-width: 640px; margin: 0 auto 30px; color: #f4ebde; }
.lbr-contact-cta a.btn {
  display: inline-block;
  padding: 14px 32px;
  background: #C97A4F;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 1.5px;
  font-size: 14px;
  text-transform: uppercase;
}
.lbr-contact-cta a.btn:hover { background: #B16638; }

/* ---- Responsive ---- */
@media (max-width: 992px) {
  .lbr-contact-hero { padding: 130px 22px 50px; }
  .lbr-contact-quick { grid-template-columns: 1fr; gap: 18px; margin-top: -30px; padding: 0 18px; }
  .lbr-contact-map { margin: 60px auto; padding: 0 18px; }
  .lbr-contact-map iframe { height: 380px; }
  .lbr-contact-map__overlay { position: relative; top: 0; left: 0; max-width: none; margin: -60px 20px 0; }
  .lbr-contact-form { grid-template-columns: 1fr; gap: 30px; padding: 0 18px 70px; }
  .lbr-contact-form__main { padding: 34px 26px; }
  .lbr-contact-form__main .wpcf7 .lbr-form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 600px) {
  .lbr-contact-hero { padding: 120px 18px 40px; }
  .lbr-contact-hero h1 { font-size: 28px; }
  .lbr-contact-card { padding: 26px 22px; }
  .lbr-contact-form__main h2 { font-size: 26px; }
  .lbr-contact-map iframe { height: 320px; }
  .lbr-contact-map__overlay { padding: 18px 20px; margin: -50px 14px 0; }
  .lbr-contact-cta h2 { font-size: 28px; }
  .lbr-contact-cta { padding: 60px 20px; }
}
