/* ============================================================
   CANADA IMMIGRATION — CONTACT.CSS
   Design luxe split-screen | Bleu nuit + Or + Crème
   ============================================================ */

/* ── HERO CONTACT ─────────────────────────────────────────── */
.contact-hero {
  position: relative;
  background: var(--navy);
  padding: 80px 0 100px;
  overflow: hidden;
}
.contact-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1600&q=80');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.10;
}
.contact-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.contact-hero::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 0 80px 600px;
  border-color: transparent transparent rgba(201,168,76,0.06) transparent;
  pointer-events: none;
}
.contact-hero .container { position: relative; z-index: 2; }

.contact-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.contact-hero-eyebrow-line { width: 36px; height: 1px; background: var(--gold); flex-shrink: 0; }
.contact-hero-eyebrow span {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 18px;
  max-width: 700px;
}
.contact-hero h1 em { font-style: italic; color: var(--gold-light); font-weight: 600; }
.contact-hero-sub {
  color: rgba(255,255,255,0.52);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 36px;
}

.contact-hero-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  font-size: .8rem;
  color: rgba(255,255,255,0.7);
}
.contact-hero-badge i { color: var(--gold); font-size: .8rem; }

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.breadcrumb-nav a, .breadcrumb-nav span { font-size: .82rem; color: rgba(255,255,255,0.38); transition: color .25s; }
.breadcrumb-nav a:hover   { color: var(--gold-light); }
.breadcrumb-nav .sep      { color: rgba(255,255,255,0.15); font-size: .7rem; }
.breadcrumb-nav .current  { color: var(--gold-light); font-weight: 500; }


/* ── PAGE ─────────────────────────────────────────────────── */
.contact-page { background: var(--cream); padding: 0 0 100px; }

/* ── SPLIT CARD ───────────────────────────────────────────── */
.contact-split {
  display: grid;
  grid-template-columns: 400px 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(11,31,58,0.18);
  margin-top: -52px;
  position: relative;
  z-index: 10;
}

/* ─ PANNEAU GAUCHE ─ */
.contact-panel-left {
  background: linear-gradient(160deg, #08193a 0%, #0e2547 55%, #152e5a 100%);
  padding: 56px 40px 48px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.contact-panel-left::before {
  content: '🍁';
  position: absolute;
  bottom: -20px; right: -16px;
  font-size: 18rem;
  opacity: 0.035;
  pointer-events: none;
  line-height: 1;
  user-select: none;
}
.contact-panel-left::after {
  content: '';
  position: absolute;
  top: 60px; right: 0; bottom: 60px;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent,
    rgba(201,168,76,0.35) 30%,
    rgba(201,168,76,0.35) 70%,
    transparent
  );
}

.contact-panel-eyebrow {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-panel-eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.contact-panel-left h2 {
  font-size: 1.75rem;
  color: var(--white);
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 16px;
}
.contact-panel-left h2 em { font-style: italic; color: var(--gold-light); }
.contact-panel-desc { color: rgba(255,255,255,0.48); font-size: .9rem; line-height: 1.75; margin-bottom: 36px; }

.contact-channels { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.04);
  text-decoration: none;
  transition: all .3s ease;
}
.contact-channel:hover {
  border-color: rgba(201,168,76,0.28);
  background: rgba(201,168,76,0.06);
  transform: translateX(5px);
}
.channel-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--gold); flex-shrink: 0;
  transition: background .3s;
}
.contact-channel.whatsapp .channel-icon { color: #25d366; }
.contact-channel:hover .channel-icon    { background: rgba(201,168,76,0.14); }
.channel-info strong { display: block; font-size: .88rem; color: var(--white); font-weight: 600; margin-bottom: 2px; }
.channel-info span   { font-size: .76rem; color: rgba(255,255,255,0.38); }

.contact-hours {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.contact-hours-title {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 14px;
}
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li {
  display: flex; justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: .84rem;
}
.hours-list li:last-child { border-bottom: none; }
.hours-list .day  { color: rgba(255,255,255,0.45); }
.hours-list .time { color: var(--gold); font-weight: 600; }


/* ─ PANNEAU DROIT ─ */
.contact-panel-right {
  background: var(--white);
  padding: 52px 52px 52px 56px;
  display: flex;
  flex-direction: column;
}
.contact-form-title h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  color: var(--navy);
  margin-bottom: 6px;
}
.contact-form-title p { font-size: .9rem; color: var(--text-light); line-height: 1.65; }

/* Tabs sujet */
.subject-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 28px; }
.stab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: transparent;
  font-family: var(--font-body); font-size: .78rem; font-weight: 500;
  color: var(--text-light); cursor: pointer;
  transition: all .25s ease; white-space: nowrap;
}
.stab i { font-size: .76rem; color: var(--gold); }
.stab:hover  { border-color: var(--gold); color: var(--navy); background: var(--gold-pale); }
.stab.active { background: var(--navy); border-color: var(--navy); color: var(--gold); }

/* Formulaire */
.cform { flex-grow: 1; display: flex; flex-direction: column; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }

.form-label {
  font-size: .74rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--navy);
  display: flex; align-items: center; gap: 6px;
}
.form-label i   { color: var(--gold); font-size: .7rem; }
.form-label .req { color: #e53e3e; margin-left: 1px; }

.finput, .fselect, .ftextarea {
  width: 100%;
  background: #f8f7f4;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--navy);
  outline: none;
  transition: border-color .25s, background .25s, box-shadow .25s;
  appearance: none; -webkit-appearance: none;
}
.finput::placeholder, .ftextarea::placeholder { color: rgba(80,90,110,0.45); }
.finput:focus, .fselect:focus, .ftextarea:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.13);
}
.finput.has-error, .fselect.has-error, .ftextarea.has-error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229,62,62,0.1);
}
.select-wrap { position: relative; }
.select-wrap::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: .65rem; color: var(--gold);
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  pointer-events: none;
}
.ftextarea { resize: vertical; min-height: 120px; line-height: 1.65; }

.field-error { font-size: .74rem; color: #e53e3e; display: none; align-items: center; gap: 5px; }
.field-error.show { display: flex; }

.form-consent { display: flex; align-items: flex-start; gap: 12px; margin: 4px 0 22px; cursor: pointer; }
.form-consent input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--navy); flex-shrink: 0; margin-top: 3px; }
.consent-text { font-size: .81rem; color: var(--text-light); line-height: 1.55; }

.form-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-top: 4px;
}
.btn-submit {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius-sm);
  padding: 14px 34px;
  font-family: var(--font-body); font-size: .88rem; font-weight: 600; letter-spacing: .07em;
  cursor: pointer;
  transition: all .35s ease;
  position: relative; overflow: hidden;
}
.btn-submit::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform .35s ease;
  z-index: 0;
}
.btn-submit:hover::before { transform: translateX(0); }
.btn-submit:hover  { color: var(--navy); border-color: var(--gold); }
.btn-submit span, .btn-submit i { position: relative; z-index: 1; }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }
.btn-submit .txt-send    { display: flex; align-items: center; gap: 10px; }
.btn-submit .txt-loading { display: none; align-items: center; gap: 10px; }
.btn-submit.loading .txt-send    { display: none; }
.btn-submit.loading .txt-loading { display: flex; }

.wa-alt {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; color: var(--text-light); text-decoration: none;
  transition: color .25s;
}
.wa-alt i { color: #25d366; font-size: 1rem; }
.wa-alt:hover { color: #25d366; }

/* Succès */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 56px 32px;
  flex-grow: 1;
}
.form-success.show { display: flex; }
.success-icon {
  width: 76px; height: 76px;
  background: rgba(37,211,102,0.09);
  border: 2px solid rgba(37,211,102,0.28);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #25d366;
  margin-bottom: 22px;
  animation: pop .4s ease;
}
@keyframes pop {
  0%   { transform: scale(.5); opacity: 0; }
  70%  { transform: scale(1.1); }
  100% { transform: scale(1);   opacity: 1; }
}
.form-success h4 { font-size: 1.5rem; color: var(--navy); margin-bottom: 10px; }
.form-success p  { font-size: .94rem; color: var(--text-light); line-height: 1.7; max-width: 360px; margin-bottom: 28px; }


/* ── CARTES COMPLÉMENTAIRES ───────────────────────────────── */
.contact-extra { padding: 72px 0 0; background: var(--cream); }
.contact-extra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 72px; }
.extra-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 26px; text-align: center;
  transition: box-shadow .3s, transform .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.extra-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.extra-card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-5px);
  border-color: rgba(201,168,76,0.25);
}
.extra-card:hover::after { transform: scaleX(1); }
.extra-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md); background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.2rem;
  margin: 0 auto 18px;
  box-shadow: 0 8px 22px rgba(11,31,58,0.18);
}
.extra-card h4 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.extra-card p  { font-size: .86rem; color: var(--text-light); line-height: 1.65; margin-bottom: 18px; }
.extra-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .81rem; font-weight: 600; color: var(--navy);
  text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 1px;
  transition: color .25s, gap .25s;
}
.extra-link:hover { color: var(--gold); gap: 11px; }

/* ── FAQ ──────────────────────────────────────────────────── */
.contact-faq { padding: 0 0 80px; background: var(--cream); }
.faq-head { text-align: center; margin-bottom: 48px; }
.faq-eyebrow {
  display: block;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.faq-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--navy); }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden; transition: border-color .25s;
}
.faq-item:hover { border-color: rgba(201,168,76,0.35); }
.faq-btn {
  width: 100%; background: none; border: none;
  padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  color: var(--navy); transition: color .25s;
}
.faq-btn:hover { color: var(--gold); }
.faq-btn i { font-size: .75rem; color: var(--gold); transition: transform .35s; flex-shrink: 0; }
.faq-item.open .faq-btn i { transform: rotate(180deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-body { max-height: 400px; }
.faq-body-inner {
  padding: 14px 22px 20px;
  border-top: 1px solid var(--border);
  font-size: .9rem; color: var(--text-light); line-height: 1.75;
}

/* ── FADE-IN ──────────────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1060px) {
  .contact-split { grid-template-columns: 340px 1fr; }
  .contact-panel-right { padding: 44px 36px; }
}
@media (max-width: 860px) {
  .contact-split { grid-template-columns: 1fr; margin-top: -28px; }
  .contact-panel-left { padding: 40px 28px; }
  .contact-panel-left::after { display: none; }
  .contact-panel-right { padding: 40px 28px; }
  .contact-extra-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-extra-grid { grid-template-columns: 1fr; }
  .contact-panel-right { padding: 32px 20px; }
  .contact-panel-left  { padding: 32px 20px; }
  .form-actions { flex-direction: column; align-items: stretch; }
  .btn-submit   { justify-content: center; }
  .contact-hero h1 { font-size: 2rem; }
}