/* Fondation Semsamar — feuille de style (remplace le moteur Framer) */
:root{--navy:#11112d;--teal:#029da4;--yellow:#ffbd59;--cream:#f8f3f0;--sand:#f1ece8;--grey:#5f5e6d;--pink:#fdeef3;--line:#ece6e1}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:Outfit,sans-serif;color:var(--navy);background:#fff;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.wrap{max-width:1280px;margin:0 auto;padding:0 24px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--yellow);color:var(--navy);font:500 17px Outfit,sans-serif;padding:20px 34px;border-radius:68px;border:0;cursor:pointer;transition:transform .25s,box-shadow .25s}
.btn:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(255,189,89,.35)}
.btn.navy{background:var(--navy);color:#fff}.btn.navy:hover{box-shadow:0 10px 24px rgba(17,17,45,.25)}
.pill{display:inline-block;background:var(--teal);color:#fff;font-size:15px;padding:12px 22px;border-radius:25px;transition:opacity .2s}
.pill:hover{opacity:.85}
.kicker{color:var(--teal);font-size:20px;font-weight:500;letter-spacing:.04em;text-transform:uppercase}
.lead{font-size:24px;font-weight:300;line-height:1.5}
.big{font-size:64px;font-weight:500;line-height:1.1}

/* ---------- header */
.site-header{position:relative;z-index:20;border-bottom:1px solid var(--line);background:#fff}
.site-header.over{position:absolute;top:0;left:0;right:0;background:transparent;border:0}
.nav{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px 40px}
.site-header:not(.over) .nav{padding:18px 40px}
.nav .logo img{width:109px;height:107px;object-fit:contain}
.site-header:not(.over) .nav .logo img{width:104px;height:104px}
.menu{display:flex;gap:40px;list-style:none;font-size:17px}
.menu a{position:relative}
.menu a::after{content:"";position:absolute;left:0;bottom:-6px;width:0;height:2px;background:var(--yellow);transition:width .25s}
.menu a:hover::after,.menu a[aria-current]::after{width:100%}
.over .menu,.over .right{color:#fff}
.right{display:flex;align-items:center;gap:26px;font-size:16px}
.right .tel{display:flex;align-items:center;gap:8px;font-weight:500}
.lang{position:relative}
.lang button{background:none;border:0;color:inherit;font:inherit;cursor:pointer;display:flex;align-items:center;gap:6px}
.lang ul{display:none;position:absolute;right:0;top:130%;background:#fff;color:var(--navy);list-style:none;border-radius:10px;box-shadow:0 12px 30px rgba(0,0,0,.12);overflow:hidden;min-width:130px}
.lang.open ul{display:block}
.lang li a{display:block;padding:10px 16px}.lang li a:hover{background:var(--cream)}
.nav .btn{padding:14px 26px;font-size:16px}
.burger{display:none;background:none;border:0;color:inherit;cursor:pointer;width:34px;height:34px}
.burger span{display:block;height:2px;background:currentColor;margin:7px 0;transition:.3s}

/* ---------- hero accueil */
.hero{position:relative;height:1027px;background:#000 center/cover;display:flex;align-items:center}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.15) 60%,rgba(0,0,0,.4))}
.hero .wrap{position:relative;z-index:2;width:100%;text-align:center}
.hero h1{color:#fff;font-size:80px;font-weight:500;line-height:1.1;max-width:1100px;margin:0 auto 40px}
.hero h1 em{font-style:normal;color:var(--yellow)}
.cats{background:var(--cream);height:142px}
.cats .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:40px;transform:translateY(-103px)}
.cat{background:#fff;border-radius:10px;height:258px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;font-size:22px;font-weight:500;border-bottom:5px solid var(--teal);box-shadow:0 20px 40px rgba(17,17,45,.06);transition:transform .3s}
.cat:hover{transform:translateY(-6px)}
.cat:nth-child(even){border-color:var(--yellow)}
.cat img{height:90px;width:auto}

/* ---------- sections accueil */
.about-home{background:var(--cream);padding:120px 0 130px}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start}
.about-home .two-col{margin-bottom:80px}
.body-text{font-size:19px;line-height:1.6;color:var(--grey)}
.about-home .body-text{margin-bottom:40px}
.actions{display:flex;gap:32px;align-items:center;flex-wrap:wrap}
.link{font-weight:500;font-size:17px;border-bottom:1px solid var(--navy)}
.photo-wide{border-radius:20px;overflow:hidden;height:511px;background:center/cover}
.causes{background:var(--sand);padding:110px 0 130px;text-align:center}
.causes .lead{max-width:900px;margin:24px auto 70px}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;text-align:left}
.card{background:#fff;border-radius:15px;padding:18px 18px 26px;display:flex;flex-direction:column;transition:transform .3s,box-shadow .3s}
.card:hover{transform:translateY(-6px);box-shadow:0 24px 40px rgba(17,17,45,.08)}
.card .thumb{display:block;border-radius:10px;overflow:hidden;margin-bottom:22px}
.card .thumb img{width:100%;aspect-ratio:1/1;object-fit:cover;transition:transform .5s}
.card:hover .thumb img{transform:scale(1.05)}
.card h4{font-size:28px;font-weight:500;line-height:1.15;margin-bottom:12px}
.card p{color:var(--grey);font-size:17px;line-height:1.5;margin-bottom:24px;flex:1}
.card .pill{align-self:flex-start}
.help{padding:120px 0}
.help .row{display:grid;grid-template-columns:640px 1fr;gap:90px;align-items:center}
.help .row>img{width:640px;height:725px;object-fit:cover;border-radius:20px}
.help h3{font-size:41px;font-weight:500;line-height:1.2;margin:20px 0 40px}
.stat{margin-top:60px;display:flex;align-items:center;gap:24px}
.stat strong{font-size:80px;font-weight:600;color:var(--teal);line-height:1}
.stat span{text-transform:uppercase;font-size:18px;line-height:1.3;color:var(--grey)}
.president{background:var(--cream)}
.president .row{display:grid;grid-template-columns:720px 1fr;gap:70px;align-items:center}
.president .row>img{width:720px;height:609px;object-fit:cover}
.president h2{font-size:72px;font-weight:500;margin:16px 0 28px;line-height:1.05}
.president .q{font-size:20px;line-height:1.6;color:var(--grey);padding-right:40px}
.contact-block{background:var(--cream);padding:40px 0 120px}
.contact-block .box{background:#fff;border-radius:20px;padding:60px;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.contact-block .intro{font-size:22px;font-weight:300;margin-bottom:12px}
.contact-block h2{font-size:50px;font-weight:500}

/* ---------- formulaires */
.form .two{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form input,.form textarea{width:100%;font:18px Outfit,sans-serif;color:var(--navy);border:1px solid #e3ddd8;background:#fff;border-radius:10px;padding:18px 20px;margin-bottom:16px;transition:border-color .2s}
.form input:focus,.form textarea:focus{outline:0;border-color:var(--teal)}
.form textarea{height:140px;resize:vertical}
.form .ok{display:none;color:var(--teal);font-weight:500;margin-top:12px}
.form.sent .ok{display:block}
.hp{position:absolute;left:-5000px}

/* ---------- actualités */
.news{padding:120px 0}
.news .head{text-align:center;margin-bottom:70px}
.news .head .big{margin:14px 0 20px}
.news .head .lead{max-width:760px;margin:0 auto}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.post{background:#fff;border:1px solid var(--line);border-radius:15px;padding:34px;display:flex;flex-direction:column;transition:transform .3s,box-shadow .3s}
.post:hover{transform:translateY(-6px);box-shadow:0 24px 40px rgba(17,17,45,.08)}
.post h4{font-size:28px;font-weight:500;line-height:1.2;margin-bottom:14px}
.post p{color:var(--grey);font-size:17px;line-height:1.5;margin-bottom:24px;flex:1}
.post .pill{align-self:flex-start}
.tag{display:inline-block;color:var(--teal);font-weight:500;text-transform:uppercase;font-size:14px;letter-spacing:.06em;margin-bottom:14px}

/* ---------- newsletter + footer */
.newsletter{position:relative;min-height:395px;background:center/cover;display:flex;align-items:center}
.newsletter .wrap{display:grid;grid-template-columns:1.2fr 1fr;gap:50px;align-items:center;width:100%}
.newsletter h2{color:#fff;font-size:64px;font-weight:500;line-height:1.05}
.newsletter p{color:#fff;font-size:19px;margin-top:14px;opacity:.9}
.nl-form{display:flex;background:#fff;border-radius:68px;padding:8px;position:relative}
.nl-form input[type=email]{flex:1;border:0;font:18px Outfit,sans-serif;padding:0 22px;border-radius:68px;min-width:0}
.nl-form input[type=email]:focus{outline:0}
.site-footer{background:#000;color:#fff;padding:100px 0 40px}
.site-footer .cols{display:grid;grid-template-columns:1.4fr 1fr 1.4fr;gap:60px}
.site-footer .logo img{width:109px;height:107px;margin-bottom:24px}
.site-footer .tagline{font-size:28px;font-weight:500;margin-bottom:24px}
.soc{display:flex;gap:16px}
.soc a{width:40px;height:40px;border-radius:50%;background:#1b1b1b;display:grid;place-items:center;transition:background .2s}
.soc a:hover{background:var(--teal)}
.soc img{width:18px;height:18px}
.site-footer h5{font-size:20px;font-weight:500;margin-bottom:22px}
.site-footer ul{list-style:none;display:grid;gap:12px;color:#c9c9d1}
.site-footer ul a:hover{color:var(--yellow)}
.site-footer .bottom{border-top:1px solid #222;margin-top:70px;padding-top:28px;display:flex;justify-content:space-between;color:#9a9aa5;font-size:15px}

/* ---------- pages intérieures */
.page-hero{position:relative;text-align:center;padding:120px 0 90px;overflow:hidden}
.page-hero h1{font-size:72px;font-weight:500;line-height:1.1;max-width:1000px;margin:0 auto}
.page-hero .lead{max-width:780px;margin:26px auto 0;color:var(--grey)}
.page-hero .tag{background:var(--pink);color:#e0567f;padding:6px 14px;border-radius:6px;margin-bottom:26px}
.deco{position:absolute;pointer-events:none;opacity:.9}
.deco.squiggle{left:30px;top:52%;width:170px}
.deco.dots{right:14%;top:48%;width:150px}
.listing{padding:20px 0 130px}
.article{max-width:880px;margin:0 auto;padding:0 24px 120px}
.article .gallery{display:grid;gap:20px;margin-bottom:50px}
.article .gallery img{width:100%;border-radius:20px;object-fit:cover;max-height:620px}
.article .gallery.g2{grid-template-columns:1fr 1fr}.article .gallery.g3{grid-template-columns:1fr 1fr 1fr}
.article .gallery.g2 img,.article .gallery.g3 img{height:360px}
.article .gallery img:first-child:nth-last-child(n+2){grid-column:1/-1;height:520px}
.article p{font-size:19px;line-height:1.75;color:#3b3a4c;margin-bottom:22px}
.article h3{font-size:30px;font-weight:500;margin:40px 0 16px}
.article .leadp{font-size:23px;line-height:1.55;color:var(--navy);font-weight:400;margin-bottom:30px}
.article blockquote{border-left:4px solid var(--yellow);padding:6px 0 6px 26px;margin:10px 0 30px;font-size:20px;line-height:1.7;font-style:italic;color:var(--navy)}
.article .sign{margin-top:30px;font-weight:500;line-height:1.6}
.article .back{display:inline-block;margin-top:40px;color:var(--teal);font-weight:500}

/* à propos */
.about-intro{padding:40px 0 120px}
.about-intro .photo-wide{margin-top:70px}
.domains{background:var(--sand);padding:110px 0}
.domains .grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;margin-top:60px}
.domain{background:#fff;border-radius:15px;padding:38px 30px;text-align:left}
.domain img{width:54px;height:54px;margin-bottom:22px}
.domain h4{font-size:24px;font-weight:500}
.figures{padding:120px 0}
.figures .row{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
.figures .nums{display:flex;gap:60px;margin-top:40px}
.figures h3{font-size:64px;font-weight:600;color:var(--teal);line-height:1}
.figures .nums span{display:block;color:var(--grey);margin-top:10px;font-size:18px}
.figures .row>img{width:100%;border-radius:20px}
.slider{position:relative}
.slider .track{display:flex;gap:30px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:10px}
.slider .track::-webkit-scrollbar{display:none}
.slider .card{flex:0 0 calc(25% - 23px);scroll-snap-align:start}
.slider-nav{display:flex;gap:14px;justify-content:center;margin-top:40px}
.slider-nav button{width:54px;height:54px;border-radius:50%;border:1px solid var(--line);background:#fff;cursor:pointer;display:grid;place-items:center;transition:background .2s}
.slider-nav button:hover{background:var(--yellow)}
.slider-nav img{width:20px;height:20px}
.testis{background:var(--cream);padding:110px 0;text-align:center}
.testis .grid2{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:60px;text-align:left}
.testi{background:#fff;border-radius:20px;padding:44px}
.testi img{width:46px;margin-bottom:22px}
.testi h4{font-size:26px;font-weight:500;margin-bottom:16px}
.testi p{color:var(--grey);font-size:18px;line-height:1.65}
.testi .who{margin-top:24px;color:var(--navy);font-weight:500}
.testi .who small{display:block;color:var(--grey);font-weight:400}

/* contact / bourse / 404 */
.contact-page{padding:20px 0 130px}
.contact-page .row{display:grid;grid-template-columns:1fr 1.2fr;gap:70px;align-items:start}
.methods{display:grid;gap:22px}
.method{display:flex;gap:18px;align-items:flex-start;background:var(--cream);border-radius:15px;padding:26px}
.method .ic{width:48px;height:48px;border-radius:50%;background:var(--teal);color:#fff;display:grid;place-items:center;flex:none}
.method b{display:block;font-size:19px;font-weight:500;margin-bottom:4px}
.method span,.method a{color:var(--grey);font-size:17px;line-height:1.5}
.contact-page .form{background:#fff;border:1px solid var(--line);border-radius:20px;padding:44px}
.notice{max-width:820px;margin:0 auto 130px;background:var(--cream);border-radius:20px;padding:50px;text-align:center}
.notice p{font-size:20px;line-height:1.7;color:var(--grey);margin-bottom:12px}
.notice a{color:var(--teal);font-weight:500}
.e404{text-align:center;padding:40px 0 130px}
.e404 img{max-width:560px;margin:0 auto 30px}

/* ---------- animations */
.reveal{opacity:0;transform:translateY(30px);transition:opacity .8s ease,transform .8s ease}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}}

/* ---------- responsive (points de rupture Framer : 1200 / 810) */
@media (max-width:1199px){
 .hero h1,.newsletter h2{font-size:60px}.big,.page-hero h1{font-size:52px}
 .help .row,.president .row{grid-template-columns:1fr 1fr}
 .help .row>img,.president .row>img{width:100%;height:auto}
 .cards,.domains .grid4{grid-template-columns:repeat(2,1fr)}
 .slider .card{flex-basis:calc(50% - 15px)}
 .menu{gap:22px}.right .tel{display:none}.nav{padding:24px}
}
@media (max-width:809px){
 .menu,.right .tel,.right .lang,.nav>.right>.btn{display:none}
 .burger{display:block}
 .nav.open .menu{display:flex;flex-direction:column;gap:22px;position:absolute;top:100%;left:16px;right:16px;background:var(--navy);color:#fff;padding:30px;border-radius:14px;box-shadow:0 20px 40px rgba(0,0,0,.2)}
 .nav.open .burger span:nth-child(1){transform:translateY(9px) rotate(45deg)}
 .nav.open .burger span:nth-child(2){opacity:0}
 .nav.open .burger span:nth-child(3){transform:translateY(-9px) rotate(-45deg)}
 .nav .logo img,.site-header:not(.over) .nav .logo img{width:70px;height:70px}
 .nav,.site-header:not(.over) .nav{padding:16px}
 .hero{height:760px}.hero h1{font-size:40px}
 .cats{height:auto;padding-bottom:40px}.cats .wrap{grid-template-columns:1fr 1fr;gap:16px;transform:translateY(-60px)}.cat{height:170px;font-size:18px}.cat img{height:60px}
 .two-col,.help .row,.president .row,.contact-block .box,.newsletter .wrap,.site-footer .cols,.figures .row,.contact-page .row,.testis .grid2{grid-template-columns:1fr;gap:36px}
 .big,.newsletter h2,.page-hero h1{font-size:38px}.president h2{font-size:44px}.help h3{font-size:30px}.contact-block h2{font-size:36px}
 .photo-wide{height:260px}.cards,.news-grid,.domains .grid4{grid-template-columns:1fr}
 .slider .card{flex-basis:85%}
 .contact-block .box,.contact-page .form,.notice,.testi{padding:28px}.lead{font-size:20px}.newsletter{padding:60px 0}
 .page-hero{padding:70px 0 50px}.deco{display:none}
 .article .gallery.g2,.article .gallery.g3{grid-template-columns:1fr}
 .article .gallery img,.article .gallery img:first-child:nth-last-child(n+2){height:auto}
 .figures .nums{gap:30px}.figures h3{font-size:44px}
 .site-footer .bottom{flex-direction:column;gap:10px}
}
h1,h2,h3,h4{overflow-wrap:anywhere}
.two-col>*,.cards>*,.news-grid>*,.row>*{min-width:0}
@media (max-width:809px){.nl-form{flex-direction:column;border-radius:20px;gap:8px}.nl-form input[type=email]{padding:16px}.page-hero h1{font-size:32px}}
@media (max-width:809px){.stat{flex-wrap:wrap}.stat strong{font-size:56px}}
