/* ===== Widoowin CF — one page ===== */

:root{
  --orange:#EA6940;
  --yellow:#FBCD57;
  --dark:#302533;
  --dark-2:#463A4B;
  --grey:#C4C4C6;
  --bg:#FCFBF8;
  --white:#FFFFFF;
  --text:#302533;
  --text-soft:#6B6270;
  --radius:14px;
  --ease:cubic-bezier(.22,1,.36,1);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Roboto', sans-serif;
  font-weight:300;
  color:var(--text);
  background:var(--bg);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
.wrap{ max-width:1140px; margin:0 auto; padding:0 32px; }

h1,h2,h3{
  font-family:'Bebas Neue', sans-serif;
  font-weight:400;
  letter-spacing:.03em;
  text-transform:uppercase;
  margin:0 0 .4em;
  line-height:1.08;
}

.eyebrow{
  font-family:'Roboto', sans-serif;
  font-weight:500;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size:12.5px;
  color:var(--orange);
  margin:0 0 14px;
}

.section-title{ font-size:clamp(30px,4vw,44px); }
.section-lead{
  max-width:640px;
  font-size:17px;
  font-weight:300;
  color:var(--text-soft);
}

/* ---------- Progress bar ---------- */
.progress-bar{
  position:fixed; top:0; left:0; height:3px; width:0%;
  background:linear-gradient(90deg, var(--orange), var(--yellow));
  z-index:1000; transition:width .1s linear;
}

/* ---------- Header ---------- */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:900;
  padding:22px 0;
  transition:padding .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled{
  padding:12px 0;
  background:rgba(252,251,248,.92);
  backdrop-filter:blur(10px);
  box-shadow:0 6px 24px rgba(48,37,51,.08);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; }
.brand{ display:block; height:34px; }
.brand-logo{ height:34px; width:auto; }
.brand-logo-light{ display:block; }
.brand-logo-dark{ display:none; }
.site-header.scrolled .brand-logo-light{ display:none; }
.site-header.scrolled .brand-logo-dark{ display:block; }

.main-nav{ display:flex; align-items:center; gap:34px; }
.main-nav a{
  font-size:14px; font-weight:500; letter-spacing:.03em;
  color:var(--white);
  position:relative;
  transition:color .3s var(--ease);
}
.site-header.scrolled .main-nav a{ color:var(--dark); }
.main-nav a:not(.nav-cta)::after{
  content:''; position:absolute; left:0; bottom:-6px; width:0; height:2px;
  background:var(--orange); transition:width .3s var(--ease);
}
.main-nav a:not(.nav-cta):hover::after{ width:100%; }
.nav-cta{
  background:var(--orange); color:var(--white) !important;
  padding:10px 20px; border-radius:999px;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.nav-cta:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(234,105,64,.35); }

.nav-group{ display:flex; align-items:center; gap:26px; }
.cta-group{ display:flex; align-items:center; gap:12px; }
.header-actions{ display:flex; align-items:center; gap:18px; }

.social-link{
  display:flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:50%;
  color:var(--white);
  border:1px solid rgba(255,255,255,.3);
  transition:color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.site-header.scrolled .social-link{ color:var(--dark); border-color:rgba(48,37,51,.18); }
.social-link:hover{ background:var(--orange); border-color:var(--orange); color:var(--white); transform:translateY(-2px); }

.social-link-inline{ width:34px; height:34px; }
.social-link-mobile{ display:none; }

.burger{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:36px; height:36px; background:none; border:none; cursor:pointer; padding:0;
}
.burger span{
  display:block; height:2px; width:100%; background:var(--white);
  transition:transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled .burger span{ background:var(--dark); }
.burger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity:0; }
.burger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  min-height:100vh;
  display:flex; align-items:center;
  background:var(--dark);
  overflow:hidden;
  isolation:isolate;
}
.hero-bg{ position:absolute; inset:0; z-index:-1; }
.hero-glow{
  position:absolute; border-radius:50%; filter:blur(90px); opacity:.55;
  animation:glowDrift 18s ease-in-out infinite alternate;
}
.hero-glow-1{
  width:560px; height:560px; background:var(--orange);
  top:-140px; right:-120px;
}
.hero-glow-2{
  width:460px; height:460px; background:var(--yellow); opacity:.28;
  bottom:-160px; left:-100px;
  animation-delay:-6s;
}
@keyframes glowDrift{
  0%{ transform:translate(0,0) scale(1); }
  100%{ transform:translate(-30px,30px) scale(1.12); }
}
.hero-icon{
  position:absolute; right:6%; top:50%; transform:translateY(-50%);
  width:min(38vw,460px); opacity:.08;
  filter:brightness(0) invert(1);
}
.hero-inner{ position:relative; z-index:1; padding-top:110px; padding-bottom:90px; }
.hero-title{
  color:var(--white);
  font-size:clamp(34px,5.2vw,64px);
  max-width:820px;
}
.hero-text{
  color:rgba(255,255,255,.72);
  max-width:560px;
  font-size:17px;
  margin-bottom:38px;
}
.hero-actions{ display:flex; gap:18px; flex-wrap:wrap; }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:15px 30px; border-radius:999px;
  font-size:14.5px; font-weight:500; letter-spacing:.02em;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
  border:1px solid transparent; cursor:pointer;
}
.btn-primary{
  background:var(--orange); color:var(--white);
}
.btn-primary:hover{ transform:translateY(-3px); box-shadow:0 14px 28px rgba(234,105,64,.35); }
.btn-ghost{
  border-color:rgba(255,255,255,.35); color:var(--white);
}
.btn-ghost:hover{ background:rgba(255,255,255,.08); transform:translateY(-3px); }
.btn-lg{ padding:19px 42px; font-size:16px; }

.scroll-cue{
  position:absolute; left:50%; bottom:34px; transform:translateX(-50%);
  width:26px; height:42px; border:2px solid rgba(255,255,255,.4); border-radius:20px;
}
.scroll-cue span{
  position:absolute; top:8px; left:50%; transform:translateX(-50%);
  width:4px; height:8px; border-radius:2px; background:var(--white);
  animation:cueMove 1.8s ease-in-out infinite;
}
@keyframes cueMove{
  0%{ opacity:1; top:8px; }
  70%{ opacity:0; top:20px; }
  100%{ opacity:0; top:8px; }
}

/* ---------- Sections ---------- */
.section{ padding:120px 0; }
.section-alt{ background:var(--white); }

/* Reveal on scroll */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible{ opacity:1; transform:translateY(0); }

/* Pills */
.pill-grid{ display:flex; gap:20px; flex-wrap:wrap; margin-top:46px; }
.pill{
  display:flex; align-items:center; gap:12px;
  background:var(--white);
  border:1px solid rgba(48,37,51,.08);
  box-shadow:0 10px 30px rgba(48,37,51,.05);
  padding:18px 28px; border-radius:999px;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pill:hover{ transform:translateY(-4px); box-shadow:0 16px 34px rgba(48,37,51,.1); }
.pill-check{
  width:26px; height:26px; border-radius:50%;
  background:var(--orange); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-size:13px; flex:none;
}
.pill-yellow .pill-check{ background:var(--yellow); color:var(--dark); }
.pill-label{ font-family:'Bebas Neue',sans-serif; font-size:20px; letter-spacing:.03em; }

/* Check list (rubrique 4) */
.check-list{ list-style:none; margin:30px 0 0; padding:0; display:flex; flex-direction:column; gap:16px; }
.check-list li{ display:flex; align-items:center; gap:14px; font-size:16px; }
.check-list .pill-check{ flex:none; }

/* ---------- Carousel ---------- */
.carousel-wrap{
  display:flex; align-items:center; gap:18px;
  max-width:1140px; margin:56px auto 0; padding:0 32px;
}
.carousel{ flex:1; overflow:hidden; }
.carousel-track{
  display:flex; gap:26px; align-items:stretch;
  transition:transform 1.1s var(--ease);
}
.carousel-card{
  flex:0 0 auto; width:260px; height:340px; margin:0;
  background:var(--white);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 16px 40px rgba(48,37,51,.1);
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
  display:flex; align-items:center; justify-content:center;
}
.carousel-card:hover{ transform:translateY(-6px); box-shadow:0 22px 48px rgba(48,37,51,.16); }
.carousel-card img{ width:100%; height:100%; object-fit:cover; background:var(--white); }
.carousel-arrow{
  flex:none; width:46px; height:46px; border-radius:50%;
  border:1px solid rgba(48,37,51,.15); background:var(--white);
  font-size:22px; line-height:1; color:var(--dark);
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.carousel-arrow:hover{ background:var(--orange); color:var(--white); transform:scale(1.06); }
.carousel-dots{ display:flex; justify-content:center; gap:10px; margin-top:30px; }
.carousel-dot{
  width:8px; height:8px; border-radius:50%; background:rgba(48,37,51,.2);
  border:none; cursor:pointer; padding:0; transition:background .3s var(--ease), transform .3s var(--ease);
}
.carousel-dot.active{ background:var(--orange); transform:scale(1.3); }

/* ---------- Réseau / M&A System ---------- */
.reseau-grid{
  display:grid; grid-template-columns:1.1fr .9fr; gap:70px; align-items:center;
}
.reseau-visual{
  background:var(--white);
  border-radius:24px;
  padding:50px;
  box-shadow:0 20px 50px rgba(48,37,51,.08);
  display:flex; align-items:center; justify-content:center;
}
.mna-logo{ width:100%; max-width:320px; }

/* ---------- Contact ---------- */
.section-contact{
  background:var(--dark);
  text-align:center;
}
.section-contact .eyebrow{ color:var(--yellow); }
.section-contact .section-title{ color:var(--white); }
.section-contact .section-lead{ color:rgba(255,255,255,.7); margin:0 auto 34px; }
.section-contact .wrap{ display:flex; flex-direction:column; align-items:center; }

/* ---------- Legal pages ---------- */
.legal-page{ padding:150px 0 100px; }
.legal-page h2{
  font-family:'Roboto', sans-serif; text-transform:none; letter-spacing:0;
  font-weight:700; font-size:19px; margin:40px 0 12px;
}
.legal-page p{ max-width:720px; color:var(--text-soft); font-size:15.5px; }
.legal-page .section-title{ margin-bottom:10px; }
.legal-page .legal-note{
  background:rgba(251,205,87,.18); border-left:3px solid var(--yellow);
  padding:14px 18px; border-radius:6px; color:var(--text); font-size:14px; max-width:720px;
}

/* ---------- Footer ---------- */
.site-footer{ background:#241C27; padding:36px 0; }
.footer-inner{
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
}
.footer-logo{ height:24px; opacity:.85; }
.footer-copy{ margin:0; font-size:13px; color:rgba(255,255,255,.5); }
.footer-links{ display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.footer-links a{ font-size:13px; color:rgba(255,255,255,.75); transition:color .3s var(--ease); }
.footer-links a:hover{ color:var(--orange); }
.site-footer .social-link{ width:32px; height:32px; border-color:rgba(255,255,255,.25); }

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .reseau-grid{ grid-template-columns:1fr; gap:40px; }
  .reseau-visual{ order:-1; padding:34px; }
  .mna-logo{ max-width:220px; }
}

@media (max-width:760px){
  .main-nav{
    position:fixed; top:0; right:0; height:100vh; width:min(78vw,320px);
    background:var(--white);
    flex-direction:column; align-items:flex-start; justify-content:center;
    gap:28px; padding:0 40px;
    transform:translateX(100%);
    transition:transform .4s var(--ease);
    box-shadow:-10px 0 40px rgba(48,37,51,.15);
  }
  .main-nav.open{ transform:translateX(0); }
  .main-nav a{ color:var(--dark) !important; font-size:17px; }
  .cta-group{ margin-top:10px; }
  .social-link-inline{ display:none; }
  .social-link-mobile{ display:flex; }
  .burger{ display:flex; }
  .burger span{ background:var(--white); }
  .site-header:not(.scrolled) .burger span{ background:var(--white); }
  .site-header.scrolled .burger span{ background:var(--dark); }

  .section{ padding:84px 0; }
  .hero-inner{ padding-top:130px; }
  .hero-actions{ flex-direction:column; align-items:flex-start; }
  .carousel-wrap{ padding:0 18px; gap:10px; }
  .carousel-card{ width:200px; height:262px; }
  .wrap{ padding:0 22px; }
}
