/*
Theme Name: Medicar — Harmonie
Template: kadence
Author: Medicar
Description: Améliorations réversibles de typographie, en-tête, pied de page et performance pour le site Medicar existant.
Version: 1.0.25
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: medicar-refine
*/
:root{--mc-blue:#176b9d;--mc-navy:#12364d;--mc-text:#435b6b;--mc-border:#dce7ed;--mc-soft:#f4f8fb;--mc-font:'Medicar Poppins',Arial,sans-serif}body{font-family:var(--mc-font);font-size:16px;line-height:1.75;color:var(--mc-text)}body .elementor h1,body .elementor h2,body .elementor h3,body .elementor h4,body .elementor p,body .elementor a,body .elementor span,body .elementor li,body .elementor label,body .elementor input,body .elementor textarea,body .elementor button,body .elementor .elementor-widget-text-editor{font-family:var(--mc-font)!important}body .elementor h1.elementor-heading-title{font-size:clamp(34px,4vw,52px)!important;line-height:1.18!important;letter-spacing:-1.2px!important;font-weight:600!important}body .elementor h2.elementor-heading-title{font-size:clamp(27px,3vw,34px)!important;line-height:1.3!important;letter-spacing:-.7px!important;font-weight:600!important}body .elementor h3.elementor-heading-title,body .elementor h3.elementor-icon-box-title{font-size:22px!important;line-height:1.4!important;letter-spacing:-.3px!important;font-weight:600!important}body .elementor h4.elementor-heading-title{font-size:18px!important;line-height:1.45!important;font-weight:600!important}body .elementor .elementor-widget-text-editor,body .elementor .elementor-widget-text-editor p,body .elementor p.elementor-icon-box-description,body .elementor .elementor-image-box-description,body .elementor .elementskit-box-body p{font-size:16px!important;line-height:1.8!important;font-weight:400!important}body .elementor p{margin-bottom:1em}body .elementor p:last-child{margin-bottom:0}body .elementor .elementor-button{font-size:15px!important;font-weight:500!important;line-height:1.5!important;letter-spacing:0!important;min-height:48px;padding:13px 25px!important;border-radius:7px!important}body .elementor .elementor-button-text{font-size:15px!important;font-weight:500!important}body .elementor .elementor-button-icon{display:flex;align-items:center}body .elementor .elementor-widget-spacer .elementor-spacer-inner{max-height:40px}body.home .elementor h1.elementor-heading-title{font-size:clamp(38px,4.6vw,58px)!important;line-height:1.12!important;font-weight:700!important}body.home .elementor .medicar-hero-subtitle{font-size:clamp(23px,2.6vw,32px)!important;line-height:1.45!important;letter-spacing:-.5px!important;font-weight:500!important;margin:0!important}body.home .elementor .elementor-element-790cede2{min-height:calc(100svh - 92px)!important}body.home .medica-card h2.medicar-specialty-title{font-family:var(--mc-font)!important;font-size:19px!important;line-height:1.5!important;font-weight:500!important;letter-spacing:-.2px!important;min-height:3em;display:flex;align-items:center;justify-content:center;padding:18px 14px!important;margin:0!important}body.home .medica-card{border-radius:10px!important;overflow:hidden;box-shadow:0 6px 24px #15394d10!important;border:1px solid #e2eaf0!important;background:white!important}body.home .medica-card img{aspect-ratio:3/2;object-fit:cover}body.home .medica-arrow{min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}body.home .medica-arrow svg{width:20px;height:20px}body .elementor .elementskit-info-box-title{font-size:22px!important;line-height:1.4!important;font-weight:600!important}body .elementor .wpforms-container input,body .elementor .wpforms-container textarea,body .elementor .wpforms-container select{font-family:var(--mc-font)!important;font-size:16px!important;line-height:1.5!important;border:1px solid #ccdbe4!important;border-radius:6px!important;min-height:48px}body .elementor .wpforms-container label{font-size:14px!important;font-weight:500!important;line-height:1.5!important;color:var(--mc-navy)!important}body .elementor .wpforms-submit{font-family:var(--mc-font)!important;font-size:15px!important;font-weight:500!important;border-radius:6px!important;background:var(--mc-blue)!important;min-height:48px;padding:13px 25px!important}.mc-header,.mc-footer,.mc-header *,.mc-footer *{font-family:var(--mc-font);box-sizing:border-box}.mc-header{position:sticky;top:0;z-index:999;background:#fffffff5;backdrop-filter:blur(12px);border-bottom:1px solid var(--mc-border)}.admin-bar .mc-header{top:32px}.mc-header-inner{height:92px;max-width:1280px;margin:auto;padding:0 32px;display:flex;align-items:center;gap:28px}.mc-brand{display:flex;align-items:center;margin-right:auto;flex-shrink:0}.mc-brand img{width:190px;height:64px;object-fit:contain;object-position:left center}.mc-nav{display:flex;align-items:center;gap:23px}.mc-nav a{color:#24465b;font-size:14px;font-weight:500;text-decoration:none;padding:12px 0;white-space:nowrap;border-bottom:2px solid transparent;transition:color .18s,border-color .18s}.mc-nav a:hover,.mc-nav a[aria-current="page"]{color:var(--mc-blue);border-bottom-color:var(--mc-blue)}.mc-contact-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:12px 19px;border-radius:6px;color:#fff!important;background:var(--mc-blue);font-size:13px;font-weight:500;white-space:nowrap;text-decoration:none!important}.mc-contact-button:hover{background:#115780}.mc-header svg,.mc-footer svg{flex-shrink:0;width:18px;height:18px}.mc-menu-toggle{display:none}.mc-menu-close-icon{display:none}.mc-footer{margin-top:0;background:#12364d;color:#d3e1e9;border-top:4px solid #2f82b3}.mc-footer-inner{max-width:1240px;margin:auto;padding:62px 32px 48px;display:grid;grid-template-columns:1.25fr .85fr .9fr 1.2fr;gap:42px}.mc-footer-logo{width:190px;height:65px;object-fit:contain;object-position:left center;margin-bottom:17px}.mc-footer p{font-size:14px;line-height:1.85;color:#c5d7e2;margin:0 0 14px;max-width:30em}.mc-footer h2{font-size:16px;line-height:1.5;font-weight:600;color:#fff;margin:4px 0 21px;letter-spacing:0}.mc-footer ul{list-style:none;margin:0;padding:0}.mc-footer li{font-size:13px;line-height:1.7;margin:0 0 12px}.mc-footer a{color:#d5e5ef;text-decoration:none;transition:color .18s}.mc-footer a:hover{color:white;text-decoration:underline}.mc-footer .mc-contact-line{display:flex;gap:10px;align-items:flex-start}.mc-footer .mc-contact-line svg{margin-top:3px;color:#7bbce1}.mc-footer-bottom{border-top:1px solid #ffffff24;max-width:1176px;margin:auto;padding:21px 0;display:flex;justify-content:space-between;gap:20px;font-size:12px;line-height:1.6;color:#afc7d7}.mc-footer-note{display:block;font-size:12px;color:#a7c2d3;margin-top:14px}.mc-header a:focus-visible,.mc-header button:focus-visible,.mc-footer a:focus-visible{outline:3px solid #60b3e2;outline-offset:4px}.medicar-anchor{scroll-margin-top:120px}.mc-nav .mc-mobile-contact{display:none}body .elementor .medicar-services-intro{max-width:70ch}@media(max-width:1100px){.mc-header-inner{gap:18px;padding:0 24px}.mc-brand img{width:160px}.mc-nav{gap:16px}.mc-nav a{font-size:13px}.mc-contact-button{padding:12px 15px;font-size:12px}.mc-footer-inner{gap:25px}}@media(max-width:950px){.mc-header-inner{height:80px;padding:0 24px}.mc-brand img{width:175px;height:58px}.mc-header-contact{display:none}.mc-menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:92px;min-height:44px;padding:10px 13px;color:var(--mc-navy);background:#f2f7fa;border:1px solid #cfdee8;border-radius:6px;font-size:13px}.mc-menu-toggle svg{width:21px;height:21px}.mc-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid #d7e4ed;box-shadow:0 14px 22px #163c5314;padding:16px 24px 24px;max-height:calc(100svh - 80px);overflow-y:auto;flex-direction:column;align-items:stretch;gap:0}.mc-nav.is-open{display:flex}.mc-nav a{font-size:16px;padding:14px 3px;border-bottom:1px solid #e4edf3}.mc-nav .mc-mobile-contact{display:flex;margin-top:15px;padding:13px 20px;font-size:14px}.mc-menu-toggle[aria-expanded="true"] .mc-menu-open-icon{display:none}.mc-menu-toggle[aria-expanded="true"] .mc-menu-close-icon{display:block}.mc-footer-inner{grid-template-columns:1fr 1fr;gap:35px;padding:45px 28px}.mc-footer-bottom{margin:0 28px;padding:20px 0}.admin-bar .mc-header{top:32px}body.home .elementor .elementor-element-790cede2{min-height:calc(100svh - 80px)!important}}@media(max-width:782px){.admin-bar .mc-header{top:46px}}@media(max-width:600px){.mc-header-inner{height:76px;padding:0 18px}.mc-brand img{width:160px;height:55px}.mc-nav{padding:12px 20px 22px}.mc-footer-inner{grid-template-columns:1fr;gap:28px;padding:40px 24px}.mc-footer h2{margin-bottom:15px}.mc-footer p{font-size:14px}.mc-footer-bottom{margin:0 24px;display:block;font-size:11px}.mc-footer-bottom span{display:block;margin-bottom:7px}body .elementor h1.elementor-heading-title{font-size:34px!important;line-height:1.22!important;letter-spacing:-.8px!important}body .elementor h2.elementor-heading-title{font-size:27px!important;line-height:1.35!important}body .elementor h3.elementor-heading-title,body .elementor h3.elementor-icon-box-title{font-size:21px!important}body .elementor .elementor-widget-text-editor,body .elementor .elementor-widget-text-editor p,body .elementor p.elementor-icon-box-description{font-size:16px!important;line-height:1.8!important}body.home .elementor h1.elementor-heading-title{font-size:39px!important}body.home .elementor .medicar-hero-subtitle{font-size:24px!important;line-height:1.45!important}body.home .medica-card h2.medicar-specialty-title{font-size:18px!important}body.home .elementor .elementor-element-790cede2{min-height:calc(100svh - 76px)!important}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.mc-header *{transition:none!important}}

/* En-tête commun et hiérarchie éditoriale — aperçu 1.0.1 */
.mc-header{background:#fff;box-shadow:0 4px 24px #12364d09;border-top:3px solid var(--mc-blue)}
.mc-header-inner{height:94px;max-width:1320px;gap:24px;padding:0 36px}
.mc-brand img{width:198px;height:66px}
.mc-nav{gap:6px}
.mc-nav a{position:relative;padding:11px 13px;border:0;border-radius:7px;font-size:13px;line-height:1.5;color:#29465a}
.mc-nav a:hover{background:#f2f7fb;color:#176b9d}
.mc-nav a[aria-current="page"]{background:#eaf4fa;color:#12618f}
.mc-nav a[aria-current="page"]:after{content:"";position:absolute;width:18px;height:2px;border-radius:2px;background:#176b9d;bottom:5px;left:calc(50% - 9px)}
.mc-header-contact{padding:14px 20px;border-radius:9px;box-shadow:0 5px 14px #176b9d1c;min-height:48px;font-size:13px}
body .elementor h1.elementor-heading-title{text-wrap:balance;max-width:24ch;font-size:clamp(34px,4.2vw,52px)!important;line-height:1.18!important;letter-spacing:-1px!important}
body .elementor h2.elementor-heading-title{text-wrap:balance;font-size:clamp(27px,3vw,34px)!important;line-height:1.28!important;letter-spacing:-.6px!important}
body .elementor h3.elementor-heading-title,body .elementor h3.elementor-icon-box-title,body .elementor .elementskit-info-box-title{text-wrap:balance;font-size:22px!important;line-height:1.4!important;letter-spacing:-.3px!important}
body .elementor .elementor-widget-heading{margin-bottom:20px}
body.home .elementor h1.elementor-heading-title{font-size:clamp(39px,4.6vw,58px)!important}
@media(min-width:951px) and (max-width:1150px){.mc-header-inner{padding:0 22px;gap:14px}.mc-brand img{width:165px}.mc-nav{gap:1px}.mc-nav a{padding:11px 9px;font-size:12px}.mc-header-contact{padding:13px 15px;font-size:12px}}
@media(max-width:950px){.mc-header-inner{height:80px;padding:0 24px}.mc-brand img{width:178px;height:58px}.mc-menu-toggle{border-radius:9px;background:#f0f6fa;border-color:#d9e6ef;font-weight:500;min-height:46px}.mc-nav{gap:5px;padding:16px 20px 22px;box-shadow:0 18px 28px #12364d14;border-radius:0 0 14px 14px}.mc-nav a{font-size:15px;padding:14px 16px;border-radius:7px}.mc-nav a[aria-current="page"]:after{display:none}.mc-nav .mc-mobile-contact{border-radius:8px;margin-top:10px;justify-content:space-between}.mc-nav .mc-mobile-contact:hover{background:#115780;color:#fff}}
@media(max-width:600px){.mc-header-inner{height:76px;padding:0 18px}.mc-brand img{width:158px;height:54px}.mc-menu-toggle{min-width:86px;padding:10px 12px}body .elementor h1.elementor-heading-title{font-size:34px!important;line-height:1.2!important;letter-spacing:-.7px!important}body .elementor h2.elementor-heading-title{font-size:27px!important;line-height:1.3!important}body .elementor h3.elementor-heading-title,body .elementor h3.elementor-icon-box-title,body .elementor .elementskit-info-box-title{font-size:21px!important}body .elementor .elementor-widget-heading{margin-bottom:16px}}

.mc-whatsapp{position:fixed;right:22px;bottom:max(22px,env(safe-area-inset-bottom));z-index:990;display:flex;align-items:center;justify-content:center;width:52px;height:52px;border:2px solid white;border-radius:50%;background:#168b55;color:white;box-shadow:0 5px 20px #12364d30;cursor:default}.mc-whatsapp svg{width:29px;height:29px}.mc-whatsapp-label{position:absolute;right:62px;white-space:nowrap;padding:7px 12px;border-radius:7px;background:#12364d;color:#fff;font:12px/1.5 var(--mc-font);opacity:0;pointer-events:none;transition:opacity .2s}.mc-whatsapp:hover .mc-whatsapp-label{opacity:1}@media(max-width:600px){.mc-whatsapp{width:48px;height:48px;right:16px;bottom:max(16px,env(safe-area-inset-bottom))}.mc-whatsapp svg{width:27px;height:27px}}
/* Bannière À propos : siège Medicar, titre aligné sur le contenu. */
body .elementor-8 .elementor-element.elementor-element-e711487{min-height:360px!important;--min-height:360px;justify-content:center!important;padding:65px 32px!important;background-image:linear-gradient(90deg,rgba(12,43,66,.88),rgba(16,52,78,.53) 54%,rgba(16,52,78,.12)),url('assets/876936683496.webp')!important;background-size:cover!important;background-position:center 48%!important;background-repeat:no-repeat!important;--overlay-opacity:0}
body .elementor-8 .elementor-element-e711487>.e-con-inner{width:100%;max-width:1100px;justify-content:center!important;align-items:flex-start!important;margin:auto;padding:0!important}
body .elementor-8 .elementor-element-00ec556{width:100%;text-align:left!important;margin:0!important}
body .elementor-8 .elementor-element-00ec556 h1.elementor-heading-title{color:#fff!important;margin:0!important;font-size:clamp(38px,4.5vw,56px)!important;line-height:1.15!important;max-width:18ch}
body .elementor-8 .elementor-element-e32cc52{margin-top:0!important;--margin-top:0px;border-radius:14px;overflow:hidden;box-shadow:0 8px 32px #12364d10!important}
body .elementor-8 .elementor-element-c205841{padding-top:56px!important;padding-bottom:30px!important}
@media(max-width:600px){body .elementor-8 .elementor-element.elementor-element-e711487{min-height:270px!important;--min-height:270px;padding:48px 24px!important;background-position:58% center!important}body .elementor-8 .elementor-element-00ec556 h1.elementor-heading-title{font-size:38px!important}body .elementor-8 .elementor-element-c205841{padding-top:30px!important}}

.mc-whatsapp svg{display:block;stroke:none;fill:currentColor;width:27px;height:27px}@media(max-width:600px){.mc-whatsapp svg{width:25px;height:25px}}

/* Bannières identiques sur les quatre pages intérieures. */
body .elementor .elementor-element.mc-page-banner{height:340px!important;min-height:340px!important;--min-height:340px;box-sizing:border-box;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;padding:48px max(32px,calc((100vw - 1100px)/2))!important;gap:0!important;background-size:cover!important;background-position:center!important;isolation:isolate}
body .elementor .elementor-element.mc-page-banner>.e-con-inner{width:100%!important;max-width:1100px!important;min-height:0!important;flex:0 0 auto!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;padding:0!important;margin:0 auto!important;gap:0!important}
body .elementor .mc-page-banner .elementor-widget-heading{width:100%!important;text-align:left!important;margin:0!important;padding:0!important}
body .elementor .mc-page-banner h1.elementor-heading-title{font-family:var(--mc-font)!important;font-size:48px!important;font-weight:600!important;line-height:1.16!important;letter-spacing:-1px!important;color:#fff!important;max-width:100%!important;text-align:left!important;margin:0!important;text-wrap:balance}
body .elementor .mc-page-banner .elementor-widget-spacer{display:none!important}
body .elementor .mc-page-banner .elementor-widget-text-editor{max-width:650px!important;margin:18px 0 0!important;text-align:left!important;color:#fff!important}
body .elementor .mc-page-banner .elementor-widget-text-editor p{color:#fff!important;font-size:16px!important;line-height:1.7!important}
@media(max-width:767px){body .elementor .elementor-element.mc-page-banner{height:260px!important;min-height:260px!important;--min-height:260px;padding:36px 24px!important}body .elementor .mc-page-banner h1.elementor-heading-title{font-size:34px!important;line-height:1.2!important;letter-spacing:-.6px!important}body .elementor .mc-page-banner .elementor-widget-text-editor{margin-top:14px!important}body .elementor .mc-page-banner .elementor-widget-text-editor p{font-size:14px!important;line-height:1.6!important}}
/* Direction visuelle immersive — ensemble du site. */
:root{--mc-blue:#147bb0;--mc-navy:#0b2d43;--mc-text:#465f70;--mc-soft:#f3f7fa}
.mc-header{border-top:0;border-bottom:1px solid #e3ecf1;background:#fff;box-shadow:none}
.mc-header-inner{height:90px;max-width:1440px;padding:0 4.5vw}
.mc-brand img{width:190px;height:62px}
.mc-nav{gap:12px}.mc-nav a{font-size:14px;padding:12px 15px;border-radius:30px}.mc-nav a[aria-current="page"]:after{display:none}.mc-nav a[aria-current="page"]{background:#e8f3f9}
body .elementor .elementor-element.mc-page-banner,body.home .elementor .elementor-element-790cede2{height:calc(100svh - 90px)!important;min-height:620px!important;--min-height:620px;position:relative;isolation:isolate;justify-content:flex-end!important;align-items:stretch!important;padding:80px max(6vw,calc((100vw - 1240px)/2)) 110px!important;overflow:hidden;background-size:cover!important;background-position:center!important}
body .elementor .mc-page-banner:before{content:""!important;position:absolute!important;inset:0!important;background:linear-gradient(180deg,rgba(5,25,40,.12) 0%,rgba(5,25,40,.25) 35%,rgba(5,25,40,.88) 100%)!important;opacity:1!important;z-index:0!important;pointer-events:none}
body .elementor .mc-page-banner>.e-con-inner,body.home .elementor .elementor-element-790cede2>.e-con-inner{position:relative;z-index:2;width:100%!important;max-width:1240px!important;flex:0 0 auto!important;justify-content:flex-end!important;align-items:flex-start!important;margin:0!important;padding:0!important;gap:0!important}
body .elementor .mc-page-banner .elementor-widget-heading{position:relative;z-index:2;width:100%!important;margin:0!important;text-align:left!important}
body .elementor .mc-page-banner .elementor-widget-heading:before{content:"MEDICAR / DEPUIS 1986";display:block;margin-bottom:24px;color:#b9dced;font:500 12px/1.5 var(--mc-font);letter-spacing:3px;text-align:left}
body .elementor .mc-page-banner h1.elementor-heading-title,body .elementor-8 .elementor-element-00ec556 h1.elementor-heading-title{font-size:clamp(56px,7vw,96px)!important;line-height:1.04!important;font-weight:500!important;letter-spacing:-3px!important;max-width:16ch!important;color:#fff!important;text-align:left!important;text-wrap:balance;margin:0!important}
body .elementor .mc-page-banner:after{content:"DÉCOUVRIR LA SUITE  ↓";position:absolute;left:max(6vw,calc((100vw - 1240px)/2));bottom:35px;z-index:3;color:#d7e9f1;font:500 10px/1.5 var(--mc-font);letter-spacing:2.5px;border-top:1px solid #ffffff40;width:calc(100% - 12vw);padding-top:19px;pointer-events:none}
body .elementor .mc-page-banner .elementor-widget-text-editor{position:relative;z-index:2;max-width:590px!important;margin-top:24px!important}
body .elementor .mc-page-banner .elementor-widget-text-editor p{font-size:18px!important;color:#e2edf3!important;line-height:1.75!important}
body .elementor-8 .elementor-element.elementor-element-e711487{background-image:url('assets/876936683496.webp')!important;background-position:center 45%!important}
body.home .elementor .elementor-element-790cede2:before{background:linear-gradient(180deg,#071c2c22,#071c2c44 35%,#071c2ce8)!important;opacity:1!important}
body.home .elementor h1.elementor-heading-title{font-size:clamp(56px,7vw,96px)!important;line-height:1.04!important;letter-spacing:-3px!important;font-weight:500!important;text-align:left!important}
body.home .elementor .medicar-hero-subtitle{font-size:clamp(24px,2.8vw,36px)!important;line-height:1.35!important;max-width:25ch;letter-spacing:-.7px!important;text-align:left!important}
body.home .elementor .elementor-element-790cede2 .elementor-widget-heading{text-align:left!important;margin-bottom:24px!important}
body .elementor h2.elementor-heading-title{font-size:clamp(30px,3.5vw,46px)!important;line-height:1.18!important;letter-spacing:-1.2px!important;font-weight:500!important}
body .elementor h3.elementor-heading-title,body .elementor h3.elementor-icon-box-title,body .elementor .elementskit-info-box-title{font-weight:500!important;letter-spacing:-.5px!important}
body .elementor .elementor-widget-text-editor p{line-height:1.9!important}
body .elementor .elementor-button{border-radius:40px!important;padding:16px 28px!important;min-height:54px;font-weight:500!important;box-shadow:none!important}
body .elementor .elementskit-infobox{border-radius:18px!important;box-shadow:0 10px 35px #0b2d430a!important;overflow:hidden}
body.home .medica-card{border-radius:18px!important;box-shadow:0 8px 28px #12364d09!important;transition:transform .2s ease,box-shadow .2s ease}
body.home .medica-card:hover{transform:translateY(-5px);box-shadow:0 16px 35px #12364d18!important}
body.home .medica-card h2.medicar-specialty-title{font-size:20px!important;line-height:1.45!important;font-weight:500!important;letter-spacing:-.3px!important;padding:24px 18px!important}
.mc-footer{background:#0b2538;border-top:0}.mc-footer-inner{padding-top:80px;padding-bottom:64px;max-width:1320px;gap:48px}.mc-footer h2{font-size:14px;letter-spacing:.3px}.mc-footer li{font-size:13px}.mc-footer-bottom{max-width:1176px;padding-top:25px;padding-bottom:25px}.mc-footer-logo{margin-bottom:25px}
body .elementor .wpforms-container input,body .elementor .wpforms-container textarea{border-radius:10px!important;background:#f6f9fb!important}body .elementor .wpforms-submit{border-radius:30px!important;padding:16px 28px!important}
@media(max-width:950px){.mc-header-inner{height:80px;padding:0 24px}.mc-nav{gap:5px}.mc-nav a{font-size:15px;border-radius:9px}.mc-nav{padding:18px 20px}.mc-menu-toggle{border-radius:30px;background:#edf5fa;color:#0b2d43}.mc-footer-inner{gap:35px}}
@media(max-width:767px){body .elementor .elementor-element.mc-page-banner,body.home .elementor .elementor-element-790cede2{height:calc(100svh - 76px)!important;min-height:540px!important;--min-height:540px;padding:60px 24px 100px!important}body .elementor .mc-page-banner h1.elementor-heading-title,body .elementor-8 .elementor-element-00ec556 h1.elementor-heading-title,body.home .elementor h1.elementor-heading-title{font-size:clamp(42px,10vw,64px)!important;line-height:1.08!important;letter-spacing:-1.7px!important;text-align:left!important}body .elementor .mc-page-banner .elementor-widget-heading:before{font-size:10px;letter-spacing:2px;margin-bottom:20px}body .elementor .mc-page-banner:after{left:24px;width:calc(100% - 48px);font-size:9px;bottom:26px}body .elementor .mc-page-banner .elementor-widget-text-editor p{font-size:16px!important}body.home .elementor .medicar-hero-subtitle{font-size:25px!important;text-align:left!important}body .elementor h2.elementor-heading-title{font-size:30px!important;line-height:1.25!important;letter-spacing:-.7px!important}.mc-footer-inner{padding:56px 24px 40px}.mc-header-inner{height:76px;padding:0 18px}.mc-brand img{width:158px;height:54px}}
@media(prefers-reduced-motion:reduce){body.home .medica-card{transition:none}body.home .medica-card:hover{transform:none}}
body .elementor-13 .elementor-element.mc-page-banner{background-image:url('https://www.medica.medicarsafety.ma/wp-content/uploads/2026/04/Technicien-biomedical-en-action.jpg')!important;background-position:center 35%!important}
body .elementor-10 .elementor-element.mc-page-banner{background-image:url('assets/75b75453e6c3.webp')!important}
body .elementor-17 .elementor-element.mc-page-banner{background-image:url('https://www.medica.medicarsafety.ma/wp-content/uploads/2026/10/banniere_contact_medicar.jpg')!important}
/* Animation progressive : transform et opacité uniquement. */
.mc-motion .mc-reveal{opacity:0;transform:translateY(22px);transition:opacity .65s ease,transform .65s cubic-bezier(.2,.65,.3,1)}
.mc-motion .mc-reveal.mc-visible{opacity:1;transform:none}
.mc-motion .mc-hero-enter .elementor-widget-heading{animation:mc-title-enter .85s cubic-bezier(.2,.65,.3,1) both}
.mc-motion .mc-hero-enter .elementor-widget-text-editor,.mc-motion .mc-hero-enter .elementor-widget-button{animation:mc-title-enter .85s .14s cubic-bezier(.2,.65,.3,1) both}
@keyframes mc-title-enter{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
.mc-nav a{transition:background-color .2s ease,color .2s ease}
body .elementor .elementor-button{transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease!important}
body .elementor .elementor-button:hover{transform:translateY(-2px);box-shadow:0 8px 20px #0b2d431a!important}
@media(hover:hover){body .elementor .elementor-widget-image{overflow:hidden;border-radius:12px}body .elementor .elementor-widget-image img{transition:transform .7s cubic-bezier(.2,.65,.3,1)}body .elementor .elementor-widget-image:hover img{transform:scale(1.025)}body .elementor .elementskit-infobox{transition:transform .25s ease,box-shadow .25s ease}body .elementor .elementskit-infobox:hover{transform:translateY(-4px);box-shadow:0 15px 35px #0b2d4314!important}}
@media(prefers-reduced-motion:reduce){.mc-motion .mc-reveal{opacity:1!important;transform:none!important;transition:none!important}.mc-motion .mc-hero-enter *{animation:none!important}body .elementor .elementor-button,body .elementor .elementor-widget-image img,body .elementor .elementskit-infobox{transition:none!important}body .elementor .elementor-button:hover,body .elementor .elementor-widget-image:hover img,body .elementor .elementskit-infobox:hover{transform:none!important}}
/* Bloc mission, vision, valeurs : typographie plus discrète. */
body .elementor-8 .elementor-element-e5168a9 h3.elementor-icon-box-title,body .elementor-8 .elementor-element-e5168a9 h3.elementor-heading-title{font-size:20px!important;line-height:1.35!important}
body .elementor-8 .elementor-element-e5168a9 p.elementor-icon-box-description,body .elementor-8 .elementor-element-e5168a9 .elementor-widget-text-editor,body .elementor-8 .elementor-element-e5168a9 .elementor-widget-text-editor p{font-size:14px!important;line-height:1.75!important;max-width:34ch;margin-left:auto;margin-right:auto}
@media(max-width:767px){body .elementor-8 .elementor-element-e5168a9 h3.elementor-icon-box-title,body .elementor-8 .elementor-element-e5168a9 h3.elementor-heading-title{font-size:19px!important}}

body .elementor-8 .mc-quote-banner{min-height:360px!important;display:flex;align-items:center;justify-content:center;padding:60px 28px!important;position:relative;background-image:linear-gradient(#0b2d4399,#0b2d43b3),url('assets/75b75453e6c3.webp')!important;background-size:cover!important;background-position:center!important;isolation:isolate}
body .elementor-8 .mc-quote-banner:before{opacity:0!important}
body .elementor-8 .mc-quote-banner .mc-brand-quote{position:relative;z-index:2;color:#fff;font-family:var(--mc-font);font-size:clamp(26px,3.5vw,44px);font-weight:500;line-height:1.4;text-align:center;max-width:780px;margin:0 auto;padding:0;border:0;letter-spacing:-.7px}
@media(max-width:600px){body .elementor-8 .mc-quote-banner{min-height:280px!important;padding:45px 24px!important}}

/* Photo fournie : stand Medicar dans Notre histoire. */
body .elementor-8 .elementor-element.elementor-element-c8c7747{background-image:url('assets/stand-medicar.png')!important;background-size:cover!important;background-position:center center!important;background-repeat:no-repeat!important;min-height:480px!important}
@media(max-width:767px){body .elementor-8 .elementor-element.elementor-element-c8c7747{min-height:0!important;aspect-ratio:4/3;background-size:cover!important}}
/* Mise en page mobile : chaque spécialité garde sa photo et son texte. */
@media(max-width:767px){
html,body{max-width:100%;overflow-x:clip}
.mc-header-inner{height:70px;padding:0 20px;gap:16px}.mc-brand img{width:150px;height:48px}.mc-menu-toggle{min-width:80px;min-height:42px;padding:9px 12px;font-size:12px}.mc-nav{max-height:calc(100svh - 70px)}
body .elementor .elementor-element.mc-page-banner,body.home .elementor .elementor-element-790cede2{height:calc(100svh - 70px)!important;min-height:480px!important;padding:48px 24px 88px!important}
body .elementor h2.elementor-heading-title{font-size:27px!important;line-height:1.25!important;letter-spacing:-.6px!important}
body .elementor h3.elementor-heading-title,body .elementor h3.elementor-icon-box-title{font-size:21px!important;line-height:1.35!important}
body .elementor .elementor-widget-text-editor,body .elementor .elementor-widget-text-editor p{font-size:15px!important;line-height:1.75!important}
body .elementor .elementor-widget-heading{margin-bottom:16px!important}
body .elementor .elementor-widget-text-editor{margin-bottom:0!important}
body .elementor-10 :is(.elementor-element-2bf81d4,.elementor-element-f3595f8,.elementor-element-3d1cb79,.elementor-element-dd1a357,.elementor-element-19da489){display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;margin:0!important;padding:0!important;min-height:0!important;--min-height:0px;width:100%!important;overflow:hidden}
body .elementor-10 :is(.elementor-element-48a9bf7,.elementor-element-b0aaa5e,.elementor-element-8173547,.elementor-element-24f65e8,.elementor-element-8af8fc0){order:0!important;width:100%!important;flex:none!important;height:auto!important;min-height:0!important;--min-height:0px;aspect-ratio:4/3;margin:0!important;padding:0!important;background-size:cover!important;background-position:center!important}
body .elementor-10 :is(.elementor-element-7c5b030,.elementor-element-f9156e5,.elementor-element-8f12c5f,.elementor-element-ae1252f,.elementor-element-2a0d8f8){order:1!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:0!important;flex:none!important;width:100%!important;max-width:100%!important;min-height:0!important;--min-height:0px;margin:0!important;padding:28px 24px 36px!important}
body .elementor-10 .elementor-widget-heading .elementor-widget-container,body .elementor-10 .elementor-widget-text-editor .elementor-widget-container{margin:0!important;padding:0!important}
body .elementor-10 :is(.elementor-element-f3595f8,.elementor-element-dd1a357){background:#f3f7fa}
body .elementor-8 .elementor-element-e32cc52{flex-direction:column!important;gap:0!important;width:100%!important;min-height:0!important;margin:0!important}
body .elementor-8 .elementor-element-c8c7747{width:100%!important;flex:none!important;min-height:0!important;aspect-ratio:4/3}
body .elementor-8 .elementor-element-85ad209{width:100%!important;flex:none!important;padding:26px 24px!important;gap:0!important}
body .elementor-8 .elementor-element-81c57b9{grid-template-columns:1fr!important;gap:30px!important;padding:30px 24px!important}
body .elementor .elementor-widget-spacer .elementor-spacer-inner{max-height:24px!important}
body .elementor .wpforms-container{max-width:100%!important}.mc-footer-inner{padding:42px 24px 30px;gap:26px}.mc-footer-bottom{font-size:11px}
}

.mc-contact-services{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:0 0 40px;padding:0;text-align:left}
.mc-contact-service{padding:30px;border:1px solid #dce7ee;border-radius:16px;background:#f5f9fc;min-width:0}
.mc-service-number{display:block;font-size:10px;font-weight:600;line-height:1.5;letter-spacing:2px;color:#147bb0;margin-bottom:18px}
body .elementor .mc-contact-service h3{font-family:var(--mc-font);font-size:22px;line-height:1.3;font-weight:500;letter-spacing:-.5px;margin:0 0 14px;color:#0b2d43}
body .elementor .mc-contact-service p{font-size:14px;line-height:1.75;margin:0 0 22px;color:#465f70}
.mc-service-pending{font-size:12px;line-height:1.5;color:#607684;display:block;border-top:1px solid #dce7ee;padding-top:16px}
@media(max-width:767px){.mc-contact-services{grid-template-columns:1fr;gap:16px;margin-bottom:28px}.mc-contact-service{padding:24px}body .elementor .mc-contact-service h3{font-size:21px}}
/* Alignement des trois cartes Services. */
body .elementor-13 .elementor-element-5e63693>.elementor-container{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch!important;gap:22px}
body .elementor-13 .elementor-element-5e63693>.elementor-container>.elementor-column{width:auto!important;min-width:0;display:flex!important}
body .elementor-13 .elementor-element-5e63693>.elementor-container>.elementor-column>.elementor-widget-wrap{display:flex!important;align-content:stretch!important;padding:0!important}
body .elementor-13 .elementor-element-5e63693 .elementor-inner-section{display:flex!important;flex:1 1 auto;height:100%!important;margin:0!important;padding:34px 22px!important}
body .elementor-13 .elementor-element-5e63693 .elementor-inner-section>.elementor-container{width:100%;flex:1}
body .elementor-13 .elementor-element-5e63693 .elementor-inner-column>.elementor-widget-wrap{padding:0!important;align-content:flex-start!important}
body .elementor-13 .elementor-element-5e63693 .elementor-widget-icon-box{width:100%;margin:0!important}
body .elementor-13 .elementor-element-5e63693 .elementor-icon-box-icon{height:64px;display:flex;align-items:center;justify-content:center;margin:0 0 22px!important}
body .elementor-13 .elementor-element-5e63693 h3.elementor-icon-box-title{font-size:21px!important;line-height:1.35!important;min-height:2.7em;display:flex;align-items:center;justify-content:center;margin:0 0 16px!important}
body .elementor-13 .elementor-element-5e63693 p.elementor-icon-box-description{font-size:15px!important;line-height:1.75!important;margin:0!important}
@media(max-width:767px){body .elementor-13 .elementor-element-5e63693>.elementor-container{grid-template-columns:1fr;gap:18px;padding:0 24px}body .elementor-13 .elementor-element-5e63693 h3.elementor-icon-box-title{min-height:0;font-size:21px!important}body .elementor-13 .elementor-element-5e63693 .elementor-inner-section{padding:30px 24px!important}}
/* Cartes Services compactes : environ 40 % de hauteur en moins. */
@media(min-width:768px){
body .elementor-13 .elementor-element-5e63693 .elementor-inner-section{padding:22px 22px!important;min-height:238px!important;box-sizing:border-box}
body .elementor-13 .elementor-element-5e63693 .elementor-icon-box-icon{height:36px;margin-bottom:12px!important}
body .elementor-13 .elementor-element-5e63693 .elementor-icon{font-size:32px!important}
body .elementor-13 .elementor-element-5e63693 .elementor-icon svg{width:32px;height:32px}
body .elementor-13 .elementor-element-5e63693 h3.elementor-icon-box-title{font-size:19px!important;line-height:1.3!important;min-height:2.6em;margin-bottom:9px!important}
body .elementor-13 .elementor-element-5e63693 p.elementor-icon-box-description{font-size:14px!important;line-height:1.6!important}
}
@media(max-width:767px){body .elementor-13 .elementor-element-5e63693 .elementor-inner-section{padding:24px!important}body .elementor-13 .elementor-element-5e63693 .elementor-icon-box-icon{height:38px;margin-bottom:14px!important}body .elementor-13 .elementor-element-5e63693 .elementor-icon{font-size:34px!important}}
@media(min-width:768px){body .elementor-13 .elementor-element-5e63693 .elementor-widget-icon-box>.elementor-widget-container{padding:0!important;margin:0!important}body .elementor-13 .elementor-element-5e63693 .elementor-icon-box-wrapper{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;padding:0!important}body .elementor-13 .elementor-element-5e63693 .elementor-icon-box-content{margin:0!important;padding:0!important}}
/* Icônes des cartes Services : agrandissement de 40 %. */
body .elementor-13 .elementor-element-5e63693 .elementor-icon{font-size:44.8px!important}
body .elementor-13 .elementor-element-5e63693 .elementor-icon svg{width:44.8px;height:44.8px}
body .elementor-13 .elementor-element-5e63693 .elementor-icon-box-icon{height:44.8px!important}
@media(max-width:767px){body .elementor-13 .elementor-element-5e63693 .elementor-icon{font-size:47.6px!important}body .elementor-13 .elementor-element-5e63693 .elementor-icon svg{width:47.6px;height:47.6px}body .elementor-13 .elementor-element-5e63693 .elementor-icon-box-icon{height:47.6px!important}}
/* Proposition retenue : cartes claires, icônes encadrées, sans dépliage. */
body .elementor-13 .elementor-element-5e63693 .elementor-inner-section{background:#fff!important;border:1px solid #dce8f0!important;border-radius:16px!important;box-shadow:0 5px 20px #0b2d4306;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
body .elementor-13 .elementor-element-5e63693 .elementor-inner-section:before{background:none!important}
body .elementor-13 .elementor-element-5e63693 .elementor-icon-box-icon{height:72px!important;display:flex;align-items:center;justify-content:center;margin-bottom:16px!important}
body .elementor-13 .elementor-element-5e63693 .elementor-icon{display:flex!important;align-items:center;justify-content:center;width:72px!important;height:72px!important;box-sizing:border-box;background:#eaf4fa!important;border-radius:18px!important;color:#147bb0!important;font-size:50px!important;line-height:1!important}
body .elementor-13 .elementor-element-5e63693 .elementor-icon svg{width:50px!important;height:50px!important;fill:currentColor}
body .elementor-13 .elementor-element-5e63693 .elementor-icon i{color:#147bb0!important}
body .elementor-13 .elementor-element-5e63693 h3.elementor-icon-box-title,body .elementor-13 .elementor-element-5e63693 h3.elementor-icon-box-title a{color:#0b2d43!important}
body .elementor-13 .elementor-element-5e63693 p.elementor-icon-box-description{color:#4d6575!important}
@media(hover:hover){body .elementor-13 .elementor-element-5e63693 .elementor-inner-section:hover{transform:translateY(-4px);border-color:#147bb0!important;box-shadow:0 12px 28px #147bb018}}
@media(prefers-reduced-motion:reduce){body .elementor-13 .elementor-element-5e63693 .elementor-inner-section{transition:none!important;transform:none!important}}

body .elementor-13 .elementor-element-5e63693 .elementor-icon svg{fill:none!important;stroke:currentColor!important}

.mc-innovation{padding:90px 32px;background:#fff}.mc-innovation-inner{max-width:1240px;margin:auto;display:grid;grid-template-columns:1.1fr 1fr;gap:64px;align-items:center}.mc-innovation-media{position:relative;border-radius:20px;overflow:hidden;min-width:0}.mc-innovation-media img{display:block;width:100%;height:460px;object-fit:cover}.mc-innovation-caption{position:absolute;bottom:0;left:0;right:0;padding:40px 24px 22px;background:linear-gradient(transparent,#0b2d43b3);color:#fff;font-size:9px;font-weight:500;letter-spacing:1.5px}.mc-innovation-label{display:block;color:#147bb0;font-size:11px;letter-spacing:2px;font-weight:600;margin-bottom:24px}body .elementor .mc-innovation-copy h2{font-family:var(--mc-font);font-size:clamp(32px,3.5vw,46px);font-weight:500;line-height:1.15;letter-spacing:-1.4px;color:#0b2d43;margin:0 0 26px;max-width:17ch;text-wrap:balance}body .elementor .mc-innovation-copy p{font-size:16px;line-height:1.85;color:#4d6575;margin:0 0 30px;max-width:45ch}.mc-innovation-link{display:inline-flex;align-items:center;gap:30px;padding:14px 0;color:#147bb0;text-decoration:none;border-bottom:1px solid #147bb0;font-size:14px;font-weight:500}.mc-innovation-link span{font-size:24px;transition:transform .2s}.mc-innovation-link:hover span{transform:translate(3px,-3px)}.mc-innovation-link:focus-visible{outline:3px solid #80cff5;outline-offset:5px}@media(max-width:767px){.mc-innovation{padding:48px 24px}.mc-innovation-inner{grid-template-columns:1fr;gap:30px}.mc-innovation-media img{height:280px}.mc-innovation-label{margin-bottom:18px}body .elementor .mc-innovation-copy h2{font-size:32px;letter-spacing:-.8px}body .elementor .mc-innovation-copy p{font-size:15px}}@media(prefers-reduced-motion:reduce){.mc-innovation-link span{transition:none}.mc-innovation-link:hover span{transform:none}}

.mc-map-directions{display:inline-flex;padding:14px 0;color:#147bb0;font-size:14px;font-weight:500;text-decoration:none}.mc-map-directions:hover{text-decoration:underline}.mc-map-directions:focus-visible{outline:3px solid #80cff5;outline-offset:4px}
