/*
Theme Name: Magic Instant
Author: Association Tinou Gentleman Magicien
Description: Accueil et Contact administrables. Apparence > Personnaliser > Magic Instant.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: magic-instant
*/
:root{--black:#0b0c10;--white:#fff;--pink:#ee51a8;--blue:#41afe0;--muted:#b9bac4;--line:#31323a}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--black);color:#fff;font-family:'DM Sans',Arial,sans-serif;font-size:17px;line-height:1.65}a{color:inherit;text-underline-offset:6px}img{display:block;max-width:100%;height:auto}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--blue);outline-offset:5px}.skip{position:absolute;top:-100px;background:white;color:black;padding:12px;z-index:10}.skip:focus{top:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.header{background:white;color:var(--black);display:flex;justify-content:space-between;align-items:center;padding:15px 6%;gap:30px}.brand img{width:145px;height:94px;object-fit:contain}.header nav{display:flex;align-items:center;gap:35px;font-size:15px;font-weight:600}.header nav a{text-decoration:none}.header nav a:hover{color:#a71367}.nav-contact{border:1px solid #15151b;padding:10px 26px}.hero{position:relative;min-height:680px;display:flex;align-items:center;isolation:isolate;overflow:hidden}.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% 50%;z-index:-2}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,7,14,.96) 0%,rgba(7,7,14,.82) 32%,rgba(7,7,14,.12) 70%),linear-gradient(0deg,#0b0c10,transparent 25%);z-index:-1}.hero-content{padding:70px 6%;width:100%}.eyebrow{font-size:13px;letter-spacing:.19em;font-weight:700;margin:0 0 22px}.hero .eyebrow{color:#d1d5e3}h1,h2{font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif;font-weight:600;letter-spacing:-.025em;line-height:1.02;margin:0 0 30px}h1{font-size:clamp(58px,6.8vw,104px);max-width:820px}h2{font-size:clamp(45px,4.6vw,72px)}em{font-style:normal;color:var(--pink)}p{margin:0 0 22px}.hero-intro{color:#e0dfe6;max-width:460px;font-size:19px}.actions{display:flex;gap:22px;align-items:center;flex-wrap:wrap;margin-top:30px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:13px 24px;text-decoration:none;font-size:15px;font-weight:700;border:1px solid transparent;cursor:pointer;transition:background .2s,transform .2s}.button:hover{transform:translateY(-2px)}.pink{background:var(--pink);color:#160710}.pink:hover{background:#ff78bd}.outline{border-color:#9d9ba7;color:white;background:transparent}.outline:hover{background:#ffffff17}.hero-credit{font-size:13px;color:#bebcc8;margin-top:35px}.hero-note{position:absolute;right:5%;bottom:35px;font-size:11px;letter-spacing:.17em;color:#d8d7df}.ribbon{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;gap:30px;align-items:center;justify-content:center;padding:25px 5%;font-size:15px}.ribbon b{color:var(--pink);font-size:20px}.section{padding:100px 7%;max-width:1600px;margin:auto}.duo{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:center;background:#fff;color:#19191f;max-width:none}.section-copy{max-width:620px}.section-copy p:not(.eyebrow){color:#bdbdc8}.duo .section-copy p:not(.eyebrow){color:#55545e}.duo h2 em,.events h2 em{color:#18191f}.blue{color:#167899}.pink-text{color:var(--pink)}.duo-photo{margin:0}.duo-photo img{width:100%;aspect-ratio:1.1;object-fit:cover}.duo-photo figcaption{font-size:13px;color:#65646e;margin-top:15px}.text-link{font-size:15px;font-weight:700;text-decoration-thickness:1px}.duo .text-link{display:inline-block;margin-top:10px}.show{display:grid;grid-template-columns:1.15fr 1fr;gap:7%;align-items:center}.show-image{position:relative}.show-image img{height:600px;width:100%;object-fit:cover;object-position:48%}.image-label{position:absolute;left:24px;bottom:24px;background:#0b0c10d9;padding:10px 16px;font-size:12px;letter-spacing:.14em}.show h2{font-size:clamp(70px,7vw,108px)}.show .lead{font-size:23px;color:white!important}.events{background:#f5f5f7;color:#19191f;max-width:none}.events-head{display:grid;grid-template-columns:1fr 1fr;gap:9%;align-items:center}.events-head p{max-width:520px;color:#55545e}.event-types{display:flex;justify-content:space-between;border-top:1px solid #d6d6de;border-bottom:1px solid #d6d6de;padding:25px 0;margin:30px 0 45px;font-weight:600}.photo-strip{display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:18px}.photo-strip img{width:100%;height:280px;object-fit:cover}.association{display:grid;grid-template-columns:1fr 1fr;gap:0 9%;border-bottom:1px solid var(--line)}.association .eyebrow{grid-column:1/-1;color:var(--blue)}.association h2{font-size:56px}.association p:not(.eyebrow){color:var(--muted)}.closing{text-align:center;padding:100px 24px;background:radial-gradient(ellipse at 50% 110%,#281328,transparent 65%)}.closing h2{font-size:clamp(55px,6vw,88px)}footer{padding:55px 7% 25px;background:#08090c;color:#b4b4be;font-size:14px;border-top:1px solid #272831}.foot-top{display:flex;justify-content:space-between;gap:25px}.foot-top strong{color:#fff;letter-spacing:.12em}.foot-top p{margin-top:10px}.foot-top a{line-height:2}.foot-bottom{border-top:1px solid #272831;margin-top:30px;padding-top:20px;display:flex;justify-content:space-between;gap:20px;font-size:12px}.contact-main{padding:75px 7% 100px}.contact-head{border-bottom:1px solid var(--line);padding-bottom:35px;margin-bottom:60px}.contact-head h1{font-size:clamp(60px,6vw,90px)}.contact-head p:last-child{max-width:640px;color:var(--muted)}.contact-grid{display:grid;grid-template-columns:.85fr 1.2fr;gap:10%}.contact-details h2{font-size:40px}.contact-details dt{color:var(--blue);font-size:12px;letter-spacing:.13em;margin-top:28px;text-transform:uppercase}.contact-details dd{margin:5px 0 0;font-size:19px;overflow-wrap:anywhere}.contact-details img{width:100%;max-width:380px;aspect-ratio:1.7;object-fit:cover;margin-top:40px}.form-panel{background:white;color:#16161c;padding:36px}.form-panel h2{font-size:38px;margin-bottom:10px}.small{font-size:13px;color:#676773}.fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}label{font-size:14px;font-weight:600}input,select,textarea{border:1px solid #b7b7c2;border-radius:0;background:#fafafb;color:#15151c;width:100%;padding:11px;font-size:16px;min-height:48px}textarea{resize:vertical;min-height:140px}.form-note{font-size:13px;color:#5e5d68;margin-top:20px}.form-status{margin:20px 0 0;padding:15px;border-left:3px solid #167899;background:#edf7fc;color:#1d4659;font-size:14px}.form-status[hidden]{display:none}.form-panel .button{margin-top:6px}.demo-note{background:#f4f4f7;padding:12px 15px;margin-bottom:24px;font-size:13px;color:#4b4b58}
@media(min-width:1500px){.hero-photo{object-position:center 42%}}@media(max-width:950px){.header{padding:12px 5%}.header nav{gap:20px}.hero{min-height:650px}.hero-photo{object-position:62% center}.hero:after{background:linear-gradient(90deg,#080810e8,#08081050),linear-gradient(0deg,#0b0c10,transparent 40%)}.section{padding:70px 6%}.show-image img{height:480px}.contact-grid{gap:6%;grid-template-columns:.8fr 1.2fr}.form-panel{padding:25px}.photo-strip img{height:210px}.hero-note{display:none}}
@media(max-width:640px){.header{gap:12px;align-items:center;flex-wrap:wrap}.brand img{width:100px;height:65px}.header nav{gap:16px;font-size:14px}.header nav a:nth-child(2),.header nav a:nth-child(3){display:none}.nav-contact{padding:7px 17px}.hero{min-height:670px;align-items:flex-end}.hero-content{padding:200px 6% 35px}.hero-photo{object-position:60% center}.hero:after{background:linear-gradient(0deg,#080810 3%,#080810c9 46%,#08081005 100%)}h1{font-size:58px}.hero .eyebrow{font-size:11px}.hero-intro{font-size:16px}.actions{gap:12px}.button{font-size:14px;padding:12px 17px}.hero-credit{font-size:12px;max-width:260px}.ribbon{display:grid;grid-template-columns:1fr 1fr;text-align:center;gap:12px;font-size:13px}.ribbon b{display:none}.section{padding:60px 6%}.duo,.show,.events-head,.association,.contact-grid{grid-template-columns:1fr;gap:35px}.duo-photo img{aspect-ratio:1.2}.show-image img{height:320px}.show h2{font-size:74px}.event-types{flex-direction:column;gap:15px;margin-top:10px}.photo-strip{grid-template-columns:1fr 1fr;gap:12px}.photo-strip img{height:190px}.photo-strip img:last-child{grid-column:1/-1;height:210px}.association{gap:0}.association h2{font-size:48px}.closing{padding:65px 6%}.foot-top,.foot-bottom{flex-direction:column;gap:12px}.foot-top p{margin-bottom:5px}.contact-main{padding:50px 6%}.contact-head{margin-bottom:40px}.contact-head h1{font-size:58px}.contact-details img{display:none}.form-panel{padding:25px 20px}.fields{grid-template-columns:1fr}.field.full{grid-column:auto}.contact-details dd{font-size:17px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
@media(min-width:951px){.hero-photo{left:15%;width:85%;object-position:center}.hero:after{background:linear-gradient(90deg,#080810 0%,rgba(8,8,16,.88) 30%,rgba(8,8,16,.08) 75%),linear-gradient(0deg,#0b0c10,transparent 25%)}}
@media(max-width:640px){.hero{background:#080810}.hero-photo{height:430px;object-position:60% center}.hero-content{padding-top:340px}.hero:after{background:linear-gradient(0deg,#080810 0%,#080810 54%,transparent 88%)}}

.wp-content{max-width:1000px;margin:auto;padding:70px 6%;min-height:55vh}.wp-content h1{font-size:60px}.wp-content h2{font-size:42px}.wp-content a{color:var(--pink)}.mi-honeypot{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}.form-error{background:#fff1f3;border-left-color:#a00037;color:#83002c}input[aria-invalid=true],textarea[aria-invalid=true],select[aria-invalid=true]{border:2px solid #a00037}.contact-details dd,.foot-top{overflow-wrap:anywhere}.hero h1,.section h2{overflow-wrap:break-word}.show h2{max-width:500px}.header nav{flex-wrap:wrap}.hero-credit{max-width:520px}.foot-bottom{flex-wrap:wrap}.form-status{scroll-margin-top:30px}.form-panel a{color:#155f82}

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/font-0.ttf) format('truetype');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/font-1.ttf) format('truetype');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/font-2.ttf) format('truetype');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/font-3.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/font-4.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/font-5.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/font-6.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/font-7.ttf) format('truetype');
}
