/* Droit Solaire : direction artistique 2026. Overrides non destructifs des pages d'origine. */
:root{--blue:#2252b1;--blue-dark:#153a88;--slate-900:#10203d;--slate-700:#394964;--slate-600:#52627a;--slate-50:#f7faff;--ds-amber:#f7b852;--ds-ice:#eaf2ff;--ds-radius:22px;--ds-shadow:0 14px 44px rgba(32,66,120,.12)}
html{scroll-padding-top:88px}
body{overflow-x:hidden;background:#fcfdff}
body,button,input,textarea{font-family:Roboto,system-ui,sans-serif}
h1,h2,h3,h4{letter-spacing:-.027em;text-wrap:balance}
p{overflow-wrap:break-word}
img{max-width:100%;height:auto}
img:not([src]){display:none}
:focus-visible{outline:3px solid #f7b852;outline-offset:3px}
.wrap{max-width:1160px}
header{box-shadow:0 4px 25px rgba(14,36,79,.04)}
.brand{letter-spacing:-.03em;white-space:nowrap}
.brand .logo{overflow:hidden;background:none!important;box-shadow:0 4px 12px rgba(37,85,176,.15);flex:none}
.brand .logo img{width:100%;height:100%;display:block;object-fit:contain}
header .menu{gap:clamp(10px,1.4vw,24px)}
header .menu a{font-size:.88rem}
.btn{border-radius:12px;font-weight:700;box-shadow:0 4px 12px rgba(34,82,177,.07)}
.btn-primary{background:linear-gradient(120deg,#2459c0,#173c91);color:white}
.btn-primary:hover{background:linear-gradient(120deg,#173c91,#102e72);box-shadow:0 12px 24px rgba(35,84,177,.24);transform:translateY(-1px)}
.ds-menu-toggle{display:none;border:1px solid #d6e3f8;background:white;color:#1d438b;border-radius:12px;width:43px;height:43px;align-items:center;justify-content:center;cursor:pointer;font-size:25px;line-height:1}
.ds-section-heading{display:flex;align-items:center;gap:12px}
.ds-section-heading::before{content:'';display:inline-block;width:9px;height:34px;border-radius:99px;background:linear-gradient(#f9c463,#2d67ca);flex:none}
/* Illustrative hero: floating picture and badges */
.hero{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 82% 8%,#dfeaff 0,transparent 48%),linear-gradient(145deg,#eef4ff 0%,#fbfdff 67%,#fff 100%);border-bottom:1px solid #e2ebfa}
.hero::before{content:'';position:absolute;width:410px;height:410px;right:-190px;top:-205px;border:1px solid rgba(54,104,191,.15);border-radius:50%;z-index:-1;box-shadow:0 0 0 70px rgba(59,108,191,.035),0 0 0 145px rgba(59,108,191,.035)}
.hero .eyebrow{border-radius:999px}
.ds-hero-grid{max-width:1160px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.92fr);gap:clamp(25px,4vw,64px);align-items:center}
.ds-hero-grid .ds-hero-copy{min-width:0}
.ds-hero-grid h1{max-width:720px;font-size:clamp(2rem,3.6vw,3.35rem);line-height:1.14;letter-spacing:-.044em}
.ds-hero-grid .lead{max-width:650px}
.ds-hero-image{margin:0;position:relative;min-width:0;padding:18px 19px 18px 0}
.ds-hero-image::before{content:'';position:absolute;right:0;top:0;width:76%;height:82%;border-radius:34px;background:#d5e6ff;transform:rotate(5deg)}
.ds-hero-image::after{content:'';position:absolute;width:104px;height:104px;right:-12px;bottom:-8px;background:radial-gradient(circle,#f5b955 3px,transparent 4px);background-size:19px 19px;opacity:.42;z-index:-1}
.ds-hero-image img{position:relative;display:block;width:100%;height:clamp(290px,31vw,435px);object-fit:cover;border-radius:22px;box-shadow:0 22px 60px rgba(21,47,96,.22)}
.ds-floating-chip{position:absolute;left:-22px;bottom:27px;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e1eaf7;border-radius:15px;padding:10px 15px;box-shadow:0 12px 28px rgba(15,50,105,.13);color:#1e3d78;font-weight:700;font-size:.82rem;max-width:75%}
.ds-floating-chip .ds-chip-icon{display:grid;place-items:center;background:#e7f1ff;border-radius:12px;width:36px;height:36px;font-size:19px;flex:none}
.ds-hero-proof{display:flex;flex-wrap:wrap;gap:9px;margin-top:19px}
.ds-hero-proof span{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid #dce8fa;border-radius:99px;padding:7px 12px;font-size:.79rem;font-weight:700;color:#2d4b7f}
.ds-hero-proof svg{width:15px;height:15px;color:#2c63ba;flex:none}
/* Home hero utilizes its original copy */
.hero .wrap.ds-home-grid{max-width:1190px;text-align:left;display:grid;grid-template-columns:minmax(0,1.07fr) minmax(0,.93fr);gap:clamp(26px,4vw,52px);padding:56px 24px 49px;align-items:center}
.ds-home-grid h1{font-size:clamp(2.15rem,4.0vw,3.45rem);line-height:1.14;letter-spacing:-.044em}
.ds-home-grid .ds-home-copy p{margin-left:0;margin-right:0;font-size:1.04rem;max-width:630px}
.ds-home-grid .ds-home-copy .lead{font-size:1.09rem}
.ds-home-grid .cta{justify-content:flex-start}
.ds-home-grid .ds-hero-image img{height:clamp(320px,35vw,480px)}
.ds-home-grid .ds-hero-proof{justify-content:flex-start}
/* Photo cards and informative bubbles */
.ds-photo-triad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:23px 0 28px}
.ds-photo-card{position:relative;display:block;height:210px;overflow:hidden;border-radius:19px;isolation:isolate;text-decoration:none;color:#fff!important;box-shadow:0 10px 28px rgba(26,56,105,.11)}
.ds-photo-card img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.ds-photo-card:hover img{transform:scale(1.055)}
.ds-photo-card::after{content:'';position:absolute;inset:25% 0 0;background:linear-gradient(transparent,rgba(10,27,54,.85));pointer-events:none}
.ds-photo-card strong{position:absolute;z-index:1;bottom:17px;left:18px;right:40px;line-height:1.25;font-size:1rem;color:white}
.ds-photo-card .ds-arrow{position:absolute;z-index:1;bottom:15px;right:16px;background:rgba(255,255,255,.2);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.3);width:29px;height:29px;border-radius:50%;display:grid;place-items:center}
.ds-story-band{position:relative;overflow:hidden;margin:26px 0 22px;border-radius:25px;display:grid;grid-template-columns:39% 1fr;align-items:stretch;background:#102e63;color:#fff;box-shadow:0 15px 34px rgba(24,56,100,.13)}
.ds-story-band img{height:100%;min-height:240px;width:100%;object-fit:cover;display:block}
.ds-story-band .ds-story-copy{padding:clamp(22px,3vw,38px);display:flex;flex-direction:column;justify-content:center}
.ds-story-band h3{color:#fff;font-size:clamp(1.2rem,2vw,1.75rem);margin-bottom:10px}
.ds-story-band p{color:#dce9ff;font-size:.94rem;margin-bottom:16px}
.ds-story-band a{color:#fff;font-weight:700;text-decoration:none;border-bottom:1px solid #9ab7f3;align-self:flex-start}
.ds-story-band .ds-tag{display:inline-flex;align-self:flex-start;background:rgba(255,255,255,.13);border-radius:99px;font-size:.77rem;padding:5px 10px;margin-bottom:10px;color:#ffdfa0}
.ds-home-reading{background:#f3f7ff;border-top:1px solid #e6edfa;border-bottom:1px solid #e6edfa}
.ds-home-reading .ds-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-top:20px}
.ds-home-reading .ds-feature-post{display:block;background:#fff;color:#12335f;text-decoration:none;border:1px solid #dfebfc;border-radius:18px;overflow:hidden;box-shadow:0 8px 22px rgba(31,67,124,.06);transition:transform .2s}
.ds-home-reading .ds-feature-post:hover{transform:translateY(-3px)}
.ds-feature-post img{display:block;width:100%;height:175px;object-fit:cover}
.ds-feature-post div{padding:17px 19px 20px}
.ds-feature-post small{display:block;color:#285bb4;text-transform:uppercase;letter-spacing:.08em;font-size:.7rem;font-weight:700;margin-bottom:7px}
.ds-feature-post h3{font-size:1.06rem;line-height:1.35;margin:0 0 10px}
.ds-feature-post span{color:#2459b1;font-size:.85rem;font-weight:700}
/* Landing pages */
.ds-content-split{display:grid;grid-template-columns:minmax(0,1.07fr) minmax(0,.93fr);align-items:start;gap:clamp(22px,4vw,50px)}
.ds-content-split>.ds-text-column{min-width:0}
.ds-content-split>.ds-side-art{margin:0;position:relative;top:5px}
.ds-side-art img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:21px;box-shadow:var(--ds-shadow);display:block}
.ds-side-art figcaption{display:flex;align-items:center;gap:10px;font-size:.84rem;font-weight:600;line-height:1.4;color:#2b4a7b;margin:0;padding:13px 4px}
.ds-side-art figcaption::before{content:'✦';color:#edaa35;font-size:20px}
.ds-side-art .ds-art-bubble{position:absolute;right:-9px;top:-13px;background:#fff;border-radius:99px;box-shadow:0 7px 19px rgba(21,56,118,.12);padding:9px 14px;color:#2859aa;font-size:.8rem;font-weight:800}
.ds-topic-media{position:relative;border-radius:19px;overflow:hidden;display:grid;grid-template-columns:36% 1fr;background:#eaf2ff;margin:21px 0 16px;min-height:175px}
.ds-topic-media img{width:100%;height:100%;object-fit:cover;min-height:175px}
.ds-topic-media div{padding:21px 26px;display:flex;flex-direction:column;justify-content:center}
.ds-topic-media strong{font-size:1.15rem;line-height:1.3;color:#173969}
.ds-topic-media p{font-size:.92rem;margin:8px 0 0}
.ds-topic-media .ds-small-label{font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#2b64bf;margin-bottom:7px}
.ds-steps-graphic{width:100%;max-height:200px;object-fit:contain;border-radius:18px;margin:10px 0 10px}
/* Add rhythm and less dead white */
main>section:not(.hero):not(.contact){position:relative}
main>section:nth-of-type(even):not(.hero):not(.contact){background:linear-gradient(120deg,#f5f8ff,#fbfdff)}
main>section:not(.hero):not(.contact){border-bottom:1px solid #e8eef9}
main>section:not(.hero):not(.contact)>.wrap{padding-top:8px;padding-bottom:8px}
main>section:not(.hero):not(.contact) h2{font-size:clamp(1.45rem,2.6vw,2.05rem);letter-spacing:-.035em}
main>section:not(.hero):not(.contact) h3{font-size:clamp(1.03rem,1.7vw,1.2rem)}
.card,.claim,.callout,.side-box{border-color:#e0eafb;box-shadow:0 6px 20px rgba(32,72,139,.05)}
.card{border-radius:17px}
.card:hover{border-color:#bed5fa}
.step{border-color:#e0eafa;border-radius:14px}
/* Contact photo for trust, without fabricated staff or partner logos */
.contact{position:relative;overflow:hidden;background:linear-gradient(135deg,#0e2855,#173e83 80%);color:#eaf2ff}
.contact::after{content:'';position:absolute;width:460px;height:460px;border:1px solid rgba(255,255,255,.14);border-radius:50%;right:-230px;top:-240px;box-shadow:0 0 0 90px rgba(255,255,255,.03),0 0 0 180px rgba(255,255,255,.025);pointer-events:none}
.contact h2{color:#fff}
.contact p{color:#d5e3ff}
.contact .form-card{position:relative;z-index:1}
.contact .form-card p{color:#66758b}
.contact .form-card .form-note{color:#63748a}
.ds-contact-signal{display:flex;justify-content:center;align-items:center;gap:9px;flex-wrap:wrap;margin:12px 0 20px}
.ds-contact-signal span{display:flex;gap:7px;align-items:center;border:1px solid rgba(255,255,255,.26);background:rgba(255,255,255,.07);border-radius:100px;color:#fff;padding:6px 12px;font-size:.78rem;font-weight:600}
footer{margin-top:0}
/* Blog landing */
.ds-blog-hero .ds-hero-image img{height:315px}
.post-card{overflow:hidden;padding:0;border-radius:19px;transition:box-shadow .22s,transform .22s}
.post-card:hover{transform:translateY(-4px);box-shadow:0 15px 35px rgba(20,50,100,.15)}
.post-thumb{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;transition:transform .4s}
.post-card:hover .post-thumb{transform:scale(1.04)}
.post-card .ds-post-body{position:relative;background:#fff;padding:17px 19px 21px;min-height:140px}
.post-card h3{line-height:1.3}
.blog-grid{gap:18px}
/* Blog article layout */
.article-head{padding:24px 0 14px;background:linear-gradient(90deg,#eff5ff,#fafcff)}
.article-wrap{padding-top:29px;gap:36px}
.article h1{font-size:clamp(2rem,3.4vw,2.85rem);line-height:1.14}
.article .lede{font-size:1.095rem;line-height:1.7}
.article h2{font-size:clamp(1.35rem,2.4vw,1.65rem);position:relative;letter-spacing:-.03em}
.ds-article-hero{position:relative;overflow:hidden;border-radius:22px;margin:12px 0 26px;box-shadow:0 12px 28px rgba(24,53,105,.1)}
.ds-article-hero img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.ds-article-hero .ds-img-caption{position:absolute;bottom:14px;left:14px;background:rgba(14,38,82,.78);color:#fff;border-radius:99px;padding:6px 12px;font-weight:700;font-size:.76rem;backdrop-filter:blur(6px)}
.ds-article-inline{margin:22px 0;display:grid;grid-template-columns:37% 1fr;background:#eef5ff;border-radius:19px;overflow:hidden;align-items:stretch}
.ds-article-inline img{width:100%;height:100%;min-height:160px;object-fit:cover}
.ds-article-inline figcaption{display:flex;align-items:center;padding:21px;color:#274d83;font-weight:600;line-height:1.55;font-size:.95rem}
.aside .cta-card{overflow:hidden;position:relative;padding-top:18px;background:linear-gradient(140deg,#16438e,#2862c1)}
.ds-aside-visual{height:130px;overflow:hidden;margin:-18px -24px 18px}
.ds-aside-visual img{width:100%;height:100%;object-fit:cover}
/* Legal content remains readable */
.ds-legal-ribbon{height:160px;background-image:linear-gradient(90deg,rgba(13,41,90,.88),rgba(25,74,140,.32)),url('/images/illustrations/conseil-4.webp');background-size:cover;background-position:center;border-bottom:5px solid #f4ba61}
.ds-legal-ribbon .wrap{height:100%;display:flex;align-items:center}
.ds-legal-ribbon span{color:#fff;font-weight:700;font-size:1.1rem;letter-spacing:-.015em}
/* Narrow layouts, improved navigation and image rhythm */
@media(max-width:1080px){
 .nav{gap:12px}
 header .menu{gap:13px}
 header .menu a{font-size:.82rem}
 .nav>.btn-primary{font-size:.84rem;padding:11px 13px}
}
@media(max-width:900px){
 .ds-home-grid .ds-hero-image img{height:310px}
 .ds-hero-grid,.hero .wrap.ds-home-grid{grid-template-columns:1fr;gap:20px}
 .ds-hero-image{max-width:640px;width:100%;margin:0 auto}
 .hero .wrap.ds-home-grid{padding:35px 24px 32px;text-align:left}
 .ds-hero-grid{padding-top:30px;padding-bottom:30px}
 .ds-hero-grid .ds-hero-image img{height:300px}
 .ds-content-split{grid-template-columns:1fr;gap:15px}
 .ds-content-split .ds-side-art{max-width:100%;display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1fr);align-items:center;gap:16px}
 .ds-side-art img{aspect-ratio:16/10;max-height:270px}
 .ds-side-art figcaption{padding-right:20px}
 .ds-photo-triad,.ds-home-reading .ds-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ds-photo-triad .ds-photo-card:last-child{display:none}
 .ds-menu-toggle{display:inline-flex}
 header .menu{display:none;position:absolute;top:100%;left:12px;right:12px;margin:0;z-index:51;flex-direction:column;align-items:stretch;background:#fff;padding:12px 16px;border:1px solid #dfe9f6;border-radius:0 0 16px 16px;box-shadow:0 20px 30px rgba(12,38,80,.13);gap:0}
 header .menu.is-open, header .menu.open{display:flex}
 header .menu li{display:block;border-bottom:1px solid #edf1f7;padding:0}
 header .menu li:last-child{border-bottom:0}
 header .menu a{display:block;padding:12px 7px;font-size:1rem}
 header .nav>.btn-primary{margin-left:auto}
 .nav-toggle{display:inline-flex;align-items:center;justify-content:center;border:1px solid #e1eafa;border-radius:12px;width:43px;height:43px;font-size:24px}
}
@media(max-width:640px){
 .wrap{padding-left:18px;padding-right:18px}
 .nav{height:63px}
 .brand{font-size:.95rem}
 .brand .logo{width:30px;height:30px}
 header .nav{gap:8px}
 header .nav>.btn-primary{display:inline-flex;font-size:.72rem;padding:8px 10px;white-space:nowrap;margin-left:auto}
 section{padding-top:29px;padding-bottom:29px}
 .hero{padding:26px 0 24px}
 .hero .wrap.ds-home-grid{padding:22px 18px 10px}
 .ds-home-grid h1,.ds-hero-grid h1{font-size:clamp(1.98rem,7.7vw,2.7rem)}
 .ds-home-grid .ds-home-copy p,.ds-hero-grid .lead{font-size:1rem}
 .ds-home-grid .cta{gap:9px}
 .ds-home-grid .cta .btn{font-size:.86rem;padding:11px 13px}
 .ds-hero-image{padding:10px 12px 17px 10px}
 .ds-hero-image img,.ds-home-grid .ds-hero-image img,.ds-hero-grid .ds-hero-image img{height:clamp(210px,59vw,330px);border-radius:17px}
 .ds-floating-chip{font-size:.72rem;padding:7px 9px;bottom:20px;left:-7px;max-width:80%}
 .ds-floating-chip .ds-chip-icon{width:29px;height:29px;font-size:15px}
 .ds-hero-proof{gap:6px;margin-top:13px}
 .ds-hero-proof span{font-size:.73rem;padding:6px 9px}
 .ds-photo-triad,.ds-home-reading .ds-news-grid{grid-template-columns:1fr}
 .ds-photo-triad .ds-photo-card:last-child{display:block}
 .ds-photo-card{height:168px}
 .ds-story-band{grid-template-columns:1fr}
 .ds-story-band img{height:165px;min-height:0}
 .ds-story-band .ds-story-copy{padding:20px}
 .ds-content-split .ds-side-art{grid-template-columns:1fr;gap:0}
 .ds-side-art img{max-height:220px}
 .ds-side-art figcaption{font-size:.8rem}
 .ds-topic-media,.ds-article-inline{grid-template-columns:1fr}
 .ds-topic-media img{height:165px;min-height:0}
 .ds-topic-media div{padding:17px}
 .ds-article-inline img{height:150px;min-height:0}
 .ds-article-inline figcaption{padding:17px;font-size:.88rem}
 .article-wrap{padding:24px 18px 10px}
 .article h1{font-size:clamp(1.8rem,8vw,2.5rem)}
 .article .lede{font-size:1rem}
 .ds-article-hero{border-radius:17px}
 .ds-article-hero img{aspect-ratio:4/3}
 .ds-blog-hero .ds-hero-image img{height:220px}
 .ds-legal-ribbon{height:115px}
 .contact{padding:38px 0}
 .form-card{padding:20px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn,.post-card,.ds-photo-card img{transition:none}}
/* Le CTA reste accessible dans le menu mobile, quel que soit le modèle de page. */
header .menu .ds-nav-contact{display:none}
@media(max-width:900px){
 header .menu .ds-nav-contact{display:block;margin-top:7px;border-bottom:0}
 header .menu .ds-nav-contact a{background:#1e4ba8;color:#fff;border-radius:10px;font-weight:700;text-align:center}
 header .menu .ds-nav-contact a:hover{background:#14377c;color:white}
}

@media(max-width:520px){
 header .brand{font-size:0;gap:0}
 header .brand .logo{font-size:1rem;margin-right:0}
 header .nav>.btn-primary{font-size:.74rem;padding:9px 12px}
}
