/*
Theme Name: CETTEC Campus
Description: Site institutionnel francophone pour CETTEC.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.3
Text Domain: cettec-campus
License: GNU General Public License v2 or later
*/
:root{--ink:#142842;--muted:#4c6173;--green:#006b5a;--light:#e9f3ee;--line:#dae5e3;--white:#fff;--navy:#102740}
*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#fff}a{color:var(--green);text-underline-offset:.22em}a:focus-visible,summary:focus-visible{outline:3px solid #cf6b35;outline-offset:4px}img{display:block;max-width:100%;height:auto}figure{margin:0}p{max-width:70ch;margin:0 0 1rem;line-height:1.65}h1,h2,h3{line-height:1.1;margin:0 0 1rem}h1{font-family:Georgia,serif;font-weight:500;font-size:clamp(2.55rem,5.4vw,5.2rem);letter-spacing:-.055em}h2{font-family:Georgia,serif;font-weight:500;font-size:clamp(2rem,4vw,3.5rem);letter-spacing:-.046em}h3{font-size:1.25rem}.wrap{max-width:1240px;margin-inline:auto;padding-inline:clamp(20px,5vw,60px)}.site-header{border-bottom:1px solid var(--line);background:white}.bar{min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);font-size:1.25rem;font-weight:800;letter-spacing:.11em}.bar nav{display:flex;gap:24px;flex-wrap:wrap}.bar nav a{color:var(--ink);text-decoration:none;font-weight:650}.bar nav a:hover{text-decoration:underline}.hero{background:var(--navy);color:white;padding-block:clamp(40px,7vw,96px)}.hero-grid,.split{display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(24px,5vw,70px);align-items:center}.hero p{color:#dce8ed}.hero .kicker{color:#a9e0ca}.hero figure img{border-radius:4px;width:100%;aspect-ratio:1.15;object-fit:cover}.hero figcaption{font-size:.85rem;color:#dce8ed;margin-top:.5rem}.kicker{font-size:.82rem;font-weight:800;text-transform:uppercase;letter-spacing:.11em;color:var(--green)}.section{padding-block:clamp(48px,7vw,90px)}.soft{background:#f1f6f4}.lead{font-size:1.16rem}.button{display:inline-block;background:var(--green);color:white;padding:.85rem 1.15rem;border-radius:4px;text-decoration:none;font-weight:700}.hero .button{background:#aee3cb;color:#102d32}.actions{display:flex;flex-wrap:wrap;gap:15px;align-items:center;margin-top:1.65rem}.hero .text-link{color:white}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:28px}.card{background:white;border:1px solid var(--line);padding:25px;border-radius:5px}.card p:last-child{margin-bottom:0}.card .kicker{margin-bottom:9px}.card summary{cursor:pointer;color:var(--green);font-weight:700}.card details p{margin-top:.8rem}.goals{padding-left:1.2rem;line-height:1.7}.goals li{margin-bottom:.55rem}.partners{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:25px 0 0}.partners li{display:grid;place-items:center;min-height:88px;padding:15px;background:#fff;border:1px solid var(--line);text-align:center}.partners img{max-height:52px;object-fit:contain}.contacts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:25px}address{font-style:normal;line-height:1.65;overflow-wrap:anywhere}.footer{padding-block:24px;background:var(--navy);color:white}.footer a{color:white}.skip{position:absolute;left:12px;top:-150px}.skip:focus{top:10px;background:white;padding:.75rem;z-index:100}
@media(max-width:850px){.hero-grid,.split{grid-template-columns:1fr}.hero figure img{aspect-ratio:1.65}.bar{padding-block:14px;align-items:flex-start}.bar nav{gap:14px}.contacts{grid-template-columns:1fr 1fr}}@media(max-width:580px){.bar{flex-direction:column}.bar nav{gap:10px 16px}.cards,.contacts{grid-template-columns:1fr}.partners{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}

.languages{display:flex;align-items:center;gap:.4rem;white-space:nowrap}
.languages a{display:inline-block;padding:.3rem .45rem;text-decoration:none;font-size:.875rem;font-weight:650;color:var(--ink);border-radius:4px}
.languages a[aria-current="true"]{background:var(--light);color:var(--green)}
@media(max-width:580px){.languages{align-self:flex-start}}
