/* =========================================================
   SP MEDIA — Design System
   ========================================================= */
:root {
  /* Brand palette */
  --coral:   #E2714F;
  --coral-d: #C95C3C;
  --orange:  #EE9F5F;
  --yellow:  #E8C75F;
  --teal:    #2BA18C;
  --teal-d:  #1f7c6b;
  --navy:    #2A4A5A;
  --navy-d:  #1d3540;

  --ink:     #213541;
  --muted:   #5d7480;
  --line:    #e6ebee;
  --bg:      #ffffff;
  --bg-soft: #f6f8f9;
  --bg-tint: #fbf7f4;
  --white:   #ffffff;

  --radius:  20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(42,74,90,.05), 0 3px 10px rgba(42,74,90,.05);
  --shadow:  0 1px 2px rgba(42,74,90,.04), 0 10px 26px rgba(42,74,90,.07);
  --shadow-lg: 0 4px 14px rgba(42,74,90,.06), 0 26px 56px rgba(42,74,90,.14);
  --maxw:    1180px;
  --ease:    cubic-bezier(.2,.7,.2,1);

  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.02rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}
p { text-wrap: pretty; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: 92px 0; }
.section.tight { padding: 64px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-tint { background: var(--bg-tint); }
.bg-navy { background: var(--navy); color: #dfe9ee; }
.center { text-align: center; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.1; color: var(--navy); font-weight: 800; letter-spacing: -.022em; text-wrap: balance; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
h1 { font-size: clamp(2.35rem, 5.2vw, 3.75rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.7vw, 2.7rem); letter-spacing: -.03em; }
h3 { font-size: 1.27rem; letter-spacing: -.018em; }
.lead { font-size: clamp(1.06rem, 1.55vw, 1.24rem); color: var(--muted); line-height: 1.6; font-weight: 400; }
.bg-navy .lead { color: #b9ccd5; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; opacity: .9; }

.section-head { max-width: 730px; margin: 0 auto 58px; }
.section-head.center { text-align: center; }
.gradient-text {
  background: linear-gradient(90deg, var(--coral), var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 27px; border-radius: 999px; font-weight: 700; font-size: .96rem; letter-spacing: -.01em;
  cursor: pointer; border: 1.5px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(0) scale(.985); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(226,113,79,.30); }
.btn-primary:hover { background: var(--coral-d); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(226,113,79,.42); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); background: var(--bg-tint); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1da851; transform: translateY(-2px); }

/* ============================ HEADER ============================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: all .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(42,74,90,.08); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo img { height: 38px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li > a {
  display: block; padding: 10px 14px; font-weight: 600; font-size: .95rem; color: var(--navy);
  border-radius: 10px; transition: all .2s var(--ease);
}
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--coral); background: var(--bg-tint); }

/* dropdown */
.has-drop { position: relative; }
.nav-menu .drop-toggle { display: inline-flex; align-items: center; gap: 5px; }
.drop-toggle .caret { display: inline-flex; opacity: .6; transition: transform .25s var(--ease); }
.drop-toggle .caret svg { width: 13px; height: 13px; }
.has-drop:hover .drop-toggle .caret { transform: rotate(180deg); opacity: 1; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 10px; min-width: 290px; opacity: 0; visibility: hidden; transition: all .22s var(--ease);
}
.has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 11px;
  font-size: .92rem; font-weight: 600; color: var(--navy); transition: background .18s;
}
.dropdown a:hover { background: var(--bg-tint); color: var(--coral); }
.dropdown .di { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; background: var(--bg-tint); }
.dropdown .di svg { width: 18px; height: 18px; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }
.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; padding: 90px 0 100px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 60% at 85% 10%, rgba(238,159,95,.18), transparent 60%),
    radial-gradient(55% 55% at 5% 90%, rgba(43,161,140,.14), transparent 60%);
}
/* animated aurora blobs */
.hero .aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.hero .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.hero .blob.b-coral  { width: 460px; height: 460px; background: rgba(226,113,79,.45); top: -120px; right: -60px; animation: drift1 16s ease-in-out infinite; }
.hero .blob.b-teal   { width: 400px; height: 400px; background: rgba(43,161,140,.35);  bottom: -140px; left: -80px; animation: drift2 19s ease-in-out infinite; }
.hero .blob.b-yellow { width: 320px; height: 320px; background: rgba(232,199,95,.40);  top: 30%; left: 40%; animation: drift3 22s ease-in-out infinite; }
@keyframes drift1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-50px,40px) scale(1.12)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(60px,-30px) scale(1.1)} }
@keyframes drift3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-40px,-50px) scale(.9)} }
@media (prefers-reduced-motion: reduce) { .hero .blob { animation: none; } }

/* rotating word */
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator > .w {
  grid-area: 1/1; opacity: 0; transform: translateY(14px) rotateX(-40deg);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  background: linear-gradient(90deg, var(--coral), var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.rotator > .w.active { opacity: 1; transform: none; }
.rotator > .w.leaving { opacity: 0; transform: translateY(-14px) rotateX(40deg); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 32px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 38px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats .num { font-size: 2rem; font-weight: 800; color: var(--navy); }
.hero-stats .lbl { font-size: .85rem; color: var(--muted); font-weight: 600; }

/* hero visual collage */
.hero-visual { position: relative; }
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg);
  padding: 26px; position: relative; z-index: 2;
}
.hero-card .hc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.hero-card .dot { width: 11px; height: 11px; border-radius: 50%; }
.hero-bars { display: grid; gap: 12px; }
.hero-bars .bar { height: 14px; border-radius: 8px; background: var(--bg-soft); position: relative; overflow: hidden; }
.hero-bars .bar i { position: absolute; inset: 0; border-radius: 8px; }
.float-badge {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 14px 16px; display: flex; align-items: center; gap: 12px; z-index: 3;
  font-weight: 700; font-size: .9rem; color: var(--navy);
}
.float-badge .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; }
.float-badge.b1 { top: -22px; right: 18px; animation: floaty 5s ease-in-out infinite; }
.float-badge.b2 { bottom: -24px; left: -18px; animation: floaty 6s ease-in-out infinite .8s; }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* hero photo */
.hero-photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; position: relative; z-index: 2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 16/11; }

/* generic framed image */
.img-frame { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.img-frame img { width: 100%; display: block; object-fit: cover; }

/* showcase band (creative-banner) */
.showcase { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.showcase img { width: 100%; display: block; object-fit: cover; aspect-ratio: 21/9; transition: transform 1.2s var(--ease); }
.showcase:hover img { transform: scale(1.05); }
.showcase .overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42,74,90,.86) 0%, rgba(42,74,90,.55) 45%, rgba(42,74,90,.05) 100%); display: flex; align-items: center; }
.showcase .overlay .inner { padding: 0 clamp(28px,5vw,68px); max-width: 620px; color: #fff; }
.showcase .overlay h2 { color: #fff; margin-bottom: 14px; }
.showcase .overlay p { color: #dbe6ea; margin-bottom: 22px; }
@media (max-width: 720px) {
  .showcase img { aspect-ratio: 4/5; }
  .showcase .overlay { background: linear-gradient(0deg, rgba(42,74,90,.92) 10%, rgba(42,74,90,.45) 100%); align-items: flex-end; }
}

/* ============================ SERVICE CARDS ============================ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  transition: all .3s var(--ease); position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: var(--accent, var(--coral)); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card .ic {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; color: #fff;
  margin-bottom: 20px; background: var(--accent, var(--coral));
}
.card .ic svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 16px; }
.card .more { font-weight: 700; color: var(--accent, var(--coral)); font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.card:hover .more { gap: 10px; }

/* ============================ GENERIC ============================ */
.page-hero { padding: 76px 0 60px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 80% at 90% 0%, rgba(226,113,79,.12), transparent 60%);
}
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--coral); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-list { display: grid; gap: 16px; margin-top: 10px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .ck {
  flex: none; width: 26px; height: 26px; border-radius: 8px; background: rgba(43,161,140,.14); color: var(--teal);
  display: grid; place-items: center; margin-top: 2px;
}
.feature-list .ck svg { width: 15px; height: 15px; }
.feature-list b { color: var(--navy); }
.feature-list span { color: var(--muted); font-size: .95rem; }

.mediabox {
  border-radius: var(--radius); padding: 44px; color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg); min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end;
}
.mediabox h3 { color: #fff; font-size: 1.6rem; }
.mediabox .big-ic { position: absolute; top: 30px; right: 30px; opacity: .25; }
.mediabox .big-ic svg { width: 120px; height: 120px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.step .n {
  width: 46px; height: 46px; border-radius: 13px; background: var(--bg-tint); color: var(--coral);
  display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .92rem; }

/* stats band */
.stats-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; }
.stats-band .num { font-size: clamp(2rem,4vw,2.8rem); font-weight: 800; color: #fff; }
.stats-band .num span { color: var(--orange); }
.stats-band .lbl { color: #aac2cc; font-weight: 600; font-size: .95rem; }

/* values */
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.value { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.value .ic { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items:center; color:#fff; margin-bottom:16px; }
.value h3 { font-size: 1.12rem; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: .94rem; }

/* logos / pills */
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px;
  font-weight: 600; font-size: .92rem; color: var(--navy); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.pill:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--navy) 14%, var(--line)); }
.pill .pill-ic { display: inline-flex; margin-left: -3px; }
.pill .pill-ic svg { width: 18px; height: 18px; }

/* CTA band */
.cta-band {
  border-radius: 26px; padding: 56px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--navy), var(--navy-d));
}
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 120% at 80% -20%, rgba(238,159,95,.35), transparent 55%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #c3d4dc; max-width: 560px; margin: 0 auto 28px; }
.cta-band .hero-actions { justify-content: center; }

/* ============================ FORM (DEVIS) ============================ */
.form-wrap { display: grid; grid-template-columns: 1.4fr .9fr; gap: 48px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 38px; }
.fgroup { margin-bottom: 22px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label.flabel { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; font-size: .92rem; }
label.flabel .req { color: var(--coral); }
.input, .textarea, select.input {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: .97rem; color: var(--ink); background: #fff; transition: border .2s, box-shadow .2s;
}
.input:focus, .textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(226,113,79,.12); }
.textarea { resize: vertical; min-height: 120px; }
.hint { font-size: .84rem; color: var(--muted); margin-top: 6px; }

/* service checkbox cards */
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice {
  position: relative; border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 16px 16px 16px;
  cursor: pointer; transition: all .2s var(--ease); display: flex; align-items: center; gap: 13px; background: #fff;
}
.choice:hover { border-color: var(--coral); background: var(--bg-tint); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .cic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex: none; background: var(--accent, var(--coral)); }
.choice .cic svg { width: 20px; height: 20px; }
.choice .ctxt b { display: block; font-size: .95rem; color: var(--navy); }
.choice .ctxt span { font-size: .8rem; color: var(--muted); }
.choice .tick {
  position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 7px;
  border: 1.5px solid var(--line); display: grid; place-items: center; color: #fff; transition: all .2s;
}
.choice .tick svg { width: 13px; height: 13px; opacity: 0; transition: opacity .15s; }
.choice input:checked ~ .tick { background: var(--teal); border-color: var(--teal); }
.choice input:checked ~ .tick svg { opacity: 1; }
.choice:has(input:checked) { border-color: var(--teal); background: rgba(43,161,140,.07); box-shadow: 0 0 0 3px rgba(43,161,140,.1); }

.form-aside { position: sticky; top: 100px; }
.aside-card { background: linear-gradient(140deg, var(--navy), var(--navy-d)); color: #fff; border-radius: 22px; padding: 32px; box-shadow: var(--shadow-lg); }
.aside-card h3 { color: #fff; margin-bottom: 8px; }
.aside-card p { color: #bdd0d9; font-size: .94rem; margin-bottom: 22px; }
.aside-item { display: flex; gap: 13px; align-items: flex-start; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.12); }
.aside-item:first-of-type { border-top: 0; }
.aside-item .ic { width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: var(--orange); flex: none; }
.aside-item .ic svg { width: 18px; height: 18px; }
.aside-item b { font-size: .92rem; }
.aside-item span { display: block; color: #bdd0d9; font-size: .85rem; }

.form-success {
  display: none; text-align: center; padding: 30px;
  background: rgba(43,161,140,.08); border: 1.5px solid rgba(43,161,140,.3); border-radius: 16px; margin-top: 8px;
}
.form-success.show { display: block; animation: pop .4s var(--ease); }
@keyframes pop { from{opacity:0; transform:scale(.96)} to{opacity:1; transform:scale(1)} }
.form-success .ok { width: 60px; height: 60px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; }
.field-error { border-color: var(--coral) !important; }
.err-msg { color: var(--coral); font-size: .82rem; margin-top: 6px; display: none; }
.err-msg.show { display: block; }

/* ============================ FOOTER ============================ */
.site-footer { background: var(--navy-d); color: #aac2cc; padding: 70px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer img.flogo { height: 40px; margin-bottom: 18px; }
.site-footer p { font-size: .92rem; color: #93aeb9; max-width: 300px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul li { margin-bottom: 11px; }
.site-footer ul a { font-size: .92rem; color: #aac2cc; transition: color .2s; }
.site-footer ul a:hover { color: var(--orange); }
.fcontact li { display: flex; gap: 11px; align-items: flex-start; font-size: .92rem; }
.fcontact svg { width: 17px; height: 17px; color: var(--orange); flex: none; margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #cfe0e7; transition: all .2s; }
.socials a:hover { background: var(--coral); color: #fff; transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }
.foot-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: #7f9aa6; }
.foot-meta { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 14px 22px; }
.reab-credit { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.reab-credit img { width: 82px; height: auto; display: block; }

/* ============================ MOTION / RNO1-INSPIRED ============================ */
/* custom cursor */
.sp-cursor, .sp-cursor-dot { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 9999; mix-blend-mode: difference; will-change: transform; }
.sp-cursor { width: 38px; height: 38px; border: 2px solid #fff; transform: translate(-50%,-50%); transition: width .25s var(--ease), height .25s var(--ease), background .25s var(--ease), opacity .3s; }
.sp-cursor-dot { width: 6px; height: 6px; background: #fff; transform: translate(-50%,-50%); }
.sp-cursor.hovering { width: 64px; height: 64px; background: #fff; }
body.cursor-on { cursor: none; }
body.cursor-on a, body.cursor-on button, body.cursor-on .choice, body.cursor-on label, body.cursor-on input, body.cursor-on textarea, body.cursor-on select { cursor: none; }
@media (hover: none), (pointer: coarse) { .sp-cursor, .sp-cursor-dot { display: none !important; } body.cursor-on { cursor: auto; } }

/* infinite marquee */
.marquee { overflow: hidden; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--navy); }
.marquee.light { background: var(--bg-tint); border-color: var(--line); }
.marquee-track { display: inline-flex; white-space: nowrap; will-change: transform; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .item { display: inline-flex; align-items: center; font-size: clamp(1.4rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; color: #fff; text-transform: uppercase; padding: 0 .4em; }
.marquee.light .item { color: var(--navy); }
.marquee .sep { color: var(--coral); padding: 0 .35em; font-size: 1.1em; }
.marquee .item.outline { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); }
.marquee.light .item.outline { -webkit-text-stroke: 1.5px rgba(42,74,90,.4); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* word-by-word heading reveal */
.reveal-words .w-line { display: inline-block; overflow: hidden; vertical-align: top; }
.reveal-words .w-in { display: inline-block; transform: translateY(110%) rotate(4deg); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease); }
.reveal-words.in .w-in { transform: none; opacity: 1; }

/* parallax */
[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .reveal-words .w-in { transform: none; opacity: 1; }
}

/* ============================ "ALIVE" LAYER ============================ */
/* scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--coral), var(--orange), var(--yellow), var(--teal));
  z-index: 1000; will-change: transform; pointer-events: none;
}

/* interactive 3D tilt + cursor-following spotlight on cards */
.tilt { will-change: transform; }
.tilt-glow { position: relative; overflow: hidden; }
.tilt-glow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%),
              color-mix(in srgb, var(--accent, var(--coral)) 24%, transparent), transparent 62%);
  opacity: 0; transition: opacity .35s var(--ease); z-index: 0;
}
.tilt-glow:hover::before { opacity: 1; }
.tilt-glow > * { position: relative; z-index: 1; }

/* ambient hero particles */
.hero-particles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* continuous shimmer on gradient headline */
.gradient-text {
  background-image: linear-gradient(90deg, var(--coral), var(--orange), var(--coral));
  background-size: 200% 100%; animation: sp-shimmer 6s linear infinite;
}
@keyframes sp-shimmer { to { background-position: 200% 0; } }

/* light-sweep shine on primary buttons */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%; pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn-primary:hover::after { left: 150%; }

/* animated underline on nav links */
.nav-menu > li > a:not(.drop-toggle) { position: relative; }
.nav-menu > li > a:not(.drop-toggle)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px;
  background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav-menu > li > a:not(.drop-toggle):hover::after,
.nav-menu > li > a:not(.drop-toggle).active::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .gradient-text { animation: none; }
  .scroll-progress { display: none; }
}
@media (max-width: 720px) {
  .nav-menu > li > a:not(.drop-toggle)::after { display: none; }
}

/* ============================ REVEAL ANIM ============================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ============================ FLOATING WHATSAPP ============================ */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37,211,102,.45);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ============================ ADMIN ============================ */
body.admin { background: var(--bg-soft); }
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 40px; width: 100%; max-width: 410px; }
.login-card img { height: 40px; margin: 0 auto 24px; }
.login-card h2 { text-align: center; font-size: 1.5rem; margin-bottom: 6px; }
.login-card p.sub { text-align: center; color: var(--muted); font-size: .92rem; margin-bottom: 26px; }
.login-err { background: rgba(226,113,79,.1); color: var(--coral-d); border: 1px solid rgba(226,113,79,.3); border-radius: 10px; padding: 10px 14px; font-size: .88rem; margin-bottom: 16px; display: none; }
.login-err.show { display: block; }

.admin-shell { display: none; min-height: 100vh; }
.admin-shell.show { display: block; }
.admin-top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-top .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.admin-top img { height: 32px; }
.admin-top .who { display: flex; align-items: center; gap: 14px; font-size: .9rem; color: var(--muted); }

.admin-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin: 30px 0; }
.astat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.astat .k { font-size: .82rem; color: var(--muted); font-weight: 600; }
.astat .v { font-size: 2rem; font-weight: 800; color: var(--navy); margin-top: 4px; }
.astat .v small { font-size: .9rem; color: var(--coral); font-weight: 700; }

.admin-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.atab { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .92rem; cursor: pointer; color: var(--navy); transition: all .2s; }
.atab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.admin-toolbar { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; align-items: center; }
.admin-toolbar .input { max-width: 280px; }
.admin-toolbar select.input { max-width: 200px; }
.spacer { flex: 1; }

.rowcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 12px; transition: box-shadow .2s; }
.rowcard:hover { box-shadow: var(--shadow); }
.rowcard .rc-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rowcard .rc-name { font-weight: 800; color: var(--navy); font-size: 1.05rem; }
.rowcard .rc-meta { color: var(--muted); font-size: .85rem; }
.rowcard .rc-body { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: none; }
.rowcard.open .rc-body { display: block; }
.rc-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 12px; }
.rc-field .lab { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.rc-field .val { color: var(--ink); font-size: .95rem; margin-top: 2px; word-break: break-word; }
.rc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.rc-tag { background: var(--bg-tint); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: .8rem; font-weight: 600; color: var(--navy); }
.rc-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; align-items: center; }
.badge { padding: 4px 11px; border-radius: 999px; font-size: .76rem; font-weight: 700; }
.badge.nouveau { background: rgba(226,113,79,.14); color: var(--coral-d); }
.badge.en_cours { background: rgba(232,199,95,.22); color: #8a6d12; }
.badge.traite { background: rgba(43,161,140,.16); color: var(--teal-d); }
.btn-sm { padding: 8px 14px; font-size: .85rem; border-radius: 9px; }
.btn-danger { background: #fff; color: var(--coral-d); border: 1.5px solid rgba(226,113,79,.4); }
.btn-danger:hover { background: rgba(226,113,79,.08); }
.btn-success { background: #fff; color: var(--teal-d); border: 1.5px solid rgba(43,161,140,.45); }
.btn-success:hover { background: rgba(43,161,140,.1); }
.badge.corbeille { background: rgba(42,74,90,.12); color: var(--navy); }
.admin-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.admin-loading { text-align: center; padding: 50px; color: var(--muted); }
.notice { background: #fff3e0; border: 1px solid var(--orange); color: #8a5a12; padding: 14px 18px; border-radius: 12px; margin: 20px 0; font-size: .9rem; }
.expand-hint { margin-left: auto; color: var(--muted); font-size: .8rem; }

/* ============================ VIDEO TYPES ============================ */
.vtypes { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.vtype { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: all .3s var(--ease); }
.vtype:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.vtype .vt-ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 16px; }
.vtype .vt-ic svg { width: 27px; height: 27px; }
.vtype h3 { margin-bottom: 8px; }
.vtype > p { color: var(--muted); font-size: .94rem; margin-bottom: 16px; }
.vtype .subs { display: grid; gap: 9px; padding-top: 14px; border-top: 1px solid var(--line); }
.vtype .subs li { display: flex; gap: 10px; align-items: center; font-size: .92rem; color: var(--ink); font-weight: 600; }
.vtype .subs .d { width: 7px; height: 7px; border-radius: 50%; flex: none; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 980px) {
  .hero-grid, .split, .form-wrap { grid-template-columns: 1fr; gap: 40px; }
  .cards, .values { grid-template-columns: repeat(2, 1fr); }
  .steps, .stats-band { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-aside { position: static; }
  .hero-visual { max-width: 460px; margin-inline: auto; }
  .admin-stats { grid-template-columns: repeat(2,1fr); }
  .vtypes { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-menu {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 16px 18px 26px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-130%); transition: transform .35s var(--ease); height: auto;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu > li > a { padding: 14px 12px; border-radius: 12px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: auto; padding: 4px 0 4px 14px; }
  .has-drop:hover .dropdown { transform: none; }
  .burger { display: flex; }
  .nav-cta .btn-quote { display: none; }
  .cards, .values, .steps, .stats-band, .footer-grid, .choice-grid, .fgrid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .cta-band, .form-card, .mediabox { padding: 30px; }
  .hero-stats { gap: 26px; }
  .admin-stats { grid-template-columns: 1fr; }
  .foot-bottom, .foot-meta { justify-content: flex-start; }
}

/* =========================================================
   POLISH & SVG ICON SUPPORT (refinement layer)
   ========================================================= */

/* --- inline flag (eyebrow + footer), replaces 🇲🇦 --- */
.mini-flag { display: inline-flex; align-items: center; vertical-align: middle; line-height: 0; }
.mini-flag svg { width: 1.15em; height: 1.15em; border-radius: 3px; box-shadow: 0 1px 2px rgba(0,0,0,.18); }
.made-in { display: inline-flex; align-items: center; gap: 7px; }
.made-in .mini-flag svg { width: 17px; height: 17px; }

/* --- icon chips that were missing svg sizing --- */
.float-badge .ic svg { width: 20px; height: 20px; }
.value .ic svg { width: 24px; height: 24px; }

/* --- service / value icon chips: soft tinted glow + lift --- */
.card { box-shadow: var(--shadow-sm); }
.card .ic, .value .ic, .vtype .vt-ic, .choice .cic {
  box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--accent, var(--coral)) 60%, transparent);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover .ic, .vtype:hover .vt-ic { transform: translateY(-3px) scale(1.05); }

/* --- marquee sparkle separator, replaces ✦ --- */
.marquee .sep { display: inline-flex; align-items: center; }
.marquee .sep svg { width: .52em; height: .52em; }

/* --- breadcrumb chevrons, replaces › --- */
.breadcrumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb[style*="center"] { justify-content: center; }
.breadcrumb svg { width: 13px; height: 13px; opacity: .5; flex: none; }

/* --- header: crisper glass --- */
.site-header { background: rgba(255,255,255,.80); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); }

/* --- nav logo a touch larger for presence --- */
.nav-logo img { height: 40px; }

/* --- focus-visible accessibility ring --- */
a:focus-visible, button:focus-visible, .choice:focus-within, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--coral) 70%, transparent); outline-offset: 2px;
}

/* --- admin inline icons (replaces 📋 ✉️ 🗑 📞 📍 ⏳ ↺ ↻ ▾) --- */
.atab { display: inline-flex; align-items: center; gap: 7px; }
.atab svg { width: 16px; height: 16px; }
.mic { display: inline-flex; align-items: center; vertical-align: middle; line-height: 0; }
.mic svg { width: 14px; height: 14px; }
.rc-meta .mic { margin: 0 5px 0 2px; color: var(--muted); }
.expand-hint .mic { margin-left: 5px; color: var(--muted); }
.admin-empty .empty-ic { display: inline-flex; color: var(--muted); margin-bottom: 6px; }
.admin-empty .empty-ic svg { width: 40px; height: 40px; opacity: .5; }
#refreshBtn svg { width: 16px; height: 16px; }

/* --- reduced motion: calm the icon transforms --- */
@media (prefers-reduced-motion: reduce) {
  .card:hover .ic, .vtype:hover .vt-ic { transform: none; }
}
