/*
 * Custom style goes here.
 * A template should always ship with an empty custom.css
 */
/* ===== STYLE VERRIERE RENOV BOIS ===== */

:root {
  --vrb-green: #3c6e47;
  --vrb-brown: #8b5a2b;
  --vrb-beige: #f7f3ee;
  --vrb-grey: #555;
  --vrb-dark: #222;
}

.vrb-home-intro,
.vrb-home-catalogue,
.vrb-home-renovation,
.vrb-home-durable,
.vrb-home-service {
  background-color: var(--vrb-beige);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  margin: 2rem auto;
  max-width: 1100px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vrb-home-intro:hover,
.vrb-home-catalogue:hover,
.vrb-home-renovation:hover,
.vrb-home-durable:hover,
.vrb-home-service:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* TITRES */
.vrb-home-intro h1 {
  color: var(--vrb-brown);
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.4rem;
}

.vrb-home-intro h2 {
  color: var(--vrb-green);
  text-align: center;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.vrb-home-catalogue h2,
.vrb-home-renovation h2,
.vrb-home-durable h2,
.vrb-home-service h2 {
  color: var(--vrb-green);
  font-size: 1.6rem;
  border-left: 5px solid var(--vrb-brown);
  padding-left: 10px;
  margin-bottom: 1rem;
}

/* PARAGRAPHES */
.vrb-home-intro p,
.vrb-home-catalogue p,
.vrb-home-renovation p,
.vrb-home-durable p,
.vrb-home-service p {
  color: var(--vrb-grey);
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.vrb-home-intro strong,
.vrb-home-catalogue strong,
.vrb-home-renovation strong,
.vrb-home-durable strong,
.vrb-home-service strong {
  color: var(--vrb-dark);
}

.vrb-home-intro em {
  color: var(--vrb-green);
  font-style: normal;
}

/* FOOTER SEO */
.vrb-home-seo {
  text-align: center;
  margin: 3rem auto;
  padding: 1rem;
  color: #777;
  font-size: 0.85rem;
  max-width: 900px;
}

.vrb-home-seo small {
  background: #fff;
  border: 1px dashed var(--vrb-green);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  display: inline-block;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .vrb-home-intro,
  .vrb-home-catalogue,
  .vrb-home-renovation,
  .vrb-home-durable,
  .vrb-home-service {
    padding: 1.5rem;
    margin: 1.5rem 1rem;
  }

  .vrb-home-intro h1 {
    font-size: 1.8rem;
  }

  .vrb-home-intro h2 {
    font-size: 1.3rem;
  }

  .vrb-home-catalogue h2,
  .vrb-home-renovation h2,
  .vrb-home-durable h2,
  .vrb-home-service h2 {
    font-size: 1.4rem;
  }
}
/* ===== Icônes SVG pour VerriereRenovBois ===== */

.vrb-home-intro h1 svg,
.vrb-home-catalogue h2 svg,
.vrb-home-renovation h2 svg,
.vrb-home-durable h2 svg,
.vrb-home-service h2 svg {
  width: 26px;
  height: 26px;
  vertical-align: middle;
  margin-right: 8px;
  margin-bottom: 4px;
  fill: currentColor; /* adopte automatiquement la couleur du texte */
  opacity: 0.9;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.vrb-home-intro h1:hover svg,
.vrb-home-catalogue h2:hover svg,
.vrb-home-renovation h2:hover svg,
.vrb-home-durable h2:hover svg,
.vrb-home-service h2:hover svg {
  transform: scale(1.15);
  opacity: 1;
}

/* Harmonise les titres contenant icône + texte */
.vrb-home-intro h1,
.vrb-home-catalogue h2,
.vrb-home-renovation h2,
.vrb-home-durable h2,
.vrb-home-service h2 {
  display: flex;
  align-items: center;
  gap: 6px;
}
/* Styles accordéon (compatibles PrestaShop) */
.vrb-faq details { 
  border: 1px solid #e6efe6; 
  border-radius: 8px; 
  padding: 10px 14px; 
  margin: 10px 0; 
  background: #fcfdfc;
}
.vrb-faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: #2a7a2e;
  display: flex; 
  align-items: center;
  outline: none;
}
.vrb-faq summary::-webkit-details-marker { display: none; }
.vrb-faq summary:before {
  content: "➕";
  margin-right: 10px;
  font-weight: 700;
  color: #2a7a2e;
}
.vrb-faq details[open] summary:before { content: "➖"; }
.vrb-faq .faq-body { 
  margin-top: 8px; 
  color: #333; 
  line-height: 1.6;
  border-top: 1px dashed #d8ead8;
  padding-top: 8px;
}
/* === FAQ Verriere Renov Bois - Vert Alpine === */
.vrb-faq details {
  border: 1px solid #dce9dc;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 10px 0;
  background: #f8fcf8;
  transition: all 0.2s ease;
}
.vrb-faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: #2a7a2e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
}
.vrb-faq summary::-webkit-details-marker { display: none; }
.vrb-faq summary:before {
  content: "➕";
  font-weight: bold;
  margin-right: 10px;
  color: #2a7a2e;
}
.vrb-faq details[open] summary:before {
  content: "➖";
}
.vrb-faq details[open] {
  background-color: #edf6ed;
  border-color: #2a7a2e;
}
.vrb-faq .faq-body {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #cfe5cf;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
}
.vrb-faq h3 {
  color: #2a7a2e !important;
  font-size: 18px;
  margin-bottom: 10px;
}
/* ======== FAQ ALPINE - compatible Zone Supermarket ======== */
.vrb-faq details {
  border: 1px solid #dce9dc;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 10px 0;
  background: #f8fcf8;
  overflow: hidden;
  transition: all 0.3s ease;
}
.vrb-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #2a7a2e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  margin: -12px -16px;
  padding: 12px 16px;
}
.vrb-faq summary::-webkit-details-marker { display: none; }
.vrb-faq summary:before {
  content: "➕";
  font-weight: bold;
  margin-right: 10px;
  color: #2a7a2e;
  transition: transform 0.2s ease;
}
.vrb-faq details[open] summary:before {
  content: "➖";
  transform: rotate(180deg);
}
.vrb-faq details .faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  border-top: 1px dashed #cfe5cf;
  margin-top: 0;
  padding-top: 0;
}

/* lorsque l’accordéon est ouvert */
.vrb-faq details[open] .faq-body {
  max-height: 500px;
  padding-top: 8px;
  margin-top: 6px;
}

/* Effet sur le bloc actif */
.vrb-faq details[open] {
  background-color: #edf6ed;
  border-color: #2a7a2e;
}

/* Titre FAQ */
.vrb-faq h3 {
  color: #2a7a2e !important;
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
}
