/* ═══════════════════════════════════════════════
   SERVICE-CLIENT.CSS — Océan de Saveurs · Dark Edition
   ═══════════════════════════════════════════════ */

/* ─── MAIN ────────────────────────────────────── */
.sc-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2.5rem 5rem;
}

/* ─── CONTACT METHODS ─────────────────────────── */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.contact-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(42,157,200,0.10);
  box-shadow: 0 4px 24px rgba(13,43,62,0.25);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  overflow: hidden;
}
.contact-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212,168,67,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 24px rgba(42,157,200,0.08); border-color: rgba(42,157,200,0.20); }
.contact-card:hover::after { opacity: 1; }

.contact-card.featured-contact {
  border-color: rgba(42,157,200,0.25);
  background: linear-gradient(145deg, var(--surface), var(--surface-2));
  box-shadow: 0 4px 30px rgba(13,43,62,0.30), 0 0 30px rgba(42,157,200,0.06);
}
.contact-card.featured-contact::after { opacity: 1; }

.contact-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--apricot));
  color: #0D2B3E;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.9rem;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.contact-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.contact-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.contact-card p { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: var(--text-light); line-height: 1.6; margin-bottom: 1rem; }

.contact-link {
  display: inline-block;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold-light), var(--apricot));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  transition: filter 0.2s;
}
.contact-link:hover { filter: brightness(1.2); }

.contact-hours { font-size: 0.78rem; color: var(--text-light); margin-top: 0.5rem; letter-spacing: 0.04em; }

/* ─── SC GRID ─────────────────────────────────── */
.sc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ─── FORM SECTION ────────────────────────────── */
.sc-form-section h2, .sc-faq-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.sc-form-section > p, .sc-faq-section > p { font-family: 'Cormorant Garamond', serif; color: var(--text-light); font-size: 1rem; margin-bottom: 1.75rem; }

.contact-form {
  background: var(--surface);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(42,157,200,0.10);
  box-shadow: 0 4px 24px rgba(13,43,62,0.25);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cf-group { display: flex; flex-direction: column; gap: 0.35rem; }
.cf-group label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); font-weight: 500; }
.cf-group input, .cf-group select, .cf-group textarea {
  padding: 0.7rem 0.9rem;
  border: 1.5px solid rgba(42,157,200,0.12);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--surface-2);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.cf-group input:focus, .cf-group select:focus, .cf-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(42,157,200,0.10);
}
.cf-group textarea { min-height: 110px; }
.cf-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23D4A843'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  cursor: pointer;
}

/* ─── FAQ SECTION ─────────────────────────────── */
.faq-list { margin-bottom: 2rem; }
.faq-item { border-bottom: 1px solid rgba(42,157,200,0.08); overflow: hidden; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  text-align: left;
  gap: 1rem;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--gold-light); }
.faq-item.open .faq-q { color: var(--gold-light); }

.faq-arrow { font-size: 1.2rem; flex-shrink: 0; transition: transform 0.3s; color: var(--gold); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.75;
  padding: 0;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 1.1rem; }

/* ─── INFO CARDS ──────────────────────────────── */
.info-cards { display: flex; flex-direction: column; gap: 0.75rem; }
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--surface);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(42,157,200,0.08);
  box-shadow: 0 2px 12px rgba(13,43,62,0.20);
  transition: border-color 0.2s;
}
.info-card:hover { border-color: rgba(42,157,200,0.20); }
.info-icon { font-size: 1.4rem; flex-shrink: 0; }
.info-card strong { display: block; font-size: 0.88rem; color: var(--text-dark); margin-bottom: 0.2rem; }
.info-card p { font-size: 0.83rem; color: var(--text-light); line-height: 1.6; }

/* ─── LIVE CHAT ───────────────────────────────── */
.chat-overlay {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 3000;
  transform: scale(0.85) translateY(30px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  transform-origin: bottom right;
}
.chat-overlay.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }

.chat-box {
  width: 340px;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(42,157,200,0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 520px;
}

.chat-header {
  background: linear-gradient(135deg, rgba(255,247,237,0.95), rgba(255,238,206,0.95));
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(42,157,200,0.10);
}
.chat-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--apricot));
  color: #0D2B3E;
  font-weight: 700; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(42,157,200,0.30);
}
.chat-agent-name { font-size: 0.88rem; font-weight: 600; color: var(--text-dark); }
.chat-status { display: flex; align-items: center; gap: 0.3rem; font-size: 0.75rem; color: var(--text-light); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; display: inline-block; animation: statusPulse 2s ease-in-out infinite; box-shadow: 0 0 6px rgba(74,222,128,0.5); }
@keyframes statusPulse { 0%,100%{opacity:1;} 50%{opacity:0.5;} }
.chat-close {
  margin-left: auto;
  background: rgba(42,157,200,0.10);
  border: none;
  color: var(--text-light);
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.chat-close:hover { background: rgba(42,157,200,0.20); color: var(--text-dark); }

.chat-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--cream);
}

.chat-msg { display: flex; flex-direction: column; }
.chat-msg.user { align-items: flex-end; }
.chat-msg.bot  { align-items: flex-start; }

.msg-bubble {
  max-width: 85%;
  padding: 0.65rem 1rem;
  border-radius: 14px;
  font-size: 0.87rem;
  line-height: 1.5;
}
.chat-msg.bot .msg-bubble {
  background: var(--surface-2);
  color: var(--text-dark);
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(42,157,200,0.10);
}
.chat-msg.user .msg-bubble {
  background: linear-gradient(135deg, var(--gold), var(--apricot));
  color: #0D2B3E;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.msg-time { font-size: 0.68rem; color: var(--text-light); margin-top: 0.2rem; padding: 0 0.25rem; }

.chat-quick-replies {
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  background: var(--surface);
  border-top: 1px solid rgba(42,157,200,0.08);
}
.chat-quick-replies button {
  background: rgba(42,157,200,0.08);
  border: 1px solid rgba(42,157,200,0.18);
  border-radius: 50px;
  padding: 0.3rem 0.85rem;
  font-size: 0.78rem;
  color: var(--text-mid);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.15s;
}
.chat-quick-replies button:hover {
  background: linear-gradient(135deg, var(--gold), var(--apricot));
  color: #0D2B3E;
  border-color: transparent;
  box-shadow: 0 0 12px rgba(42,157,200,0.25);
}

.chat-input-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border-top: 1px solid rgba(42,157,200,0.08);
}
.chat-input-row input {
  flex: 1;
  padding: 0.55rem 0.85rem;
  border: 1.5px solid rgba(42,157,200,0.15);
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  outline: none;
  color: var(--text-dark);
  background: var(--surface-2);
  transition: border-color 0.2s;
}
.chat-input-row input:focus { border-color: var(--gold); }
.chat-input-row button {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--apricot));
  border: none;
  color: #0D2B3E;
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: box-shadow 0.2s, transform 0.15s;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(42,157,200,0.25);
}
.chat-input-row button:hover { box-shadow: 0 0 20px rgba(212,168,67,0.4); transform: scale(1.08); }

/* ─── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  .contact-methods { grid-template-columns: 1fr; }
  .sc-grid { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .chat-overlay { right: 1rem; bottom: 1rem; }
  .chat-box { width: calc(100vw - 2rem); }
}
