/*
Theme Name: Connect-2
Description: Accueil français de Connect-2, démonstration et intégration du plugin Espaces familiaux.
Version: 1.1.0
Author: Connect-2
Text Domain: connect2
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root{--paper:#faf8f1;--ink:#233f36;--muted:#58685b;--green:#285846;--line:#d8ddd0;--sage:#e8edde;--clay:#a55138;--gold:#d8b778}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:18px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}img{display:block;width:100%;height:auto}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--clay);outline-offset:5px}h1,h2,h3,p,figure{margin:0}h1,h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-.045em;line-height:1.08}h1{font-size:clamp(44px,5.2vw,76px)}h1 em{color:var(--clay);font-weight:400}h2{font-size:clamp(35px,3.5vw,49px)}h3{font-size:21px;line-height:1.3}p+p{margin-top:18px}[hidden]{display:none!important}.container{width:min(1200px,calc(100% - 80px));margin-inline:auto}.preview-bar{background:var(--ink);color:#f6f2e5;text-align:center;font-size:12px;letter-spacing:.06em;padding:8px 16px}.header{width:min(1280px,calc(100% - 64px));margin:auto;min-height:112px;display:flex;justify-content:space-between;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:12px;font-size:31px;letter-spacing:-1.5px;font-weight:650;line-height:1.2}.brand small{display:block;letter-spacing:1.5px;font-size:9px;font-weight:600;margin-top:7px}.brand-symbol{width:43px;height:43px;border:1.5px solid #3f6553;border-radius:50%;font-family:Georgia,serif;display:flex;align-items:center;justify-content:center;font-size:36px;font-style:italic}.brand-symbol span{font-size:19px;margin-top:15px}.header nav{display:flex;gap:30px;align-items:center;font-size:15px;font-weight:600}.button,.outline{display:inline-flex;gap:18px;align-items:center;justify-content:center;min-height:52px;border-radius:8px;padding:14px 22px;font-weight:600;font-size:16px;line-height:1.4;border:1px solid var(--green);text-align:center}.button{background:var(--green);color:#fff}.button:hover{background:#183e30}.outline{background:transparent}.outline:hover{background:var(--sage)}.small{min-height:46px;padding:11px 18px;font-size:14px}.text-link{background:none;border:0;border-bottom:1px solid #8c9c89;padding:7px 0;display:inline-block;font-weight:600;font-size:15px;line-height:1.4}.text-link:hover{color:var(--clay)}.hero{display:grid;grid-template-columns:1.04fr 1fr;gap:50px;align-items:center;padding-block:52px 88px}.hero-copy{position:relative;z-index:1}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;margin-bottom:24px;display:flex;gap:10px;align-items:center}.dot{width:7px;height:7px;background:var(--clay);border-radius:100%}.lead{font-size:20px;line-height:1.6;margin-top:28px;max-width:570px}.hero-copy>p:not(.eyebrow):not(.lead){font-size:16px;color:var(--muted);margin-top:18px;max-width:490px}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin-top:30px}.quiet{color:var(--muted);font-size:13px}.hero-copy p.quiet{font-size:12px!important;margin-top:18px!important}.album{position:relative;min-height:530px;background:radial-gradient(ellipse at center,#e8ebdc 0,#e8ebdc 62%,transparent 63%);border-radius:50%;isolation:isolate}.photo{padding:12px 12px 19px;background:#fffdf7;box-shadow:0 10px 30px #293c3319;position:absolute}.photo img{object-fit:cover}.photo figcaption{font-family:Georgia,serif;font-style:italic;font-size:17px;padding-top:13px;text-align:center}.house{width:76%;left:1%;top:72px;transform:rotate(-8deg)}.portrait{width:47%;right:-1%;top:228px;transform:rotate(8deg);z-index:1}.portrait img{aspect-ratio:1;object-fit:cover}.album-note{position:absolute;right:13%;top:1%;font-family:Georgia,serif;font-style:italic;font-size:23px;line-height:1.3;transform:rotate(7deg);color:var(--green)}.album-record{position:absolute;bottom:0;left:4%;display:flex;align-items:center;gap:12px;background:#fbf5e6;padding:10px 17px;border:1px solid #d9d1bc;border-radius:9px;box-shadow:0 8px 20px #293c3310;transform:rotate(-4deg);z-index:2;font-size:14px;line-height:1.4}.album-record img{width:79px;border-radius:6px}.principles{border-block:1px solid var(--line);padding:21px;display:flex;justify-content:center;gap:90px;font-size:14px;font-weight:600}.principles span:before{content:'✳';color:var(--clay);margin-right:14px}.section{padding-block:76px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:32px;margin-bottom:35px}.section-head .eyebrow{margin-bottom:15px}.section-head>p{font-size:15px;max-width:390px;color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.activity{padding:0;border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fffdf7;text-align:left;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}.activity:hover{box-shadow:0 12px 28px #233f3614;transform:translateY(-3px)}.activity>img{aspect-ratio:1.65;object-fit:cover}.card-body{display:flex;flex-direction:column;padding:26px;gap:12px;flex:1}.card-kicker{font-size:10px;letter-spacing:1.7px;font-weight:700;color:var(--clay)}.card-body strong{font-family:Georgia,serif;font-size:26px;line-height:1.18;letter-spacing:-.5px;font-weight:400}.card-body>span:not(.card-kicker):not(.card-link){font-size:15px;color:var(--muted);line-height:1.6}.card-link{margin-top:auto;padding-top:12px;font-size:14px;font-weight:650;display:flex;justify-content:space-between}.project{display:grid;grid-template-columns:1fr 1fr;gap:90px;padding:62px;background:var(--sage);border-radius:16px}.project p:not(.eyebrow){font-size:16px;margin-top:23px}.steps{list-style:none;margin:0;padding:0}.steps li{display:flex;gap:22px;padding:24px 0;border-bottom:1px solid #cbd3c0}.steps li:first-child{padding-top:0}.steps li:last-child{border-bottom:0}.steps li>span{font-family:Georgia,serif;color:#687f62;font-size:29px;line-height:1.2}.steps li p{font-size:15px!important;margin-top:9px!important;color:var(--muted)}.pill{border:1px solid #a5b698;border-radius:30px;padding:6px 12px;display:inline-block;font-size:11px;font-weight:600;margin-top:24px}.closing{text-align:center;padding-block:88px}.closing .eyebrow{justify-content:center}.closing p:not(.eyebrow){margin:24px 0;color:var(--muted);font-size:16px}.footer{border-top:1px solid var(--line);padding-block:30px;display:flex;justify-content:space-between;align-items:center;gap:30px}.footer .brand{font-size:25px}.footer p{font-size:12px;color:var(--muted)}.footer .text-link{font-size:12px}.back{background:none;border:0;padding:8px 0;min-height:44px;font-size:15px;font-weight:600}.demo-note{padding:12px 17px;background:var(--sage);border-radius:7px;font-size:11px;letter-spacing:1px;margin:20px 0 36px}.space-tools{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:35px 0}.segmented{display:flex;flex-wrap:wrap;gap:8px}.segmented button{background:none;border:1px solid var(--line);border-radius:30px;padding:10px 16px;font-size:14px;min-height:44px}.segmented button[aria-pressed=true]{background:var(--ink);color:white;border-color:var(--ink)}.family-cards{grid-template-columns:repeat(2,1fr)}.family-cards .activity>img{aspect-ratio:2.1}.game-top{display:flex;justify-content:space-between;gap:20px}.game-layout{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:start}.game-media>img{border-radius:14px;aspect-ratio:1.2;object-fit:cover}.game-copy h1{font-size:clamp(38px,4vw,55px)}.game-copy .lead{margin-top:20px}.game-copy .quiet{margin-top:16px;font-size:14px}.game-actions{display:flex;gap:10px;flex-wrap:wrap;margin:27px 0 18px}.game-actions .outline{font-size:14px;padding:12px 16px}.hint{padding:17px;background:#f2e6cc;border-radius:8px;font-size:17px}.choices{display:grid;gap:9px;margin:15px 0}.choices button{background:#fff;border:1px solid #a2afa0;border-radius:8px;text-align:left;padding:14px;font-size:18px;min-height:50px}.choices button:hover{background:var(--sage)}.choices button.selected{border:2px solid var(--green);background:var(--sage)}#feedback:empty{display:none}#feedback{font-size:16px;margin:15px 0}.answer{margin-top:22px;padding:24px;background:var(--sage);border-left:4px solid var(--green);border-radius:0 9px 9px 0}.answer h2{font-size:31px;letter-spacing:-.02em}.answer p{font-size:17px;margin-top:14px}.next{display:block;margin-top:25px}.game-foot{text-align:center;border-top:1px solid var(--line);padding-top:25px;margin-top:42px;font-size:15px;color:var(--muted)}#audio-controls{margin-top:20px;display:flex;flex-wrap:wrap;gap:12px}#audio-controls p{font-size:13px;flex-basis:100%;margin:0}.volume{display:flex;gap:14px;align-items:center;font-size:14px;width:100%;margin-top:10px}.volume input{flex:1;min-height:35px;accent-color:var(--green)}.large-game .game-copy p,.large-game .game-copy button,.large-game .choices button{font-size:22px}.large-game .game-copy h1{font-size:58px}.skip{position:absolute;left:20px;top:-200px;background:white;padding:14px;z-index:1000}.skip:focus{top:10px}dialog{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:15px;padding:35px;width:min(580px,calc(100% - 30px));max-height:85vh;overflow:auto;box-shadow:0 20px 100px #0003}dialog::backdrop{background:#12251ed0}dialog h2{font-size:35px;clear:both;padding:25px 0}dialog p,dialog li{font-size:17px}dialog ul{padding-left:23px}.dialog-close{float:right;font-size:14px;min-height:42px}.simple-content{min-height:65vh;max-width:850px}.simple-content h1{margin-bottom:35px}.simple-content a{text-decoration:underline}.simple-content img{max-width:100%}
@media(max-width:1000px){.hero{gap:20px}.album{min-height:440px}.portrait{top:200px}.album-record{bottom:-5px}.project{gap:38px;padding:40px}.principles{gap:35px}.game-layout{gap:30px}.space-tools{align-items:start;flex-direction:column}.header{min-height:95px}.card-body{padding:21px}}
@media(max-width:720px){body{font-size:17px}.container{width:calc(100% - 36px)}.header{width:calc(100% - 36px);gap:12px;min-height:90px}.brand{font-size:25px;gap:7px}.brand small{font-size:7px;letter-spacing:1px}.brand-symbol{width:34px;height:34px;font-size:29px}.header nav{gap:12px}.header nav>a{display:none}.header .small{font-size:12px;padding:10px}.preview-bar{font-size:10px}.hero{grid-template-columns:1fr;padding:30px 0 50px;gap:40px}h1{font-size:49px}.hero-copy .lead{font-size:19px}.hero-copy>p{max-width:none!important}.album{width:min(470px,94%);margin:auto;min-height:460px}.house{top:52px}.portrait{top:182px}.album-note{font-size:21px;top:0}.album-record{bottom:2px}.principles{gap:14px;flex-direction:column;align-items:center;padding:22px}.principles span{font-size:13px}.section{padding-block:45px}.section-head{align-items:start;flex-direction:column;gap:18px}.cards,.family-cards{grid-template-columns:1fr}.activity>img,.family-cards .activity>img{aspect-ratio:1.9}.project{grid-template-columns:1fr;padding:30px 25px;gap:35px}.closing{padding-block:60px}.footer{flex-direction:column;gap:15px;text-align:center}.space-tools{gap:23px}.segmented{gap:5px}.segmented button{padding:10px 12px;font-size:12px}.game-layout{grid-template-columns:1fr;gap:30px}.game-media>img{aspect-ratio:1.5}.game-top .outline{font-size:12px;padding:10px;min-height:44px}.game-top .back{font-size:13px}.demo-note{font-size:10px;margin-bottom:25px}.large-game .game-copy h1{font-size:46px}.game-copy .eyebrow{margin-bottom:12px}.actions .button{width:100%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}

.c2-live-nav{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.c2-site .header nav{flex-wrap:wrap}.c2-site .support-links{padding:24px 0;display:flex;gap:24px;flex-wrap:wrap;border-top:1px solid var(--line);font-size:15px}.c2-site .support-links a{text-decoration:underline}.c2-site .new-activities{padding-top:20px;padding-bottom:35px;display:flex;gap:15px;flex-wrap:wrap}@media(max-width:720px){.c2-site .header{flex-wrap:wrap;padding:18px 0}.c2-site .header nav>a{display:inline-flex}.c2-site .header nav{width:100%;gap:14px}.c2-live-nav{gap:12px;font-size:14px}}
