/*
Theme Name: Beaver Builder Child Theme
Theme URI: https://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: https://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here...Remember to change the Version number above! */
a, a:hover, button, button:hover {
    transition: all 0.5s ease-in-out;
    text-decoration: none;
}
.fl-builder-content[data-type=header].fl-theme-builder-header-shrink .fl-row-content-wrap {
    box-shadow: 2px 4px 8px rgb(0 0 0 / 10%);
}
.single-post h2,
.single-post h3 {
    font-family: 'Josefin Sans';
    text-transform: uppercase;
    font-weight: bold;
}
.single-post p, 
.single-post li {
    font-family: 'Work Sans';
}
/* =====================================================
   FEED THE WEB – PAGE THEME (BRAND BASED)
   ===================================================== */
.fl-builder-content-247 {
  --primary: #f4b400;        /* Fries yellow */
  --primary-dark: #e09b00;
  --accent: #e63946;         /* Red */
  --success: #2e7d32;
  --bg-soft: #fff8e1;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
}

/* =====================================================
   PAGE BACKGROUND SOFT TONE
   ===================================================== */
.fl-builder-content-247 {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #fffdf6 100%
  );
}

/* =====================================================
   HEADER – PACKS DE CRÉATION
   ===================================================== */
.fl-builder-content-247 .fl-module-html h3 {
  font-size: 38px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text-dark);
}

.fl-builder-content-247 .fl-module-html h3 img {
  width: 30px;
  height: 30px;
}

.fl-builder-content-247 .fl-module-html p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 960px;
}

/* =====================================================
   PRICING CARDS
   ===================================================== */
.fl-builder-content-247 .fl-col-small {
  background: #ffffff;
  border-radius: 20px;
  padding: 38px 32px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
  transition: box-shadow 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.fl-builder-content-247 .fl-col-small:hover {
  box-shadow: 0 30px 65px rgba(0,0,0,0.15);
}

/* Column title */
.fl-builder-content-247 .fl-col-small .fl-heading-text {
  text-align: center;
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 28px;
  color: var(--text-dark);
}

/* Package name */
.fl-builder-content-247 .fl-list-item-content-text h4 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 6px;
}

/* Price */
.fl-builder-content-247 .fl-list-item-content-text > p strong {
  font-size: 32px;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

/* Subtitle */
.fl-builder-content-247 .fl-list-item-content-text em {
  display: block;
  font-style: normal;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Features */
.fl-builder-content-247 .fl-list-item-content-text ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.fl-builder-content-247 .fl-list-item-content-text ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  line-height: 1.65;
  color: #333;
}

.fl-builder-content-247 .fl-list-item-content-text ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--success);
  font-weight: 900;
}

/* =====================================================
   DELIVERY BOX
   ===================================================== */
.fl-builder-content-247 .delivery-box {
  margin-top: auto;
  margin-bottom: 20px;
  padding: 16px 18px;
  background: var(--bg-soft);
  border-radius: 14px;
  border-left: 6px solid var(--primary);
}

.fl-builder-content-247 .delivery-label {
  font-size: 13px;
  font-weight: 800;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.fl-builder-content-247 .delivery-value {
  font-size: 17px;
  font-weight: 900;
  color: #000;
}

/* =====================================================
   CTA BUTTON
   ===================================================== */
.fl-builder-content-247 .pricing-cta {
  display: block;
  padding: 15px 22px;
  background: linear-gradient(
    180deg,
    var(--primary),
    var(--primary-dark)
  );
  color: #000;
  text-align: center;
  border-radius: 14px;
  font-weight: 900;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.fl-builder-content-247 .pricing-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(244,180,0,0.45);
}

/* =====================================================
   PREMIUM PLAN (MIDDLE)
   ===================================================== */
.fl-builder-content-247 .fl-col-group .fl-col-small:nth-child(2) {
  border: 3px solid var(--primary);
}

.fl-builder-content-247 .fl-col-group .fl-col-small:nth-child(2)::before {
  content: "Le plus populaire";
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 900;
  border-radius: 999px;
}

/* =====================================================
   SERVICES OPTIONNELS – BRAND CALLOUT
   ===================================================== */
.fl-builder-content-247 .fl-module-html h4 {
  margin-top: 90px;
  padding: 28px 32px;
  background: linear-gradient(
    90deg,
    #fff3cd,
    #ffffff
  );
  border-left: 6px solid var(--accent);
  border-radius: 18px;
  font-size: 26px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 12px;
}

.fl-builder-content-247 .fl-module-html h4 + p {
  margin-top: 18px;
  padding-left: 36px;
  font-size: 17px;
  color: var(--text-muted);
  max-width: 960px;
  line-height: 1.75;
}

/* =====================================================
   CLEANUP
   ===================================================== */
.fl-builder-content-247 .fl-list-item-wrapper:empty,
.fl-builder-content-247 .fl-list-item:empty {
  display: none !important;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 991px) {
  .fl-builder-content-247 .fl-module-html h3 {
    font-size: 30px;
  }

  .fl-builder-content-247 .fl-col-small {
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  }
}

/* ===============================
   PORTFOLIO HEADER
   =============================== */
.portfolio-header {
  text-align: center;
  max-width: 900px;
  margin: 70px auto 60px;
}

.portfolio-header h1 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 14px;
  color: #1f2937;
}

.portfolio-header p {
  font-size: 18px;
  line-height: 1.6;
  color: #6b7280;
}

/* ===============================
   CASE STUDY WRAPPER
   =============================== */
.portfolio-case-wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto 80px;
}

/* ===============================
   SINGLE CASE
   =============================== */
.portfolio-case {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  background: #ffffff;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 16px 45px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease;
}

.portfolio-case:hover {
  box-shadow: 0 26px 65px rgba(0,0,0,0.14);
}

/* ===============================
   IMAGE
   =============================== */
.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ===============================
   CONTENT
   =============================== */
.case-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Meta (link + tech) */
.case-meta {
  margin-bottom: 18px;
}

.case-meta a {
  display: inline-block;
  font-size: 17px;
  font-weight: 800;
  color: #e63946;
  text-decoration: none;
  margin-bottom: 6px;
}

.case-meta a:hover {
  text-decoration: underline;
}

.case-meta span {
  display: block;
  font-size: 14px;
  color: #6b7280;
}

/* Text */
.case-text p {
  font-size: 16px;
  line-height: 1.75;
  color: #1f2937;
  margin-bottom: 14px;
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 991px) {
  .portfolio-case {
    grid-template-columns: 1fr;
  }

  .portfolio-header h1 {
    font-size: 32px;
  }

  .portfolio-header p {
    font-size: 16px;
  }
}


