/* Le Castor — Aperçu DA 2.0 — Proposition B « DA 2.0 complète » (TK-20261002-0798) */

@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("bebas-neue-latin.woff2") format("woff2");
}

/* ---------- Titres condensés en capitales ---------- */
body.da2-b .da2-titre,
body.da2-b .castor_user_card_title,
body.da2-b .castor_user_page_title,
body.da2-b .castor-domains-showcase-title h2,
body.da2-b .blog-post-loop .entry-title,
body.da2-b .castor_searchhome_select_domain_title,
body.da2-b .castor_searchhome_select_location_title {
  font-family: "Bebas Neue", "filson-pro", sans-serif !important;
  font-weight: 400 !important;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.02 !important;
}
body.da2-b .da2-titre { font-size: calc(var(--da2-fs, 40px) * 1.3) !important; }
body.da2-b .castor_user_card_title { font-size: 34px !important; }
body.da2-b .castor_user_page_title { font-size: 48px !important; }
body.da2-b .blog-post-loop .entry-title { font-size: 30px !important; }
body.da2-b .castor_searchhome_select_domain_title,
body.da2-b .castor_searchhome_select_location_title { font-size: 26px !important; }

/* Texte : sans-serif légèrement espacé */
body.da2-b p,
body.da2-b li,
body.da2-b .wpb_text_column { letter-spacing: .015em; }

/* ---------- Boutons pleins en Nuit ---------- */
body.da2-b .btn.btn-color-primary.btn-style-default,
body.da2-b .castor_user_card_view_button,
body.da2-b .castor_user_page_back_button,
body.da2-b .castor_user_page_rate_button,
body.da2-b .castor_searchbar_txt_btn,
body.da2-b .gform_wrapper .gform_next_button,
body.da2-b .gform_wrapper input[type="submit"],
body.da2-b .gform_wrapper .gform_button {
  background-color: var(--da2-nuit) !important;
  border-color: var(--da2-nuit) !important;
  color: #fff !important;
}
body.da2-b .btn.btn-color-primary.btn-style-default:hover,
body.da2-b .castor_user_card_view_button:hover,
body.da2-b .castor_user_page_back_button:hover,
body.da2-b .castor_user_page_rate_button:hover,
body.da2-b .castor_searchbar_txt_btn:hover {
  background-color: var(--da2-bleu) !important;
  border-color: var(--da2-bleu) !important;
  color: var(--da2-nuit) !important;
}
body.da2-b .btn.btn-color-primary.btn-style-bordered {
  border-color: var(--da2-nuit) !important;
  color: var(--da2-nuit) !important;
}
body.da2-b .btn.btn-color-primary.btn-style-bordered:hover {
  background-color: var(--da2-nuit) !important;
  color: #fff !important;
}

/* ---------- Section à fond Nuit ---------- */
body.da2-b .da2-fond-nuit,
body.da2-b .da2-fond-nuit p,
body.da2-b .da2-fond-nuit li,
body.da2-b .da2-fond-nuit h2,
body.da2-b .da2-fond-nuit h3 { color: #fff !important; }
body.da2-b .da2-fond-nuit p { color: rgba(255,255,255,.82) !important; }
body.da2-b .da2-fond-nuit .btn.btn-color-primary.btn-style-default {
  background-color: var(--da2-bleu) !important;
  border-color: var(--da2-bleu) !important;
  color: var(--da2-nuit) !important;
}

/* ---------- « Nos engagements » : texte Nuit, plus lisible que le bleu ---------- */
body.da2-b .da2-engagements h4,
body.da2-b .da2-engagements p { color: var(--da2-nuit) !important; }

/* ---------- Dates d'actualités : accent jaune ---------- */
body.da2-b .post-date,
body.da2-b .wd-post-date { background: var(--da2-jaune) !important; color: var(--da2-nuit) !important; }
body.da2-b .post-date *,
body.da2-b .wd-post-date * { color: var(--da2-nuit) !important; }

/* ---------- Pied de page : bande de copyright Nuit ---------- */
body.da2-b .copyrights-wrapper {
  background: var(--da2-nuit) !important;
  color: rgba(255,255,255,.75) !important;
}
body.da2-b .copyrights-wrapper a { color: #fff !important; }

/* ---------- Page Inscription : encart Neuchâtel en titre condensé (TK-20261002-0799) ---------- */
body.da2-b .da2-ne-titre {
  font-family: "Bebas Neue", "filson-pro", sans-serif !important;
  font-weight: 400 !important;
  font-size: 58px;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}
body.da2-b .da2-ne-carte-titre {
  font-family: "Bebas Neue", "filson-pro", sans-serif !important;
  font-weight: 400 !important;
  font-size: 28px;
  text-transform: uppercase;
}
body.da2-b .da2-ne-cta { background: var(--da2-nuit); color: #fff !important; }
body.da2-b .da2-ne-cta:hover { background: var(--da2-bleu); color: var(--da2-nuit) !important; }
@media (max-width: 900px) { body.da2-b .da2-ne-titre { font-size: 44px; } }

/* ---------- Page Inscription : adaptations demandées par le client (TK-20261006-0812) ---------- */

/* Vidéo YouTube retirée (fond vidéo desktop + lecteur mobile, même vidéo) */
body.da2-b.page-id-18 .vc_video-bg-container { display: none !important; }

/* « Avantages » : texte plus grand, en Nuit, coches en pastille bleue */
body.da2-b.page-id-18 .avantages li {
  align-items: flex-start;
  margin-bottom: 14px;
}
body.da2-b.page-id-18 .avantages .list-content {
  color: var(--da2-nuit) !important;
  font-size: 18px !important;
  line-height: 1.5 !important;
}
body.da2-b.page-id-18 .avantages .list-icon {
  flex: 0 0 26px;
  width: 26px; height: 26px;
  margin: 1px 14px 0 0 !important;
  border-radius: 50%;
  background: var(--da2-bleu);
  color: var(--da2-nuit) !important;
  font-size: 12px !important;
  line-height: 26px !important;
  text-align: center;
}

/* « Les plus du Castor » : titre condensé + barre jaune */
body.da2-b.page-id-18 .vc_custom_1665585375415 h4 {
  font-family: "Bebas Neue", "filson-pro", sans-serif !important;
  font-weight: 400 !important;
  font-size: 45.5px !important;
  line-height: 1.02 !important;
  letter-spacing: .01em;
  color: var(--da2-nuit) !important;
}
body.da2-b.page-id-18 .vc_custom_1665585375415 h4::before {
  content: "";
  display: block;
  width: 56px; height: 6px;
  margin: 0 auto 18px;
  background: var(--da2-jaune);
}

/* « Les plus du Castor » : trois fiches, bûches redessinées en vectoriel (1, 2, 3) */
body.da2-b.page-id-18 .vc_custom_1665585454195 { padding-top: 22px !important; }
body.da2-b.page-id-18 .vc_custom_1665585454195 > .wpb_column > .vc_column-inner { padding-top: 0 !important; height: 100%; }
body.da2-b.page-id-18 .vc_custom_1665585454195 > .wpb_column > .vc_column-inner > .wpb_wrapper {
  position: relative;
  height: 100%;
  padding: 34px 30px 30px;
  background: var(--da2-glace);
  border: 2px solid var(--da2-bleu);
  border-radius: 14px;
  overflow: hidden;
}
body.da2-b.page-id-18 .vc_custom_1665585454195 > .wpb_column > .vc_column-inner > .wpb_wrapper::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 8px;
  background: var(--da2-jaune);
}
body.da2-b.page-id-18 .vc_custom_1665585454195 > .wpb_column > .vc_column-inner > .wpb_wrapper::after {
  content: "";
  position: absolute;
  top: 26px; right: 22px;
  width: 56px; height: 12px;
  background: repeating-linear-gradient(-60deg, var(--da2-bleu) 0 3px, transparent 3px 7px);
}
body.da2-b.page-id-18 .vc_custom_1665585454195 .wpb_single_image { margin-bottom: 22px !important; }
body.da2-b.page-id-18 .vc_custom_1665585454195 .wpb_single_image .vc_figure { display: block; }
body.da2-b.page-id-18 .vc_custom_1665585454195 .vc_single_image-wrapper {
  display: block;
  width: 100%;
  height: 84px;
  background: no-repeat left bottom / auto 84px;
}
/* TK-0819 : bûches couchées (face coupée à cernes), plus larges que hautes → contain pour que 3 bûches tiennent dans une fiche étroite */
body.da2-b.page-id-18 .vc_custom_1665585454195 .vc_single_image-wrapper { height: 72px; background-size: contain; }
body.da2-b.page-id-18 .vc_custom_1665585454195 .vc_single_image-wrapper img { display: none !important; }
body.da2-b.page-id-18 .vc_custom_1665585454195 > .wpb_column:nth-child(1) .vc_single_image-wrapper { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 46'><g transform='translate%281 2%29'><path d='M24 7 L21 1.2 Q24.5 -0.6 28 0.8 L30.5 7 Z' fill='%231E2631'/><path d='M13 5 H52 V41 H13 A8 18 0 0 1 13 5 Z' fill='%231E2631'/><path d='M10 14 Q20 12.5 30 14 T46 14 M17 23 Q27 21.5 37 23 T50 23 M9 32 Q18 30.5 27 32 T44 32' fill='none' stroke='%233FD1F6' stroke-width='2.2' stroke-linecap='round'/><ellipse cx='52' cy='23' rx='10.5' ry='18' fill='%23FFC845' stroke='%231E2631' stroke-width='3'/><ellipse cx='52' cy='23' rx='6.6' ry='11.6' fill='none' stroke='%231E2631' stroke-width='1.7'/><ellipse cx='52' cy='23' rx='3.3' ry='5.8' fill='none' stroke='%231E2631' stroke-width='1.7'/><ellipse cx='52' cy='23' rx='1.1' ry='1.9' fill='%231E2631'/></g></svg>"); }
body.da2-b.page-id-18 .vc_custom_1665585454195 > .wpb_column:nth-child(2) .vc_single_image-wrapper { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 46'><g transform='translate%281 2%29'><path d='M24 7 L21 1.2 Q24.5 -0.6 28 0.8 L30.5 7 Z' fill='%231E2631'/><path d='M13 5 H52 V41 H13 A8 18 0 0 1 13 5 Z' fill='%231E2631'/><path d='M10 14 Q20 12.5 30 14 T46 14 M17 23 Q27 21.5 37 23 T50 23 M9 32 Q18 30.5 27 32 T44 32' fill='none' stroke='%233FD1F6' stroke-width='2.2' stroke-linecap='round'/><ellipse cx='52' cy='23' rx='10.5' ry='18' fill='%23FFC845' stroke='%231E2631' stroke-width='3'/><ellipse cx='52' cy='23' rx='6.6' ry='11.6' fill='none' stroke='%231E2631' stroke-width='1.7'/><ellipse cx='52' cy='23' rx='3.3' ry='5.8' fill='none' stroke='%231E2631' stroke-width='1.7'/><ellipse cx='52' cy='23' rx='1.1' ry='1.9' fill='%231E2631'/></g><g transform='translate%2863 2%29'><path d='M24 7 L21 1.2 Q24.5 -0.6 28 0.8 L30.5 7 Z' fill='%231E2631'/><path d='M13 5 H52 V41 H13 A8 18 0 0 1 13 5 Z' fill='%231E2631'/><path d='M10 14 Q20 12.5 30 14 T46 14 M17 23 Q27 21.5 37 23 T50 23 M9 32 Q18 30.5 27 32 T44 32' fill='none' stroke='%233FD1F6' stroke-width='2.2' stroke-linecap='round'/><ellipse cx='52' cy='23' rx='10.5' ry='18' fill='%23FFC845' stroke='%231E2631' stroke-width='3'/><ellipse cx='52' cy='23' rx='6.6' ry='11.6' fill='none' stroke='%231E2631' stroke-width='1.7'/><ellipse cx='52' cy='23' rx='3.3' ry='5.8' fill='none' stroke='%231E2631' stroke-width='1.7'/><ellipse cx='52' cy='23' rx='1.1' ry='1.9' fill='%231E2631'/></g></svg>"); }
body.da2-b.page-id-18 .vc_custom_1665585454195 > .wpb_column:nth-child(3) .vc_single_image-wrapper { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 190 46'><g transform='translate%281 2%29'><path d='M24 7 L21 1.2 Q24.5 -0.6 28 0.8 L30.5 7 Z' fill='%231E2631'/><path d='M13 5 H52 V41 H13 A8 18 0 0 1 13 5 Z' fill='%231E2631'/><path d='M10 14 Q20 12.5 30 14 T46 14 M17 23 Q27 21.5 37 23 T50 23 M9 32 Q18 30.5 27 32 T44 32' fill='none' stroke='%233FD1F6' stroke-width='2.2' stroke-linecap='round'/><ellipse cx='52' cy='23' rx='10.5' ry='18' fill='%23FFC845' stroke='%231E2631' stroke-width='3'/><ellipse cx='52' cy='23' rx='6.6' ry='11.6' fill='none' stroke='%231E2631' stroke-width='1.7'/><ellipse cx='52' cy='23' rx='3.3' ry='5.8' fill='none' stroke='%231E2631' stroke-width='1.7'/><ellipse cx='52' cy='23' rx='1.1' ry='1.9' fill='%231E2631'/></g><g transform='translate%2863 2%29'><path d='M24 7 L21 1.2 Q24.5 -0.6 28 0.8 L30.5 7 Z' fill='%231E2631'/><path d='M13 5 H52 V41 H13 A8 18 0 0 1 13 5 Z' fill='%231E2631'/><path d='M10 14 Q20 12.5 30 14 T46 14 M17 23 Q27 21.5 37 23 T50 23 M9 32 Q18 30.5 27 32 T44 32' fill='none' stroke='%233FD1F6' stroke-width='2.2' stroke-linecap='round'/><ellipse cx='52' cy='23' rx='10.5' ry='18' fill='%23FFC845' stroke='%231E2631' stroke-width='3'/><ellipse cx='52' cy='23' rx='6.6' ry='11.6' fill='none' stroke='%231E2631' stroke-width='1.7'/><ellipse cx='52' cy='23' rx='3.3' ry='5.8' fill='none' stroke='%231E2631' stroke-width='1.7'/><ellipse cx='52' cy='23' rx='1.1' ry='1.9' fill='%231E2631'/></g><g transform='translate%28125 2%29'><path d='M24 7 L21 1.2 Q24.5 -0.6 28 0.8 L30.5 7 Z' fill='%231E2631'/><path d='M13 5 H52 V41 H13 A8 18 0 0 1 13 5 Z' fill='%231E2631'/><path d='M10 14 Q20 12.5 30 14 T46 14 M17 23 Q27 21.5 37 23 T50 23 M9 32 Q18 30.5 27 32 T44 32' fill='none' stroke='%233FD1F6' stroke-width='2.2' stroke-linecap='round'/><ellipse cx='52' cy='23' rx='10.5' ry='18' fill='%23FFC845' stroke='%231E2631' stroke-width='3'/><ellipse cx='52' cy='23' rx='6.6' ry='11.6' fill='none' stroke='%231E2631' stroke-width='1.7'/><ellipse cx='52' cy='23' rx='3.3' ry='5.8' fill='none' stroke='%231E2631' stroke-width='1.7'/><ellipse cx='52' cy='23' rx='1.1' ry='1.9' fill='%231E2631'/></g></svg>"); }
body.da2-b.page-id-18 .vc_custom_1665585454195 h3 {
  margin-bottom: 12px !important;
  font-family: "Bebas Neue", "filson-pro", sans-serif !important;
  font-weight: 400 !important;
  font-size: 32px !important;
  line-height: 1.05 !important;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--da2-nuit) !important;
}
body.da2-b.page-id-18 .vc_custom_1665585454195 h3 span { color: var(--da2-nuit) !important; }
body.da2-b.page-id-18 .vc_custom_1665585454195 .wpb_text_column { margin-bottom: 0 !important; }
body.da2-b.page-id-18 .vc_custom_1665585454195 .wpb_text_column h3 + * { margin-bottom: 0; }
body.da2-b.page-id-18 .vc_custom_1665585454195 .wpb_text_column p {
  color: var(--da2-nuit) !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
}
@media (max-width: 767px) {
  body.da2-b.page-id-18 .avantages .list-content { font-size: 17px !important; }
  body.da2-b.page-id-18 .vc_custom_1665585375415 h4 { font-size: 38px !important; }
  body.da2-b.page-id-18 .vc_custom_1665585454195 > .wpb_column { margin-bottom: 18px; }
  body.da2-b.page-id-18 .vc_custom_1665585454195 .vc_single_image-wrapper { height: 70px; background-size: auto 70px; }
  body.da2-b.page-id-18 .vc_custom_1665585454195 h3 { font-size: 28px !important; }
}
