/*
Theme Name: Hoamefa
Author: SofiaVertex Consulting
Author URI: https://sofiavertex.consulting
Description: Thème Hoamefa avec intégration de l'espace organisateur.
Version: 2.0.43
Requires PHP: 8.2
Text Domain: hoamefa
*/
:root{color-scheme:light}*{box-sizing:border-box}body{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;margin:0;color:#12243b;background:#f5f7fb}.hoamefa-site-content{width:min(1160px,calc(100% - 48px));margin:56px auto;padding:28px;background:#fff;border-radius:14px}.hoamefa-page{margin:0}.page-hoamefa-espace .hoamefa-site-content,body.page:has(.hf-app) .hoamefa-site-content,body.page:has(.hf-login) .hoamefa-site-content{width:100%;max-width:none;margin:0;padding:0;background:transparent;border-radius:0}.page-hoamefa-espace .hf-app,body.page:has(.hf-app) .hf-app{min-height:100vh;border:0;border-radius:0}.page-hoamefa-espace .hf-main,body.page:has(.hf-app) .hf-main{padding:32px clamp(20px,3vw,56px)}@media(max-width:750px){.hoamefa-site-content{width:calc(100% - 24px);margin:20px auto;padding:16px}.page-hoamefa-espace .hf-main,body.page:has(.hf-app) .hf-main{padding:18px}}

/* Public authentication: shared site navigation, compact layout and premium gradient. */
body:has(.hf-auth),body:has(.hf-signup-shell),body:has(.hf-recovery-shell){background:radial-gradient(circle at 87% 18%,rgba(184,139,80,.19),transparent 42%),radial-gradient(circle at 9% 88%,rgba(55,112,157,.17),transparent 45%),linear-gradient(135deg,#e4edf5 0%,#f7f8fb 52%,#f1e9df 100%);min-height:100dvh}
body:has(.hf-auth) .hoamefa-site-content,body:has(.hf-signup-shell) .hoamefa-site-content,body:has(.hf-recovery-shell) .hoamefa-site-content{margin-top:14px;margin-bottom:18px}
body:has(.hf-auth) .hoamefa-site-content .hoamefa-page>h1,body:has(.hf-signup-shell) .hoamefa-site-content .hoamefa-page>h1,body:has(.hf-recovery-shell) .hoamefa-site-content .hoamefa-page>h1{display:none}
.hm-shared-nav{position:relative;z-index:20;width:100%;background:#fff;max-width:none!important;padding:15px max(22px,calc((100vw - 1208px)/2))!important;min-height:72px;box-shadow:0 1px 0 #dce3e9}
.hm-shared-nav .hm-nav-toggle{display:none;background:transparent;border:1px solid #dce3e9;border-radius:8px;color:#10283c;padding:8px;cursor:pointer}
@media(max-width:750px){.hm-shared-nav{min-height:64px;padding:12px 18px!important;gap:12px}.hm-shared-nav .hm-nav-toggle{display:inline-flex;margin-left:auto}.hm-shared-nav nav{display:none;position:absolute;top:100%;left:12px;right:12px;background:#fff;border:1px solid #dce3e9;box-shadow:0 14px 30px #12243b20;border-radius:12px;padding:14px;flex-direction:column;gap:0}.hm-shared-nav nav.is-open{display:flex}.hm-shared-nav nav a{padding:11px}.hm-shared-nav .hm-login{padding:9px 12px}.hm-shared-nav .hm-brand{font-size:22px}}
@media(max-width:420px){.hm-shared-nav .hm-login{font-size:11px;padding:8px}.hm-shared-nav .hm-brand{font-size:20px}}


/* Hoamefa Elegant Authentication V1.9.0.60 — shared, non-destructive visual layer */
body:has(.hf-auth),body:has(.hf-signup-shell),body:has(.hf-recovery-shell){
 background:
 radial-gradient(ellipse 50% 50% at 0% 42%,rgba(204,222,235,.42),transparent 90%),
 radial-gradient(ellipse 42% 48% at 100% 78%,rgba(218,186,142,.20),transparent 88%),
 linear-gradient(120deg,#f9fafb 0%,#fffdfb 58%,#f8f6f2 100%)!important;
}
body:has(.hf-auth) .hoamefa-site-content,
body:has(.hf-signup-shell) .hoamefa-site-content,
body:has(.hf-recovery-shell) .hoamefa-site-content{
 width:min(1170px,calc(100% - 40px))!important;
 margin:clamp(12px,2vh,24px) auto 18px!important;
 padding:12px!important;
 border:1px solid rgba(224,222,218,.72);
 border-radius:22px!important;
 box-shadow:0 22px 70px rgba(22,41,57,.075)!important;
}
.hm-shared-nav .hm-brand,.hm-shared-nav nav a,.hm-shared-nav .hm-login{
 text-decoration:none!important;
}
.hm-shared-nav nav a{font-weight:550!important;transition:color .2s}
.hm-shared-nav nav a:hover{color:#b68b50!important}
.hm-shared-nav{box-shadow:0 1px 0 rgba(16,40,60,.07)!important}
.hf-auth,.hf-signup-shell,.hf-recovery-shell{
 min-height:min(670px,calc(100dvh - 132px))!important;
 border-radius:15px!important;
 overflow:hidden;
 background:#f4f6fa!important;
 grid-template-columns:47% 53%!important;
}
.hf-auth-visual,.hf-signup-visual{
 position:relative;
 display:flex!important;
 align-items:flex-end!important;
 padding:clamp(22px,4vw,52px)!important;
 isolation:isolate;
}
.hf-auth-visual:after,.hf-signup-visual:after{
 content:"";position:absolute;inset:35% 0 0;z-index:-1;
 background:linear-gradient(180deg,transparent,rgba(4,21,38,.48));
 pointer-events:none;
}
.hf-auth-quote,.hf-signup-quote{
 font-family:Georgia,serif!important;
 font-size:clamp(25px,2.65vw,39px)!important;
 line-height:1.22!important;
 font-weight:400!important;
 letter-spacing:-.55px;
 max-width:440px;
}
.hf-auth-side,.hf-signup-side,.hf-recovery-side{padding:clamp(14px,2vw,26px)!important}
.hf-auth-card,.hf-signup,.hf-recovery-card{
 border:1px solid #e6eaf0!important;
 border-radius:16px!important;
 box-shadow:0 18px 45px rgba(16,40,62,.075)!important;
 padding:clamp(22px,2.5vw,34px)!important;
}
.hf-signup .hf-auth-brand,.hf-auth-card .hf-auth-brand,.hf-recovery-card .hf-auth-brand{
 letter-spacing:-.6px;
}
.hf-signup h1,.hf-recovery-card h1{
 letter-spacing:-.6px;
 font-weight:730!important;
}
.hf-signup label{font-weight:580!important;margin:10px 0 5px!important}
.hf-signup .hf-profile-heading{margin:12px 0 6px!important}
.hf-signup .hf-profile-option{
 padding:11px!important;
 border-radius:11px!important;
 transition:border-color .2s,box-shadow .2s;
}
.hf-signup .hf-profile-option:has(input:checked){
 background:#fdfaf5!important;
 box-shadow:inset 0 0 0 1px rgba(184,139,80,.2);
}
.hf-signup input:not([type=radio]):not([type=checkbox]),
.hf-recovery-card input{
 min-height:40px!important;
 border-color:#d8e0e9!important;
 border-radius:8px!important;
 box-shadow:none!important;
}
.hf-signup button[type=submit],.hf-recovery-card button[type=submit],.hf-auth-card #wp-submit{
 background:linear-gradient(105deg,#c79e63,#af7b35)!important;
 border:0!important;
 box-shadow:0 7px 17px rgba(174,123,53,.14);
 transition:filter .2s,transform .2s;
}
.hf-signup button[type=submit]:hover,.hf-recovery-card button[type=submit]:hover,.hf-auth-card #wp-submit:hover{
 filter:brightness(.95);transform:translateY(-1px);
}
.hf-signup .hf-steps{margin:11px 0 9px!important}
.hf-signup .hf-plan-selected{background:#f6f7fa!important;border:1px solid #edf0f4}
.hf-signup .hf-login-link{margin:11px 0 0!important}
.hf-signup a,.hf-auth-card a,.hf-recovery-card a{text-underline-offset:3px}
@media(max-width:900px){
 .hf-auth,.hf-signup-shell,.hf-recovery-shell{grid-template-columns:1fr!important;min-height:0!important}
 .hf-auth-visual,.hf-signup-visual{min-height:145px!important;padding:25px!important}
 .hf-auth-quote,.hf-signup-quote{font-size:26px!important}
}
@media(max-width:650px){
 body:has(.hf-auth) .hoamefa-site-content,
 body:has(.hf-signup-shell) .hoamefa-site-content,
 body:has(.hf-recovery-shell) .hoamefa-site-content{
 width:calc(100% - 20px)!important;padding:7px!important;margin:10px auto!important;
 }
 .hf-auth-visual,.hf-signup-visual{display:none!important}
 .hf-signup-side,.hf-auth-side,.hf-recovery-side{padding:9px!important}
 .hf-signup,.hf-auth-card,.hf-recovery-card{padding:20px 17px!important}
 .hf-signup .hf-name-grid{grid-template-columns:1fr 1fr!important;gap:9px!important}
}
@media(max-width:380px){.hf-signup .hf-name-grid{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){
 .hf-signup button[type=submit],.hf-recovery-card button[type=submit],.hf-auth-card #wp-submit{transition:none!important}
}

/* V1.9.0.61: align the public authentication header contents with the premium card. */
@media(min-width:751px){
 .hm-shared-nav{padding-left:max(32px,calc((100vw - 1208px)/2 + 28px))!important;padding-right:max(32px,calc((100vw - 1208px)/2 + 28px))!important;}
}
@media(max-width:750px){.hm-shared-nav{padding-left:22px!important;padding-right:22px!important}}

/* Official SVG brand mark */
.hm-brand{display:inline-flex!important;align-items:center!important;gap:7px!important;white-space:nowrap}.hm-brand .hm-logo-svg{width:29px;height:29px;display:block;flex:none;overflow:visible}.hm-shared-nav .hm-brand{line-height:1.1!important}@media(max-width:650px){.hm-brand .hm-logo-svg{width:25px;height:25px}}

/* V1.9.0.64 signup screenshot fidelity */
body:has(.hf-signup-shell) .hf-signup-shell .hf-signup-side{background:#fff!important}
body:has(.hf-signup-shell) .hf-signup-shell .hf-signup{background:#fff!important;box-shadow:none!important;border:0!important}
body:has(.hf-signup-shell) .hf-signup-shell .hf-signup-visual{align-items:flex-end!important}

/* Hoamefa V1.9.0.68 — background composition from approved signup reference.
   Decorative layers are pointer-transparent and confined to authentication pages. */
body:has(.hf-signup-shell),body:has(.hf-auth),body:has(.hf-recovery-shell){
  position:relative!important;
  isolation:isolate;
  min-height:100vh;
  background:
    radial-gradient(ellipse 54% 60% at -8% 29%,rgba(220,232,247,.74) 0%,rgba(232,239,250,.30) 57%,transparent 100%),
    radial-gradient(ellipse 46% 58% at 106% 18%,rgba(249,227,209,.70) 0%,rgba(250,238,229,.30) 56%,transparent 100%),
    radial-gradient(ellipse 60% 50% at 49% 112%,rgba(247,233,226,.50),transparent 75%),
    #fffdfb!important;
}
body:has(.hf-signup-shell)::before,body:has(.hf-auth)::before,body:has(.hf-recovery-shell)::before{
  content:"";position:fixed;inset:68px 0 0;z-index:-1;pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='none'%3E%3Cpath d='M-90 238C52 256 113 113 253 99C342 89 381 148 466 134' stroke='%23dfa83d' stroke-width='1.6' fill='none' opacity='.87'/%3E%3Cpath d='M-120 206C65 246 127 105 252 102C361 99 399 170 500 153' stroke='%23f3d3b2' stroke-width='35' fill='none' opacity='.38'/%3E%3Cpath d='M-90 600C103 610 189 728 333 758C449 782 515 763 592 826' stroke='%23eacfc6' stroke-width='85' fill='none' opacity='.21'/%3E%3Cpath d='M1660 685C1488 651 1404 750 1324 786C1246 820 1176 812 1091 863' stroke='%23df9f26' stroke-width='2' fill='none' opacity='.95'/%3E%3Cpath d='M1700 378C1536 441 1505 584 1410 624C1355 647 1296 652 1242 711' stroke='%23e5eaf4' stroke-width='90' fill='none' opacity='.42'/%3E%3C/svg%3E");
  background-size:100% 100%;background-position:center;background-repeat:no-repeat;
}
body:has(.hf-signup-shell)::after,body:has(.hf-auth)::after,body:has(.hf-recovery-shell)::after{
  content:"";position:fixed;inset:68px 0 0;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse 45% 50% at 50% 40%,rgba(255,255,255,.62),transparent 100%);
}
@media(min-width:1100px){
 body:has(.hf-signup-shell) .hoamefa-site-content{
   width:min(1200px,calc(100% - 48px))!important;
   max-width:1200px!important;
   margin:30px auto 26px!important;
 }
 body:has(.hf-signup-shell) .hf-signup-shell{min-height:680px!important}
 body:has(.hf-signup-shell) .hf-signup h1{font-size:clamp(26px,2vw,33px)!important}
 body:has(.hf-signup-shell) .hf-signup label{font-size:14px!important}
 body:has(.hf-signup-shell) .hf-signup .hf-profile-heading{font-size:14px!important}
 body:has(.hf-signup-shell) .hf-signup .hf-svg-field input{min-height:45px!important;font-size:14px!important}
 body:has(.hf-signup-shell) .hf-signup button[type=submit]{min-height:49px!important;font-size:15px!important}
}
@media(max-width:700px){
 body:has(.hf-signup-shell)::before,body:has(.hf-auth)::before,body:has(.hf-recovery-shell)::before{background-size:auto 100%;opacity:.5}
}

/* V2.0.41 — Canonical shared public navigation. */
.hm-shared-nav{display:flex!important;align-items:center!important;gap:clamp(16px,3vw,38px)!important;min-height:74px!important;padding-top:12px!important;padding-bottom:12px!important;background:#fff!important;box-shadow:0 1px 0 #e7e9ed!important}
.hm-shared-nav .hm-brand{flex-shrink:0!important;text-decoration:none!important}
.hm-shared-nav nav{display:flex;align-items:center;justify-content:center;gap:clamp(16px,2vw,31px);flex:1;min-width:0}
.hm-shared-nav nav a{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center;min-height:46px!important;padding:0 2px!important;font-size:15px!important;font-weight:700!important;letter-spacing:.005em!important;white-space:nowrap;color:#0c2742!important;text-decoration:none!important;transition:color .2s ease!important}
.hm-shared-nav nav a::after{content:"";position:absolute;left:1px;right:1px;bottom:1px;height:3px;border-radius:4px;background:#b77d24;transform:scaleX(0);transform-origin:center;transition:transform .22s ease}
.hm-shared-nav nav a:hover,.hm-shared-nav nav a:focus-visible,.hm-shared-nav nav a[aria-current="page"]{color:#a46b19!important}
.hm-shared-nav nav a:hover::after,.hm-shared-nav nav a:focus-visible::after,.hm-shared-nav nav a[aria-current="page"]::after{transform:scaleX(1)}
.hm-shared-nav .hm-login{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;flex-shrink:0;min-height:44px!important;padding:10px 19px!important;border:1px solid #d69a36!important;border-radius:9px!important;background:linear-gradient(110deg,#f8c969,#d9952c)!important;color:#10263d!important;font-weight:800!important;text-decoration:none!important;box-shadow:0 3px 11px rgba(154,100,23,.14)!important;transition:filter .2s ease,transform .2s ease,box-shadow .2s ease!important}
.hm-shared-nav .hm-login:hover{filter:brightness(1.04);transform:translateY(-1px);box-shadow:0 7px 19px rgba(154,100,23,.2)!important}
.hm-shared-nav nav a:focus-visible,.hm-shared-nav .hm-login:focus-visible,.hm-shared-nav .hm-nav-toggle:focus-visible{outline:2px solid #b77d24!important;outline-offset:4px!important}
@media(max-width:850px){.hm-shared-nav{min-height:66px!important;gap:10px!important;padding:10px 18px!important}.hm-shared-nav .hm-nav-toggle{display:inline-flex!important;margin-left:auto!important}.hm-shared-nav nav{display:none;position:absolute;top:100%;left:12px;right:12px;flex-direction:column;align-items:stretch;gap:2px;padding:13px;background:#fff;border:1px solid #dce3e9;border-radius:12px;box-shadow:0 16px 35px #12243b24}.hm-shared-nav nav.is-open{display:flex}.hm-shared-nav nav a{justify-content:flex-start!important;min-height:44px!important;padding:0 12px!important}.hm-shared-nav nav a::after{left:12px;right:auto;width:44px;bottom:2px}.hm-shared-nav .hm-login{min-height:40px!important;padding:8px 11px!important;font-size:13px!important}}
@media(max-width:420px){.hm-shared-nav .hm-brand{font-size:19px!important}.hm-shared-nav .hm-login{font-size:12px!important;padding:8px 9px!important}}
@media(prefers-reduced-motion:reduce){.hm-shared-nav nav a,.hm-shared-nav nav a::after,.hm-shared-nav .hm-login{transition:none!important}}
