/* =========================================================
   Superga Invest — feuille de styles
   Palette et typographie reprises du site d'origine
   ========================================================= */

:root{
  --rouge:#f24646;
  --rouge-fonce:#d93838;
  --gris-texte:#5e5d5e;
  --gris-clair:#747374;
  --gris-fond:#f2f2f2;
  --noir:#1d2028;
  --blanc:#fff;
  --band-gris:#6b6a6b;
  --wrap:1180px;
  --wrap-narrow:920px;
  --header-h:96px;
  --tilt:40px;
  --font:"Poppins","Century Gothic",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:var(--font);
  font-weight:300;
  font-size:17px;
  line-height:1.75;
  color:var(--gris-texte);
  background:var(--blanc);
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--rouge);text-decoration:none}
a:hover{color:var(--rouge-fonce)}
h1,h2,h3{font-weight:300;line-height:1.25;margin:0 0 .4em;color:var(--gris-texte)}
strong,b{font-weight:500;color:var(--rouge)}
p{margin:0 0 1em}

:focus-visible{outline:2px solid var(--rouge);outline-offset:3px}

.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}
.skip-link{
  position:absolute;left:-9999px;top:0;z-index:999;
  background:var(--rouge);color:#fff;padding:12px 20px;
}
.skip-link:focus{left:0;color:#fff}

.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 24px}
.wrap--narrow{max-width:var(--wrap-narrow)}

/* ---------- En-tête ---------- */
.header{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid #ececec;
  transition:box-shadow .3s ease;
}
.header.is-stuck{box-shadow:0 2px 14px rgba(0,0,0,.08)}
.header__inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:24px;min-height:var(--header-h);
}
.header__logo img{width:157px;height:auto}

.nav{display:flex;align-items:center;gap:28px}
.nav__list,.lang{list-style:none;display:flex;align-items:center;margin:0;padding:0}
.nav__list{gap:6px}
.nav__link{
  display:block;padding:10px 14px;
  font-size:14px;font-weight:400;letter-spacing:.06em;text-transform:uppercase;
  color:var(--gris-texte);position:relative;
}
.nav__link::after{
  content:"";position:absolute;left:14px;right:14px;bottom:4px;height:2px;
  background:var(--rouge);transform:scaleX(0);transform-origin:left;
  transition:transform .25s ease;
}
.nav__link:hover,.nav__link.is-active{color:var(--rouge)}
.nav__link:hover::after,.nav__link.is-active::after{transform:scaleX(1)}

.lang{gap:10px;padding-left:20px;border-left:1px solid #e6e6e6}
.lang__link{display:block;opacity:.55;transition:opacity .2s ease}
.lang__link:hover,.lang__link.is-active{opacity:1}
.lang__link img{width:18px;height:auto}

/* Bouton menu mobile */
.burger{
  display:none;width:44px;height:44px;padding:0;margin-left:auto;
  background:none;border:0;cursor:pointer;color:var(--gris-texte);
}
.burger__box{position:relative;display:block;width:24px;height:2px;margin:0 auto}
.burger__line,.burger__line::before,.burger__line::after{
  position:absolute;left:0;width:24px;height:2px;background:currentColor;
  transition:transform .25s ease,opacity .2s ease;
}
.burger__line{top:0}
.burger__line::before{content:"";top:-7px}
.burger__line::after{content:"";top:7px}
.burger[aria-expanded="true"]{color:var(--rouge)}
.burger[aria-expanded="true"] .burger__line{background:transparent}
.burger[aria-expanded="true"] .burger__line::before{transform:translateY(7px) rotate(45deg)}
.burger[aria-expanded="true"] .burger__line::after{transform:translateY(-7px) rotate(-45deg)}

/* ---------- Hero ---------- */
.hero{position:relative;min-height:min(74vh,620px);display:flex;align-items:center;overflow:hidden}
.hero__media{
  position:absolute;top:0;right:0;bottom:0;left:0;
  background:#2b2018 url("../img/hero-superga-invest.jpg") center/cover no-repeat;
}
.hero__media::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.32)}
.hero__inner{position:relative;text-align:center;padding-top:60px;padding-bottom:60px;width:100%}
.hero__title{
  color:#fff;font-weight:300;font-size:clamp(1.9rem,4.6vw,3.25rem);
  letter-spacing:.01em;text-shadow:0 2px 18px rgba(0,0,0,.35);margin:0;
}
.hero__title span{display:inline-block}
.hero__scroll{
  display:inline-flex;align-items:center;justify-content:center;
  width:46px;height:46px;margin-top:36px;color:#fff;
  animation:bob 2.4s ease-in-out infinite;
}
.hero__scroll svg{width:26px}
.hero__scroll:hover{color:#fff;opacity:.75}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(8px)}}

/* ---------- Sections claires ---------- */
.section{padding:84px 0}
.section__title{
  text-align:center;font-size:clamp(1.6rem,3vw,2.15rem);
  font-weight:300;letter-spacing:.02em;margin-bottom:.6em;
}
.section__title span{color:var(--rouge)}
.section__title--light{color:#fff}
.section__subtitle{text-align:center;max-width:760px;margin:0 auto 48px}

.lead{text-align:center}
.lead p:last-child{margin-bottom:0}

/* ---------- Actualité ---------- */
.news{
  display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:stretch;
  margin-top:64px;
}
.news__media{margin:0}
.news__media img{width:100%}
.news__card{background:var(--gris-fond);padding:32px 34px;position:relative}
.news__date{
  display:flex;align-items:center;gap:14px;
  font-size:12px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--gris-clair);margin:0 0 14px;
}
.news__cat{background:var(--rouge);color:#fff;padding:3px 10px;letter-spacing:.1em}
.news__title{font-size:1.4rem;margin-bottom:.6em}
.news__title a{color:var(--gris-texte)}
.news__title a:hover{color:var(--rouge)}
.news__excerpt{font-size:15.5px;line-height:1.8}
.link-more{
  display:inline-flex;align-items:center;gap:8px;
  font-size:13px;font-weight:500;letter-spacing:.09em;text-transform:uppercase;
  color:var(--gris-texte);border-bottom:2px solid var(--rouge);padding-bottom:3px;
}
.link-more::after{content:"›";font-size:18px;line-height:1;transition:transform .25s ease}
.link-more:hover{color:var(--rouge)}
.link-more:hover::after{transform:translateX(4px)}

/* ---------- Bandeaux inclinés ---------- */
.band{
  position:relative;
  padding:calc(96px + var(--tilt)) 0 calc(96px + var(--tilt));
  clip-path:polygon(0 var(--tilt),100% 0,100% calc(100% - var(--tilt)),0 100%);
}
.band--grey{background:var(--band-gris);color:#fff}
.band--dark{
  background:#1a1310 url("../img/hero-superga-invest.jpg") center/cover no-repeat fixed;
  color:#fff;
}
.band--dark::before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.68)}
.band--dark > *{position:relative}

/* ---------- Mot du président ---------- */
.president{display:grid;grid-template-columns:340px 1fr;gap:56px;align-items:center}
.president__portrait{margin:0}
.president__portrait img{width:100%;filter:grayscale(1)}
.president__quote{margin:0;position:relative;max-width:640px}
.president__mark{width:74px;opacity:.55;margin-bottom:-14px}
.president__mark--end{margin:6px 0 0 auto}
.president__heading{
  font-size:clamp(1.4rem,2.6vw,1.9rem);text-transform:uppercase;
  letter-spacing:.04em;color:#fff;margin-bottom:.5em;
}
.president__heading span{color:var(--rouge)}
.president__quote p{font-size:1.12rem;font-style:italic;font-weight:400;color:#fff}
.president__author{font-size:.95rem;color:#fff}
.president__author strong{color:#fff;font-weight:500}

/* ---------- Chiffres ---------- */
.stats{
  list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(4,1fr);gap:6px;
}
.stat{background:var(--gris-fond);padding:34px 18px 30px;text-align:center}
.stat__icon{width:56px;margin:0 auto 18px}
.stat__value{
  font-size:2.2rem;font-weight:600;color:var(--rouge);
  line-height:1.2;margin:0 0 .1em;
}
.stat__label{font-size:1rem;color:var(--gris-clair);margin:0}

/* ---------- Divisions ---------- */
.divisions{display:grid;grid-template-columns:1fr 1fr;gap:48px;margin-top:44px}
.division{text-align:center}
.division__icon{width:56px;margin:0 auto 18px}
.division__name{
  background:var(--rouge);color:#fff;font-weight:500;text-transform:uppercase;
  letter-spacing:.12em;font-size:1.05rem;margin:0;padding:15px 10px;
}
.division__body{padding:22px 10px 26px;color:#fff}
.division__body p{margin:0 0 .5em;color:#fff}
.division__tags{margin-top:14px}
.division__tags strong{color:var(--rouge);font-weight:500}
.division__visual{display:block;overflow:hidden}
.division__visual img{width:100%;transition:transform .6s ease}
.division__visual:hover img{transform:scale(1.05)}

/* ---------- Contact ---------- */
.contact{display:grid;grid-template-columns:1fr 1.15fr;gap:48px;align-items:start;margin-top:20px}
.contact__name{font-size:1.35rem;color:var(--gris-texte);margin-bottom:.6em}
.contact__eyebrow{
  font-size:13px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--gris-clair);margin-bottom:1em;
}
.contact address{font-style:normal;line-height:2}
.contact address a{color:var(--rouge)}
.contact__map{position:relative}
.contact__map iframe{width:100%;height:340px;border:0;display:block;filter:grayscale(.35)}
.contact__maplink{
  display:inline-block;margin-top:10px;font-size:13px;letter-spacing:.06em;
  text-transform:uppercase;
}

/* ---------- Pied de page ---------- */
.footer{background:var(--gris-texte);color:#fff;padding:22px 0;font-size:14px}
.footer__inner{
  display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
}
.footer__copy,.footer__credit{margin:0}
.footer__nav{list-style:none;display:flex;gap:24px;margin:0;padding:0}
.footer a{color:#fff}
.footer a:hover{color:#fff;text-decoration:underline}

/* ---------- Retour en haut ---------- */
.to-top{
  position:fixed;right:16px;bottom:16px;z-index:90;
  display:flex;align-items:center;justify-content:center;
  width:44px;height:44px;background:rgba(0,0,0,.25);color:#fff;
  opacity:0;visibility:hidden;transition:opacity .3s ease,background .2s ease;
}
.to-top svg{width:18px}
.to-top:hover{background:rgba(0,0,0,.5);color:#fff}
.to-top.is-visible{opacity:1;visibility:visible}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .news,.president,.contact,.divisions{grid-template-columns:1fr}
  .president{gap:34px}
  .president__portrait{max-width:300px}
  .stats{grid-template-columns:repeat(2,1fr)}
  .band--dark{background-attachment:scroll}
}

@media (max-width:820px){
  :root{--header-h:72px;--tilt:24px}
  .burger{display:block}
  .header__logo img{width:130px}
  .nav{
    position:absolute;left:0;right:0;top:100%;
    flex-direction:column;align-items:stretch;gap:0;
    background:#fff;border-bottom:1px solid #ececec;
    box-shadow:0 12px 24px rgba(0,0,0,.08);
    max-height:0;overflow:hidden;transition:max-height .35s ease;
  }
  .nav.is-open{max-height:70vh;overflow:auto}
  .nav__list{flex-direction:column;gap:0;padding:8px 0}
  .nav__link{padding:14px 24px;font-size:15px}
  .nav__link::after{display:none}
  .lang{padding:8px 24px 18px;border-left:0;border-top:1px solid #f0f0f0}
  .section{padding:60px 0}
  .hero{min-height:56vh}
  .footer__inner{flex-direction:column;text-align:center}
}

@media (max-width:520px){
  body{font-size:16px}
  .stats{grid-template-columns:1fr}
  .news__card{padding:26px 22px}
  .contact__map iframe{height:260px}
}

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.001ms!important;animation-iteration-count:1!important;
    transition-duration:.001ms!important;
  }
}

/* ---------- Impression ---------- */
@media print{
  .header,.to-top,.hero__scroll,.contact__map{display:none}
  body{color:#000;font-size:12pt}
  .band{clip-path:none;background:#fff!important;color:#000}
  .band--dark::before{display:none}
  .president__quote p,.president__author,.division__body p,.section__title--light{color:#000}
}

/* ---------- Pages de contenu (mentions légales, etc.) ---------- */
.wrap--narrow h2{
  font-size:1.2rem;font-weight:500;color:var(--gris-texte);
  margin:2.2em 0 .6em;letter-spacing:.01em;
}
.wrap--narrow h2:first-of-type{margin-top:1.4em}

/* =========================================================
   Pages intérieures : titre de page et article
   ========================================================= */
.page-head{
  background:var(--gris-fond);
  padding:54px 0 50px;
  text-align:center;
  border-bottom:1px solid #e6e6e6;
}
.page-head__title{
  font-size:clamp(1.5rem,3.2vw,2.2rem);
  text-transform:uppercase;letter-spacing:.05em;margin:0;
}
.breadcrumb{
  list-style:none;display:flex;justify-content:center;flex-wrap:wrap;gap:8px;
  margin:14px 0 0;padding:0;font-size:13px;color:var(--gris-clair);
}
.breadcrumb li+li::before{content:"/";margin-right:8px;color:#c4c3c4}
.breadcrumb a{color:var(--gris-clair)}
.breadcrumb a:hover{color:var(--rouge)}
.breadcrumb [aria-current]{color:var(--gris-texte)}

.article{max-width:760px;margin:0 auto}
.article__meta{
  display:flex;align-items:center;gap:16px;flex-wrap:wrap;
  font-size:12px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--gris-clair);margin:0 0 26px;
}
.tag{background:var(--rouge);color:#fff;padding:4px 12px;letter-spacing:.1em}
.article__chapo{font-size:1.12rem;line-height:1.7;color:var(--gris-texte)}
.article h2{
  font-size:clamp(1.35rem,2.6vw,1.75rem);font-weight:300;
  margin:1.8em 0 .5em;color:var(--gris-texte);
}
.article h2:first-of-type{margin-top:1.2em}
.article__figure{margin:34px 0}
.article__figure img{width:100%}
.article__figure figcaption{
  font-size:13px;color:var(--gris-clair);margin-top:10px;text-align:center;
}
.btn{
  display:inline-flex;align-items:center;gap:10px;
  background:var(--rouge);color:#fff;padding:14px 26px;
  font-size:13px;font-weight:500;letter-spacing:.09em;text-transform:uppercase;
  transition:background .2s ease;
}
.btn:hover{background:var(--rouge-fonce);color:#fff}
.article__foot{
  margin-top:48px;padding-top:26px;border-top:1px solid #e9e9e9;
  display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;
}
.link-back{
  display:inline-flex;align-items:center;gap:8px;font-size:13px;
  letter-spacing:.09em;text-transform:uppercase;color:var(--gris-texte);
}
.link-back::before{content:"‹";font-size:18px;line-height:1;transition:transform .25s ease}
.link-back:hover{color:var(--rouge)}
.link-back:hover::before{transform:translateX(-4px)}
