/* Mistradenn Contact 1.2 : styles isolés dans le shortcode */
.mc-wrap {
  --mc-ink: #2b2926;
  --mc-muted: #625f59;
  --mc-gold: #ad8c50;
  --mc-gold-light: #d9c7a2;
  --mc-cream: #f8f5ee;
  --mc-line: #ded2bd;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  box-sizing: border-box;
  color: var(--mc-ink);
  background: var(--mc-cream);
  font-family: Georgia, "Times New Roman", serif;
}
.mc-wrap * { box-sizing: border-box; }
.mc-wrap h1, .mc-wrap h2, .mc-wrap p { margin-top: 0; }
.mc-wrap a { color: #70552d; text-decoration: underline; text-underline-offset: 4px; }
.mc-wrap a:focus-visible,
.mc-wrap button:focus-visible { outline: 3px solid var(--mc-gold); outline-offset: 3px; }

/* Le visuel panoramique est conserve intact ; seul le texte y est superpose. */
.mc-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: clamp(310px, 30vw, 460px);
  padding: clamp(27px, 3vw, 51px) clamp(24px, 6vw, 110px);
  background-image:
    linear-gradient(180deg, rgba(15, 22, 23, .24) 0%, rgba(15, 22, 23, .08) 46%, transparent 100%),
    var(--mc-hero-image, linear-gradient(135deg, #59645f, #9a947d));
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.mc-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 650px);
  text-align: right;
}
.mc-hero h1 {
  margin: 0;
  color: #fff8ee;
  font-family: "Great Vibes", "Brush Script MT", cursive;
  font-size: clamp(67px, 7.2vw, 116px);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.26;
  text-shadow: 0 2px 4px rgba(12, 15, 15, .38), 0 5px 23px rgba(12, 15, 15, .35);
}

/* Coordonnees et formulaire : deux espaces lisibles et nettement separes. */
.mc-main {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(35px, 5vw, 80px);
  max-width: 1390px;
  margin: 0 auto;
  padding: clamp(46px, 5.3vw, 86px) 6%;
}
.mc-info, .mc-form-section { min-width: 0; }
.mc-form-section {
  border-left: 1px solid var(--mc-line);
  padding-left: clamp(35px, 5vw, 80px);
}
.mc-wrap .mc-main h2 {
  margin: 0 0 28px;
  font-size: clamp(33px, 3.2vw, 45px);
  font-weight: 400;
  line-height: 1.23;
  color: #302d29;
}
.mc-wrap .mc-main h2::after {
  display: block;
  content: "";
  height: 2px;
  width: 76px;
  margin-top: 17px;
  background: linear-gradient(90deg, var(--mc-gold), #e5d9c3);
}
.mc-info > p {
  max-width: 460px;
  margin-bottom: 35px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--mc-muted);
}
.mc-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 19px;
  margin: 30px 0;
}
.mc-contact-line > span {
  display: inline-grid;
  flex: 0 0 43px;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid #d8c49f;
  border-radius: 50%;
  color: #977443;
  font-size: 26px;
  line-height: 1;
}
.mc-contact-line div { min-width: 0; }
.mc-contact-line strong,
.mc-contact-line div > span,
.mc-contact-line a {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.7;
}
.mc-contact-line strong {
  margin: 1px 0 5px;
  color: #756244;
  font: 600 12px/1.5 Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.mc-contact-line a, .mc-contact-line div > span { font-size: 17px; }
.mc-facebook-link {
  display: inline-flex;
  margin-top: 19px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--mc-gold);
  font: 500 14px/1.6 Arial, sans-serif;
}

/* Formulaire */
.mc-form { display: grid; gap: 18px; }
.mc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mc-form label {
  display: grid;
  gap: 9px;
  color: #48413a;
  font: 500 14px/1.5 Arial, sans-serif;
}
.mc-form label > span { color: #977443; }
.mc-form input:not([type="checkbox"]),
.mc-form select,
.mc-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 51px;
  padding: 14px 15px;
  border: 1px solid #d6c9b5;
  border-radius: 7px;
  background: #fffdf9;
  color: #2b2926;
  font: 16px/1.45 Arial, sans-serif;
  box-shadow: 0 1px 1px rgba(30, 25, 20, .025);
}
.mc-form textarea { min-height: 155px; resize: vertical; }
.mc-form input:focus,
.mc-form select:focus,
.mc-form textarea:focus {
  outline: 2px solid #c2a675;
  outline-offset: 1px;
}
.mc-form .mc-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 2px;
  color: #514b43;
  font: 13px/1.6 Arial, sans-serif;
}
.mc-consent > input { flex: 0 0 auto; margin-top: 4px; accent-color: #a47f48; }
.mc-form .mc-consent > span { color: #514b43; }
.mc-consent small {
  display: block;
  margin-top: 5px;
  color: #6d655b;
  font-size: 12px;
  line-height: 1.6;
}
.mc-form button[type="submit"] {
  justify-self: start;
  margin-top: 4px;
  padding: 16px 27px;
  border: 1px solid #9b7e49;
  border-radius: 6px;
  background: #302b24;
  color: #fff9ee;
  cursor: pointer;
  font: 600 14px/1.3 Arial, sans-serif;
  letter-spacing: .3px;
  transition: background-color .2s ease, transform .2s ease;
}
.mc-form button[type="submit"]:hover { background: #57452d; transform: translateY(-1px); }
.mc-form button[type="submit"] span { margin-left: 18px; }
.mc-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.mc-notice { padding: 14px 16px; font: 14px/1.5 Arial, sans-serif; }
.mc-success { background: #e9f4e8; border-left: 3px solid #4c8b54; }
.mc-error { background: #fff0ed; border-left: 3px solid #b45444; }

/* Deux cartes modernes pour les publications et la localisation. */
.mc-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 4vw, 65px);
  border-top: 1px solid #e2d8c7;
  padding: clamp(42px, 5vw, 75px) max(6%, calc((100vw - 1390px) / 2));
  background: #eee9df;
}
.mc-bottom-panel { min-width: 0; }
.mc-kicker {
  display: block;
  margin-bottom: 11px;
  color: #94723e;
  font: 700 11px/1.5 Arial, sans-serif;
  letter-spacing: 2px;
}
.mc-wrap .mc-bottom h2 {
  margin: 0 0 23px;
  color: #302d29;
  font-size: clamp(31px, 3vw, 41px);
  font-weight: 400;
  line-height: 1.2;
}
.mc-facebook-feed, .mc-facebook-pending, .mc-map {
  min-height: 405px;
  overflow: hidden;
  border: 1px solid #d7c9b3;
  border-radius: 12px;
  background: #fcfaf5;
  box-shadow: 0 9px 28px rgba(62, 51, 35, .065);
}
.mc-facebook-feed {
  max-height: 480px;
  overflow-y: auto;
  padding: 16px;
}
.mc-facebook-pending {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  padding: clamp(26px, 4vw, 52px);
  background: linear-gradient(145deg, #faf6ed, #e8dfce);
}
.mc-facebook-pending p {
  max-width: 370px;
  margin: 0;
  font: 17px/1.6 Georgia, serif;
  color: #544f46;
}
.mc-facebook-pending a {
  display: inline-block;
  font: 600 14px/1.5 Arial, sans-serif;
}
.mc-facebook-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--mc-gold);
  border-radius: 13px;
  background: #342f29;
  color: #f2e8d8;
  font: 700 35px/1 Arial, sans-serif;
}
.mc-map { height: 450px; }
.mc-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.mc-small {
  margin: 13px 0 0;
  color: #655f55;
  font: 13px/1.65 Arial, sans-serif;
}

@media (max-width: 920px) {
  .mc-main, .mc-bottom { grid-template-columns: 1fr; }
  .mc-form-section {
    border-left: 0;
    border-top: 1px solid var(--mc-line);
    padding-left: 0;
    padding-top: 42px;
  }
  .mc-main { gap: 42px; }
  .mc-bottom { gap: 48px; }
  .mc-hero { min-height: 330px; }
  .mc-facebook-feed { max-height: 550px; }
}
@media (max-width: 560px) {
  .mc-hero {
    min-height: 270px;
    padding: 17px 18px;
    background-position: 58% center;
  }
  .mc-hero h1 { font-size: clamp(49px, 12vw, 68px); }
  .mc-main { padding: 40px 23px 54px; }
  .mc-bottom { padding: 46px 23px 60px; }
  .mc-form-grid { grid-template-columns: 1fr; }
  .mc-form button[type="submit"] { width: 100%; }
  .mc-map { height: 345px; }
  .mc-facebook-feed, .mc-facebook-pending { min-height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  .mc-form button[type="submit"] { transition: none; }
  .mc-form button[type="submit"]:hover { transform: none; }
}

/* CARROUSEL DES PUBLICATIONS FACEBOOK (v1.4)
   Fallback sans JavaScript : le flux Feed Them Social original reste visible. */
.mc-facebook-module { min-width: 0; }
.mc-facebook-module.mc-carousel-ready {
  display: flex;
  flex-direction: column;
  min-height: 485px;
  padding: 17px 19px 12px;
  border: 1px solid #d7c9b3;
  border-radius: 12px;
  background: #fcfaf5;
  box-shadow: 0 9px 28px rgba(62, 51, 35, .065);
}
.mc-carousel-ready .mc-facebook-feed {
  min-height: 0;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
.mc-feed-source[hidden],
.mc-carousel-nav[hidden],
.mc-fb-slide[hidden] { display: none !important; }
.mc-carousel-stage { min-width: 0; }
.mc-fb-slide {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 13px;
}
.mc-fb-slide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 42px;
}
.mc-fb-slide-title { min-width: 0; }
.mc-fb-slide-title strong {
  display: block;
  color: #302d29;
  font: 700 15px/1.35 Arial, sans-serif;
}
.mc-fb-slide-title small {
  display: block;
  margin-top: 3px;
  color: #817567;
  font: 12px/1.3 Arial, sans-serif;
}
.mc-fb-network {
  display: grid;
  place-items: center;
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #352f27;
  color: #fff4e4;
  font: 700 22px/1 Arial, sans-serif;
}
.mc-fb-slide-photo,
.mc-fb-slide-no-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 248px;
  overflow: hidden;
  border-radius: 9px;
  background: #ede7dc;
}
.mc-fb-slide-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mc-fb-slide-no-image {
  border: 1px solid #e1d7c9;
  color: #866c48;
  font: italic 25px/1.35 Georgia, serif;
}
.mc-fb-slide-body { min-width: 0; }
.mc-fb-slide-excerpt {
  display: -webkit-box;
  min-height: 42px;
  margin: 0 0 8px !important;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: #514a41;
  font: 14px/1.55 Arial, sans-serif;
}
.mc-fb-slide-empty { color: #817768; }
.mc-fb-slide-link {
  display: inline-block;
  color: #775728 !important;
  font: 700 13px/1.5 Arial, sans-serif;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.mc-carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 23px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #e9dfce;
}
.mc-carousel-nav button {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  padding: 0 0 4px;
  border: 1px solid #cab58f;
  border-radius: 50%;
  background: #f9f6ee;
  color: #69522f;
  font: 31px/1 Georgia, serif;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.mc-carousel-nav button:hover { background: #322b23; color: #fff6e6; }
.mc-carousel-count {
  min-width: 42px;
  color: #796b59;
  font: 600 13px/1 Arial, sans-serif;
  text-align: center;
}
@media (max-width: 920px) {
  .mc-facebook-module.mc-carousel-ready { max-width: 660px; }
}
@media (max-width: 560px) {
  .mc-facebook-module.mc-carousel-ready { min-height: 446px; padding: 14px 13px 11px; }
  .mc-fb-slide-photo, .mc-fb-slide-no-image { height: 220px; }
  .mc-fb-slide-title strong { font-size: 14px; }
  .mc-fb-slide-excerpt { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .mc-carousel-nav button { transition: none; }
}
