/*
Theme Name: healthanalytica
Theme URI: https://healthanalytica.fr/
Description: Thème enfant de Hello Elementor
Author: Maxime Potier
Author URI: https://healthanalytica.fr/
Template: hello-elementor
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: healthanalytica
*/

/* Import du thème parent */
@import url("../hello-elementor/style.css");

.ha-toc {
  position: sticky;
  top: 2rem; /* Ajuste selon ton header */
  z-index: 100;
}

/* =========================
   GLOBALS & RESETS
   ========================= */

/* Listes sans puces par défaut pour les shortcodes */
ul[class^="etude-"] {
  padding: 0;
  list-style: none;
}

/* =========================
   SHORTCODE : CONTENU
   ========================= */

.ha-contenu h2 {
  color: #333434;
  font-family: "Montserrat Alternates";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 33.6px */
}

.ha-contenu p {
  color: var(--Black, #333434);
  font-family: "Montserrat Alternates";
  font-size: 18px;
  font-style: normal;
  line-height: 140%; /* 25.2px */
}

/* =========================
   SHORTCODE : POINTS
   ========================= */
ul.etude-points {
  display: flex;
  flex-direction: row;
  gap: 40px;
}
ul.etude-points li {
  display: flex;
  gap: 16px;
  position: relative;
}
.etude-point-svg-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 66.667px;
  background: rgba(126, 194, 216, 0.1);
  padding: 8px;
}
ul.etude-points li svg {
  width: 16px;
  height: 16px;
  object-fit: contain;
  object-position: center;
  position: relative;
}

/* =========================
   SHORTCODE : METAS
   ========================= */
.etude-metas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .etude-metas {
    grid-template-columns: repeat(3, 1fr);
  }
}
.etude-meta-box {
  display: flex;
  gap: 16px;
}
.etude-meta-icon-wrap {
  display: flex;
  width: 40px;
  height: 40px;
  padding: 8px;
  justify-content: center;
  align-items: center;
  gap: 6.667px;
  border-radius: 66.667px;
  background: rgba(126, 194, 216, 0.1);
}
span.etude-meta-content {
  display: flex;
  flex-direction: column;
}

/* =========================
   SHORTCODE : QUESTIONS
   ========================= */
ul.etude-questions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  ul.etude-questions {
    grid-template-columns: repeat(3, 1fr);
  }
}
ul.etude-questions li {
  display: flex;
  gap: 10px;
}
.etude-question-svg-wrap {
  display: flex;
  width: 32px;
  height: 32px;
  padding: 8px;
  align-items: center;
  gap: 6.667px;
  border-radius: 66.667px;
  background: rgba(126, 194, 216, 0.1);
}

span.etude-question-label {
  color: #333434;

  /* Body 15 Regular */
  font-family: "Montserrat Alternates";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 21px */
}

/* =========================
   SHORTCODE : VIDEO
   ========================= */
.etude-video-responsive {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-top: 36px;
  margin-bottom: 36px;
}
.etude-video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* =========================
   SHORTCODE : PLAN DETAILLE
   ========================= */

.ha-plan-detaille {
  color: #bdbdbd;
  font-family: Lato;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 21px */
}
.ha-plan-detaille strong {
  color: #5b6670;
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%; /* 24px */
}

.ha-plan-detaille ol {
  padding-inline-start: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ha-plan-detaille ol li {
  color: #7ec2d8;
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%; /* 24px */
  margin-bottom: 4px;
}
.ha-plan-detaille ol li ul {
  padding-inline-start: 0px;
  list-style: disc;
}
.ha-plan-detaille ol li ul li {
  color: #5b6670;
  font-family: Lato;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 21px */
  margin-bottom: 0;
}

/* =========================
   SHORTCODE : METHODOLOGIE
   ========================= */
ul.etude-methodologie {
  padding: 0;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

ul.etude-methodologie strong {
  color: #bdbdbd;
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 21px */
}

.etude-methodologie-desc {
  color: #5b6670;
  font-family: Lato;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%; /* 24px */
}

/* =========================
   SHORTCODE : ANALYSE
   ========================= */
ul.etude-analyse {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

ul.etude-analyse strong {
  color: #333434;
  font-family: "Montserrat Alternates";
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%; /* 21px */
}

@media (min-width: 768px) {
  ul.etude-analyse {
    grid-template-columns: repeat(2, 1fr);
  }
}
ul.etude-analyse li {
  list-style-type: none;
  color: #5b6670;

  /* Body 15 Regular */
  font-family: "Montserrat Alternates";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 21px */
}
.etude-analyse-desc ul li {
  list-style: disc;
}

/* =========================
   SHORTCODE : ENTREPRISES
   ========================= */
.etude-entreprises {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .etude-entreprises.etude-entreprises-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .etude-entreprises.etude-entreprises-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .etude-entreprises.etude-entreprises-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .etude-entreprises.etude-entreprises-cols-5 {
    grid-template-columns: repeat(5, 1fr);
  }
  .etude-entreprises.etude-entreprises-cols-6 {
    grid-template-columns: repeat(6, 1fr);
  }
}
.etude-entreprises-segment strong {
  color: var(--Main-Blue, #7ec2d8);
  font-family: "Montserrat Alternates";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
}
ul.etude-entreprises-list {
  padding-inline-start: 20px;
  columns: 2;
  column-gap: 20px;
}
ul.etude-entreprises-list li {
  color: var(--Dark-Grey, #5d666f);
  font-family: Lato;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

/* =========================
   SHORTCODE : AUTEURS
   ========================= */
ul.etude-auteurs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 0;
  list-style: none;
}
@media (min-width: 768px) {
  ul.etude-auteurs {
    grid-template-columns: repeat(2, 1fr);
  }
}
.etude-auteur-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--White, #fff);
  padding: 24px;
  position: relative;
  min-height: 320px;
  border: 1px solid var(--Main-Blue, #7ec2d8);
}
.etude-auteur-card-header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.etude-auteur-img img {
  width: 112px;
  height: 112px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.etude-auteur-nom {
  color: var(--Main-Blue, #7ec2d8);
  font-family: "Montserrat Alternates", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
  margin-top: 12px;
}
.etude-auteur-titre {
  color: var(--Dark-Grey, #5d666f);
  font-family: Lato, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  margin-top: 4px;
}
.etude-auteur-desc {
  color: #5b6670;
  font-family: "Montserrat Alternates", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  margin-top: 12px;
}
.etude-auteur-mail-icon-wrap {
  display: flex;
  padding: 8px;
  align-items: center;
  gap: 6.667px;
  border-radius: 66.667px;
  border: 0.667px solid var(--Main-Blue, #7ec2d8);
  background: var(--Grey-BG, #f9f9f9);
}
.etude-auteur-mail {
  display: flex;
  align-items: flex-start;
  text-decoration: none;
}

/* =========================
   SHORTCODE : BROCHURE
   ========================= */
.etude-brochure {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.etude-brochure-img {
  width: 372px;
}
.etude-brochure-link {
  background: #fff;
  display: flex;
  width: 372px;
  height: 64px;
  padding: 10px 12px;
  align-items: center;
  gap: 8px;
}
.etude-brochure-link a {
  color: #333434;
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  text-decoration-line: underline !important;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
  display: flex;
  align-items: center;
  gap: 8px;
}
.etude-brochure-svg-wrap {
  display: flex;
  width: 40px;
  height: 40px;
  padding: 8px;
  justify-content: center;
  align-items: center;
  gap: 6.667px;
  flex-shrink: 0;
  border-radius: 66.667px;
  background: rgba(126, 194, 216, 0.1);
}

.a2a_kit.a2a_kit_size_24.addtoany_list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

a.a2a_button_email,
a.a2a_button_whatsapp,
a.a2a_button_facebook,
a.a2a_button_linkedin {
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid #7ec2d8 !important;
  padding: 8px !important;
}

/* =========================
   TAXONOMY FILTER STYLES
   ========================= */
/* Styles for Elementor Taxonomy Filter widget */
.e-filter .e-filter-item,
.ha-taxonomy-filter .e-filter-item {
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Force inactive state on ALL buttons by default - Maximum specificity */
search.e-filter .e-filter-item[aria-pressed="false"],
search.e-filter .e-filter-item:not([aria-pressed="true"]),
.e-filter .e-filter-item[aria-pressed="false"],
.e-filter .e-filter-item:not([aria-pressed="true"]),
.ha-taxonomy-filter .e-filter-item[aria-pressed="false"],
.ha-taxonomy-filter .e-filter-item:not([aria-pressed="true"]),
/* Extra specificity for "all" button */
search.e-filter button.e-filter-item[data-filter="__all"]:not([aria-pressed="true"]),
.e-filter .e-filter-item[data-filter="__all"]:not([aria-pressed="true"]),
button[data-filter="__all"][aria-pressed="false"] {
  background-color: transparent !important;
  color: var(--e-global-color-text, inherit) !important;
  border-color: currentColor !important;
}

/* Active state for filter buttons - Maximum specificity */
.e-filter .e-filter-item[aria-pressed="true"],
.e-filter .e-filter-item.active,
.ha-taxonomy-filter .e-filter-item[aria-pressed="true"],
.ha-taxonomy-filter .e-filter-item.active,
button.e-filter-item[aria-pressed="true"],
button.e-filter-item.active {
  background-color: var(--Main-Blue, #7ec2d8) !important;
  color: #fff !important;
  border-color: var(--Main-Blue, #7ec2d8) !important;
}

/* Hover state for better UX (only on inactive buttons) */
.e-filter .e-filter-item:not([aria-pressed="true"]):hover,
.ha-taxonomy-filter .e-filter-item:not([aria-pressed="true"]):hover {
  opacity: 0.8;
}

/* =========================
   WOOCOMMERCE : ORDERS
   ========================= */
.woocommerce-order-received .woocommerce table.shop_table {
  border: 1px solid #efefef !important;
}

.woocommerce-order-received .woocommerce table.shop_table th,
.woocommerce-order-received .woocommerce table.shop_table tr,
.woocommerce-order-received .woocommerce table.shop_table td {
  border: 1px solid #efefef !important;
  padding: 1em !important;
}
