:root{--ink:#143b32;--green:#0f4b3c;--green2:#1c6a50;--gold:#f5b51b;--cream:#f7f4eb;--paper:#fff;--muted:#60736c;--line:#dfe7e3;--dark:#102b25;--max:1360px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#18352e;background:#fff;line-height:1.55}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.wrap{width:min(var(--max),calc(100% - 48px));margin:auto}.top{height:84px;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:0 max(24px,calc((100vw - var(--max))/2));background:#fff;position:sticky;top:0;z-index:50;border-bottom:1px solid #edf1ef}.brand{display:flex;align-items:center;gap:12px;min-width:260px}.brand img{height:66px;width:auto}.brand.api img{height:70px}.nav{display:flex;align-items:center;gap:34px;font-size:15px}.nav a{padding:29px 0 25px;border-bottom:3px solid transparent}.nav a:hover,.nav a.active{border-color:var(--ink)}.pill{background:var(--ink);color:#fff!important;border-radius:999px;padding:12px 24px!important;border:0!important}.menu{display:none;border:0;background:transparent;font-size:28px}.hero{min-height:585px;position:relative;overflow:hidden;background:linear-gradient(90deg,#f5f4ec 0%,#eef3ef 42%,transparent 67%)}.hero-grid{width:min(var(--max),100%);margin:auto;display:grid;grid-template-columns:52% 48%;min-height:585px}.hero-copy{padding:78px 48px 55px 24px;display:flex;flex-direction:column;justify-content:center;position:relative;z-index:2}.eyebrow{font-size:15px;letter-spacing:.18em;font-weight:700;color:#49665d;margin:0 0 22px}.hero h1{font-size:clamp(42px,5vw,70px);line-height:1.04;letter-spacing:-.035em;margin:0 0 22px;color:#153c33}.lead{font-size:20px;max-width:720px;margin:0 0 30px}.actions{display:flex;gap:16px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;gap:10px;padding:14px 24px;border-radius:10px;font-weight:700;border:1px solid var(--ink)}.btn.primary{background:var(--gold);border-color:var(--gold)}.btn.secondary{background:#fff}.hero-photo{position:relative;min-height:585px}.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center}.hero-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(239,243,239,.85),transparent 22%)}.script{position:absolute;right:7%;top:9%;z-index:3;color:#fff;font-family:Georgia,serif;font-style:italic;font-size:31px;line-height:1.05;transform:rotate(-5deg);text-shadow:0 2px 10px #0007}.hero-metrics{display:flex;gap:0;margin-top:46px;font-size:14px;font-weight:700}.hero-metrics div{padding-right:28px;margin-right:28px;border-right:1px solid #cdd8d3}.hero-metrics div:last-child{border:0}.hero-metrics span{display:block;font-size:13px;font-weight:400;margin-top:4px}.modules{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}.module-row{display:grid;grid-template-columns:repeat(5,1fr);width:min(var(--max),calc(100% - 48px));margin:auto}.module{padding:26px 24px;border-right:1px solid var(--line)}.module:last-child{border:0}.module strong{display:block;font-size:18px}.module small{color:var(--muted)}.module i{font-style:normal;font-size:28px;display:block;margin-bottom:8px}.territory{display:grid;grid-template-columns:1fr 1fr;min-height:390px}.territory .photo img{width:100%;height:100%;object-fit:cover}.territory .copy{padding:55px clamp(32px,6vw,90px);display:flex;flex-direction:column;justify-content:center;background:linear-gradient(90deg,#fff,#f7f8f5)}.territory h2,.section h2{font-size:36px;line-height:1.12;margin:8px 0 16px}.mini-map{margin-top:20px;padding:16px 20px;border-left:3px solid var(--gold);color:var(--muted)}.section{padding:78px 0}.section.alt{background:var(--cream)}.section-head{max-width:820px;margin-bottom:38px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{border:1px solid var(--line);border-radius:18px;padding:28px;background:#fff;box-shadow:0 10px 30px #1232}.card img.logo{height:115px;width:auto;object-fit:contain;margin:0 auto 18px}.card h3{font-size:24px;margin:8px 0}.card p{color:#4f665e}.card a{font-weight:800;color:var(--green2)}.process{display:grid;grid-template-columns:repeat(8,1fr);gap:8px;margin-top:35px}.step{text-align:center;position:relative}.step:after{content:"→";position:absolute;right:-9px;top:14px;color:#81978e}.step:last-child:after{display:none}.step b{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#eaf1ec;margin:0 auto 9px}.deep{display:grid;grid-template-columns:1fr 1fr;gap:30px}.deep .panel{padding:34px;border-radius:20px;background:#fff;border:1px solid var(--line)}.deep h3{font-size:27px;margin-top:0}.footer{background:#0d3e31;color:#fff;padding:36px 0}.footer .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.footer img{height:64px;width:auto}.footer small{opacity:.75}.subhero{padding:80px 0 60px;background:linear-gradient(135deg,#edf5ef,#fff)}.subhero h1{font-size:52px;margin:0 0 15px}.subhero p{font-size:20px;max-width:800px}.gaia-hero{background:linear-gradient(#0004,#0005),url('../images/domaine-gaia.jpg') center/cover;min-height:500px;color:#fff;display:flex;align-items:center}.gaia-hero h1{font-size:60px;line-height:1.02;max-width:750px}.gaia-hero p{font-size:21px;max-width:720px}.gaia-logo-box{background:#fff;border-radius:18px;padding:18px;width:240px;margin-bottom:25px}.apilab-logo-box{background:#fff;border-radius:18px;padding:16px;width:240px;margin-bottom:25px}.notice{padding:16px 20px;background:#fff7d8;border-left:4px solid var(--gold);border-radius:8px}.small{font-size:14px;color:var(--muted)}@media(max-width:900px){.nav{display:none;position:absolute;top:84px;left:0;right:0;background:#fff;padding:18px 24px;flex-direction:column;align-items:flex-start;border-bottom:1px solid var(--line)}.nav.open{display:flex}.nav a{padding:8px 0}.menu{display:block}.brand{min-width:0}.brand img{height:56px}.hero-grid{grid-template-columns:1fr}.hero-copy{padding:55px 24px}.hero-photo{min-height:420px}.hero-photo:after{background:linear-gradient(180deg,#eef3ef55,transparent)}.module-row{grid-template-columns:1fr 1fr}.module{border-bottom:1px solid var(--line)}.territory{grid-template-columns:1fr}.territory .photo{height:320px}.grid3,.deep{grid-template-columns:1fr}.process{grid-template-columns:repeat(4,1fr);row-gap:24px}.step:nth-child(4):after{display:none}.wrap{width:min(100% - 32px,var(--max))}.subhero h1,.gaia-hero h1{font-size:42px}}@media(max-width:560px){.top{height:72px;padding:0 16px}.brand img{height:48px}.hero h1{font-size:42px}.hero-photo{min-height:330px}.script{font-size:22px}.hero-metrics{display:grid;gap:14px}.hero-metrics div{border:0}.module-row{grid-template-columns:1fr}.process{grid-template-columns:repeat(2,1fr)}.step:nth-child(even):after{display:none}.section{padding:55px 0}.gaia-hero{min-height:560px}.gaia-logo-box{width:180px}}

/* --- GAIA EARL v1.1 --- */
.gaia-page{--gaia:#1f5b43;--gaia-dark:#123d2e;--honey:#d99b35;--cream:#f7f3e8;--ink:#1d2823}.gaia-page .top{background:rgba(255,255,255,.96)}
.gaia-cover{min-height:72vh;display:grid;align-items:end;position:relative;background:linear-gradient(90deg,rgba(8,35,26,.82),rgba(8,35,26,.25)),url('../images/domaine-gaia.jpg') center/cover no-repeat;color:#fff}.gaia-cover .wrap{padding-top:9rem;padding-bottom:5rem}.gaia-cover-logo{width:min(230px,45vw);background:rgba(255,255,255,.94);padding:1rem;border-radius:22px;margin-bottom:1.5rem}.gaia-cover-logo img{width:100%;display:block}.gaia-kicker{text-transform:uppercase;letter-spacing:.16em;font-weight:800;font-size:.8rem;color:#f2c56f}.gaia-cover h1{font-size:clamp(2.5rem,6vw,5.4rem);line-height:.95;max-width:900px;margin:.45rem 0 1.2rem}.gaia-cover p{font-size:clamp(1.05rem,2vw,1.35rem);max-width:760px;line-height:1.65}.gaia-actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.8rem}
.gaia-page .btn.gaia{background:var(--gaia);color:#fff}.gaia-page .btn.light{background:#fff;color:var(--gaia-dark)}.gaia-intro{padding:5rem 0;background:#fff}.gaia-intro-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:3rem;align-items:center}.gaia-intro h2,.gaia-section h2{font-size:clamp(2rem,4vw,3.3rem);line-height:1.05;margin:.5rem 0 1rem;color:var(--gaia-dark)}.gaia-lead{font-size:1.15rem;line-height:1.8;color:#45554d}.gaia-photo{min-height:390px;border-radius:28px;background:linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.22)),url('../images/domaine-gaia.jpg') center/cover;box-shadow:0 22px 55px rgba(21,61,45,.16);position:relative;overflow:hidden}
.gaia-section{padding:5rem 0}.gaia-section.cream{background:var(--cream)}.gaia-section.green{background:var(--gaia-dark);color:#fff}.gaia-section.green h2,.gaia-section.green h3{color:#fff}.gaia-eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:.76rem;font-weight:800;color:var(--honey)}.gaia-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1.1rem;margin-top:2rem}.gaia-card{background:#fff;border:1px solid #e6e9e5;border-radius:22px;padding:1.5rem;box-shadow:0 12px 30px rgba(20,55,40,.06)}.gaia-card .num{display:inline-grid;place-items:center;width:2.2rem;height:2.2rem;border-radius:50%;background:#eef5f0;color:var(--gaia);font-weight:900}.gaia-card h3{color:var(--gaia-dark);font-size:1.25rem;margin:.9rem 0 .55rem}.gaia-card p{color:#5a685f;line-height:1.65}.gaia-flow{display:grid;grid-template-columns:repeat(6,1fr);gap:.7rem;margin-top:2rem}.gaia-step{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:1rem;text-align:center}.gaia-step strong{display:block;color:#f2c56f;margin-bottom:.35rem}.gaia-split{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:start}.gaia-note{border-left:4px solid var(--honey);padding:1rem 1.2rem;background:#fff;border-radius:0 16px 16px 0;line-height:1.7}.gaia-miels{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:2rem}.gaia-miel{background:#fff;border-radius:20px;padding:1.35rem;border-top:4px solid var(--honey)}.gaia-miel h3{margin:.1rem 0 .4rem;color:var(--gaia-dark)}.gaia-bridge{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem}.gaia-bridge article{border-radius:24px;padding:2rem;background:#fff;color:var(--ink)}.gaia-bridge article:last-child{background:#111;color:#fff}.gaia-bridge article:last-child h3{color:#e0a43d}.gaia-bridge-logo{height:70px;max-width:190px;object-fit:contain;object-position:left;margin-bottom:1rem}.gaia-footerline{display:flex;gap:1rem;flex-wrap:wrap;margin-top:1rem;color:#6a786f;font-size:.9rem}
@media(max-width:850px){.gaia-intro-grid,.gaia-split,.gaia-bridge{grid-template-columns:1fr}.gaia-cards{grid-template-columns:1fr}.gaia-flow{grid-template-columns:repeat(2,1fr)}.gaia-miels{grid-template-columns:1fr 1fr}.gaia-cover{min-height:78vh}.gaia-cover .wrap{padding-top:7rem}}
@media(max-width:520px){.gaia-flow,.gaia-miels{grid-template-columns:1fr}.gaia-cover h1{font-size:2.7rem}.gaia-cover-logo{width:180px}.gaia-section,.gaia-intro{padding:3.5rem 0}}

/* --- v1.2 compact desktop + hero transitions --- */
@media(min-width:901px){
.top{height:72px}.brand img{height:54px}.brand.api img{height:58px}.nav{gap:28px}.nav a{padding:23px 0 19px}
.hero,.hero-grid{min-height:520px}.hero-grid{grid-template-columns:45% 55%}.hero-copy{padding:58px 18px 42px 24px}.hero h1{font-size:clamp(40px,4.3vw,62px)}.lead{font-size:18px;line-height:1.55}.hero-metrics{margin-top:30px}
.hero-photo{min-height:520px;margin-left:-70px;clip-path:polygon(12% 0,100% 0,100% 100%,0 100%)}.hero-photo img{object-position:58% center}.hero-photo:after{background:linear-gradient(90deg,#eef3ef 0%,rgba(238,243,239,.88) 8%,rgba(238,243,239,.35) 18%,transparent 31%)}.script{right:2.5%;top:8%;font-size:25px}
.module{padding:20px 22px}.module i{font-size:24px}.module strong{font-size:17px}.section{padding:64px 0}
.gaia-cover{min-height:560px;max-height:640px}.gaia-cover .wrap{padding-top:5.5rem;padding-bottom:3rem}.gaia-cover-logo{width:165px;padding:.65rem;border-radius:15px;margin-bottom:1rem}.gaia-cover h1{font-size:clamp(2.7rem,4.8vw,4.5rem);margin:.35rem 0 .8rem}.gaia-cover p{font-size:1.08rem;max-width:700px}.gaia-actions{margin-top:1.15rem}.gaia-intro,.gaia-section{padding:4rem 0}
}
/* Comprendre notre démarche */
.understand-page{background:#fff}.understand-hero{padding:72px 0 54px;background:linear-gradient(135deg,#eef5f0 0%,#fff 68%);border-bottom:1px solid var(--line)}.understand-hero h1{font-size:clamp(2.5rem,5vw,4.7rem);line-height:1.03;letter-spacing:-.035em;max-width:1000px;margin:.3rem 0 1.2rem;color:var(--dark)}.understand-hero .intro{font-size:1.18rem;max-width:850px;color:#486057}.understand-summary{display:flex;gap:.55rem;flex-wrap:wrap;margin-top:2rem}.understand-summary a{padding:.55rem .8rem;border:1px solid #cfddd6;border-radius:999px;background:#fff;font-size:.85rem;font-weight:700;color:var(--green)}
.lesson{padding:68px 0}.lesson.alt{background:#f7f5ee}.lesson-grid{width:min(1050px,calc(100% - 48px));margin:auto;display:grid;grid-template-columns:70px 1fr;gap:34px}.lesson-number{font-size:1.05rem;font-weight:900;color:#9bad9f;border-top:3px solid var(--gold);padding-top:.7rem}.lesson h2{font-size:clamp(2rem,3.4vw,3rem);line-height:1.08;color:var(--dark);margin:.25rem 0 1.2rem;max-width:850px}.lesson p{font-size:1.06rem;line-height:1.8;max-width:850px;color:#3f514a}.lesson blockquote{margin:1.8rem 0;padding:1.2rem 1.5rem;border-left:4px solid var(--gold);background:#fff;border-radius:0 16px 16px 0;font-size:1.18rem;line-height:1.6;color:var(--dark);max-width:850px}.learn-more{max-width:850px;margin-top:1.5rem;border:1px solid #d8e2dc;border-radius:14px;background:#fff;overflow:hidden}.learn-more summary{cursor:pointer;padding:1rem 1.2rem;font-weight:800;color:var(--green);list-style:none}.learn-more summary:after{content:'＋';float:right}.learn-more[open] summary:after{content:'−'}.learn-more div{padding:0 1.2rem 1rem}.learn-more p{font-size:.98rem}.simple-diagram,.generation-line{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin:1.8rem 0}.simple-diagram>div:not(.arrow),.generation-line span{padding:.9rem 1rem;border:1px solid #d9e3dd;border-radius:14px;background:#fff;text-align:center;min-width:125px}.simple-diagram span{display:block;color:var(--muted);font-size:.85rem}.arrow,.generation-line i{font-style:normal;color:#82968d}.compare{display:grid;grid-template-columns:1fr 1fr;gap:1rem;max-width:850px;margin:1.6rem 0}.compare>div{background:#fff;border:1px solid #dfe7e3;border-radius:16px;padding:1.2rem}.compare h3{margin:.1rem 0 .5rem;color:var(--dark)}.compare p{font-size:.96rem;margin:0}.trait-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem;max-width:850px;margin:1.5rem 0}.trait-grid div{background:#fff;border:1px solid #dfe7e3;border-radius:14px;padding:1rem}.trait-grid b{display:block;color:var(--green);margin-bottom:.35rem}.trait-grid span{font-size:.9rem;color:#596c64}.cycle{max-width:900px;margin-top:1.5rem;padding:1.2rem 1.3rem;background:#edf4ef;border-radius:16px;font-weight:800;line-height:2;color:var(--green)}.cycle i{font-style:normal;color:var(--gold);padding:0 .25rem}.api-birth{background:linear-gradient(135deg,#102f27,#184b3c);color:#fff}.api-birth .lesson-number{color:#b8c9c1}.api-birth h2,.api-birth p,.api-birth blockquote{color:#fff}.api-birth blockquote{background:#ffffff10}.api-birth .btn.secondary{color:var(--dark)}
@media(max-width:700px){.understand-hero{padding:48px 0 38px}.understand-hero h1{font-size:2.55rem}.lesson{padding:48px 0}.lesson-grid{width:min(100% - 32px,1050px);grid-template-columns:1fr;gap:10px}.lesson-number{width:44px}.compare,.trait-grid{grid-template-columns:1fr}.generation-line{gap:.45rem}.simple-diagram{gap:.45rem}}

/* V1.3 : navigation unifiée, lecture compacte et photos métier */
:root{--max:1180px}html{scroll-padding-top:85px}.brand{min-width:160px}.top{height:72px}.brand img,.brand.api img{height:54px}.nav{gap:26px}.nav a{padding:22px 0 18px}.eyebrow{font-size:12px;margin-bottom:14px}.section{padding:44px 0}.section-head{margin-bottom:24px}.section h2,.territory h2{font-size:32px}.card{padding:22px;border-radius:14px;box-shadow:0 4px 18px #1231}.card h3{font-size:21px}.subhero{padding:45px 0 35px}.subhero h1{font-size:44px;line-height:1.08}.subhero p{font-size:18px}.hero,.hero-grid{min-height:460px}.hero-grid{grid-template-columns:51% 49%}.hero-copy{padding:44px 24px}.hero h1{font-size:clamp(38px,4.2vw,56px)}.lead{font-size:18px}.hero-photo{min-height:460px;margin-left:0;clip-path:none}.hero-photo img{object-position:60% center}.hero-photo:after{background:linear-gradient(90deg,#eef3ef,transparent 25%)}.script{font-size:23px;top:auto;bottom:25px;background:#103a32d9;padding:14px 20px;color:#fff;border-radius:12px}.actions{flex-wrap:wrap}.btn{padding:12px 18px}.territory{min-height:310px}.territory .copy{padding:35px}.deep .panel{padding:24px}.gaia-cover{min-height:0;max-height:none;background:linear-gradient(90deg,#103d30ef,#103d30ca),url('../images/domaine-gaia.jpg') center/cover}.gaia-cover .wrap{padding-top:38px;padding-bottom:38px}.gaia-cover-layout{display:grid;grid-template-columns:175px 1fr;gap:32px;align-items:center}.gaia-cover-logo{width:175px;margin:0;padding:12px;border-radius:16px}.gaia-cover h1{font-size:clamp(34px,4vw,48px);line-height:1.04;margin:8px 0 15px}.gaia-cover p{font-size:17px;line-height:1.6;max-width:800px}.gaia-actions{margin-top:16px;gap:10px}.gaia-intro,.gaia-section{padding:44px 0}.gaia-intro h2,.gaia-section h2{font-size:32px;line-height:1.15}.gaia-lead{font-size:17px;line-height:1.7}.gaia-intro-grid{gap:28px}.real-photo{margin:0}.real-photo img{width:100%;height:280px;object-fit:cover;border-radius:14px}.real-photo figcaption{font-size:13px;color:#52685e;padding-top:8px}.photo-pair{display:grid;grid-template-columns:1fr 1fr;gap:24px}.photo-pair .real-photo img{height:300px}.gaia-cards{margin-top:22px}.gaia-bridge article{padding:25px}.gaia-bridge-logo{height:60px}.understand-hero{padding:44px 0 34px}.understand-hero h1{font-size:44px;max-width:900px}.understand-hero .intro{font-size:17px}.understand-summary{margin-top:20px}.lesson{padding:40px 0}.lesson-grid{width:min(100% - 48px,1050px);gap:24px;grid-template-columns:48px 1fr}.lesson h2{font-size:31px}.lesson p{font-size:16px;line-height:1.75}.learn-more{margin-top:20px}.learn-more summary{list-style:revert;padding:15px 20px}.learn-more summary:after{content:none}.learn-more[open] summary:after{content:none}.learn-more.technical{border-left:4px solid #c99631}.learn-more div{padding:0 20px 12px}.references li{margin:12px 0}.references a{text-decoration:underline}.contact-box{margin-top:30px;padding:30px;background:#f7f4eb;border-radius:14px}.footer{padding:24px 0}.footer img{height:48px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #d99b35;outline-offset:5px}.skip{position:fixed;top:-70px;left:12px;z-index:100;background:#fff;padding:12px}.skip:focus{top:10px}
@media(max-width:900px){.top{height:72px}.brand{min-width:0}.nav{top:72px}.nav a{padding:9px 0}.hero-grid{grid-template-columns:1fr}.hero-photo{min-height:290px;height:290px}.hero-copy{padding:35px 24px}.hero h1{font-size:42px}.gaia-cover-layout{grid-template-columns:130px 1fr;gap:22px}.gaia-cover-logo{width:130px}.gaia-cover h1{font-size:36px}.understand-hero h1{font-size:36px}.section,.gaia-section,.gaia-intro{padding:34px 0}}
@media(max-width:600px){.wrap{width:calc(100% - 32px)}.gaia-cover-layout{grid-template-columns:90px 1fr;gap:15px;align-items:start}.gaia-cover-logo{width:90px;padding:8px}.gaia-cover h1{font-size:30px}.gaia-cover p{font-size:16px}.gaia-cover .wrap{padding-top:28px;padding-bottom:28px}.gaia-actions{grid-column:1 / -1}.photo-pair{grid-template-columns:1fr}.real-photo img,.photo-pair .real-photo img{height:240px}.lesson-grid{width:calc(100% - 32px);grid-template-columns:1fr;gap:12px}.lesson h2,.section h2,.gaia-section h2,.gaia-intro h2{font-size:28px}.subhero h1{font-size:34px}.understand-hero h1{font-size:33px}.territory .copy{padding:28px 20px}.hero h1{font-size:38px}.actions{gap:10px}.contact-box{padding:22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.apilab-page .hero-photo img{object-fit:contain;object-position:center;background:#eaf0eb}.apilab-page .hero-photo:after{display:none}.apilab-page .script{font-size:20px}

.apilab-page .hero-photo img{object-fit:cover;object-position:center}.apilab-page .hero-photo{background:#eaf0eb}

@media(min-width:901px){.apilab-page .hero-photo{height:510px;min-height:510px}.apilab-page .hero-grid{min-height:510px}.apilab-page .hero-photo img{height:100%;width:100%}}

/* Bloc territoire : dimensions bornées, indépendantes de la taille du fichier photo. */
.territory{width:min(1180px,100%);margin-inline:auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:0;align-items:stretch}.territory .photo{height:350px;min-width:0;overflow:hidden}.territory .photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.territory .copy{min-width:0;padding:32px}.territory .copy h2{font-size:30px}
@media(max-width:900px){.territory{grid-template-columns:1fr}.territory .photo{height:280px}.territory .copy{padding:28px 24px}}

/* Orientation de la vue du territoire GAIA. */
.real-photo img[src$="territoire-gaia.jpg"]{transform:rotate(180deg)}
.gaia-cover{background-image:linear-gradient(90deg,#103d30ef,#103d30ca),url('../images/reunion.jpg')}

.rse-foundation{display:grid;grid-template-columns:340px minmax(0,1fr);gap:42px;align-items:center}.rse-diagram{margin:0}.rse-diagram img{width:100%;max-width:320px;height:auto;margin:auto}.rse-diagram figcaption{font-size:13px;text-align:center;margin-top:12px;color:var(--muted)}@media(max-width:700px){.rse-foundation{grid-template-columns:1fr;gap:24px}.rse-diagram img{max-width:300px}}

/* Fondu du bandeau ApiLab, comme dans V1.2. */
.apilab-page .hero-photo:after{display:block;pointer-events:none;background:linear-gradient(90deg,#eef3ef 0%,rgba(238,243,239,.88) 8%,rgba(238,243,239,.35) 18%,transparent 31%)}
@media(min-width:901px){.apilab-page .hero-grid{grid-template-columns:45% 55%}.apilab-page .hero-photo{margin-left:-55px;clip-path:polygon(10% 0,100% 0,100% 100%,0 100%)}.apilab-page .hero-photo img{object-position:58% center}.apilab-page .hero-copy{padding-right:18px}}
@media(max-width:900px){.apilab-page .hero-photo:after{background:linear-gradient(180deg,#eef3ef 0%,rgba(238,243,239,.4) 12%,transparent 30%)}}

.apilab-page .hero-apilab-logo{width:105px;height:105px;object-fit:contain;object-position:left center;margin-bottom:14px;flex-shrink:0}.apilab-page .hero-copy{padding-top:26px;padding-bottom:26px}.apilab-page .hero h1{font-size:clamp(36px,3.6vw,49px);margin-bottom:16px}@media(min-width:901px){.apilab-page .hero-photo{height:590px;min-height:590px}.apilab-page .hero-grid{min-height:590px}}@media(max-width:600px){.apilab-page .hero-apilab-logo{width:85px;height:85px}.apilab-page .hero h1{font-size:36px}}

.apilab-page .hero-copy{display:grid;grid-template-columns:100px minmax(0,1fr);gap:18px;align-items:start;align-content:center}.apilab-page .hero-apilab-logo{width:100px;height:100px;margin:0}.apilab-page .hero-text{min-width:0}.apilab-page .hero h1{font-size:clamp(32px,3.1vw,44px)}@media(min-width:901px){.apilab-page .hero-grid{grid-template-columns:52% 48%}}@media(max-width:600px){.apilab-page .hero-copy{grid-template-columns:66px minmax(0,1fr);gap:12px;padding-inline:16px}.apilab-page .hero-apilab-logo{width:66px;height:78px}.apilab-page .hero h1{font-size:30px}.apilab-page .hero-text .lead{font-size:16px}.apilab-page .hero-text .eyebrow{font-size:10px;letter-spacing:.12em}}

.apilab-page .hero-copy{display:flex;flex-direction:column;justify-content:center;gap:0}.apilab-page .hero-intro{display:grid;grid-template-columns:240px minmax(0,1fr);gap:22px;align-items:stretch}.apilab-page .hero-logo-slot{position:relative;min-width:0}.apilab-page .hero-apilab-logo{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;margin:0}.apilab-page .hero-text .lead{margin-bottom:0}.apilab-page .hero-copy>.actions{margin-top:24px}.apilab-page .hero-copy>.small{margin-bottom:0}
@media(min-width:901px){.apilab-page .hero-grid{grid-template-columns:65% 35%}.apilab-page .hero-photo{height:590px}}
@media(max-width:900px){.apilab-page .hero-intro{grid-template-columns:200px minmax(0,1fr)}}
@media(max-width:600px){.apilab-page .hero-intro{grid-template-columns:105px minmax(0,1fr);gap:12px}.apilab-page .hero-copy>.actions{gap:10px}.apilab-page .hero h1{font-size:28px}}

.apilab-page .hero-apilab-logo{object-position:center bottom}

/* Répartition du bandeau : signature au-dessus du logo et texte sur cinq lignes. */
.apilab-page .hero-logo-slot{display:flex;flex-direction:column;justify-content:space-between;gap:12px}.apilab-page .hero-logo-slot>.eyebrow{font-size:10px;letter-spacing:.12em;margin:0;white-space:nowrap}.apilab-page .hero-apilab-logo{position:static;width:100%;height:auto;max-height:280px;object-fit:contain;object-position:center bottom}.apilab-page .hero-intro{grid-template-columns:190px minmax(0,1fr);gap:20px}.apilab-page .hero-text .lead{font-size:16px;line-height:1.7}.apilab-page .hero h1{font-size:38px}.desktop-break{display:none}
@media(min-width:1100px){.apilab-page .hero-grid{grid-template-columns:60% 40%}.desktop-break{display:initial}}
@media(min-width:901px) and (max-width:1099px){.apilab-page .hero-grid{grid-template-columns:62% 38%}.apilab-page .hero-intro{grid-template-columns:150px minmax(0,1fr);gap:16px}.apilab-page .hero-logo-slot>.eyebrow{white-space:normal}.apilab-page .hero h1{font-size:34px}}
@media(max-width:600px){.apilab-page .hero-intro{grid-template-columns:100px minmax(0,1fr);gap:12px}.apilab-page .hero-logo-slot>.eyebrow{white-space:normal;font-size:9px}.apilab-page .hero h1{font-size:28px}}

.section-icon{display:block;width:82px;height:82px;object-fit:contain;margin:0 0 14px}.gaia-card .num{display:none}@media(max-width:600px){.section-icon{width:68px;height:68px}}

/* Signature commune et alignement du logo sur le titre et le paragraphe. */
.apilab-page .hero-kicker{font-size:15px;letter-spacing:.12em;margin:0 0 16px;font-weight:800}.apilab-page .hero-intro{grid-template-columns:250px minmax(0,1fr);gap:22px}.apilab-page .hero-logo-slot{position:relative;display:block}.apilab-page .hero-apilab-logo{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain;object-position:center}.apilab-page .hero-text .lead{font-size:16px;line-height:1.65}.apilab-page .hero-text h1{font-size:36px;line-height:1.08;margin-top:0;margin-bottom:18px}
@media(min-width:1100px){.apilab-page .hero-grid{grid-template-columns:64% 36%}}
@media(min-width:901px) and (max-width:1099px){.apilab-page .hero-intro{grid-template-columns:200px minmax(0,1fr);gap:18px}.apilab-page .hero-text h1{font-size:32px}}
@media(max-width:900px){.apilab-page .hero-intro{grid-template-columns:200px minmax(0,1fr)}}
@media(max-width:600px){.apilab-page .hero-kicker{font-size:12px}.apilab-page .hero-intro{grid-template-columns:110px minmax(0,1fr);gap:14px}.apilab-page .hero-text h1{font-size:27px}.apilab-page .hero-text .lead{font-size:15px}}

/* Plus de place pour l’abeille, fondu plus léger. */
@media(min-width:1100px){.apilab-page .hero-grid{grid-template-columns:57% 43%}.apilab-page .hero-intro{grid-template-columns:210px minmax(0,1fr);gap:18px}.apilab-page .hero-copy{padding-left:18px;padding-right:12px}.apilab-page .hero-text h1{font-size:33px}.apilab-page .hero-text .lead{font-size:15px}.apilab-page .hero-photo{margin-left:-30px;clip-path:polygon(6% 0,100% 0,100% 100%,0 100%)}}
.apilab-page .hero-photo:after{background:linear-gradient(90deg,#eef3ef 0%,rgba(238,243,239,.62) 5%,rgba(238,243,239,.20) 12%,transparent 22%)}
@media(max-width:900px){.apilab-page .hero-photo:after{background:linear-gradient(180deg,rgba(238,243,239,.65),transparent 20%)}}

/* Transition continue : aucune découpe diagonale, photo prolongée vers la gauche. */
@media(min-width:901px){.apilab-page .hero-photo{clip-path:none;margin-left:-85px}.apilab-page .hero-photo:after{display:block;background:linear-gradient(90deg,#eef3ef 0%,rgba(238,243,239,.94) 6%,rgba(238,243,239,.70) 13%,rgba(238,243,239,.38) 21%,rgba(238,243,239,.12) 29%,transparent 38%)}.apilab-page .hero-photo img{object-position:48% center}}

/* Diagonale douce et cadrage conservant le texte intégré à la photo. */
@media(min-width:901px){.apilab-page .hero-photo{clip-path:polygon(7% 0,100% 0,100% 100%,0 100%)}.apilab-page .hero-photo img{object-position:100% center}.apilab-page .hero-photo:after{background:linear-gradient(90deg,#eef3ef 0%,#eef3ef 7%,rgba(238,243,239,.88) 12%,rgba(238,243,239,.56) 20%,rgba(238,243,239,.23) 29%,transparent 40%)}}

@media(min-width:901px){.apilab-page .hero-photo{width:calc(100% + 160px);margin-left:-245px}.apilab-page .hero-photo:after{background:linear-gradient(90deg,#eef3ef 0%,#eef3ef 12%,rgba(238,243,239,.9) 20%,rgba(238,243,239,.5) 29%,rgba(238,243,239,.12) 38%,transparent 46%)}}

/* V1.5 : photo alignée sur le bord droit et cadrage large de l’abeille. */
@media(min-width:901px){.apilab-page .hero-grid{min-height:480px;grid-template-columns:57% 43%}.apilab-page .hero-photo{height:480px;min-height:480px;width:calc(100% + 245px);margin-left:-245px;clip-path:polygon(7% 0,100% 0,100% 100%,0 100%)}.apilab-page .hero-photo img{object-fit:cover;object-position:center center}.apilab-page .hero-photo:after{background:linear-gradient(90deg,#eef3ef 0%,#eef3ef 7%,rgba(238,243,239,.86) 13%,rgba(238,243,239,.48) 22%,rgba(238,243,239,.12) 31%,transparent 40%)}.apilab-page .hero-copy{padding-top:24px;padding-bottom:24px}.apilab-page .hero-intro{grid-template-columns:190px minmax(0,1fr);gap:18px}.apilab-page .hero-text h1{font-size:32px}.apilab-page .hero-text .lead{font-size:15px}}
