
:root{
 --green:#236a46;--green-dark:#174d33;--green-soft:#eaf1e8;
 --cream:#fbf8f0;--cream-2:#f4efe3;--ink:#15241e;--muted:#68716b;
 --gold:#b88b43;--white:#fffdf9;--line:#e6dfd1;
 --shadow:0 14px 40px rgba(31,52,41,.10);
 --radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:var(--cream);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55} body{padding-top:120px}
a{text-decoration:none;color:inherit}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
img{max-width:100%;display:block}
.container{width:min(1320px,calc(100% - 40px));margin:auto}
.serif{font-family:Georgia,"Times New Roman",serif}
.topbar{height:78px;background:rgba(255,253,249,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(0,0,0,.04);position:fixed;top:0;left:0;right:0;width:100%;z-index:5000}
.nav-inner{height:100%;display:flex;align-items:center;gap:30px}.nav-inner>.auth-actions{margin-left:auto}
.brand{display:flex;align-items:center;gap:12px;min-width:300px}
.brand img{width:54px;height:54px}
.brand strong{font-family:Georgia,serif;font-size:19px;line-height:1.05}
.nav{display:flex;gap:26px;align-items:center;flex:1;justify-content:center}
.nav a{font-size:14px;color:#39443e;padding:29px 0;position:relative}
.nav a.active:after,.nav a:hover:after{content:"";position:absolute;bottom:20px;left:0;right:0;height:2px;background:var(--green)}
.actions{display:flex;gap:10px}
.btn{border:0;border-radius:999px;padding:12px 22px;font-weight:700;transition:.2s}
.btn-outline{background:transparent;border:1px solid #b7c0b7;color:var(--green-dark)}
.btn-green{background:var(--green);color:#fff}
.btn-green:hover{background:var(--green-dark);transform:translateY(-1px)}
.btn-outline:hover{background:#f3f5f0}
.mobile-menu{display:none;background:none;border:0;font-size:28px}
.hero{position:relative;min-height:650px;overflow:hidden}
.hero-image{position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,252,244,.99) 0%,rgba(255,252,244,.92) 32%,rgba(255,252,244,.16) 68%,rgba(255,252,244,.08) 100%),url("../images/hero/hero-bouddha.png") center/cover no-repeat}
.hero-content{position:relative;padding:105px 0 78px}
.kicker{color:#a26f27;letter-spacing:2.2px;text-transform:uppercase;font-size:13px;font-weight:700}
.hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(42px,4vw,64px);line-height:1.03;max-width:760px;margin:20px 0;color:#10231b;letter-spacing:-1.6px}
.hero p{font-size:18px;max-width:620px;color:#38423d}
.searchbox{display:flex;gap:10px;background:rgba(255,255,255,.92);padding:9px;border-radius:18px;box-shadow:0 15px 45px rgba(0,0,0,.12);width:min(850px,100%);margin-top:28px}
.searchbox label{flex:1;position:relative}
.searchbox input{width:100%;height:56px;border:1px solid #e4e0d7;border-radius:13px;padding:0 16px;background:#fff}
.searchbox button{height:56px;border:0;border-radius:13px;padding:0 28px;background:var(--green);color:#fff;font-weight:800}
.usp{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:28px;max-width:850px}
.usp-item{display:flex;gap:10px;align-items:center;font-size:13px}
.usp-icon{width:42px;height:42px;border-radius:50%;background:#f6e9cf;color:#a67630;display:grid;place-items:center;font-size:20px;flex:none}
.section{padding:74px 0}
.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}
.section-title{font:500 clamp(34px,3vw,50px)/1.05 Georgia,serif;margin:0}
.section-link{color:var(--green);font-weight:700}
.specialties{display:grid;grid-template-columns:repeat(8,1fr);gap:14px}
.spec-card{background:#fff;border:1px solid #eee7da;border-radius:18px;overflow:hidden;box-shadow:0 8px 24px rgba(32,50,41,.07);transition:.2s}
.spec-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.spec-card img{width:100%;aspect-ratio:1/1;object-fit:cover}
.spec-card-info{padding:13px 10px 15px;text-align:center}.spec-card-info strong{display:block;font-size:14px;margin-bottom:7px}.spec-actions{display:flex;flex-direction:column;align-items:center;gap:4px}.spec-actions a{color:var(--green);font-size:13px;text-decoration:none;font-weight:600}.spec-info-link{border:0;background:none;color:#68716b;font-size:12px;padding:3px 4px;cursor:pointer;text-decoration:underline;text-underline-offset:2px}.spec-info-link:hover{color:var(--green)}
.profiles{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.profile{background:#fff;border:1px solid #eee7da;border-radius:20px;padding:16px;box-shadow:0 8px 24px rgba(32,50,41,.07);position:relative;overflow:hidden}
.profile:after{content:"";position:absolute;right:-35px;top:25px;width:120px;height:180px;background:url("../images/decorations/logo.svg") center/contain no-repeat;opacity:.07;transform:rotate(25deg)}
.profile-top{display:flex;gap:14px;align-items:center}
.avatar{width:88px;height:88px;border-radius:50%;object-fit:cover;border:5px solid #f7f0df}
.profile h3{margin:0;font-size:20px}
.role{color:#9c7135;font-weight:700;font-size:14px}
.location{font-size:13px;color:var(--muted);margin-top:4px}
.stars{color:#e79b14;letter-spacing:1px;font-size:13px;margin:10px 0}
.tags{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 16px}
.tag{background:#edf3eb;color:#48624e;border-radius:999px;padding:5px 9px;font-size:12px}
.profile .profile-actions{display:flex;gap:9px;align-items:center;position:relative;z-index:2}.profile .profile-actions .profile-link{flex:1}.profile .favorite{width:46px;padding:10px 0;background:#fff;color:#315b45;border:1px solid #dfe7de}.profile .favorite.saved{color:#b97927;background:#fff7e9}.profile .btn{position:relative;z-index:2}
.why{display:grid;grid-template-columns:1fr 1fr;min-height:470px}
.why-image{background:url("../images/hero/hero-meditation.png") center/cover no-repeat;min-height:470px}
.why-copy{background:#f5f0e5;padding:70px}
.checks{list-style:none;padding:0;margin:26px 0}
.checks li{display:flex;gap:10px;margin:12px 0}
.check{width:23px;height:23px;background:var(--green);color:#fff;border-radius:50%;display:grid;place-items:center;font-size:13px;flex:none}
.cta{background:var(--green);color:#fff;border-radius:0 0 0 0;padding:70px}
.cta h2{font:500 50px/1.02 Georgia,serif;margin:14px 0}
.cta p{color:#e7efe9;max-width:440px}
.cta .btn{background:#fff;color:var(--green-dark);margin-top:12px}
.split-bottom{display:grid;grid-template-columns:1fr 1fr;min-height:430px}.split-bottom>div:first-child{background:url("../images/hero/handpan-professionnel.jpg") center/cover no-repeat;min-height:430px}
.footer{background:#fffdf8;padding:60px 0 25px;border-top:1px solid var(--line)}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px}
.footer-brand{max-width:360px}
.footer h4{margin:0 0 16px}
.footer a{display:block;color:#64706a;margin:9px 0;font-size:14px}
.newsletter{display:flex;border:1px solid #ddd6c8;border-radius:999px;overflow:hidden;background:#fff}
.newsletter input{border:0;outline:0;padding:12px 15px;min-width:0;flex:1;background:transparent}
.newsletter button{border:0;background:var(--green);color:#fff;padding:0 18px}
.copyright{border-top:1px solid var(--line);margin-top:40px;padding-top:20px;color:#7a817c;font-size:13px;display:flex;justify-content:space-between}
.cookie{position:fixed;left:20px;right:20px;bottom:20px;background:#173d2a;color:#fff;border-radius:18px;padding:18px 20px;display:none;align-items:center;justify-content:space-between;gap:20px;z-index:100;box-shadow:0 18px 50px rgba(0,0,0,.25)}
.cookie.show{display:flex}.cookie p{margin:0;font-size:14px;color:#e9f0eb}.cookie-actions{display:flex;gap:8px;flex:none}
.cookie button{border:0;border-radius:999px;padding:10px 18px;font-weight:700}.accept{background:#fff;color:var(--green-dark)}.reject{background:transparent;color:#fff;border:1px solid #7f9c8b!important}
.page-hero{background:linear-gradient(120deg,#f2ecdf,#eaf1e8);padding:70px 0}.page-hero h1{font:500 60px/1.05 Georgia,serif;margin:10px 0}.page-hero p{max-width:700px;color:var(--muted)}
.directory-tools{background:#fff;padding:20px;border-radius:18px;box-shadow:var(--shadow);margin-top:-28px;position:relative;z-index:2}
.filters{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:10px}.filters input,.filters select{height:48px;border:1px solid #ddd7ca;border-radius:11px;padding:0 12px;background:#fff}
.results{margin-top:30px}
.empty{padding:40px;text-align:center;background:#fff;border-radius:18px;color:var(--muted)}
.modal{position:fixed;inset:0;background:rgba(12,28,20,.52);display:none;place-items:center;z-index:200;padding:20px}
.modal.open{display:grid}.modal-card{width:min(520px,100%);background:#fffdf8;border-radius:22px;padding:30px;position:relative;box-shadow:0 25px 80px rgba(0,0,0,.3)}
.modal-close{position:absolute;right:15px;top:10px;border:0;background:none;font-size:28px}.modal-card h2{font:500 34px Georgia,serif;margin-top:0}.form-row{margin:12px 0}.form-row label{display:block;font-size:13px;font-weight:700;margin-bottom:5px}.form-row input,.form-row textarea{width:100%;padding:12px;border:1px solid #ddd7ca;border-radius:10px}.form-row textarea{min-height:130px;resize:vertical}
@media(max-width:1100px){.specialties{grid-template-columns:repeat(4,1fr)}.profiles{grid-template-columns:repeat(2,1fr)}.brand{min-width:auto}.nav{gap:15px}.nav a{font-size:13px}.usp{grid-template-columns:repeat(2,1fr)}}
@media(max-width:780px){.split-bottom>div:first-child{min-height:300px}.profile-detail{grid-template-columns:1fr!important}.profile-detail h2{font-size:34px!important}.topbar{height:68px}.nav,.actions{display:none}.mobile-menu{display:block;margin-left:auto}.brand strong{font-size:16px}.hero{min-height:690px}.hero-image{background-position:60% center;filter:none}.hero-content{padding:70px 0 40px}.hero h1{font-size:46px}.searchbox{display:grid}.searchbox label,.searchbox button{width:100%}.usp{grid-template-columns:1fr 1fr}.specialties{grid-template-columns:repeat(2,1fr)}.profiles{grid-template-columns:1fr}.why{grid-template-columns:1fr}.why-copy,.cta{padding:42px 28px}.why-image{min-height:320px}.split-bottom{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.filters{grid-template-columns:1fr}.cookie{flex-direction:column;align-items:stretch}.cookie-actions{justify-content:flex-end}}

@media (min-width:1200px){
  .hero h1{font-size:62px;max-width:820px;white-space:normal}
}

.pro-join{background:#eef3ec;padding:58px 0;border-top:1px solid #e0e7dc;border-bottom:1px solid #e0e7dc}
.pro-join-inner{display:flex;align-items:center;justify-content:space-between;gap:35px}
.pro-join h2{font:500 clamp(30px,3vw,46px)/1.05 Georgia,serif;margin:8px 0 12px}
.pro-join p{max-width:700px;color:var(--muted);margin:0}
.pricing-section{padding-top:55px}.pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:1380px;margin:auto;align-items:stretch}
.plan{background:#fff;border:2px solid #b88b43;border-radius:26px;padding:30px;box-shadow:var(--shadow);position:relative;transition:transform .2s ease,box-shadow .2s ease}
.plan-featured{border:2px solid #b88b43;transform:none}
.plan-badge{position:absolute;right:24px;top:22px;background:#f5e8cc;color:#936a2e;border-radius:999px;padding:6px 11px;font-size:12px;font-weight:800}
.plan-label{text-transform:uppercase;letter-spacing:2px;color:#9c7135;font-size:13px;font-weight:800}
.plan h3{font:500 48px/1 Georgia,serif;margin:13px 0}.plan h3 small{font:400 16px Arial;color:var(--muted)}
.plan-intro{color:var(--muted);min-height:50px}.plan ul{list-style:none;padding:0;margin:24px 0 28px}.plan li{padding:9px 0;border-bottom:1px solid #eee8dc}.plan li:before{content:"✓";color:var(--green);font-weight:900;margin-right:10px}.plan-button{width:100%}
.professional-note{max-width:960px;margin:28px auto 0;background:#f7f3e9;border-radius:16px;padding:18px 22px;display:flex;gap:12px;flex-wrap:wrap}.professional-note span{color:var(--muted)}
.dashboard-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.dashboard-card{background:#fff;border:1px solid #e7e0d3;border-radius:20px;padding:25px;box-shadow:0 8px 25px rgba(31,52,41,.06);transition:.2s}.dashboard-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.dashboard-card span{font-size:28px;color:var(--green)}.dashboard-card h3{margin:12px 0 5px;font-size:20px}.dashboard-card p{color:var(--muted);font-size:14px}.account-panel{background:#fff;border:1px solid #e7e0d3;border-radius:22px;padding:28px;margin-top:24px;box-shadow:0 8px 25px rgba(31,52,41,.06)}.account-panel h2{font:500 30px Georgia,serif;margin-top:0}
.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:25px}.admin-stats>div{background:#fff;border:1px solid #e7e0d3;border-radius:18px;padding:22px}.admin-stats strong{display:block;font:500 36px Georgia,serif;color:var(--green)}.admin-stats span{font-size:13px;color:var(--muted)}.admin-panel{background:#fff;border:1px solid #e7e0d3;border-radius:22px;padding:25px;margin-bottom:22px;box-shadow:0 8px 25px rgba(31,52,41,.05)}.admin-table{overflow:auto}.admin-row{display:grid;grid-template-columns:1.5fr 1.2fr 1.5fr .8fr;gap:15px;padding:14px 0;border-bottom:1px solid #eee8dc;align-items:center;min-width:720px}.admin-head{font-weight:800;color:#56615b}.status{font-size:12px;font-weight:800;border-radius:999px;padding:5px 9px;width:max-content}.status.ok{background:#e7f1e7;color:#246143}.status.wait{background:#f8edda;color:#9a6d2e}.admin-actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:780px){.pro-join-inner{flex-direction:column;align-items:flex-start}.pricing-grid{grid-template-columns:1fr}.plan-featured{transform:none}.dashboard-grid{grid-template-columns:1fr}.admin-stats{grid-template-columns:1fr 1fr}}

/* Navigation des connexions */
.auth-actions{align-items:center;gap:10px}.auth-link{display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;color:#fff;text-decoration:none;padding:10px 16px;border:1px solid var(--green);border-radius:999px;white-space:nowrap;background:var(--green);box-shadow:0 3px 12px rgba(31,52,41,.10);transition:background .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease}.auth-link:hover{background:var(--green-dark);border-color:var(--green-dark);box-shadow:0 5px 16px rgba(31,52,41,.16);transform:translateY(-1px)}
.specialty-selector{display:flex;align-items:end;gap:12px;background:#f7f3e9;border:1px solid #e7dfd0;border-radius:18px;padding:18px;margin:0 0 22px}.specialty-selector label{display:block;font-size:13px;font-weight:800;color:#56615b;margin-bottom:7px}.specialty-selector select{height:48px;min-width:290px;border:1px solid #ddd7ca;border-radius:12px;padding:0 14px;background:#fff;font-weight:700;color:var(--green-dark);outline:none}.specialty-selector>div{flex:1}.specialty-selector .btn{white-space:nowrap}.text-spec{min-height:150px;display:flex;align-items:center;justify-content:center}.text-spec div{padding:20px}.login-error{min-height:20px;color:#a23c35;font-weight:700;font-size:14px}.login-note{font-size:13px;color:var(--muted);margin-top:18px}
@media(max-width:780px){.specialty-selector{display:block}.specialty-selector select{width:100%;min-width:0;margin-bottom:10px}.specialty-selector .btn{width:100%}.auth-actions{display:flex!important;flex-wrap:wrap;justify-content:flex-end;gap:4px}.auth-link{font-size:11px;padding:8px 10px}.topbar .nav-inner{position:relative}.actions.auth-actions{margin-right:42px}}

@media(max-width:1100px){.pricing-grid{grid-template-columns:1fr;max-width:720px}.plan-featured{transform:none}}


/* Authentification persistante : boutons d'état de connexion */
.auth-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.auth-link{display:inline-flex;align-items:center;justify-content:center;border:0;background:var(--green);color:#fff!important;border-radius:999px;padding:12px 20px;font-weight:700;text-decoration:none;cursor:pointer;font:inherit;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.auth-link:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(31,102,71,.18);background:#185f42}
.auth-logout{border:1px solid var(--green);background:var(--green);color:#fff!important}
.auth-link-connected{background:var(--green);color:#fff!important}

.field-help{display:block;margin-top:7px;color:var(--muted);font-size:13px;line-height:1.5}
#profileActivitiesBlock{margin-top:24px;padding-top:4px}
#profileActivitiesBlock h3{margin-bottom:10px}
.backup-panel{border:1px solid rgba(23,107,72,.16);background:linear-gradient(180deg,#fffdf8 0%,#f8fbf7 100%)}


.profile-practices-label{margin-top:14px;margin-bottom:8px;font-weight:700;color:#17251f;font-size:1rem;}

/* ===== Responsive mobile/tablette — ajout ciblé 30/09/2026 ===== */
html,body{max-width:100%;overflow-x:hidden}
body{-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility}
button,a,input,select,textarea{touch-action:manipulation}
img,svg,video,canvas{max-width:100%;height:auto}

@media (max-width:780px){
  .container{width:min(100% - 28px,1320px)}
  .topbar{height:68px;z-index:500}
  .topbar .nav-inner{gap:10px;position:relative}
  .brand{min-width:0;max-width:calc(100% - 58px);gap:9px;overflow:hidden}
  .brand img{width:42px;height:42px;flex:0 0 42px}
  .brand strong{font-size:14px;line-height:1.08;white-space:normal}
  .nav,.auth-actions{display:none!important}
  .mobile-menu{display:grid!important;place-items:center;flex:0 0 46px;width:46px;height:46px;margin-left:auto;border-radius:12px;color:var(--green-dark);font-size:27px;line-height:1;z-index:510}
  .mobile-menu:focus-visible{outline:3px solid rgba(35,106,70,.25);outline-offset:2px}
  .mobile-panel{position:absolute;left:0;right:0;top:68px;background:rgba(255,253,249,.99);border-top:1px solid #e7e0d3;border-bottom:1px solid #ddd6c8;box-shadow:0 18px 35px rgba(31,52,41,.16);padding:10px 14px 16px;max-height:calc(100vh - 68px);overflow:auto;-webkit-overflow-scrolling:touch;z-index:505}
  .mobile-panel[hidden]{display:none}
  .mobile-panel .mobile-nav-links{display:grid;gap:4px}
  .mobile-panel a,.mobile-panel button{display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:48px;padding:11px 13px;border-radius:12px;font-size:15px;font-weight:700;text-align:left}
  .mobile-panel a:hover,.mobile-panel a:focus-visible{background:#eef5ed;color:var(--green-dark)}
  .mobile-panel .mobile-nav-links a.active{background:#eaf1e8;color:var(--green-dark)}
  .mobile-panel .mobile-auth-links{display:grid;gap:8px;margin-top:10px;padding-top:12px;border-top:1px solid #e6dfd1}
  .mobile-panel .mobile-auth-links .auth-link{justify-content:center;text-align:center;min-height:46px;font-size:14px}
  .mobile-panel .mobile-auth-links .auth-link:not(.auth-logout){background:var(--green);color:#fff!important}
  .mobile-panel .mobile-auth-links .auth-logout{background:#fff;color:var(--green-dark)!important;border:1px solid #b7c0b7}

  .hero{min-height:auto}
  .hero-image{background-position:center center}
  .hero-content{padding:54px 0 38px}
  .hero h1{font-size:clamp(34px,9vw,46px);line-height:1.05;margin:14px 0}
  .hero p{font-size:16px;line-height:1.5}
  .page-hero{padding:42px 0 38px}
  .page-hero h1{font-size:clamp(34px,9vw,52px);line-height:1.05;overflow-wrap:anywhere}
  .page-hero p{font-size:15px}
  .section{padding:48px 0}
  .section-head{align-items:flex-start;gap:14px;flex-wrap:wrap}
  .section-title{font-size:clamp(30px,8vw,42px)}

  .searchbox{display:grid;grid-template-columns:1fr;gap:10px;width:100%;padding:10px}
  .searchbox input,.searchbox button{width:100%;height:52px}
  .filters{grid-template-columns:1fr!important}
  .filters input,.filters select{width:100%;min-width:0}
  .directory-tools{padding:14px;margin-top:-18px}

  .usp{grid-template-columns:1fr!important;gap:12px}
  .specialties{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
  .spec-card-info{padding:11px 8px 13px}
  .spec-card-info strong{font-size:13px;line-height:1.25}
  .profiles{grid-template-columns:1fr!important;gap:14px}
  .profile{padding:14px}
  .profile-top{gap:11px}
  .avatar{width:72px;height:72px}
  .profile h3{font-size:18px}
  .profile .profile-actions{flex-wrap:wrap}
  .profile .profile-actions .profile-link{min-width:0;flex:1 1 160px}
  .profile .favorite{flex:0 0 46px}

  .why,.split-bottom{grid-template-columns:1fr!important}
  .why-copy,.cta{padding:36px 22px}
  .why-image,.split-bottom>div:first-child{min-height:260px}
  .cta h2{font-size:38px}
  .footer-grid{grid-template-columns:1fr!important;gap:24px}
  .copyright{display:block;line-height:1.5}
  .copyright>*+*{margin-top:8px}

  .account-panel,.admin-panel{padding:18px;margin-top:16px;border-radius:18px}
  .account-panel .section-head{display:flex;align-items:flex-start;flex-wrap:wrap}
  .dashboard-grid{grid-template-columns:1fr!important}
  .admin-stats{grid-template-columns:1fr 1fr!important;gap:10px}
  .admin-stats>div{padding:15px}
  .admin-stats strong{font-size:30px}
  .admin-table{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
  .admin-row{min-width:680px}
  .admin-actions{gap:7px}
  .admin-actions .btn{width:100%}
  .pro-join-inner{flex-direction:column;align-items:stretch}
  .pricing-grid{grid-template-columns:1fr!important}
  .plan{padding:22px}
  .plan h3{font-size:40px}

  .form-grid{grid-template-columns:1fr!important}
  .form-row.wide{grid-column:auto!important}
  .form-row input,.form-row select,.form-row textarea{font-size:16px;min-width:0;max-width:100%}
  .btn{min-height:46px}
  .specialty-selector{display:block;padding:14px}
  .specialty-selector select,.specialty-selector .btn{width:100%;min-width:0;margin-top:4px}
  .modal{padding:10px}
  .modal-card{width:100%;max-width:100%;max-height:calc(100vh - 20px);overflow:auto;padding:22px 16px;border-radius:18px}
  .modal-card h2{font-size:28px;line-height:1.1;padding-right:30px}
  .cookie{left:10px;right:10px;bottom:10px;padding:15px}
  .cookie-actions{display:grid;grid-template-columns:1fr 1fr}
  .cookie-actions button{min-height:44px}
}

@media (max-width:480px){
  .container{width:calc(100% - 24px)}
  .brand strong{font-size:13px}
  .brand img{width:39px;height:39px;flex-basis:39px}
  .mobile-menu{width:44px;height:44px;flex-basis:44px}
  .hero-content{padding-top:42px}
  .hero h1{font-size:34px}
  .page-hero h1{font-size:34px}
  .section{padding:40px 0}
  .specialties{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .spec-card-info strong{font-size:12px}
  .usp-item{align-items:flex-start}
  .usp-icon{width:38px;height:38px}
  .admin-stats{grid-template-columns:1fr!important}
  .footer-grid{grid-template-columns:1fr!important}
  .profile .profile-actions .profile-link{flex-basis:100%}
}

@media (min-width:781px){
  .mobile-panel{display:none!important}
}


/* ===== En-tête Thérapie Douce unifié — base commune ===== */
.topbar{min-height:120px !important;}
.topbar .nav-inner{min-height:120px !important;}
.brand{display:flex !important;align-items:center !important;gap:12px !important;text-decoration:none !important;min-width:300px;}
.brand img{width:82px !important;height:82px !important;object-fit:contain !important;flex:0 0 auto !important;}
.brand-copy{display:flex !important;flex-direction:column !important;align-items:flex-start !important;gap:5px !important;}
.brand strong{display:block !important;font-family:Georgia,"Palatino Linotype","Book Antiqua",serif !important;font-size:39px !important;line-height:1 !important;font-style:italic !important;font-weight:700 !important;letter-spacing:-1.2px !important;white-space:nowrap !important;color:#14563d !important;}
.brand strong .brand-douce{color:#b87927 !important;}
.brand-tagline{display:block !important;color:#a66c22 !important;font-family:Georgia,"Times New Roman",serif !important;font-size:18px !important;line-height:1.25 !important;font-weight:500 !important;white-space:nowrap !important;}
@media(max-width:780px){
  body{padding-top:148px} .topbar{height:148px !important;min-height:148px !important;}
  .topbar .nav-inner{height:100% !important;min-height:148px !important;}
  .brand{position:absolute !important;left:50% !important;top:8px !important;transform:translateX(-50%) !important;width:max-content !important;max-width:calc(100% - 90px) !important;gap:3px !important;flex-direction:column !important;justify-content:flex-start !important;text-align:center !important;overflow:visible !important;}
  .brand img{width:78px !important;height:78px !important;}
  .brand-copy{align-items:center !important;gap:5px !important;}
  .brand strong{font-size:31px !important;line-height:1 !important;letter-spacing:-.7px !important;white-space:nowrap !important;}
  .brand-tagline{font-size:14px !important;line-height:1.2 !important;white-space:nowrap !important;}
  .mobile-menu{position:absolute !important;right:0 !important;top:50% !important;transform:translateY(-50%) !important;display:block !important;}
  .nav{display:none !important;}
}


/* =========================================================
   CORRECTION TABLETTE — POSITION EXACTE DU MENU
   Base STRICTE : sauvegarde originale 9h57
   Objectif :
   logo + nom + sous-titre en haut,
   puis juste en dessous : Accueil / Connexion admin /
   Connexion thérapeute.
   Aucun chevauchement.
   ========================================================= */
@media (min-width:781px) and (max-width:1366px){

  body{
    padding-top:166px !important;
  }

  .topbar{
    height:166px !important;
    min-height:166px !important;
  }

  .topbar .nav-inner{
    position:relative !important;
    height:166px !important;
    min-height:166px !important;
    display:grid !important;
    grid-template-columns:1fr auto auto 1fr !important;
    grid-template-rows:auto 38px !important;
    align-content:center !important;
    align-items:center !important;
    column-gap:7px !important;
    row-gap:5px !important;
    padding:8px 18px 10px !important;
    box-sizing:border-box !important;
  }

  /* Ligne 1 : logo + nom + sous-titre, centrés. */
  .topbar .nav-inner > .brand{
    grid-column:1 / -1 !important;
    grid-row:1 !important;
    justify-self:center !important;
    width:auto !important;
    max-width:100% !important;
    margin:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
  }

  .topbar .nav-inner > .brand img{
    width:62px !important;
    height:62px !important;
    flex:0 0 62px !important;
  }

  .topbar .nav-inner > .brand-copy{
    align-items:center !important;
  }

  .topbar .nav-inner > .brand strong{
    font-size:31px !important;
  }

  .topbar .nav-inner > .brand-tagline{
    font-size:15px !important;
    white-space:nowrap !important;
  }

  /* Tablette : pas de navigation principale : le lien Accueil disparaît. */ .topbar .nav-inner > .nav{display:none !important;} /* Ligne 2 : connexions juste à droite d'Accueil. */
  .topbar .nav-inner > .auth-actions{
    grid-column:3 !important;
    grid-row:2 !important;
    justify-self:start !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex-wrap:nowrap !important;
    gap:7px !important;
    width:auto !important;
    margin:0 !important;
  }

  .topbar .nav-inner > .auth-actions .auth-link{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:30px !important;
    padding:5px 12px !important;
    border-radius:16px !important;
    font-size:12px !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }

  /* Aucun menu hamburger sur tablette. */
  .topbar .nav-inner > .mobile-menu{
    display:none !important;
    visibility:hidden !important;
    pointer-events:none !important;
  }

  .topbar .mobile-panel{
    display:none !important;
  }
}


/* =========================================================
   ESPACE THERAPEUTE — CONTEXTE ADMIN
   Masque le lien Portail uniquement lorsque le marqueur
   admin est présent sur la page.
   ========================================================= */
body.admin-context .nav-portail-admin-hide{
  display:none !important;
}

/* Admin : ne pas afficher le lien Portail dans l'espace thérapeute. */
html.admin-session .nav-portail-admin-hide{
  display:none !important;
}

/* Espace thérapeute ouvert depuis l'administration : Portail masqué. */
html.admin-session a.nav-portail-admin-hide,
body.admin-context a.nav-portail-admin-hide{
  display:none !important;
}

/* =========================================================
   V4 — TABLETTE : BANDEAU THERAPEUTE SANS CHEVAUCHEMENT
   ========================================================= */
@media (min-width:781px) and (max-width:1366px){
  .pro-join{
    overflow:hidden !important;
  }

  .pro-join .pro-join-inner{
    display:grid !important;
    grid-template-columns:minmax(0,44%) minmax(0,56%) !important;
    grid-template-rows:auto auto !important;
    column-gap:18px !important;
    row-gap:14px !important;
    align-items:center !important;
    box-sizing:border-box !important;
  }

  .pro-join .pro-join-left{
    grid-column:1 !important;
    grid-row:1 !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    box-sizing:border-box !important;
  }

  .pro-join .pro-join-title{
    min-width:0 !important;
    width:100% !important;
    max-width:100% !important;
  }

  .pro-join .pro-join-title .kicker{
    white-space:normal !important;
  }

  .pro-join .pro-join-title h2{
    width:100% !important;
    max-width:100% !important;
    margin:5px 0 0 !important;
    font-size:clamp(21px,2.15vw,29px) !important;
    line-height:1.12 !important;
    white-space:normal !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
  }

  .pro-join .pro-join-description{
    grid-column:2 !important;
    grid-row:1 !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    margin:0 !important;
    box-sizing:border-box !important;
    line-height:1.42 !important;
    overflow-wrap:break-word !important;
    word-break:normal !important;
  }

  .pro-join .pro-join-button{
    grid-column:1 / -1 !important;
    grid-row:2 !important;
    width:100% !important;
    margin:0 !important;
  }
}

/* Ajustements validés : titre plus compact + arguments de confiance plus lisibles */
.hero h1{font-size:48px;}
.usp{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;max-width:1100px;}
.usp-item{gap:14px;font-size:16px;line-height:1.25;}
.usp-icon{width:48px;height:48px;font-size:23px;}

