/*
Theme Name: Haim Shel Hessed — WordPress natif
Theme URI: https://www.hasdeiavot.org/
Author: Haim Shel Hessed
Description: Thème WordPress natif complet pour Haim Shel Hessed (Une Vie de Bonté).
Version: 1.6.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: haim-shel-hessed
*/

:root {
  --ha-navy: #082b4a;
  --ha-navy-deep: #051d32;
  --ha-blue: #0a77b7;
  --ha-blue-soft: #edf7fc;
  --ha-yellow: #ffd03a;
  --ha-yellow-dark: #f5bf1c;
  --ha-ink: #15324a;
  --ha-muted: #5f6f7d;
  --ha-border: #dce5eb;
  --ha-paper: #f8fafb;
  --ha-white: #ffffff;
  --ha-radius: 28px;
  --ha-shadow: 0 18px 55px rgba(8, 43, 74, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ha-paper); color: var(--ha-ink); font: 400 16px/1.65 "Avenir Next", "Segoe UI", Arial, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
.screen-reader-text, .ha-skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ha-skip-link:focus { position: fixed; z-index: 9999; top: 12px; left: 12px; padding: 12px 16px; background: #fff; color: var(--ha-navy); border-radius: 8px; }
:focus-visible { outline: 3px solid var(--ha-yellow); outline-offset: 3px; }

.ha-topbar { padding: 9px 20px; background: var(--ha-navy); color: #fff; text-align: center; font-size: 14px; }
.ha-topbar strong { color: var(--ha-yellow); }
.ha-site-header { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(220,229,235,.9); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.ha-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(100% - 40px, 1280px); min-height: 78px; margin-inline: auto; }
.ha-logo img { display: block; width: 194px; max-height: 64px; object-fit: contain; }
.ha-nav__list, .ha-mobile-nav__list { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.ha-nav a { color: #34495a; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ha-nav a:hover { color: var(--ha-blue); }
.ha-header-donate, .ha-footer-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px; background: var(--ha-yellow); color: var(--ha-navy); font-weight: 800; text-decoration: none; }
.ha-header-donate:hover, .ha-footer-button:hover { background: var(--ha-yellow-dark); }
.ha-mobile-nav { display: none; position: relative; }
.ha-mobile-nav summary { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ha-border); border-radius: 50%; color: var(--ha-navy); cursor: pointer; font-size: 0; }
.ha-mobile-nav summary::before { content: "☰"; font-size: 22px; }
.ha-mobile-nav[open] summary::before { content: "×"; }
.ha-mobile-nav summary::-webkit-details-marker { display: none; }
.ha-mobile-nav__panel { position: absolute; top: 56px; right: 0; width: min(86vw, 330px); padding: 18px; border: 1px solid var(--ha-border); border-radius: 20px; background: #fff; box-shadow: var(--ha-shadow); }
.ha-mobile-nav__list { display: grid; gap: 2px; }
.ha-mobile-nav__list a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ha-navy); font-weight: 750; text-decoration: none; }
.ha-mobile-nav__list a:hover { background: var(--ha-blue-soft); }

.site-main { min-height: 60vh; overflow: hidden; }
.site-main > article > .entry-content { margin: 0; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.ha-section.e-con { width: 100%; padding: 96px 24px; }
.ha-section--compact.e-con { padding-block: 44px; }
.ha-section--white.e-con { background: #fff; }
.ha-section--soft.e-con { background: var(--ha-blue-soft); }
.ha-shell.e-con { width: min(100%, 1280px); max-width: 1280px; margin-inline: auto; }
.ha-centered.e-con { align-items: center; max-width: 850px; margin-inline: auto; text-align: center; }
.ha-content-column.e-con { justify-content: center; gap: 18px; }
.ha-actions.e-con { flex-direction: row; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.ha-stack.e-con { gap: 14px; }
.ha-grid.e-con { display: grid !important; gap: 24px; }
.ha-grid--2.e-con { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ha-grid--3.e-con { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ha-grid--4.e-con { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ha-grid--5.e-con { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ha-grid--center.e-con { align-items: center; }
.ha-cards-grid.e-con { margin-top: 48px; }

.ha-eyebrow .elementor-heading-title { color: var(--ha-blue); font: 800 13px/1.4 "Avenir Next", "Segoe UI", Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.ha-eyebrow--light .elementor-heading-title { color: var(--ha-yellow); }
.ha-heading .elementor-heading-title, .ha-section-title .elementor-heading-title, .ha-page-title .elementor-heading-title, .ha-display .elementor-heading-title, .ha-cta-title .elementor-heading-title { margin: 0; font-family: Georgia, "Times New Roman", serif; }
.ha-display .elementor-heading-title { max-width: 800px; color: #fff; font-size: clamp(48px, 7vw, 96px); line-height: .96; letter-spacing: -.055em; }
.ha-page-title .elementor-heading-title { max-width: 980px; color: #fff; font-size: clamp(46px, 6vw, 84px); line-height: .99; letter-spacing: -.05em; }
.ha-section-title .elementor-heading-title { color: var(--ha-navy); font-size: clamp(38px, 4.6vw, 58px); line-height: 1.07; letter-spacing: -.04em; }
.ha-section-title--light .elementor-heading-title { color: #fff; }
.ha-section-copy, .ha-section-copy p { color: var(--ha-muted); font-size: 18px; line-height: 1.75; }
.ha-section-copy--light, .ha-section-copy--light p { color: rgba(255,255,255,.76); }
.ha-section-intro.e-con { max-width: 780px; gap: 13px; }
.ha-section-intro--center.e-con { align-items: center; margin-inline: auto; text-align: center; }
.ha-home-lead, .ha-home-lead p, .ha-page-lead, .ha-page-lead p { max-width: 760px; color: rgba(255,255,255,.82); font-size: 20px; line-height: 1.7; }
.ha-small-copy, .ha-small-copy p { color: #72808c; font-size: 14px; line-height: 1.65; }
.ha-badge .elementor-heading-title { display: inline-flex; width: fit-content; padding: 9px 15px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: rgba(255,255,255,.10); color: #fff; font: 700 14px/1.4 "Avenir Next", "Segoe UI", Arial, sans-serif; }
.ha-badge--yellow .elementor-heading-title { border-color: transparent; background: var(--ha-yellow); color: var(--ha-navy); }
.ha-trust-line, .ha-trust-line p { color: rgba(255,255,255,.75); font-size: 14px; font-weight: 600; }
.ha-quote { margin-top: 12px; padding: 18px 0 18px 24px; border-left: 4px solid var(--ha-yellow); }
.ha-quote, .ha-quote p { color: var(--ha-navy); font: 400 23px/1.5 Georgia, "Times New Roman", serif; }
.ha-quote strong { display: block; margin-top: 8px; color: var(--ha-blue); font: 800 12px/1.4 "Avenir Next", "Segoe UI", Arial, sans-serif; letter-spacing: .15em; text-transform: uppercase; }

.ha-home-hero.e-con { min-height: 690px; justify-content: center; background: linear-gradient(90deg, rgba(5,28,49,.98) 0%, rgba(5,34,58,.92) 44%, rgba(5,34,58,.35) 76%, rgba(5,34,58,.15) 100%), url("assets/hebron.webp") center/cover no-repeat; color: #fff; }
.ha-home-hero__content.e-con { align-items: flex-start; gap: 18px; }
.ha-page-hero.e-con { position: relative; background: radial-gradient(circle at 88% 8%, rgba(10,119,183,.35) 0 15%, transparent 15.5%), radial-gradient(circle at 27% 115%, rgba(255,208,58,.12) 0 18%, transparent 18.5%), var(--ha-navy); }
.ha-page-hero__content.e-con { align-items: flex-start; gap: 18px; }

.ha-btn.elementor-widget-button { width: auto; }
.ha-btn .elementor-button { min-height: 52px; padding: 15px 28px; border: 2px solid transparent; border-radius: 999px; font-size: 16px; font-weight: 850; line-height: 1.2; }
.ha-btn--primary .elementor-button { background: var(--ha-navy); color: #fff; }
.ha-btn--primary .elementor-button:hover { background: var(--ha-blue); }
.ha-btn--yellow .elementor-button { background: var(--ha-yellow); color: var(--ha-navy); }
.ha-btn--yellow .elementor-button:hover { background: var(--ha-yellow-dark); }
.ha-btn--outline .elementor-button { border-color: var(--ha-blue); background: transparent; color: var(--ha-blue); }
.ha-btn--outline .elementor-button:hover { background: var(--ha-blue); color: #fff; }
.ha-btn--outline-light .elementor-button { border-color: rgba(255,255,255,.4); background: transparent; color: #fff; }
.ha-btn--outline-light .elementor-button:hover { background: #fff; color: var(--ha-navy); }

.ha-image--rounded img { width: 100%; aspect-ratio: 5/4; border-radius: 34px; object-fit: cover; box-shadow: var(--ha-shadow); }
.ha-image--poster { max-width: 430px; margin-inline: auto; }
.ha-image--poster img { width: 100%; border: 8px solid rgba(255,255,255,.8); border-radius: 32px; box-shadow: 0 25px 70px rgba(3,20,35,.3); }
.ha-visual-card.e-con { position: relative; }

.ha-stats-section.e-con { position: relative; z-index: 5; margin-top: 0; background: #fff; }
.ha-stat-card.e-con { padding: 26px 28px; border: 1px solid var(--ha-border); border-radius: 22px; background: #fff; box-shadow: var(--ha-shadow); }
.ha-stat-card .ha-card-title .elementor-heading-title { color: var(--ha-blue); font: 850 21px/1.25 "Avenir Next", "Segoe UI", Arial, sans-serif; }
.ha-stat-card .ha-card-copy, .ha-stat-card .ha-card-copy p { color: #71808d; font-size: 14px; }
.ha-card.e-con, .ha-team-card.e-con, .ha-contact-card.e-con, .ha-mini-card.e-con, .ha-step-card.e-con, .ha-process-card.e-con, .ha-duration-card.e-con { padding: 28px; border: 1px solid var(--ha-border); border-radius: var(--ha-radius); background: #fff; box-shadow: 0 12px 35px rgba(8,43,74,.05); gap: 12px; }
.ha-card--soft.e-con, .ha-mini-card.e-con, .ha-duration-card.e-con { border-color: transparent; background: var(--ha-blue-soft); }
.ha-card--yellow.e-con { border-color: transparent; background: #fff8df; }
.ha-card--action.e-con { min-height: 220px; transition: transform .25s ease, box-shadow .25s ease; }
.ha-card--action.e-con:hover { transform: translateY(-5px); box-shadow: var(--ha-shadow); }
.ha-card-kicker .elementor-heading-title { color: var(--ha-blue); font: 850 12px/1.4 "Avenir Next", "Segoe UI", Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.ha-card-title .elementor-heading-title { color: var(--ha-navy); font: 850 21px/1.25 "Avenir Next", "Segoe UI", Arial, sans-serif; }
.ha-card-title--large .elementor-heading-title { font-family: Georgia, "Times New Roman", serif; font-size: 36px; }
.ha-card-copy, .ha-card-copy p { color: var(--ha-muted); line-height: 1.7; }
.ha-accent-1.e-con { border-top: 5px solid var(--ha-yellow); }
.ha-accent-2.e-con { border-top: 5px solid var(--ha-blue); }
.ha-accent-3.e-con { border-top: 5px solid #5e87a4; }
.ha-step-card.e-con { background: var(--ha-blue-soft); }
.ha-team-card.e-con { min-height: 180px; }
.ha-team-card .ha-card-kicker .elementor-heading-title { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ha-navy); color: var(--ha-yellow); letter-spacing: .06em; }

.ha-campaign-dark.e-con, .ha-contact-strip.e-con { background: #062746; color: #fff; }
.ha-price-row.e-con { flex-direction: row; gap: 14px; }
.ha-price-card.e-con { flex: 1; padding: 20px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(255,255,255,.08); }
.ha-price-card .ha-card-title .elementor-heading-title { color: var(--ha-yellow); font-size: 28px; }
.ha-price-card .ha-card-copy, .ha-price-card .ha-card-copy p { color: rgba(255,255,255,.65); font-size: 14px; }
.ha-price .elementor-heading-title { color: var(--ha-blue); font: 900 34px/1.2 "Avenir Next", "Segoe UI", Arial, sans-serif; }

.ha-feature-card.e-con, .ha-donation-card.e-con { padding: clamp(30px, 5vw, 52px); border-radius: 34px; gap: 18px; }
.ha-feature-card--blue.e-con { background: var(--ha-blue); color: #fff; }
.ha-feature-card--dark.e-con, .ha-donation-card--dark.e-con { background: var(--ha-navy); color: #fff; }
.ha-feature-card--white.e-con, .ha-donation-card--light.e-con { border: 1px solid var(--ha-border); background: #fff; box-shadow: var(--ha-shadow); }
.ha-feature-card--soft.e-con { background: var(--ha-blue-soft); }
.ha-list-copy, .ha-list-copy p { color: var(--ha-muted); font-size: 17px; line-height: 2; }
.ha-notice { padding: 18px; border-radius: 16px; background: var(--ha-blue-soft); }
.ha-notice, .ha-notice p { color: var(--ha-muted); font-size: 14px; }
.ha-notice--dark { border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); }
.ha-notice--dark, .ha-notice--dark p { color: rgba(255,255,255,.72); }

.ha-process-card.e-con { display: grid !important; grid-template-columns: 52px 1fr; }
.ha-process-card .ha-card-kicker .elementor-heading-title { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ha-navy); color: var(--ha-yellow); }
.ha-duration-card.e-con { align-items: center; text-align: center; }
.ha-contact-card.e-con { min-width: 0; }
.ha-contact-card .ha-card-title .elementor-heading-title { overflow-wrap: anywhere; }
.ha-help-card.e-con { flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; padding: 28px 32px; border: 1px solid var(--ha-border); border-radius: 28px; background: #fff; }

.ha-video-card.e-con { overflow: hidden; border: 1px solid var(--ha-border); border-radius: 28px; background: #fff; box-shadow: 0 12px 35px rgba(8,43,74,.06); }
.ha-video-card .elementor-widget-video { width: 100%; }
.ha-video-card__copy.e-con { padding: 24px; gap: 10px; }
.ha-video .elementor-wrapper { border-radius: 0; }

.ha-donation-cta.e-con { background: var(--ha-blue); color: #fff; }
.ha-cta-grid.e-con { flex-direction: row; align-items: center; justify-content: space-between; gap: 36px; }
.ha-cta-copy.e-con { max-width: 850px; gap: 12px; }
.ha-cta-title .elementor-heading-title { color: #fff; font-size: clamp(36px, 4.5vw, 54px); line-height: 1.08; letter-spacing: -.035em; }
.ha-cta-text, .ha-cta-text p { color: rgba(255,255,255,.78); font-size: 18px; }
.ha-cta-actions.e-con { flex: 0 0 auto; gap: 10px; }

.ha-site-footer { padding: 58px 24px 28px; background: var(--ha-navy-deep); color: rgba(255,255,255,.72); }
.ha-footer-grid { display: grid; grid-template-columns: 1.15fr .85fr .9fr; gap: 56px; width: min(100%, 1280px); margin-inline: auto; padding-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,.10); }
.ha-footer-logo { width: 190px; padding: 8px; border-radius: 14px; background: #fff; }
.ha-site-footer h2 { margin: 0 0 14px; color: #fff; font-size: 16px; }
.ha-site-footer p { margin: 12px 0 0; }
.ha-footer-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 18px; }
.ha-footer-links a, .ha-footer-contact a { color: rgba(255,255,255,.72); text-decoration: none; }
.ha-footer-links a:hover, .ha-footer-contact a:hover { color: #fff; }
.ha-footer-contact { display: grid; gap: 8px; }
.ha-footer-bottom { display: flex; justify-content: space-between; gap: 18px; width: min(100%,1280px); margin-inline: auto; padding-top: 26px; font-size: 12px; }
.ha-mobile-donate { display: none; }

@media (max-width: 1180px) {
  .ha-nav { display: none; }
  .ha-mobile-nav { display: block; }
  .ha-grid--5.e-con { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .ha-section.e-con { padding-block: 72px; }
  .ha-grid--2.e-con, .ha-grid--3.e-con, .ha-grid--4.e-con, .ha-grid--5.e-con { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ha-home-hero.e-con { min-height: 620px; background: linear-gradient(90deg, rgba(5,28,49,.97), rgba(5,34,58,.78)), url("assets/hebron.webp") center/cover no-repeat; }
  .ha-cta-grid.e-con { align-items: flex-start; flex-direction: column; }
  .ha-cta-actions.e-con { flex-direction: row; flex-wrap: wrap; }
  .ha-footer-grid { grid-template-columns: 1fr 1fr; }
  .ha-footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .ha-header-inner { width: min(100% - 28px, 1280px); min-height: 70px; }
  .ha-logo img { width: 154px; }
  .ha-header-donate { display: none; }
  .ha-section.e-con { padding: 62px 18px; }
  .ha-section--compact.e-con { padding-block: 34px; }
  .ha-home-hero.e-con { min-height: 650px; }
  .ha-grid--2.e-con, .ha-grid--3.e-con, .ha-grid--4.e-con, .ha-grid--5.e-con { grid-template-columns: 1fr; }
  .ha-stats-section.e-con { margin-top: 0; }
  .ha-price-row.e-con, .ha-actions.e-con, .ha-cta-actions.e-con, .ha-help-card.e-con { align-items: stretch; flex-direction: column; }
  .ha-btn.elementor-widget-button, .ha-btn .elementor-button { width: 100%; }
  .ha-display .elementor-heading-title { font-size: clamp(46px, 15vw, 66px); }
  .ha-page-title .elementor-heading-title { font-size: clamp(42px, 13vw, 60px); }
  .ha-card.e-con, .ha-team-card.e-con, .ha-contact-card.e-con, .ha-step-card.e-con { padding: 24px; }
  .ha-footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .ha-footer-grid > :first-child { grid-column: auto; }
  .ha-footer-bottom { flex-direction: column; }
  .ha-mobile-donate { position: fixed; z-index: 1001; right: 0; bottom: 0; left: 0; display: block; padding: 12px; border-top: 1px solid rgba(255,208,58,.32); background: rgba(8,43,74,.96); }
  .ha-mobile-donate a { display: flex; justify-content: center; min-height: 50px; padding: 13px 20px; border-radius: 999px; background: var(--ha-yellow); color: var(--ha-navy); font-weight: 900; text-decoration: none; }
}

.e-con{display:flex;flex-direction:column;min-width:0}.elementor-widget-button{display:flex}.ha-btn .elementor-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.ha-actions.e-con{align-items:flex-start}.ha-video .elementor-wrapper{position:relative;aspect-ratio:16/9;background:#051d32}.ha-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.entry-content{margin:0}.entry-content>p:empty{display:none}@media (max-width:782px){body.admin-bar .ha-site-header{top:46px}}