/*
Theme Name: Mermaide Vitrine
Author: Mermaide
Description: Site vitrine Mermaide avec pages Elementor gratuites, vidéo locale et navigation transparente au scroll.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: mermaide-vitrine
License: GPL-2.0-or-later
*/
:root{--mm-red:#f30303;--mm-yellow:#c0a613;--mm-bright:#f3d549;--mm-purple:#6050dc;--mm-ink:#18232b;--mm-paper:#faf6e9;--mm-white:#fff;--mm-font:'Hind Guntur',Arial,sans-serif;--mm-title:'Dela Gothic One',sans-serif;--mm-sub:'Raleway',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:120px}body.mermaide-site{margin:0;color:var(--mm-ink);background:#fff;font:18px/1.6 var(--mm-font)}.mermaide-site h1,.mermaide-site h2,.mermaide-site h3{color:inherit;font-family:var(--mm-title);font-weight:400;letter-spacing:-.04em;line-height:1.2;margin:0 0 20px}.mermaide-site h1{font-size:clamp(38px,5.3vw,76px)}.mermaide-site h2{font-size:clamp(29px,3.5vw,46px)}.mermaide-site h3{font-size:24px}.mermaide-site p{margin:0 0 18px}.mermaide-site a{color:inherit;text-underline-offset:4px}.mermaide-site img{max-width:100%;height:auto;display:block}.mermaide-site button{font:700 14px var(--mm-sub);cursor:pointer}.mermaide-site a:focus-visible,.mermaide-site button:focus-visible{outline:3px solid var(--mm-purple);outline-offset:5px}.mermaide-site .elementor-widget{margin:0;--kit-widget-spacing:0px;max-width:100%}.mermaide-site .elementor-widget-heading .elementor-heading-title{color:inherit;font-family:var(--mm-title);font-weight:400;line-height:1.2}.mermaide-site .elementor-widget-text-editor{color:inherit;font-family:var(--mm-font)}.mermaide-site .e-con{--container-default-padding-top:0;--container-default-padding-right:0;--container-default-padding-bottom:0;--container-default-padding-left:0;--gap:0;--widgets-spacing:0px;padding:0;gap:0}.mermaide-site .e-con:before{display:none}.mm-skip{position:fixed;top:-100px;left:16px;z-index:99999;background:white;padding:12px}.mm-skip:focus{top:12px}.mm-header{position:fixed;top:0;width:100%;z-index:1000;transition:background .2s,box-shadow .2s;color:white;background:transparent}.admin-bar .mm-header{top:32px}.mm-header-inner{height:100px;max-width:1240px;padding:0 32px;display:flex;align-items:center;justify-content:space-between;margin:auto}.mm-logo{align-self:flex-start;position:relative;margin-top:16px;flex-shrink:0}.mm-logo img{height:112px;width:112px;object-fit:contain;border-radius:50%;background:white;border:4px solid white;box-shadow:0 4px 12px #0002;transition:height .2s,width .2s}.mm-header.is-scrolled,.mm-header.menu-open{background:#fff;color:var(--mm-ink);box-shadow:0 1px 0 #18232b12}.mm-header.is-scrolled .mm-header-inner{height:84px}.mm-header.is-scrolled .mm-logo{margin-top:8px}.mm-header.is-scrolled .mm-logo img{height:98px;width:98px}#mm-nav{display:flex;align-items:center;gap:30px}.mm-nav-list{display:flex;align-items:center;gap:28px;padding:0;margin:0;list-style:none}.mm-nav-list a{text-decoration:none;display:block;font:800 13px/1.4 var(--mm-sub);text-transform:uppercase}.mm-nav-list small{font-weight:600;text-transform:none;display:block;font-size:12px;margin-bottom:4px;opacity:.85}.mm-nav-list a:hover{color:var(--mm-bright)}.is-scrolled .mm-nav-list a:hover{color:#c50000}.mm-nav-cta{font:800 13px var(--mm-sub);color:white!important;background:var(--mm-red);padding:16px 20px;border-radius:0 17px 0 17px;text-decoration:none;box-shadow:3px 3px 0 #a00202}.mm-menu-toggle{display:none}.mermaide-site .mm-section{padding:90px 28px;display:block;width:100%}.mermaide-site .mm-wrap{width:100%;max-width:1160px;margin:auto;display:flex;flex-direction:column;align-items:stretch;gap:0}.mermaide-site .mm-kicker{font:800 12px/1.6 var(--mm-sub);letter-spacing:.12em;margin-bottom:22px;text-transform:uppercase}.mermaide-site .mm-kicker p{margin:0}.mermaide-site .mm-lead{font-size:21px;line-height:1.5;max-width:730px}.mermaide-site .mm-small{font-size:14px;line-height:1.6}.mermaide-site .mm-hero{position:relative;isolation:isolate;min-height:820px;height:100svh;max-height:1120px;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;color:white;text-align:center;padding:160px 24px 120px;background:#1c424c url('assets/hero.webp') center/cover no-repeat}.mm-hero>.elementor-widget-shortcode{position:absolute;inset:0;z-index:-1}.mm-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#12252d88 0%,#102d3c55 30%,#092a36dd 100%);z-index:-1;pointer-events:none}.mm-video-back{position:absolute;inset:0;overflow:hidden}.mm-video-back video{width:100%;height:100%;object-fit:cover}.mm-video-toggle{position:absolute;right:32px;bottom:28px;z-index:5;background:#102b38cc;border:1px solid #ffffff80;border-radius:20px;color:#fff;padding:10px 16px;pointer-events:auto}.mermaide-site .mm-hero-content{max-width:1120px;align-items:center;display:flex;flex-direction:column;gap:0}.mm-hero h1{font-size:clamp(42px,5.5vw,78px);letter-spacing:-.05em;line-height:1.18}.mm-hero h1 span{color:var(--mm-bright);text-shadow:4px 5px 0 #d82328}.mm-hero .mm-lead{margin:16px auto 20px}.mermaide-site .mm-scroll{position:absolute;bottom:30px;left:32px;font:700 10px var(--mm-sub);letter-spacing:.14em}.mermaide-site .mm-buttons{display:flex;flex-direction:row;flex-wrap:wrap;gap:15px;justify-content:flex-start;margin-top:12px}.mm-hero .mm-buttons{justify-content:center}.mermaide-site .elementor-button{display:inline-block;border:0;color:var(--mm-ink);background:var(--mm-bright);font:800 14px/1.4 var(--mm-sub);padding:18px 24px;border-radius:0 20px 0 20px;text-decoration:none;box-shadow:4px 4px 0 #ac8d17;transition:transform .15s,box-shadow .15s}.mermaide-site .elementor-button:hover{transform:translateY(-3px);box-shadow:4px 7px 0 #ac8d17}.mermaide-site .mm-dark .elementor-button{background:var(--mm-ink);color:white;box-shadow:4px 4px 0 #0003}.mermaide-site .mm-outline .elementor-button{background:transparent;border:1px solid #fff9;color:white;box-shadow:none}.mermaide-site .mm-link .elementor-button{padding:4px 0;color:var(--mm-ink);background:transparent;box-shadow:none;text-decoration:underline;text-decoration-thickness:1px;border-radius:0}.mermaide-site .mm-grid{display:grid;gap:26px;align-items:stretch;width:100%}.mermaide-site .mm-three{grid-template-columns:repeat(3,minmax(0,1fr))}.mermaide-site .mm-two{grid-template-columns:repeat(2,minmax(0,1fr));gap:60px;align-items:center}.mermaide-site .mm-four{grid-template-columns:repeat(4,minmax(0,1fr))}.mermaide-site .mm-family{overflow:hidden;border-radius:0 36px 0 36px;background:var(--mm-paper);border:1px solid #18232b15;display:flex;flex-direction:column}.mm-family .mm-photo img{width:100%;height:230px;object-fit:cover}.mermaide-site .mm-card-content{padding:30px;display:flex;flex-direction:column;flex:1}.mm-card-content h3{font-size:25px}.mm-card-content .mm-link{margin-top:auto}.mm-card-content .mm-kicker{font-size:10px;letter-spacing:.09em}.mm-family.mm-operationnelle{background:#fff0ed}.mm-family.mm-aquatique{background:#eeebff}.mm-family .mm-photo{width:100%}.mermaide-site .mm-section .mm-grid{margin-top:22px}.mermaide-site .mm-yellow{background:var(--mm-bright)}.mermaide-site .mm-paper{background:var(--mm-paper)}.mermaide-site .mm-purple{background:var(--mm-purple);color:white}.mm-photo img{width:100%;object-fit:cover;border-radius:0 30px 0 30px}.mm-family .mm-photo img{border-radius:0}.mm-two>.mm-photo img{min-height:340px;max-height:520px;aspect-ratio:1.15}.mermaide-site .mm-split-copy{display:flex;flex-direction:column;padding:12px 0}.mm-partners{padding:20px 0}.mm-partners h3{font-family:var(--mm-sub)!important;font-weight:800!important;font-size:24px;text-align:center}.mm-partners .elementor-widget{border-left:1px solid #18232b30;padding:20px}.mm-partners .elementor-widget:first-child{border-left:0}.mermaide-site .mm-cta{background:var(--mm-purple);color:white}.mm-cta>.mm-wrap{flex-direction:row;align-items:center;justify-content:space-between;gap:70px}.mermaide-site .mm-cta-text{max-width:740px}.mm-cta .elementor-widget-button{flex-shrink:0}.mermaide-site .mm-page-head{padding-top:190px;padding-bottom:55px;background:var(--mm-paper)}.mm-page-head h1 span{display:block;font-family:var(--mm-sub);font-size:.55em;font-weight:800;margin-top:16px;letter-spacing:-.03em}.mm-page-head .mm-lead{margin-top:10px}.mermaide-site .mm-filters{padding-top:25px;padding-bottom:25px}.mermaide-site .mm-family-section.mm-operationnelle{background:#fff2ef}.mermaide-site .mm-family-section.mm-aquatique{background:#eeebff}.mermaide-site .mm-course-card{padding:30px;background:white;border:1px solid #18232b20;border-radius:0 24px 0 24px;display:flex;flex-direction:column;align-items:stretch;gap:0}.mm-course-card .mm-link{margin-top:auto}.mm-course-card h3{font-size:22px}.mermaide-site .mm-course-code{font-family:var(--mm-title);font-size:30px;color:var(--mm-purple);margin-bottom:14px}.mm-course-layout{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:70px!important;align-items:start!important}.mm-course-main h2{font-size:28px;margin-top:30px}.mm-course-main .elementor-widget-heading:first-child h2{margin-top:0}.mm-course-main ul{padding-left:23px;margin-top:0;margin-bottom:28px}.mermaide-site .mm-practical{display:flex;flex-direction:column;padding:32px;background:var(--mm-paper);border-radius:0 28px 0 28px;border-top:5px solid var(--mm-bright)}.mm-practical h3{font-size:21px;margin-top:20px}.mm-practical p{font-size:16px}.mm-practical .elementor-button{margin-bottom:15px}.mermaide-site .mm-avatar{border-radius:50%;background:var(--mm-bright);width:90px;height:90px;display:grid;place-items:center;font:24px var(--mm-title);margin-bottom:25px}.mm-avatar p{margin:0}.mermaide-site .mm-role{font:700 13px var(--mm-sub);color:#5442b7;margin-bottom:20px}.mm-person h3{font-size:19px}.mm-person p{font-size:16px}.mm-contact-copy a:not(.elementor-button){font-weight:700}.mm-stat{text-align:center}.mm-stat h2{font-size:70px}.mermaide-site blockquote{border-left:5px solid var(--mm-purple);margin:20px 0;padding-left:30px;font-size:24px}.mm-footer{background:#18232b;color:#fff;padding:65px 28px 24px}.mm-footer-top{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:70px}.mm-footer img{border-radius:50%;margin-bottom:20px}.mm-footer h2{font:800 17px var(--mm-sub);letter-spacing:0}.mm-footer p,.mm-footer a{font-size:16px}.mm-footer ul{list-style:none;padding:0}.mm-footer li{margin-bottom:6px}.mm-footer a{text-decoration:none}.mm-footer a:hover{text-decoration:underline}.mm-footer-bottom{border-top:1px solid #ffffff30;margin-top:45px;padding-top:22px;display:flex;gap:24px;flex-wrap:wrap;font-size:12px}.mm-footer-bottom a{font-size:12px}.mm-footer-bottom span{margin-right:auto}.mm-article{padding-top:170px!important}.mm-article .mm-wrap{max-width:820px}.mm-article img{margin-bottom:30px}.mm-empty{max-width:720px}.mm-course-card img{aspect-ratio:1.6;object-fit:cover;margin-bottom:20px}
@media(min-width:1025px){.mm-hero .mm-hero-content{width:100%}.mm-hero .elementor-widget-heading{width:100%}}
@media(max-width:1100px){#mm-nav{gap:18px}.mm-nav-list{gap:16px}.mm-header-inner{padding:0 24px}.mm-nav-list a{font-size:11px}.mermaide-site .mm-two{gap:32px}.mermaide-site .mm-four{grid-template-columns:repeat(2,minmax(0,1fr))}.mm-card-content{padding:22px!important}.mm-card-content h3{font-size:21px}.mm-cta>.mm-wrap{gap:35px}}
@media(max-width:800px){body.mermaide-site{font-size:17px}.mm-header-inner{height:86px;padding:0 22px}.mm-logo img{width:88px;height:88px}.mm-logo{margin-top:12px}.mm-header.is-scrolled .mm-header-inner{height:72px}.mm-header.is-scrolled .mm-logo img{width:82px;height:82px}.mm-menu-toggle{display:flex;align-items:center;gap:10px;color:inherit;border:1px solid currentColor;border-radius:0 12px 0 12px;background:transparent;padding:11px 15px}#mm-nav{display:none;position:absolute;top:85px;left:0;right:0;background:white;color:var(--mm-ink);padding:32px 26px;box-shadow:0 12px 15px #0002;max-height:calc(100svh - 110px);overflow:auto}.is-scrolled #mm-nav{top:72px}.menu-open #mm-nav{display:flex;align-items:stretch;flex-direction:column}.mm-nav-list{display:flex;flex-direction:column;gap:0;align-items:stretch}.mm-nav-list a{padding:14px 0;font-size:15px;border-bottom:1px solid #ddd}.mm-nav-cta{text-align:center}.mermaide-site .mm-section{padding:60px 22px}.mermaide-site .mm-hero{min-height:720px;max-height:none;height:95svh;padding:155px 22px 105px}.mm-hero h1{font-size:clamp(38px,7vw,60px)}.mm-hero .mm-kicker{font-size:10px;max-width:270px}.mm-hero .mm-lead{font-size:19px}.mm-hero h1 span{text-shadow:3px 3px 0 #d82328}.mermaide-site .mm-scroll{left:22px;bottom:30px;font-size:9px}.mm-video-toggle{right:20px;bottom:60px}.mermaide-site .mm-three{grid-template-columns:1fr}.mermaide-site .mm-two{grid-template-columns:1fr;gap:28px}.mm-family .mm-photo img{height:260px}.mermaide-site .mm-card-content{padding:28px!important}.mm-card-content h3{font-size:26px}.mm-partners .elementor-widget{border-left:0;border-top:1px solid #18232b30}.mm-partners .elementor-widget:first-child{border-top:0}.mm-cta>.mm-wrap{flex-direction:column;align-items:flex-start;gap:20px}.mermaide-site .mm-page-head{padding-top:150px;padding-bottom:45px}.mm-course-layout{grid-template-columns:1fr;gap:35px!important}.mm-practical{order:-1}.mermaide-site .mm-filters{padding-top:20px;padding-bottom:20px}.mm-footer-top{grid-template-columns:1fr 1fr;gap:35px}.mm-footer-top>div:first-child{grid-column:1/-1}.mm-footer-bottom span{width:100%}.mm-footer{padding:45px 22px 20px}.mm-footer-bottom{gap:12px 20px}.mm-two>.mm-photo img{min-height:0}.mm-hero .mm-buttons{gap:15px}.mermaide-site .mm-lead{font-size:19px}}
@media(max-width:480px){.mermaide-site .mm-four{grid-template-columns:1fr}.mm-footer-top{grid-template-columns:1fr}.mm-footer-top>div:first-child{grid-column:auto}.mm-hero h1{font-size:36px}.mermaide-site .mm-hero{height:auto;min-height:760px}.mm-hero .mm-buttons{flex-direction:column;align-items:center}.mermaide-site .mm-grid{gap:20px}.mm-family .mm-photo img{height:220px}.mm-person{align-items:center!important;text-align:center}.mermaide-site .mm-practical{padding:26px}.mm-page-head h1{font-size:36px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}.mm-video-back video{visibility:hidden}}
.mm-hero>.elementor-widget-shortcode{z-index:0}.mm-hero:after{z-index:1}.mm-hero-content,.mm-scroll{z-index:2;position:relative}
/* Les composants de structure restent cohérents avec les réglages locaux d’Elementor. */
.mermaide-site .mm-hero-content{z-index:3!important}.mermaide-site .mm-scroll{z-index:3!important}.mermaide-site .mm-buttons{flex-direction:row!important}.mermaide-site .mm-buttons>.elementor-widget{width:auto!important}.mermaide-site .mm-cta>.mm-wrap{flex-direction:row!important}.mermaide-site .mm-cta>.mm-wrap>.elementor-widget-button{width:auto!important}
@media(max-width:800px){.mermaide-site .mm-cta>.mm-wrap{flex-direction:column!important}}
@media(max-width:480px){.mermaide-site .mm-hero .mm-buttons{flex-direction:column!important}}
