/* ============================================================
   CSP BINETA — Shared Stylesheet (Mobile-First)
   Breakpoints: 576 | 768 | 992 | 1200
============================================================ */

/* ── 1. VARIABLES ─────────────────────────────────────────── */
:root {
  --blue:       #2b4f9e;
  --blue-dark:  #1e3d82;
  --orange:     #ec6728;
  --orange-dk:  #d05620;
  --yellow:     #fdc540;
  --cyan:       #11b6ca;
  --navy:       #262e64;
  --navy-light: #2f3a7a;
  --white:      #ffffff;
  --gray-bg:    #f5f6fa;
  --gray-card:  #f0f1f7;
  --text:       #1e2139;
  --text-muted: #6b7280;
  --border:     #e5e7ef;
  --radius-sm:  .6rem;
  --radius-md:  1rem;
  --radius-lg:  1.5rem;
  --radius-xl:  2rem;
  --shadow-sm:  0 2px 12px rgba(0,0,0,.06);
  --shadow-md:  0 8px 32px rgba(0,0,0,.1);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.14);
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --nav-h:      64px;
}

/* ── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  padding-top: var(--nav-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 16px; /* prevent iOS zoom */ }

/* ── 3. TYPOGRAPHY ────────────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(1.8rem, 7vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 3.5vw, 1.5rem); }
p  { line-height: 1.7; color: var(--text-muted); }

/* ── 4. NAVBAR ────────────────────────────────────────────── */
.csp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(30,61,130,.65);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center;
  transition: background .35s ease, box-shadow .35s ease, height .35s ease;
}
.csp-nav.scrolled {
  background: rgba(30,61,130,.92);
  box-shadow: 0 4px 30px rgba(0,0,0,.18);
  height: 56px;
}
.csp-nav .container {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem;
  gap: 1rem;
}
.csp-nav-logo img {
  height: 36px; width: auto; flex-shrink: 0;
  transition: height .35s ease;
}
.csp-nav.scrolled .csp-nav-logo img { height: 32px; }

/* Desktop nav links — pill container */
.csp-nav-links {
  display: none;
  align-items: center;
  gap: .15rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 2.5rem;
  padding: .25rem;
}
.csp-nav-links a {
  color: rgba(255,255,255,.72);
  font-size: .82rem; font-weight: 500;
  padding: .42rem .85rem;
  border-radius: 2rem;
  transition: all .2s ease;
  white-space: nowrap;
  position: relative;
}
.csp-nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,.1);
}
.csp-nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,.15);
  font-weight: 600;
}
.csp-nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}
.csp-nav-cta {
  background: var(--orange); color: #fff !important;
  border-radius: 2rem !important; padding: .42rem 1.1rem !important;
  font-weight: 700 !important; flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(236,103,40,.3);
  transition: all .25s ease !important;
}
.csp-nav-cta:hover {
  background: var(--orange-dk) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(236,103,40,.45) !important;
}
.csp-nav-cta.active::after { display: none; }

/* Hamburger — modern animated */
.csp-hamburger {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: .75rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  transition: all .25s ease;
  position: relative;
}
.csp-hamburger:hover { background: rgba(255,255,255,.15); }
.csp-hamburger span {
  display: block; width: 18px; height: 2px;
  background: #fff; border-radius: 2px;
  position: absolute;
  transition: all .3s cubic-bezier(.68,-.55,.27,1.55);
}
.csp-hamburger span:nth-child(1) { transform: translateY(-6px); }
.csp-hamburger span:nth-child(2) { width: 14px; }
.csp-hamburger span:nth-child(3) { transform: translateY(6px); }
.csp-hamburger.open { background: rgba(255,255,255,.15); border-radius: 50%; }
.csp-hamburger.open span:nth-child(1) { transform: rotate(45deg); }
.csp-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.csp-hamburger.open span:nth-child(3) { transform: rotate(-45deg); }

/* ── Mobile Full-screen Menu ─────────────────────────────── */
.csp-drawer-overlay {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.5); backdrop-filter: blur(3px);
}
.csp-drawer-overlay.open { display: block; }
.csp-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1001;
  width: min(340px, 90vw);
  background: linear-gradient(160deg, var(--navy) 0%, #1a2a5c 100%);
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.csp-drawer.open { transform: translateX(0); }
.csp-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  flex-shrink: 0;
}
.csp-drawer-head img { height: 34px; }
.csp-drawer-close {
  width: 44px; height: 44px; border-radius: .75rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-size: 1.1rem; line-height: 1;
  transition: all .2s ease;
}
.csp-drawer-close:hover { background: rgba(255,255,255,.15); color: #fff; }
.csp-drawer-links {
  flex: 1; padding: 1rem .75rem;
  display: flex; flex-direction: column; gap: .25rem;
}
.csp-drawer-links a {
  display: flex; align-items: center; gap: .85rem;
  padding: .9rem 1rem;
  color: rgba(255,255,255,.7);
  font-size: .95rem; font-weight: 500;
  border-radius: 1rem;
  transition: all .2s ease;
  opacity: 0; transform: translateX(20px);
}
.csp-drawer.open .csp-drawer-links a {
  opacity: 1; transform: translateX(0);
}
.csp-drawer.open .csp-drawer-links a:nth-child(1) { transition-delay: .08s; }
.csp-drawer.open .csp-drawer-links a:nth-child(2) { transition-delay: .12s; }
.csp-drawer.open .csp-drawer-links a:nth-child(3) { transition-delay: .16s; }
.csp-drawer.open .csp-drawer-links a:nth-child(4) { transition-delay: .20s; }
.csp-drawer.open .csp-drawer-links a:nth-child(5) { transition-delay: .24s; }
.csp-drawer.open .csp-drawer-links a:nth-child(6) { transition-delay: .28s; }
.csp-drawer-links a:hover,
.csp-drawer-links a.active {
  color: #fff;
  background: rgba(255,255,255,.08);
}
.csp-drawer-links a.active {
  background: rgba(236,103,40,.12);
  border: 1px solid rgba(236,103,40,.2);
}
.csp-drawer-links .icon {
  font-size: 1.1rem; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); border-radius: .6rem;
  flex-shrink: 0;
}
.csp-drawer-cta {
  padding: 1rem 1.25rem 1.5rem;
  opacity: 0; transform: translateY(10px);
  transition: all .3s ease .32s;
}
.csp-drawer.open .csp-drawer-cta { opacity: 1; transform: translateY(0); }
.csp-drawer-cta a {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: linear-gradient(135deg, var(--orange), #f4703a); color: #fff;
  padding: 1rem; border-radius: 1rem;
  font-weight: 700; font-size: .95rem;
  box-shadow: 0 4px 20px rgba(236,103,40,.3);
  transition: all .25s ease;
}
.csp-drawer-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(236,103,40,.45);
}

/* Desktop: show nav links, hide hamburger */
@media (min-width: 768px) {
  .csp-hamburger { display: none; }
  .csp-nav-links { display: flex; }
}
@media (min-width: 992px) {
  .csp-nav-logo img { height: 40px; }
  .csp-nav-links a { font-size: .84rem; padding: .42rem .95rem; }
  .csp-nav-links { gap: .2rem; padding: .28rem; }
}

/* ── 5B. METRONIC FLEX-BODY FIX ──────────────────────────── */
/* Metronic sets body to display:flex; flex-direction:column; height:100vh
   which causes all direct children to flex-shrink and clip their content.
   Prevent all direct body children from shrinking. */
body > * { flex-shrink: 0 !important; }

/* ── 6. SECTION COMMONS ───────────────────────────────────── */
.csp-section { padding: 3.5rem 0; }
.py-section { padding: 4rem 0; }
@media (min-width: 768px) { .csp-section { padding: 5rem 0; } .py-section { padding: 5rem 0; } }
@media (min-width: 1200px) { .csp-section { padding: 6rem 0; } }

.container {
  width: 100%; max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 576px) { .container { padding: 0 1.5rem; } }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .9rem; border-radius: 2rem; margin-bottom: .85rem;
}
.eyebrow-blue   { background: rgba(43,79,158,.1); color: var(--blue); }
.eyebrow-orange { background: rgba(236,103,40,.1); color: var(--orange); }
.eyebrow-yellow { background: rgba(253,197,64,.2); color: #a06b00; }
.eyebrow-white  { background: rgba(255,255,255,.15); color: #fff; }
.eyebrow-navy   { background: rgba(38,46,100,.1); color: var(--navy); }

.section-head { margin-bottom: 2rem; }

.section-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .9rem; border-radius: 2rem; margin-bottom: .85rem;
  background: rgba(43,79,158,.1); color: var(--blue);
}
.tag-yellow { background: rgba(253,197,64,.2); color: #a06b00; }
.tag-navy   { background: rgba(38,46,100,.1); color: var(--navy); }

.section-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .75rem;
}

.section-sub {
  font-size: .95rem; color: var(--text-muted);
  max-width: 560px; line-height: 1.7;
}
.section-sub.centered { margin-left: auto; margin-right: auto; }

.section-desc { font-size: .95rem; max-width: 520px; margin-top: .4rem; }
.section-desc.centered { margin: .4rem auto 0; text-align: center; }
.text-center { text-align: center; }
.mb-section { margin-bottom: 2.5rem; }
@media (min-width: 768px) { .mb-section { margin-bottom: 3.5rem; } }

/* ── 7. PAGE BANNER ───────────────────────────────────────── */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 3rem 1rem 2.5rem !important;
  position: relative; overflow: hidden;
  display: block !important;
}
.page-banner::after {
  content: ''; position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(253,197,64,.06);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff !important; font-size: clamp(1.8rem, 4vw, 2.8rem) !important; font-weight: 800; margin-bottom: .75rem; display: block !important; visibility: visible !important; }
.page-banner p { color: rgba(255,255,255,.72); font-size: .92rem; max-width: 540px; display: block !important; visibility: visible !important; }
.breadcrumb {
  display: flex; align-items: center; gap: .4rem;
  font-size: .78rem; color: rgba(255,255,255,.55);
  margin-bottom: .75rem;
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb span { color: rgba(255,255,255,.4); }

.breadcrumb-csp {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: 1rem; font-size: .875rem;
  color: rgba(255,255,255,.55);
}
.breadcrumb-csp a { color: var(--yellow); text-decoration: none; }
.breadcrumb-csp span { color: rgba(255,255,255,.35); }

/* ── 7B. CTA SECTIONS (consolidated) ────────────────────── */
.cta-orange { background: linear-gradient(135deg, var(--orange), #f4703a); padding: 4rem 0; text-align: center; }
.cta-orange h2 { font-family: 'Sora', sans-serif; font-size: clamp(1.4rem, 3vw, 2rem); color: #fff; margin-bottom: 1rem; }
.cta-orange p { color: rgba(255,255,255,.85); max-width: 500px; margin: 0 auto 1.75rem; }

/* ── 8. BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.6rem;
  border-radius: 2rem; font-weight: 700; font-size: .92rem;
  min-height: 48px; /* tap target */
  transition: all var(--transition);
  cursor: pointer; text-decoration: none; border: none;
  -webkit-tap-highlight-color: transparent;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dk); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(236,103,40,.35); }
.btn-blue   { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(43,79,158,.3); }
.btn-navy   { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-blue { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline-blue:hover { background: var(--blue); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: #e6b030; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(253,197,64,.4); }
.btn-white  { background: #fff; color: var(--orange); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-full { width: 100%; justify-content: center; }
.btn-lg { padding: .95rem 2rem; font-size: 1rem; min-height: 54px; }
.btn-sm { padding: .55rem 1.2rem; font-size: .82rem; min-height: 40px; border-radius: 2rem; }

/* ── 9. CARDS ─────────────────────────────────────────────── */
.card-base {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card-base:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-gray { background: var(--gray-bg); }

/* ── 10. GRID ─────────────────────────────────────────────── */
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 576px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .grid-3 { grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
  .grid-4 { grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
}

/* ── 11. FORMS ────────────────────────────────────────────── */
.form-group { margin-bottom: 1.1rem; }
.form-label {
  display: block; margin-bottom: .35rem;
  font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.9);
}
.form-label.dark { color: var(--text); }
.form-input {
  width: 100%; padding: .85rem 1rem;
  background: rgba(255,255,255,.13);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius-md);
  color: #fff; font-size: 1rem; /* 1rem = no iOS zoom */
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  -webkit-appearance: none;
}
.form-input::placeholder { color: rgba(255,255,255,.4); }
.form-input:focus { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.2); }
.form-input.dark {
  background: var(--gray-bg); border-color: var(--border);
  color: var(--text);
}
.form-input.dark::placeholder { color: #aaa; }
.form-input.dark:focus { border-color: var(--blue); }
textarea.form-input { resize: vertical; min-height: 110px; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aaa' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-input.dark.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); }

/* ── 12. FOOTER ───────────────────────────────────────────── */
.csp-footer {
  background: linear-gradient(160deg, var(--navy) 0%, #1a2455 100%);
  padding: 3.5rem 0 1.5rem;
  position: relative;
}
.csp-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--yellow), var(--cyan), var(--blue));
}
.footer-logo img { height: 42px; margin-bottom: .85rem; }
.footer-desc { color: rgba(255,255,255,.55); font-size: .87rem; line-height: 1.7; }
.footer-tagline { color: var(--yellow); font-style: italic; font-size: .84rem; margin-top: .5rem; }
.footer-heading {
  color: #fff; font-size: .82rem; font-weight: 700;
  margin-bottom: .85rem; font-family: 'Sora',sans-serif;
  text-transform: uppercase; letter-spacing: .08em;
}
.footer-heading::after {
  content: ''; display: block;
  width: 24px; height: 2px;
  background: var(--orange); border-radius: 2px;
  margin-top: .5rem;
}
.footer-links li a {
  color: rgba(255,255,255,.55); font-size: .84rem;
  padding: .35rem 0; display: inline-block;
  transition: all .2s ease;
  position: relative;
}
.footer-links li a:hover { color: #fff; transform: translateX(4px); }
.footer-contact-row { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .6rem; }
.footer-contact-row .ico { flex-shrink: 0; font-size: .95rem; margin-top: 2px; }
.footer-contact-row span { color: rgba(255,255,255,.55); font-size: .84rem; }
.footer-social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: .65rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); font-size: .82rem; font-weight: 700;
  transition: all .25s ease;
}
.footer-social a:hover {
  background: var(--orange); color: #fff;
  border-color: var(--orange);
  transform: translateY(-2px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 2.5rem; padding-top: 1.25rem;
  display: flex; flex-direction: column; gap: .3rem;
  align-items: center; text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,.3); font-size: .78rem; }
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 576px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
}
@media (min-width: 992px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; }
}

/* ── 13. ANIMATIONS ───────────────────────────────────────── */
[data-anim] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
[data-anim="fade-left"]  { transform: translateX(-28px); }
[data-anim="fade-right"] { transform: translateX(28px); }
[data-anim="zoom-in"]    { transform: scale(.92); }
[data-anim].anim-in { opacity: 1 !important; transform: none !important; }

/* Decorative floating triangles */
.tri {
  position: absolute; pointer-events: none; z-index: 0;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  will-change: transform;
}
.tri-1 { width:80px;height:70px; top:15%; right:8%; background:rgba(253,197,64,.18); animation:floatTri 18s ease-in-out infinite; }
.tri-2 { width:60px;height:52px; bottom:20%; left:5%; background:rgba(236,103,40,.15); animation:floatTri 22s ease-in-out infinite reverse; animation-delay:-4s; }
.tri-3 { width:45px;height:39px; top:60%; right:15%; background:rgba(43,79,158,.14); animation:floatTri 16s ease-in-out infinite; animation-delay:-8s; }
.tri-4 { width:35px;height:30px; top:10%; left:12%; background:rgba(17,182,202,.14); animation:floatTri 20s ease-in-out infinite reverse; animation-delay:-12s; }
@keyframes floatTri {
  0%   { transform: translateY(0) rotate(0deg); }
  33%  { transform: translateY(-18px) rotate(12deg); }
  66%  { transform: translateY(8px) rotate(-8deg); }
  100% { transform: translateY(0) rotate(0deg); }
}
@media (max-width:575px) {
  .tri { opacity:.7; }
  .tri-1 { width:50px;height:44px; }
  .tri-2 { width:40px;height:35px; }
  .tri-3 { width:30px;height:26px; }
  .tri-4 { width:24px;height:21px; }
}

/* ── 14. WAVES ────────────────────────────────────────────── */
.wave { display: block; width: 100%; overflow: hidden; line-height: 0; }

/* Wave divider utility */
.wave-divider { display:block; width:100%; line-height:0; margin-top:-1px; }
.wave-divider svg { display:block; width:100%; height:auto; }

/* Section title accent line */
.section-title::after {
  content:''; display:block;
  width:48px; height:3px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  border-radius:2px; margin-top:.6rem;
}
.text-center .section-title::after { margin-left:auto; margin-right:auto; }
.section-title.text-white::after { background: linear-gradient(90deg, var(--yellow), var(--orange)); }

/* ── 15. MISC UTILITIES ───────────────────────────────────── */
.text-white  { color: #fff !important; }
.text-orange { color: var(--orange) !important; }
.text-yellow { color: var(--yellow) !important; }
.text-blue   { color: var(--blue) !important; }
.text-muted  { color: var(--text-muted) !important; }
.bg-blue     { background: var(--blue); }
.bg-navy     { background: var(--navy); }
.bg-orange   { background: var(--orange); }
.bg-yellow   { background: var(--yellow); }
.bg-gray     { background: var(--gray-bg); }
.bg-white    { background: #fff; }
.gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; } .gap-4 { gap: 2rem; }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}.mt-5{margin-top:2.5rem}
.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}.mb-5{margin-bottom:2.5rem}
.p-4{padding:1.5rem}.p-5{padding:2rem}
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }
.img-cover { width:100%; object-fit:cover; display:block; }

/* ── 16. CHECK LIST ───────────────────────────────────────── */
.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.check-list li { display: flex; align-items: flex-start; gap: .6rem; padding: .4rem 0; font-size: .9rem; color: #555; border-bottom: 1px solid #f0f0f8; }
.check-list li::before { content: '\2713'; color: var(--blue); font-weight: 700; flex-shrink: 0; }

/* ── 17. SCROLL-TO-TOP ────────────────────────────────────── */
#scrolltop {
  position: fixed; bottom: 1.5rem; right: 1rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: 0 4px 16px rgba(236,103,40,.4);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 800;
  cursor: pointer;
}
#scrolltop.visible { opacity: 1; pointer-events: all; }
#scrolltop:hover { transform: translateY(-3px); }

/* ── 17. LOADING BAR (top) ────────────────────────────────── */
.page-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  width: 0%; transition: width .2s;
  z-index: 9999;
}

/* ── 18. PAGE BANNER RESPONSIVE ──────────────────────────── */
@media(min-width:768px){ .page-banner { padding:4rem 0 3rem !important; } }
@media(min-width:992px){ .page-banner { padding:5rem 0 3.5rem !important; } }

/* ── 19. GALLERY IMAGE RESPONSIVE ────────────────────────── */
.galerie-item img { height:180px; }
@media(min-width:576px){ .galerie-item img { height:200px; } }
@media(min-width:768px){ .galerie-item img { height:240px; } }
@media(min-width:992px){ .galerie-item img { height:260px; } }

/* ── 20. FAQ FIX ─────────────────────────────────────────── */
.faq-item.open .faq-body { max-height:800px; }

/* ── 21. MOBILE TOUCH FEEDBACK ───────────────────────────── */
@media (hover:none) {
  .card-base:active, .pilier-card:active, .niveau-card:active { transform:scale(.98); transition-duration:.1s; }
}

/* ── 22. MOBILE OVERHAUL ─────────────────────────────────── */
@media (max-width: 767px) {
  /* Text sizes — nothing below .75rem */
  .section-eyebrow, .section-tag { font-size: .75rem; }
  .section-sub, .section-desc { font-size: 1rem; }
  .page-banner p { font-size: .95rem; }
  .footer-desc, .footer-tagline, .footer-links li a,
  .footer-contact-row span, .footer-heading { font-size: .875rem; }
  .footer-bottom p { font-size: .8rem; }
  .breadcrumb, .breadcrumb-csp { font-size: .875rem; }
  .btn-sm { font-size: .875rem; padding: .6rem 1.3rem; }
  .pilier-card p { font-size: .9rem; }
  .niveau-body p { font-size: .925rem; }
  .niveau-list li { font-size: .9rem; }
  .activite-card p { font-size: .9rem; }
  .infra-body p { font-size: .9rem; }
  .contact-card p { font-size: .9rem; }
  .team-card p { font-size: .9rem; }
  .faq-header { font-size: .95rem; }
  .faq-body p { font-size: .9rem; }
  .check-list li { font-size: .925rem; }
  .tarif-features li { font-size: .9rem; }
  .doc-item p, .step-card p { font-size: .9rem; }
  .cal-info p { font-size: .875rem; }
  .timeline-content p { font-size: .9rem; }
  .stat-label { font-size: .8rem; }
  .hero-badge { font-size: .84rem; }
  .hero-levels .lv { font-size: .84rem; padding: .4rem .95rem; }
  .form-label { font-size: .9rem; }

  /* Tighter section spacing */
  .csp-section { padding: 2.75rem 0; }
  .py-section { padding: 3rem 0; }
  .section-head { margin-bottom: 1.5rem; }

  /* Card compactness */
  .pilier-card { padding: 1.5rem 1.25rem; }
  .pilier-icon { width: 52px; height: 52px; font-size: 1.4rem; margin-bottom: .75rem; }
  .niveau-head { padding: 1.5rem 1.25rem 1.25rem; }
  .niveau-body { padding: 1.25rem; }
  .niveau-emoji { font-size: 2rem; margin-bottom: .4rem; }
  .stat-item { width: 120px; height: 120px; }
  .stat-num { font-size: 1.5rem; }
  .apercu-img img { height: 260px; }

  /* Disable hover transforms on touch */
  .card-base:hover, .pilier-card:hover, .niveau-card:hover,
  .team-card:hover, .tarif-card:hover, .infra-card:hover,
  .contact-card:hover, .activite-card:hover { transform: none; }

  /* CTA sections — less padding */
  .cta-inscriptions { padding: 3.5rem 0; }
  .cta-orange { padding: 3rem 0; }
  .csp-footer { padding: 2.5rem 0 1.25rem; }

  /* Touch targets — 48px minimum */
  .footer-links li a { padding: .5rem 0; min-height: 44px; display: flex; align-items: center; }
  .footer-social a { width: 44px; height: 44px; }
  .faq-header { min-height: 48px; }

  /* Page banner — compact on mobile */
  .page-banner { padding: 2.25rem 1rem 1.75rem !important; min-height: 140px; }
  .page-banner h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }

  /* Tarif font comfort */
  .tarif-period { font-size: .875rem; }
  .tarif-age { font-size: .875rem; }
  .tarif-card.featured::before { font-size: .75rem; }

  /* Page-specific inline component fixes */
  .badge-act { font-size: .75rem; }
  .infra-tag { font-size: .75rem; }
  .cal-date .cal-month { font-size: .75rem; }
  .planning-day .day { font-size: .75rem; }
  .planning-day .subject { font-size: .8rem; }
  .act-detail .act-key { font-size: .8rem; }
  .act-detail .act-val { font-size: .82rem; }
  .info-card p { font-size: .875rem; }
  .benefit-card p { font-size: .875rem; }

  /* Snappier scroll animations */
  [data-anim] { transform: translateY(16px); }
  [data-anim="fade-left"] { transform: translateX(-16px); }
  [data-anim="fade-right"] { transform: translateX(16px); }
}
