/* ═══════════════════════════════════════════════════════
   ETS SENE SARL — style.css v4
   Structure : SENE/ (racine du RAR)
   Polices   : Rajdhani (titres) + Inter (corps)
   Palette   : Bleu marine #1B2A6B | Bleu #4A7CC7 | Blanc
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #1B2A6B;
  --navy-dark:  #0f1840;
  --navy-mid:   #253490;
  --navy-light: #2e4bb5;
  --blue:       #4A7CC7;
  --blue-light: #6B9BD2;
  --blue-pale:  #EAF0FA;
  --steel:      #8899BB;
  --white:      #FFFFFF;
  --off-white:  #F4F6FA;
  --cream:      #F0F2F8;
  --text-dark:  #0d1535;
  --text-mid:   #4a5568;
  --text-light: #8898aa;
  --border:     rgba(27,42,107,0.1);
  --font-h:     'Rajdhani', sans-serif;
  --font-b:     'Inter', sans-serif;
  --ease:       cubic-bezier(.4,0,.2,1);
  --spring:     cubic-bezier(.34,1.4,.64,1);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ══ TOPBAR ══ */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,.5);
  font-size: 0.73rem;
  letter-spacing: .05em;
  padding: 9px 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.topbar a:hover { color: var(--white); }
.topbar-left, .topbar-right { display: flex; gap: 22px; align-items: center; }
.topbar-item { display: flex; align-items: center; gap: 8px; }
.topbar-item i { color: var(--blue-light); font-size: 0.75rem; }
.topbar-div { width: 1px; height: 14px; background: rgba(255,255,255,.12); }

/* ══ NAVBAR ══ */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 52px; height: 80px;
  box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(27,42,107,.07);
  transition: height .3s var(--ease), box-shadow .3s;
}
.navbar.scrolled { height: 64px; box-shadow: 0 4px 32px rgba(27,42,107,.16); }
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 56px; width: auto; object-fit: contain; transition: height .3s; }
.navbar.scrolled .nav-logo img { height: 44px; }
.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links a {
  font-family: var(--font-h); font-weight: 600; font-size: 0.82rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-mid); text-decoration: none;
  padding: 10px 16px; transition: color .25s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: 4px; left: 16px; right: 16px; height: 2px;
  background: var(--navy); transform: scaleX(0);
  transition: transform .3s var(--ease); transform-origin: center;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--navy) !important; color: var(--white) !important;
  margin-left: 14px; padding: 12px 28px !important; transition: background .25s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--navy-mid) !important; }

/* ══ PAGE HERO ══ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  padding: 84px 52px 72px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 80% 50%, rgba(74,124,199,.2) 0%, transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.018) 0, rgba(255,255,255,.018) 1px, transparent 1px, transparent 52px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.018) 0, rgba(255,255,255,.018) 1px, transparent 1px, transparent 52px);
}
.page-hero-content { position: relative; z-index: 1; max-width: 720px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.73rem; letter-spacing: .1em; color: rgba(255,255,255,.4);
  margin-bottom: 20px; font-family: var(--font-h); font-weight: 600; text-transform: uppercase;
}
.breadcrumb a { color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover, .breadcrumb span { color: var(--blue-light); }
.page-hero h1 {
  font-family: var(--font-h); font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700; color: var(--white); line-height: 1.05; letter-spacing: .02em;
}
.page-hero h1 em { color: var(--blue-light); font-style: normal; }
.page-hero p { color: rgba(255,255,255,.6); font-size: 1rem; line-height: 1.78; margin-top: 18px; max-width: 560px; font-weight: 300; }
.page-hero-bar { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(to right, var(--blue-light), var(--navy-mid), transparent); }

/* ══ SECTION UTILS ══ */
.section-tag {
  font-family: var(--font-h); font-weight: 600; font-size: 0.72rem;
  letter-spacing: .3em; text-transform: uppercase; color: var(--blue);
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.section-tag::before { content: ''; width: 28px; height: 2px; background: var(--navy); display: inline-block; flex-shrink: 0; }
.section-tag.center { justify-content: center; }
.section-tag.center::before { display: none; }
.section-tag.on-dark { color: var(--blue-light); }
.section-tag.on-dark::before { background: var(--blue-light); }
.section-title { font-family: var(--font-h); font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 700; line-height: 1.08; color: var(--text-dark); letter-spacing: .01em; }
.section-title .accent { color: var(--navy); }
.section-title .light-accent { color: var(--blue); }
.section-title.white { color: var(--white); }
.navy-bar { display: block; width: 44px; height: 3px; background: var(--navy); margin-top: 16px; }
.navy-bar.center { margin: 16px auto 0; }
.navy-bar.light { background: var(--blue-light); }
.section-lead { font-size: 0.96rem; line-height: 1.86; color: var(--text-mid); margin-top: 16px; font-weight: 300; }
.section-lead.light { color: rgba(255,255,255,.6); }

/* ══ BUTTONS ══ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; border: none; cursor: pointer;
  font-family: var(--font-h); font-weight: 600;
  font-size: 0.82rem; letter-spacing: .14em; text-transform: uppercase;
  transition: all .3s var(--ease); padding: 14px 32px;
}
.btn i { font-size: 0.9rem; transition: transform .3s var(--spring); }
.btn:hover i { transform: translateX(4px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(27,42,107,.28); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--navy); transform: translateY(-2px); }
.btn-outline-navy { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.35); }
.btn-outline-white:hover { border-color: var(--blue-light); color: var(--blue-light); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,255,255,.15); }

/* ══ CTA BAND ══ */
.cta-band {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 84px 52px; display: flex; justify-content: space-between;
  align-items: center; gap: 40px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.cta-band::before { content: ''; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(74,124,199,.16) 0%, transparent 70%); pointer-events: none; }
.cta-band::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(to right, var(--blue-light), var(--navy-mid), transparent); }
.cta-band h2 { font-family: var(--font-h); font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: var(--white); font-weight: 700; line-height: 1.12; letter-spacing: .01em; }
.cta-band p { color: rgba(255,255,255,.6); font-size: 1rem; margin-top: 10px; font-weight: 300; }

/* ══ IMG PLACEHOLDER ══ */
.img-ph {
  background: linear-gradient(135deg, var(--blue-pale) 0%, #d4e4f8 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 32px; color: var(--navy);
  font-family: var(--font-h); font-size: 0.72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
}
.img-ph i { font-size: 2.8rem; margin-bottom: 14px; opacity: .35; color: var(--navy); }
.img-ph em { font-style: normal; font-family: var(--font-b); font-size: 0.74rem; letter-spacing: 0; color: var(--text-mid); margin-top: 6px; display: block; font-weight: 300; }

/* ══ PARTNERS — nouvelle structure dissociée ══ */
.partners-section-new {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ps-block { padding: 56px 52px; border-bottom: 1px solid var(--border); }
.ps-block:last-child { border-bottom: none; }
.ps-block-alt { background: var(--off-white); }
.ps-block-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; flex-wrap: wrap; gap: 16px; }
.ps-tag { font-family: var(--font-h); font-weight: 600; font-size: 0.68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--blue); display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.ps-tag i { font-size: 0.75rem; }
.ps-tag-alt { color: var(--navy); }
.ps-title { font-family: var(--font-h); font-size: 1.6rem; font-weight: 700; color: var(--text-dark); line-height: 1.1; }
.ps-title span { color: var(--blue); }
.ps-block-alt .ps-title span { color: var(--navy); }
.ps-arrows { display: flex; gap: 10px; align-items: center; }
.ps-arrow { width: 46px; height: 46px; border: 2px solid var(--navy); background: transparent; color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 0.9rem; transition: all .25s var(--ease); border-radius: 0; flex-shrink: 0; }
.ps-arrow:hover { background: var(--navy); color: var(--white); transform: scale(1.05); }
.ps-arrow-alt { border-color: var(--blue); color: var(--blue); }
.ps-arrow-alt:hover { background: var(--blue); color: var(--white); }
.ps-carousel-wrap { position: relative; overflow: hidden; }
.ps-carousel { display: flex; align-items: center; transition: transform .5s var(--ease); will-change: transform; }
.ps-logo-card { flex-shrink: 0; width: calc(100% / 5); padding: 24px 32px; border-right: 1px solid var(--border); display: flex; align-items: center; justify-content: center; background: var(--white); transition: background .3s, transform .3s var(--ease), box-shadow .3s; cursor: default; height: 120px; }
.ps-block-alt .ps-logo-card { background: var(--off-white); }
.ps-logo-card:hover { background: var(--blue-pale); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(27,42,107,.1); position: relative; z-index: 2; }
.ps-logo-card img { max-width: 100%; max-height: 68px; width: auto; height: auto; object-fit: contain; filter: none; transition: transform .3s var(--ease); display: block; }
.ps-logo-card:hover img { transform: scale(1.08); }
.ps-fade-left, .ps-fade-right { position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.ps-fade-left { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.ps-fade-right { right: 0; background: linear-gradient(to left, var(--white), transparent); }
.ps-fade-left-alt { background: linear-gradient(to right, var(--off-white), transparent); }
.ps-fade-right-alt { background: linear-gradient(to left, var(--off-white), transparent); }

/* ══ SCROLL REVEAL ══ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .72s var(--ease), transform .72s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-48px); transition: opacity .72s var(--ease), transform .72s var(--ease); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(48px); transition: opacity .72s var(--ease), transform .72s var(--ease); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.d1{transition-delay:.1s} .d2{transition-delay:.2s} .d3{transition-delay:.3s} .d4{transition-delay:.4s} .d5{transition-delay:.5s}

/* ══ FLOATING BUTTONS ══ */
.float-btns { position: fixed; bottom: 28px; right: 24px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; z-index: 9999; }
.float-btn { display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; text-decoration: none; transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s; outline: none; }
.float-btn:hover { transform: translateY(-3px) scale(1.08); }
.float-btn:active { transform: scale(.95); }
.float-wa { background: #25D366; height: 52px; border-radius: 26px; padding: 0 20px 0 14px; gap: 8px; box-shadow: 0 6px 24px rgba(37,211,102,.45); position: relative; overflow: visible; }
.float-wa:hover { box-shadow: 0 10px 32px rgba(37,211,102,.55); }
.float-wa::before { content: ''; position: absolute; right: 0; width: 52px; height: 52px; border-radius: 50%; background: rgba(37,211,102,.35); animation: wa-pulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes wa-pulse { 0%{transform:scale(1);opacity:.6} 70%{transform:scale(1.7);opacity:0} 100%{transform:scale(1.7);opacity:0} }
.float-wa-icon { width: 26px; height: 26px; flex-shrink: 0; }
.float-wa-label { font-family: var(--font-b); font-weight: 600; font-size: 0.9rem; color: white; letter-spacing: .02em; white-space: nowrap; }
.float-top { width: 48px; height: 48px; border-radius: 50%; background: var(--blue); box-shadow: 0 6px 20px rgba(74,124,199,.45); opacity: 0; pointer-events: none; transition: opacity .35s, transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s; }
.float-top svg { width: 20px; height: 20px; }
.float-top.visible { opacity: 1; pointer-events: all; }
.float-top:hover { box-shadow: 0 10px 28px rgba(74,124,199,.55); }

/* ══ FOOTER ══ */
footer { background: var(--navy-dark); padding: 72px 52px 28px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-logo-img { height: 64px; width: auto; display: block; margin-bottom: 10px; object-fit: contain; }
.footer-tagline { font-family: var(--font-b); font-style: italic; color: var(--blue-light); font-size: 0.88rem; opacity: .8; margin: 8px 0 14px; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,.38); line-height: 1.82; max-width: 280px; font-weight: 300; }
.footer-col h4 { font-family: var(--font-h); font-weight: 700; font-size: 0.75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--white); padding-bottom: 14px; border-bottom: 1px solid rgba(74,124,199,.25); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.84rem; color: rgba(255,255,255,.38); text-decoration: none; transition: color .2s, padding-left .2s; display: flex; align-items: center; gap: 8px; font-weight: 300; }
.footer-col ul li a i { color: var(--blue-light); font-size: 0.7rem; }
.footer-col ul li a:hover { color: var(--blue-light); padding-left: 4px; }
.footer-bottom { grid-column: 1/-1; border-top: 1px solid rgba(255,255,255,.07); margin-top: 20px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 0.77rem; color: rgba(255,255,255,.28); flex-wrap: wrap; gap: 12px; font-weight: 300; }
.footer-bottom a { color: var(--blue-light); text-decoration: none; }

/* ══ RESPONSIVE ══ */
@media (max-width:1100px) {
  footer { grid-template-columns: 1fr 1fr; }
  .navbar, .topbar { padding-left: 24px; padding-right: 24px; }
  .ps-logo-card { width: calc(100%/4); }
}
@media (max-width:768px) {
  .nav-links { display: none; }
  footer { grid-template-columns: 1fr; gap: 28px; padding: 48px 24px 20px; }
  .cta-band { flex-direction: column; text-align: center; padding: 56px 24px; }
  .page-hero { padding: 60px 24px 52px; }
  .ps-block { padding: 40px 20px; }
  .ps-logo-card { width: calc(100%/3); padding: 16px 20px; height: 90px; }
  .ps-logo-card img { max-height: 48px; }
  .float-btns { bottom: 20px; right: 16px; gap: 10px; }
  .float-wa { height: 48px; padding: 0 16px 0 12px; }
  .float-wa-icon { width: 22px; height: 22px; }
  .float-wa-label { font-size: 0.84rem; }
  .float-top { width: 44px; height: 44px; }
}
@media (max-width:480px) {
  .ps-logo-card { width: calc(100%/2); }
}
