/*
Theme Name:  Silavoca (Astra Child)
Theme URI:   https://silavoca.com
Description: Astra child theme that reproduces the Silavoca design (header, footer, hero, services, steps, professionals grid, FAQ, blog carousel). Pages are assembled with Beaver Builder using the HTML snippets in bb-snippets/ and the shortcodes provided by the theme.
Author:      Silavoca
Template:    astra
Version:     1.5.4
License:     GNU General Public License v2 or later
Text Domain: silavoca
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --sv-purple: #493C52;
  --sv-purple-dark: #372444;
  --sv-purple-light: #dad8dc;
  --sv-purple-soft: #e8e7ea;
  --sv-gold: #D19630;
  --sv-gold-dark: #a27424;
  --sv-grey: #f9f9f9;
  --sv-border: #e5e5e5;
  --sv-font: 'El Messiri', 'Archivo', sans-serif;

  /* variables used by the blog and accordion rules below */
  --inverse-color: #000000;
  --inverse-color-rgb: 0, 0, 0;
  --default-color: #000000;
  --heading-color: #000000;
  --accent-color: #493C52;
  --contrast-color: #ffffff;
  --surface-color: #ffffff;
}

/* ==========================================================================
   Astra and Beaver Builder integration
   ========================================================================== */
body,
body.ast-theme-transparent-header,
.ast-container {
  font-family: var(--sv-font);
  color: #000;
}
body {
  background-color: #fff;
}

/* Canvas template: content is printed without Astra wrappers, so nothing to reset.
   For normal Astra pages that use Beaver Builder, stretch the content area. */
.silavoca-canvas #primary,
.silavoca-canvas #content,
.silavoca-canvas .ast-container {
  max-width: 100%;
  padding: 0;
  margin: 0;
}
.silavoca-canvas .site-content {
  padding: 0;
}

/* Rows flagged with the "sv-flush" class in Beaver Builder lose their inner padding,
   the section markup already carries its own spacing. */
.sv-flush .fl-row-content-wrap {
  padding: 0;
}
.fl-builder-content .fl-module-html :where(h1, h2, h3, h4, h5, h6) {
  margin-top: 0;
}

/* Astra sets a max-width on images inside content; keep the theme behaviour. */
.sv-section img {
  max-width: 100%;
  height: auto;
}

/* Keep the fixed "Guidez-moi" button above the WordPress admin bar. */
body.admin-bar .offcanvas.offcanvas-start {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar .offcanvas.offcanvas-start {
    top: 46px;
  }
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, .heading-1 { font-size: 1.875rem; line-height: 1.1; }
@media (min-width: 576px)  { h1, .heading-1 { font-size: 2.5rem; } }
@media (min-width: 992px)  { h1, .heading-1 { font-size: 2.75rem; } }
@media (min-width: 1200px) { h1, .heading-1 { font-size: 3rem; } }
@media (min-width: 1400px) { h1, .heading-1 { font-size: 4rem; } }

h2, .heading-2 { font-size: 1.625rem; line-height: 1.25; }
@media (min-width: 768px)  { h2, .heading-2 { font-size: 1.875rem; } }
@media (min-width: 992px)  { h2, .heading-2 { font-size: 2.375rem; } }
@media (min-width: 1200px) { h2, .heading-2 { font-size: 2.75rem; } }

h3, .heading-3 { font-size: 1.5rem; line-height: 1.27778; }
@media (min-width: 768px)  { h3, .heading-3 { font-size: 1.75rem; } }
@media (min-width: 992px)  { h3, .heading-3 { font-size: 2rem; } }
@media (min-width: 1200px) { h3, .heading-3 { font-size: 2.25rem; } }

h4, .heading-4 { font-size: 1.125rem; line-height: 1.25; }
@media (min-width: 768px)  { h4, .heading-4 { font-size: 1.25rem; } }
@media (min-width: 992px)  { h4, .heading-4 { font-size: 1.375rem; } }
@media (min-width: 1200px) { h4, .heading-4 { font-size: 1.5rem; } }

h5, .heading-5 { font-size: 1rem; line-height: 1.5; }
@media (min-width: 768px)  { h5, .heading-5 { font-size: 1.125rem; } }
@media (min-width: 1200px) { h5, .heading-5 { font-size: 1.25rem; } }

h6, .heading-6 { font-size: 1.125rem; line-height: 1.5; }
@media (min-width: 1200px) { h6, .heading-6 { font-size: 1rem; } }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--sv-font);
  color: #000;
}

p { font-size: 1rem; }
@media (min-width: 1200px) { p { font-size: 1.125rem; } }

small, .small { display: block; font-size: 0.75rem; line-height: 1.5; }

.title-center { text-align: center !important; }
.title-left   { text-align: left !important; }
.home-text    { font-weight: 700 !important; }
.home-text-color { font-weight: 700 !important; color: var(--sv-gold); }

a { color: var(--sv-purple); text-decoration: none; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container-fluid {
  width: 100%;
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1400px) {
  .container-fluid { padding-left: 60px; padding-right: 60px; }
}
.bg-1 { background-color: var(--sv-purple); }
.bg-2 {
  background-image: url(assets/img/2268.png);
  background-repeat: no-repeat;
  background-position: right top;
  background-size: auto 100%;
}
.bg-3 { background-color: var(--sv-grey); }

@media (min-width: 1400px) { .vh-xxl-100 { height: 100vh !important; } }
@media (min-width: 1200px) { .vh-xl-100  { height: 100vh !important; } }

/* ==========================================================================
   Header
   ========================================================================== */
.sv-header.navbar {
  padding: 2rem 1rem;
  border-bottom: 1px solid var(--sv-border) !important;
  background: #fff;
}
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1000;
  background: transparent;
  border: none;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #000;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.logo { margin-left: 30px; }
.logox-img { width: auto; height: 40px; }

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links { display: flex; gap: 30px; }
.nav-links ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li { margin: 0; }
.nav-links a {
  color: #000;
  text-decoration: none;
  font-size: 1rem;
}
.nav-links a:hover,
.nav-links .current-menu-item > a {
  border-bottom: 1px solid #000;
}
.nav-btn { display: flex; gap: 10px; }

/* ==========================================================================
   Off canvas menu
   ========================================================================== */
.offcanvas.offcanvas-start {
  width: 350px;
  border-right: 1px solid var(--sv-border);
}
.offcanvas-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.offcanvas-nav li { margin: 0; }
.offcanvas-nav-links,
.offcanvas-nav li > a {
  border-bottom: 1px solid var(--sv-border);
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  padding: 10px 0;
  color: #000;
  width: 100%;
}
.offcanvas-nav-links:hover,
.offcanvas-nav li > a:hover,
.offcanvas-nav li.current-menu-item > a {
  font-weight: bold;
}
.offcanvas-nav .sub-menu {
  padding-left: 1rem;
  margin-top: .25rem;
}
.offcanvas-nav .sub-menu a { font-size: 16px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary { --bs-btn-active-bg: #694482; }
.btn-secondary,
.btn-google { --bs-btn-active-bg: #f8f8f8; --bs-btn-active-color: var(--sv-purple); }

.btn-primary {
  background: var(--sv-purple);
  border-color: var(--sv-purple);
  color: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
}
.btn-primary:hover { background: var(--sv-purple-dark); border-color: var(--sv-purple-dark); color: #fff; }

.btn-secondary {
  background: var(--sv-purple-soft);
  border-color: var(--sv-purple-soft);
  color: var(--sv-purple);
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
}
.btn-secondary:hover { background: #d1d1d1; border-color: #d1d1d1; color: var(--sv-purple-dark); }

.btn-yellow {
  background: var(--sv-gold);
  border-color: var(--sv-gold);
  color: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
}
.btn-yellow:hover { background: var(--sv-gold-dark); border-color: var(--sv-gold-dark); color: #fff; }

.btn.btn-white.hover-outline {
  background-color: #fff !important;
  color: var(--sv-purple) !important;
  border: 1px solid #fff !important;
}
.btn.btn-white.hover-outline:hover {
  color: #fff !important;
  background-color: transparent !important;
  border: 1px solid #fff !important;
}
.btn-rdv {
  background: var(--sv-purple);
  color: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  width: 100%;
}
.btn-rdv:hover { background: var(--sv-purple-dark); color: #fff; }

.btn-popout {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1050;
  padding: 10px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-google {
  background: var(--sv-purple-soft);
  border-color: var(--sv-purple-soft);
  color: var(--sv-purple);
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
}
.btn-google:hover { background: #d1d1d1; color: var(--sv-purple-dark); }
.btn-google img { height: 20px; width: 20px; margin-right: 10px; }

/* Astra and WordPress buttons inside our sections follow the same style. */
.sv-section .wp-block-button__link,
.sv-section input[type="submit"],
.sv-section button[type="submit"]:not(.btn) {
  background: var(--sv-purple);
  color: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  border: 0;
  font-size: 1rem;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.contact-popout {
  position: fixed;
  bottom: 70px;
  right: 20px;
  width: 300px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 1.5rem;
  z-index: 1050;
}
.form-control,
.sv-section input[type="text"],
.sv-section input[type="email"],
.sv-section input[type="password"],
.sv-section input[type="tel"],
.sv-section select,
.sv-section textarea {
  border: 1px solid #dddddd;
  background-color: #fff;
  border-radius: 10px;
}
.form-control:hover { background-color: var(--sv-grey); }
.form-control:focus {
  border-color: var(--sv-purple);
  box-shadow: 0 0 0 .25rem rgb(78 0 94 / 25%);
}
.col-form-label {
  padding-top: calc(0.4375rem + 1px);
  padding-bottom: calc(0.4375rem + 1px);
  margin-bottom: 0;
  font-size: inherit;
  font-weight: 500;
  line-height: 1.53;
}
.input-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}
.input-group-text {
  display: flex;
  align-items: center;
  color: #9b9b9b;
  text-align: center;
  white-space: nowrap;
  background-color: var(--sv-grey);
  border: 1px solid #dddddd;
  border-radius: 10px;
  width: 45px;
  cursor: pointer;
}
.forgotpass { margin-top: 1rem; }
.forgotpass a { color: #696cff; }
.search-bar { display: flex; gap: 1rem; }

.icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #F8F8F8;
  border: 1px solid #DDDDDD;
  border-radius: 15px;
}
.icon-button i { font-size: 20px; color: #000; }

.icon-button-mag {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
}
.icon-button-mag i { font-size: 20px; color: #000; }

/* ==========================================================================
   Animated arrow link
   ========================================================================== */
.special-link .icons {
  display: inline-block;
  width: 38px;
  height: 38px;
  line-height: 38px;
  border-radius: 50%;
  text-align: center;
  position: relative;
  border: 1px solid rgba(var(--inverse-color-rgb), 0.2);
}
.special-link .icons i {
  font-size: 25px;
  display: inline-block;
  position: absolute;
  transition: 0.3s all ease-in-out;
}
.special-link .icons i.icon-1 {
  opacity: 1; visibility: visible; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}
.special-link .icons i.icon-2 {
  opacity: 0; visibility: hidden; top: 80%; left: 20%;
  transform: translate(-50%, -50%) rotate(-45deg);
}
.special-link:hover .icons .icon-1 {
  opacity: 0; visibility: hidden; top: 20%; left: 80%;
  transform: translate(-50%, -50%) rotate(-45deg);
}
.special-link:hover .icons .icon-2 {
  opacity: 1; visibility: visible; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.card-home { border-radius: 20px; }
.card-home-text { color: #000; padding: 10px 0 10px 10px; }
.card-home,
.card-colors {
  display: flex !important;
  flex-direction: column;
  height: 100% !important;
  gap: 1rem !important;
  margin: 0 2rem;
}
.card-home-1 {
  background-color: #a98fdb91;
  padding: 1.5rem;
  border-radius: 2rem;
  border: 1px solid var(--sv-border) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.card-home-2 {
  background-color: #ffffffa6;
  padding: 1.5rem;
  border-radius: 2rem;
  border: 1px solid var(--sv-border) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.card-home-3 {
  background-color: #fff;
  border-radius: 2rem;
  border: 1px solid var(--sv-border) !important;
}
.card-home-1 h2, .card-home-2 h2 { color: #000; }
.img-avocat {
  width: 50px;
  height: auto;
  border-radius: 50px;
  margin-left: -5px;
  border: 3px solid #fff;
}
.img-web, .img-web-card { width: 100%; height: auto; }

/* ==========================================================================
   Services, mission, steps
   ========================================================================== */
.service-card { border: 1px solid var(--sv-border); background-color: #fff; }
.icon {
  display: inline-block;
  position: relative;
  color: var(--sv-purple) !important;
}
.icon:before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 40px;
  height: 40px;
  right: -10px;
  bottom: 0;
  border-radius: 50%;
  background-color: var(--sv-purple-light);
}
.icon svg { width: 50px; }

.mission-statement {
  background-color: var(--sv-gold);
  position: relative;
  bottom: -20px;
  width: 100%;
  align-items: center;
}
.mission-icon { font-size: 2rem; }

.step-card .step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  display: inline-block;
  color: #fff;
  background-color: var(--sv-purple);
  font-size: 18px;
}
.arch-line {
  position: absolute;
  top: 15px;
  width: 120px;
  right: 0;
  left: calc(100% + 24px);
  transform: translateX(-50%);
}
@media (max-width: 991.98px) { .arch-line { display: none; } }

.subtitle {
  background-color: var(--sv-purple-light);
  color: var(--sv-purple);
  display: inline-block;
  padding: 5px 12px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ==========================================================================
   Professionals
   ========================================================================== */
.person { border: 1px solid var(--sv-border); background-color: #fff; }
.person-box .person-img {
  border: 2px solid var(--sv-gold);
  border-radius: 50% !important;
  flex: 0 0 80px;
  overflow: hidden;
  width: 80px;
  height: 80px;
}
.person-box .person-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.person-border { border: 3px solid #fff; }
.name-box {
  line-height: 1 !important;
  font-size: 1.25rem;
  font-weight: 700 !important;
  margin-bottom: .5rem;
}
.tags-special,
.tag {
  background-color: var(--sv-purple-soft);
  color: var(--sv-purple);
  display: inline-block;
  padding: 5px 12px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 5px 5px 0 0;
}

/* filter card */
.filter-card {
  position: sticky;
  top: 20px;
  transition: all 0.3s ease;
  border: 1px solid var(--sv-border);
  background-color: #fff;
  padding: 20px;
  border-radius: 1rem;
}
body.admin-bar .filter-card { top: 52px; }
.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.filter-collapse {
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}
.filter-collapsed .filter-collapse { max-height: 0; opacity: 0; pointer-events: none; }
.filter-expanded .filter-collapse { max-height: 600px; opacity: 1; }

/* profile page */
.profiles { padding: 30px; background: #fff; border-radius: 20px; }
.profiles .person-box h1 { font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
.border-gris { border-bottom: 1px solid var(--sv-border) !important; }

/* ==========================================================================
   Accordion (FAQ)
   ========================================================================== */
.custom-accordion {
  --bs-accordion-bg: var(--bs-body-bg);
  --bs-accordion-btn-icon: url("");
  --bs-accordion-btn-active-icon: url("");
}
.custom-accordion .accordion-button { position: relative; padding-right: 50px; }
.custom-accordion .accordion-button::after {
  content: "\e9b1";
  font-family: "feather" !important;
  font-style: normal;
  font-variant: normal;
  text-transform: none;
  right: 20px;
  top: 15px;
  width: 18px;
  height: 14px;
  font-size: 1rem;
  color: var(--inverse-color);
  transform: rotate(0deg);
  line-height: 1;
  position: absolute;
  -webkit-font-smoothing: antialiased;
  background-image: none;
}
.custom-accordion .accordion-button:not(.collapsed)::after { content: "\e996"; transform: rotate(0deg); }
.custom-accordion .accordion-item {
  border: 1px solid var(--sv-border);
  margin-bottom: 10px;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s all ease-in-out;
}
.custom-accordion .accordion-item .accordion-header .accordion-button {
  outline: none;
  box-shadow: none;
  font-size: 18px;
  font-weight: 500;
  color: var(--bs-heading-color, #000);
  padding-top: 20px;
  padding-bottom: 20px;
  border: none;
}
.custom-accordion .accordion-item .accordion-header .accordion-button:not(.collapsed) {
  background-color: transparent;
  color: var(--inverse-color);
  box-shadow: 0 1px 1px rgba(var(--inverse-color-rgb), 0.05);
}
.custom-accordion .accordion-item .accordion-body { border-top: none; }
.accordion-button {
  background-color: #f8f8f8;
  padding: 8px 20px;
  border: 1px solid #DDDDDD;
  border-radius: 10px;
}
.accordion-item { background-color: #fff; margin-bottom: 10px; }
.accordion-button:not(.collapsed) { color: #000; background-color: #f8f8f8; box-shadow: none; }

/* Beaver Builder accordion module styled like the design */
.fl-accordion-item {
  border: 1px solid var(--sv-border) !important;
  border-radius: 10px;
  margin-bottom: 10px;
  background: #fff;
  overflow: hidden;
}
.fl-accordion-button { padding: 20px !important; font-size: 18px; font-weight: 500; }
.fl-accordion-content { padding: 0 20px 20px !important; }

/* ==========================================================================
   Cards, blog
   ========================================================================== */
.card-header { color: #000; }
.card-footer { align-self: flex-end; background-color: transparent; padding: 0; }
.bloc-magazine { background-color: #fff; border-radius: 20px; }
.card {
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #DDDDDD;
  overflow: hidden;
  height: 100%;
}
.card-img {
  height: 100%;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.card-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: block;
}
.card p { font-size: 0.9rem; line-height: 1rem; }
.card-body p.fw-bold {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.blog-titre {
  padding-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2rem;
  display: block;
  height: calc(1.2rem * 2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.card-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.card-text p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.magazine-scroll-container { overflow-x: auto; scroll-behavior: smooth; }
.magazine-scroll-container::-webkit-scrollbar { display: none; }
.magazine-card-track { display: flex; flex-wrap: nowrap; }
.magazine-card-track .card { flex: 0 0 100%; }
@media (min-width: 576px) { .magazine-card-track .card { flex: 0 0 50%; } }
@media (min-width: 768px) { .magazine-card-track .card { flex: 0 0 33.3333%; } }
@media (min-width: 992px) { .magazine-card-track .card { flex: 0 0 25%; } }

.magazine .blog-titre-2 {
  padding-bottom: 10px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 2rem;
  display: block;
  height: calc(2rem * 2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.magazine .blog-titre {
  font-size: 1.5rem;
  line-height: 1.5rem;
  height: auto;
}
.magazine .card p { font-size: 1rem; }

/* single post */
.blog-details { padding-bottom: 30px; margin-bottom: 2rem; }
.blog-details .article { padding: 30px; background: #fff; border-radius: 20px; }
.blog-details .post-img { margin: 0 -30px; overflow: hidden; }
.blog-details .post-img img { width: 100%; height: auto; }
.blog-details .title { font-weight: 700; }
.blog-details .content { margin-top: 20px; }
.blog-details .content h3 { font-size: 22px; margin-top: 30px; font-weight: bold; }
.blog-details .content h2 { font-size: 26px; margin-top: 30px; font-weight: bold; }
.blog-details .content img { max-width: 100%; height: auto; }
.blog-details .content blockquote {
  overflow: hidden;
  background-color: var(--sv-purple-light);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}
.blog-details .content blockquote p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}
.blog-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background-color: var(--accent-color);
  margin: 20px 0;
}
.blog-details .meta-top { margin: 20px 0; color: color-mix(in srgb, var(--default-color), transparent 40%); }
.blog-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}
.blog-details .meta-top ul li + li { padding: 0 20px; }
.blog-details .meta-top i { font-size: 16px; margin-right: 8px; line-height: 0; }
.blog-details .meta-top a { color: color-mix(in srgb, var(--default-color), transparent 40%); font-size: 14px; display: inline-block; line-height: 1; }
.blog-details .meta-bottom { padding-top: 10px; border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%); }
.blog-details .meta-bottom i { display: inline; color: color-mix(in srgb, var(--default-color), transparent 40%); }
.blog-details .meta-bottom a { color: color-mix(in srgb, var(--default-color), transparent 40%); transition: 0.3s; }
.blog-details .meta-bottom a:hover { color: var(--accent-color); }
.blog-details .meta-bottom .cats { list-style: none; display: inline; padding: 0 20px 0 0; font-size: 14px; }
.blog-details .meta-bottom .cats li { display: inline-block; }
.blog-details .meta-bottom .tags { list-style: none; display: inline; padding: 0; font-size: 14px; }
.blog-details .meta-bottom .tags li { display: inline-block; }
.blog-details .meta-bottom .tags li a { color: var(--sv-purple); }
@media (max-width: 576px) {
  .blog-details .article { padding: 20px; }
  .blog-details .post-img { margin: 0 -10px; }
}
@media (max-width: 400px) { .blog-details .meta-top ul li + li { padding: 10px 0; } }

.breadcrumb { background-color: #fff; padding: 10px 0; font-size: 14px; }
.sidebar .titre { font-weight: 700; font-size: 2rem; }
@media (max-width: 992px) { .sidebar { margin-top: 1.875rem; } }

/* comments (WordPress) */
.blog-comments { padding: 10px 0; }
.blog-comments .comments-count { font-weight: bold; }
.blog-comments .comment { margin-top: 30px; position: relative; }
.blog-comments .comment .comment-img { margin-right: 14px; }
.blog-comments .comment .comment-img img { width: 60px; border-radius: 50%; }
.blog-comments .comment h5 { font-size: 16px; margin-bottom: 2px; }
.blog-comments .comment time { display: block; font-size: 14px; margin-bottom: 5px; }
.blog-comments .comment.comment-reply { padding-left: 40px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.sv-footer.footer {
  display: block;
  padding-left: 30px;
  padding-right: 30px;
  border-top: 1px solid var(--sv-border) !important;
}
.footer p { font-size: 0.9rem; }
.footer .logo { margin-left: 0; }
.footer .logox-img { width: auto; height: 40px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { padding: 0; margin: 0 0 10px 0; }
.footer ul li a { color: var(--sv-purple); }
.footer .widget-title,
.footer h4 { margin-bottom: 1rem; }
.footer-title { font-size: 1rem; font-weight: 700 !important; margin-bottom: 20px; }
.footer .quick-contact a { color: var(--sv-purple); }
.footer .sv-newsletter form { display: flex; gap: .5rem; }
.footer .sv-newsletter input[type="email"] { flex: 1; }
.footer .sv-copyright { font-size: .85rem; color: #666; }

/* ==========================================================================
   Specialty tag selector (pro signup)
   ========================================================================== */
.select-tags-container { position: relative; width: 100%; }
.select-input {
  width: 100%;
  border: 1px solid #dddddd;
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  cursor: text;
  background: #fff;
}
.select-input input { border: none; outline: none; flex: 1; min-width: 120px; }
.select-input .tag {
  background-color: var(--sv-gold);
  color: #fff;
  padding: 5px 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin: 0;
}
.select-input .tag span { cursor: pointer; font-weight: bold; }
.options-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  max-height: 160px;
  overflow-y: auto;
  z-index: 99;
  display: none;
}
.options-list div { padding: 8px 12px; cursor: pointer; transition: background 0.2s; }
.options-list div:hover { background-color: #f1f1f1; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
  .nav-btn, .nav-links { display: none; }
  .home-text, .home-text-color { font-size: 2rem; }
  .bg-2 { background-image: none; background-color: var(--sv-grey); }
  .img-web-card { display: none; }
  .card-home-text { padding: 20px; }
  .card-home, .card-colors { flex-direction: unset; margin: unset; }
  .align-items-stretch { gap: 1rem; }
  .sv-footer.footer { padding-left: 15px; padding-right: 15px; }
}
@media (max-width: 576px) {
  .card-home, .card-colors { flex-direction: column; }
}

/* ==========================================================================
   RTL (Arabic pages, set the page language to Arabic in WordPress)
   ========================================================================== */
html[dir="rtl"] .logo { margin-left: 0; margin-right: 30px; }
html[dir="rtl"] .bg-2 { background-position: left top; }
html[dir="rtl"] .arch-line { transform: translateX(50%) scaleX(-1); left: auto; right: calc(100% + 24px); }
html[dir="rtl"] .btn-popout, html[dir="rtl"] .contact-popout { right: auto; left: 20px; }
html[dir="rtl"] .custom-accordion .accordion-button::after { right: auto; left: 20px; }
html[dir="rtl"] .btn-google img { margin-right: 0; margin-left: 10px; }
html[dir="rtl"] .bg-2 { background-image: url(assets/img/2268-ar.png); }
html[dir="rtl"] .home-text, html[dir="rtl"] .card-home-text { text-align: right; }
html[dir="rtl"] .offcanvas.offcanvas-start { right: 0; left: auto; border-right: 0; border-left: 1px solid var(--sv-border); transform: translateX(100%); }
html[dir="rtl"] .offcanvas.offcanvas-start.show { transform: translateX(0); }
html[dir="rtl"] .offcanvas-header .btn-close { margin-right: auto; margin-left: 0; }
html[dir="rtl"] .offcanvas-backdrop { left: 0; right: auto; direction: ltr; transform: none !important; }
html[dir="rtl"] .arch-line { left: 0; right: calc(100% + 24px); transform: translateX(50%) scaleX(-1); }
html[dir="rtl"] .list-unstyled { padding-left: 0; padding-right: 0; }
html[dir="rtl"] .num, html[dir="rtl"] input[type="tel"], html[dir="rtl"] input[type="email"], html[dir="rtl"] .quick-contact a[href^="tel"] span { direction: ltr; unicode-bidi: embed; display: inline-block; }
html[dir="rtl"] .blog-details .meta-top i { margin-right: 0; margin-left: 8px; }
html[dir="rtl"] .card p { font-size: .9rem; }
html[dir="rtl"] .input-group > .form-control:not(:last-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; border-top-right-radius: 10px; border-bottom-right-radius: 10px; }
html[dir="rtl"] .input-group > .input-group-text:last-child { margin-left: 0; margin-right: calc(-1 * var(--bs-border-width)); border-top-left-radius: 10px; border-bottom-left-radius: 10px; border-top-right-radius: 0; border-bottom-right-radius: 0; }
html[dir="rtl"] .special-link .icons i, html[dir="rtl"] .icon-button-mag i, html[dir="rtl"] .blog-pagination i { transform: scaleX(-1); display: inline-block; }
html[dir="rtl"] .breadcrumb .wrap span { transform: scaleX(-1); display: inline-block; }
html[dir="rtl"] .tags-special { margin: 5px 0 0 5px; }
html[dir="rtl"] .subtitle { letter-spacing: 0; }

/* ==========================================================================
   Home hero v3: "Votre avocat, où que vous soyez." with rotating photos and
   the lawyer search box (bb-snippets/hero.html, [sv_hero_search]).
   ========================================================================== */
:root { --sil-gold: #BC8F31; --sil-purple: #3D364D; --sil-cream: #FAF8F3; --sil-ink: #24202C; }
.sv-hero { background: linear-gradient(135deg, #faf8f3 0%, #fff 55%, #f4efe5 100%); padding: 64px 0 74px; overflow: hidden; }
.sv-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: #fff; border: 1px solid rgba(188, 143, 49, .28); color: var(--sil-purple); font-weight: 700; font-size: .9rem; }
.sv-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sil-gold); flex: none; }
.sv-title { font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: .98; letter-spacing: -.04em; color: var(--sil-purple); margin: 24px 0 22px; max-width: 760px; }
.sv-title em { font-style: normal; color: var(--sil-gold); }
.sv-lead { font-size: 1.15rem; line-height: 1.7; color: #625b6d; max-width: 650px; }
.sv-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.sv-btn-main { background: var(--sil-purple) !important; border-color: var(--sil-purple) !important; color: #fff !important; padding: 14px 22px !important; border-radius: 12px !important; font-weight: 700; }
.sv-btn-main:hover { background: var(--sil-gold) !important; border-color: var(--sil-gold) !important; }
.sv-btn-alt { background: #fff; color: var(--sil-purple); border: 1px solid #ddd5c6; padding: 14px 22px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.sv-btn-alt:hover { border-color: var(--sil-gold); color: var(--sil-purple); }
.sv-trust { display: flex; gap: 22px; flex-wrap: wrap; color: #625b6d; font-size: .93rem; margin-top: 22px; }
.sv-trust span::before { content: '✓'; color: var(--sil-gold); font-weight: 900; margin-right: 7px; }
.sv-visual { position: relative; padding: 12px; }
.sv-badge { position: absolute; z-index: 6; background: #fff; border-radius: 16px; box-shadow: 0 14px 35px rgba(61, 54, 77, .14); padding: 13px 16px; color: var(--sil-purple); font-weight: 700; }
.sv-badge small { display: block; color: #81798c; font-weight: 500; }
.sv-b1 { left: -10px; bottom: 42px; }
.sv-b2 { right: -8px; top: 48px; }
.silavoca-image-rotator { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 520px; overflow: hidden; border-radius: 28px; box-shadow: 0 28px 70px rgba(61, 54, 77, .18); background: #f4f1eb; }
.silavoca-rotator-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.025); transition: opacity 1s ease, transform 6s ease; }
.silavoca-rotator-img.active { opacity: 1; transform: scale(1); }
.silavoca-rotator-dots { position: absolute; z-index: 5; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 8px; }
.silavoca-dot { width: 9px; height: 9px; border: 0; border-radius: 20px; background: rgba(255, 255, 255, .62); padding: 0; transition: .3s; cursor: pointer; }
.silavoca-dot.active { width: 28px; background: #fff; }
.sv-search { margin-top: -34px; position: relative; z-index: 4; }
.sv-searchbox { background: #fff; border-radius: 18px; padding: 18px; box-shadow: 0 18px 50px rgba(61, 54, 77, .13); border: 1px solid #eee7dc; }
.sv-searchbox .form-control, .sv-searchbox .form-select { min-height: 52px; border-radius: 10px; border-color: #e6e0d7; }
.sv-searchbox input[type="search"]::-webkit-calendar-picker-indicator { opacity: .5; }
.sv-searchbox .btn { min-height: 52px; }
@media (max-width: 991px) {
	.sv-hero { padding-top: 35px; }
	.sv-visual { margin-top: 30px; }
	.sv-badge { display: none; }
	.sv-search { margin-top: 20px; }
	.sv-title { font-size: 3rem; }
	.silavoca-image-rotator { min-height: 420px; }
}
@media (max-width: 575px) {
	.sv-title { font-size: 2.4rem; }
	.silavoca-image-rotator { min-height: 0; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.silavoca-rotator-img { transition: opacity .3s ease; transform: none; }
}
html[dir="rtl"] .sv-title { letter-spacing: 0; line-height: 1.2; }
html[dir="rtl"] .sv-trust span::before { margin-right: 0; margin-left: 7px; }
html[dir="rtl"] .sv-b1 { left: auto; right: -10px; }
html[dir="rtl"] .sv-b2 { right: auto; left: -8px; }

/* Home page video ([sv_home_video]), just before the FAQ. */
.sv-video-frame { max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(61, 54, 77, .16); background: #000; }
.sv-video-frame iframe, .sv-video-frame video { width: 100%; height: 100%; display: block; border: 0; }
