/* ============================================
   ELYSSA CALL · Styles partagés multi-pages
   ============================================ */
:root {
  --bg: #050d1a;
  --bg2: #09192e;
  --bg3: #0f2035;
  --bg4: #162844;
  --gold: #D4A843;
  --gold2: #F0C96A;
  --gold-soft: rgba(212,168,67,0.10);
  --gold-border: rgba(212,168,67,0.22);
  --teal: #2AADA0;
  --teal-soft: rgba(42,173,160,0.10);
  --cream: #f4ede0;
  --cream2: #ebe3d0;
  --ink: #0a1628;
  --txt: rgba(255,255,255,0.90);
  --txt2: rgba(255,255,255,0.55);
  --txt3: rgba(255,255,255,0.30);
  --brd: rgba(255,255,255,0.07);
  --ff-d: 'Cormorant Garamond', Georgia, serif;
  --ff-b: 'Outfit', system-ui, sans-serif;
  --max: 1280px;
  --ease: cubic-bezier(0.22,1,0.36,1);
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--ff-b); background: var(--bg); color: var(--txt); -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--ff-b); cursor: pointer; border: none; background: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
@media(max-width:768px){ .wrap { padding: 0 20px; } }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 100px; font-weight: 600; font-size: 15px; transition: all 0.25s var(--ease); cursor: pointer; white-space: nowrap; font-family: var(--ff-b); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold2); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(212,168,67,0.30); }
.btn-ghost { background: transparent; color: var(--txt); border: 1.5px solid rgba(255,255,255,0.18); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.40); background: rgba(255,255,255,0.05); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #34c4b6; transform: translateY(-2px); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #20ba5a; transform: translateY(-2px); }
.btn-li { background: #0A66C2; color: #fff; }
.btn-li:hover { background: #0958a8; transform: translateY(-2px); }

/* TYPOGRAPHY */
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 16px; }
.eyebrow-dark { color: rgba(10,22,40,0.45); }
.h1 { font-family: var(--ff-d); font-size: clamp(42px,5.5vw,76px); font-weight: 700; line-height: 1.08; }
.h2 { font-family: var(--ff-d); font-size: clamp(30px,3.8vw,52px); font-weight: 600; line-height: 1.12; }
.h3 { font-family: var(--ff-d); font-size: clamp(20px,2vw,27px); font-weight: 600; line-height: 1.2; }
em.gold { font-style: italic; color: var(--gold); }
.sub { font-size: 17px; color: var(--txt2); line-height: 1.75; margin-top: 16px; }
.sub-dark { color: rgba(10,22,40,0.60); }
.light-txt .h2 { color: var(--ink); }
.light-txt .sub { color: rgba(10,22,40,0.60); }
.light-txt .eyebrow { color: rgba(10,22,40,0.40); letter-spacing: 2.5px; }

/* ANIMATIONS */
@keyframes float { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-14px); } }
@keyframes mq { 0%{ transform:translateX(0); } 100%{ transform:translateX(-50%); } }
@keyframes pulse-dot { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.45; transform:scale(.75); } }
@keyframes wa-pulse { 0%,100%{ box-shadow:0 4px 24px rgba(37,211,102,0.45); } 50%{ box-shadow:0 4px 40px rgba(37,211,102,0.75); } }
@keyframes fadeUp { from{ opacity:0; transform:translateY(26px); } to{ opacity:1; transform:none; } }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; padding: 20px 0; transition: all 0.4s var(--ease); }
.nav.scrolled { padding: 11px 0; background: rgba(5,13,26,0.95); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid var(--brd); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-logo svg { display: block; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a:not(.cta) { padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--txt2); border-radius: 100px; transition: all 0.2s; }
.nav-links a:not(.cta):hover { color: var(--txt); background: rgba(255,255,255,0.07); }
.nav-social { display: flex; align-items: center; gap: 4px; margin: 0 8px; }
.nav-social-link { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--txt3); border: 1px solid var(--brd); transition: all 0.2s; }
.nav-social-link:hover { color: var(--txt); border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); }
.nav-social-link.li:hover { color: #0A66C2; border-color: #0A66C2; }
.nav-social-link.wa:hover { color: #25D366; border-color: #25D366; }
.nav-links a.cta { background: var(--gold); color: var(--ink); font-weight: 600; padding: 9px 20px; border-radius: 100px; font-size: 14px; margin-left: 6px; transition: all 0.2s; }
.nav-links a.cta:hover { background: var(--gold2); }
.burger { display: none; flex-direction: column; gap: 5px; padding: 6px; border-radius: 8px; }
.burger span { width: 22px; height: 2px; background: var(--txt); border-radius: 2px; display: block; transition: all 0.3s; }
@media(max-width:960px){
  .burger { display: flex; }
  .nav-links { display: none; position: fixed; inset: 0; top: 58px; background: rgba(5,13,26,0.98); backdrop-filter: blur(24px); flex-direction: column; align-items: stretch; padding: 24px 20px; gap: 6px; z-index: 199; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.cta) { padding: 14px 20px; border-radius: 12px; font-size: 16px; }
  .nav-links a.cta { text-align: center; margin-left: 0; margin-top: 8px; padding: 14px; font-size: 16px; border-radius: 12px; }
  .nav-social { margin: 8px 0; justify-content: center; gap: 12px; }
  .nav-social-link { width: 44px; height: 44px; }
  .nav-inner { padding: 0 20px; }
}

/* MARQUEE */
.marquee-bar { overflow: hidden; background: var(--bg2); border-top: 1px solid var(--brd); border-bottom: 1px solid var(--brd); padding: 15px 0; }
.mq-track { display: flex; gap: 48px; width: max-content; animation: mq 32s linear infinite; white-space: nowrap; }
.mq-track span { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--txt3); }
.mq-track .sep { color: var(--gold); opacity: 0.4; }

/* FOOTER */
.footer { padding: 44px 0; background: var(--bg2); border-top: 1px solid var(--brd); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--txt3); transition: color 0.2s; }
.footer-links a:hover { color: var(--txt2); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--brd); display: flex; align-items: center; justify-content: center; color: var(--txt3); transition: all 0.2s; }
.footer-social a:hover { color: var(--txt2); border-color: rgba(255,255,255,0.2); }
.footer-copy { font-size: 13px; color: var(--txt3); }

/* WHATSAPP FAB */
.wa-fab { position: fixed; bottom: 28px; right: 28px; z-index: 300; display: flex; align-items: center; gap: 10px; background: #25D366; color: #fff; padding: 14px 22px; border-radius: 100px; font-weight: 600; font-size: 14px; font-family: var(--ff-b); text-decoration: none; animation: wa-pulse 2.5s ease infinite; transition: transform 0.2s var(--ease), opacity 0.2s; box-shadow: 0 4px 24px rgba(37,211,102,0.45); }
.wa-fab:hover { transform: scale(1.06); }
@media(max-width:600px){ .wa-fab span { display: none; } .wa-fab { padding: 14px; border-radius: 50%; } }

/* ═══ SERVICE SUBNAV ═══ */
.svc-subnav{position:sticky;top:58px;z-index:150;background:rgba(9,25,46,0.97);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid var(--brd);padding:0}
.svc-subnav-inner{display:flex;align-items:center;gap:20px;height:52px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.svc-subnav-inner::-webkit-scrollbar{display:none}
.svc-subnav-back{flex-shrink:0;padding-right:16px;border-right:1px solid var(--brd)}
.svc-subnav-back a{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--txt3);white-space:nowrap;transition:color .2s}
.svc-subnav-back a:hover{color:var(--gold)}
.svc-subnav-pills{display:flex;align-items:center;gap:4px;flex-shrink:0}
.svc-subnav-pill{padding:7px 14px;border-radius:100px;font-size:13px;font-weight:500;color:var(--txt2);white-space:nowrap;transition:all .2s;border:1px solid transparent}
.svc-subnav-pill:hover{color:var(--txt);background:rgba(255,255,255,.06);border-color:var(--brd)}
.svc-subnav-pill.active{background:var(--gold);color:var(--ink);font-weight:700;border-color:var(--gold)}
@media(max-width:768px){.svc-subnav{top:54px}.svc-subnav-back{display:none}.svc-subnav-inner{padding:0 4px}}

/* SERVICE HERO */
.svc-hero { min-height: 100vh; position: relative; display: flex; align-items: center; overflow: hidden; }
.svc-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.svc-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(5,13,26,0.88) 0%, rgba(9,25,46,0.72) 55%, rgba(5,13,26,0.65) 100%); }
.svc-hero-inner { position: relative; z-index: 2; padding-top: 100px; }
.svc-hero-content { max-width: 760px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.38); margin-bottom: 28px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.38); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--txt2); }
.breadcrumb svg { width: 10px; height: 10px; opacity: 0.5; }
.svc-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }

/* PHOTO SECTION */
.photo-section { padding: 100px 0; background: var(--bg2); }
.photo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 52px; }
.photo-card { border-radius: 18px; overflow: hidden; background: var(--bg3); border: 1px solid var(--brd); transition: transform 0.4s var(--ease), border-color 0.3s; }
.photo-card:hover { transform: translateY(-4px); border-color: var(--gold-border); }
.photo-card img { width: 100%; height: 260px; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.photo-card:hover img { transform: scale(1.04); }
.photo-caption { padding: 18px 20px; }
.photo-caption h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.photo-caption p { font-size: 13px; color: var(--txt2); line-height: 1.5; }
@media(max-width:768px){ .photo-grid { grid-template-columns: 1fr; } }

/* FEATURES */
.features-section { padding: 100px 0; background: var(--cream); }
.features-section .h2 { color: var(--ink); }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 52px; }
.feat-card { background: #fff; border: 1.5px solid rgba(10,22,40,0.08); border-radius: 18px; padding: 30px; transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s; }
.feat-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(212,168,67,0.10); }
.feat-ico { font-size: 30px; margin-bottom: 16px; }
.feat-card h3 { font-family: var(--ff-d); font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.feat-card p { font-size: 14px; color: rgba(10,22,40,0.60); line-height: 1.65; }
@media(max-width:900px){ .features-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:540px){ .features-grid { grid-template-columns: 1fr; } }

/* PROCESS SECTION */
.process-section { padding: 100px 0; background: var(--bg); }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 60px; position: relative; }
.process-grid::before { content:''; position:absolute; top:28px; left:12%; right:12%; height:1px; background: linear-gradient(90deg, transparent, var(--brd) 20%, var(--brd) 80%, transparent); }
.proc-step { padding: 0 20px; text-align: center; }
.proc-num { width: 56px; height: 56px; background: var(--gold); color: var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--ff-d); font-weight: 700; font-size: 20px; margin: 0 auto 22px; position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--bg); }
.proc-step h3 { font-family: var(--ff-d); font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.proc-step p { font-size: 14px; color: var(--txt2); line-height: 1.7; }
@media(max-width:768px){ .process-grid { grid-template-columns: 1fr 1fr; gap: 44px; } .process-grid::before{ display:none; } }
@media(max-width:480px){ .process-grid { grid-template-columns: 1fr; } }

/* CTA BANNER */
.cta-banner { padding: 100px 0; background: var(--bg2); }
.cta-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-banner-inner .h2 { max-width: 580px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
@media(max-width:900px){ .cta-banner-inner { flex-direction: column; text-align: center; } .cta-btns { justify-content: center; } }

/* CHATBOT */
.cb-wrap { position: fixed; bottom: 28px; left: 28px; z-index: 300; }
@keyframes cb-in { from{ opacity:0; transform:translateY(16px) scale(0.96); } to{ opacity:1; transform:none; } }
@keyframes cb-typing { 0%,80%,100%{ transform:scale(0); opacity:.3; } 40%{ transform:scale(1); opacity:1; } }
.cb-window { position: absolute; bottom: 76px; left: 0; width: 360px; background: var(--bg2); border: 1px solid var(--brd); border-radius: 22px; overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,0.55); display: flex; flex-direction: column; animation: cb-in 0.3s var(--ease) both; }
.cb-header { background: linear-gradient(135deg, var(--bg3), var(--bg4)); padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--brd); flex-shrink: 0; }
.cb-header-left { display: flex; align-items: center; gap: 12px; }
.cb-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--gold-soft); border: 1px solid var(--gold-border); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.cb-name { font-weight: 600; font-size: 14px; color: var(--txt); }
.cb-status { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--txt2); margin-top: 2px; }
.cb-dot { width: 6px; height: 6px; border-radius: 50%; background: #25D366; display: inline-block; flex-shrink: 0; }
.cb-close { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid var(--brd); color: var(--txt2); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; flex-shrink: 0; font-family: var(--ff-b); }
.cb-close:hover { background: rgba(255,255,255,0.12); color: var(--txt); }
.cb-msgs { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; max-height: 310px; scroll-behavior: smooth; min-height: 140px; }
.cb-msgs::-webkit-scrollbar { width: 3px; }
.cb-msgs::-webkit-scrollbar-thumb { background: var(--brd); border-radius: 3px; }
.cb-msg { max-width: 87%; padding: 11px 15px; border-radius: 16px; font-size: 14px; line-height: 1.55; word-wrap: break-word; }
.cb-msg-user { background: var(--gold); color: var(--ink); align-self: flex-end; border-bottom-right-radius: 4px; font-weight: 500; }
.cb-msg-assistant { background: var(--bg3); color: var(--txt); border: 1px solid var(--brd); align-self: flex-start; border-bottom-left-radius: 4px; }
.cb-typing { display: flex; gap: 5px; align-items: center; height: 18px; }
.cb-typing span { width: 7px; height: 7px; background: var(--txt3); border-radius: 50%; animation: cb-typing 1.3s infinite ease; }
.cb-typing span:nth-child(2){ animation-delay:.15s; }
.cb-typing span:nth-child(3){ animation-delay:.3s; }
.cb-quick { padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid var(--brd); flex-shrink: 0; }
.cb-chip { padding: 6px 12px; border: 1px solid var(--gold-border); border-radius: 100px; font-size: 12px; color: var(--gold); background: var(--gold-soft); cursor: pointer; transition: all 0.2s; font-family: var(--ff-b); white-space: nowrap; }
.cb-chip:hover { background: var(--gold); color: var(--ink); }
.cb-input-row { padding: 12px 14px; border-top: 1px solid var(--brd); display: flex; gap: 8px; flex-shrink: 0; }
.cb-input { flex: 1; background: var(--bg3); border: 1.5px solid var(--brd); border-radius: 100px; padding: 10px 16px; font-family: var(--ff-b); font-size: 14px; color: var(--txt); outline: none; transition: border-color 0.2s; }
.cb-input:focus { border-color: var(--gold-border); }
.cb-input::placeholder { color: var(--txt3); }
.cb-input:disabled { opacity: 0.5; }
.cb-send { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--ink); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; flex-shrink: 0; }
.cb-send:hover:not(:disabled) { background: var(--gold2); transform: scale(1.05); }
.cb-send:disabled { opacity: 0.35; cursor: not-allowed; }
.cb-fab { display: flex; align-items: center; gap: 10px; background: var(--bg2); border: 1.5px solid var(--gold-border); color: var(--gold); padding: 13px 20px; border-radius: 100px; font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.3s var(--ease); box-shadow: 0 6px 30px rgba(0,0,0,0.4); font-family: var(--ff-b); }
.cb-fab:hover { background: var(--bg3); box-shadow: 0 10px 40px rgba(212,168,67,0.18); transform: translateY(-2px); }
.cb-fab-open { background: var(--bg3); border-color: rgba(255,255,255,0.15); color: var(--txt2); padding: 13px 18px; }
@media(max-width:480px){ .cb-window{ width: calc(100vw - 36px); } .cb-wrap{ left:18px; bottom:18px; } }

/* SCROLL REVEAL */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-2 { transition-delay: 0.1s; }
.rv-3 { transition-delay: 0.2s; }
.rv-4 { transition-delay: 0.3s; }

/* SERVICE NAV PILLS */
.svc-nav { padding: 20px 0; background: var(--bg3); border-bottom: 1px solid var(--brd); overflow-x: auto; }
.svc-nav-inner { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.svc-nav-pill { padding: 8px 18px; border-radius: 100px; font-size: 13px; font-weight: 500; color: var(--txt2); border: 1px solid var(--brd); transition: all 0.2s; white-space: nowrap; cursor: pointer; font-family: var(--ff-b); }
.svc-nav-pill:hover { color: var(--txt); border-color: rgba(255,255,255,0.2); }
.svc-nav-pill.active { background: var(--gold); color: var(--ink); border-color: var(--gold); font-weight: 600; }
