/* ============================================================
   Contact.css — Proto page contact simplifiée
   Pattern DA refonte v7 : ivoire + encre + or + sapin
   Hero court + Calendly inline + cabinet + mentions
   ============================================================ */

/* ============ PALETTE LOCALE (alias des tokens rlg) ============ */
:root {
  --c-encre: #0E2540;
  --c-nuit: #16314F;
  --c-or: #C9A86C;
  --c-or-deep: #A8884B;
  --c-or-pale: #E8D7AA;
  --c-ivoire: #F4ECDC;
  --c-ivoire-deep: #EBDFC4;
  --c-sapin: #26466B;
  --c-sapin-light: #DDE6F1;
  --c-text-dim: #6E7280;
}

/* ============ BASE ============ */
.ct-page {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--c-encre);
  background: var(--c-ivoire);
  line-height: 1.6;
}

.ct-page .ct-eb {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-or-deep);
  font-weight: 600;
}

.ct-page .ct-eb::before,
.ct-page .ct-eb::after {
  content: "—";
  display: inline-block;
  margin: 0 12px;
  color: var(--c-or);
}

.ct-page h1, .ct-page h2, .ct-page h3 {
  font-family: 'DM Serif Display', 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
}

/* ============ 1. HERO ============ */
.ct__hero {
  position: relative;
  padding: 180px 64px 80px;
  background: var(--c-ivoire);
  overflow: hidden;
}

.ct__hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--c-or) 30%, var(--c-or) 70%, transparent);
  opacity: 0.4;
}

/* Watermark décoratif */
.ct__hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.ct__hero-bg .w {
  position: absolute;
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  color: rgba(201, 168, 108, 0.06);
  line-height: 0.85;
  white-space: nowrap;
}
.ct__hero-bg .w1 { font-size: 200px; top: 80px; left: -40px; }
.ct__hero-bg .w2 { font-size: 160px; bottom: 100px; right: -20px; color: rgba(14, 37, 64, 0.05); }

.ct__hero-in {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.ct__hero-crumbs {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  margin-bottom: 40px;
}
.ct__hero-crumbs a {
  color: var(--c-text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}
.ct__hero-crumbs a:hover {
  color: var(--c-encre);
  border-color: var(--c-or);
}
.ct__hero-crumbs .sep {
  margin: 0 14px;
  color: var(--c-or);
}
.ct__hero-crumbs .cur {
  color: var(--c-encre);
  font-weight: 600;
}

.ct__hero-eb {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-or-deep);
  margin-bottom: 24px;
}

.ct__hero h1 {
  font-size: clamp(56px, 8vw, 112px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--c-encre);
  margin: 0 0 24px;
}

.ct__hero-lede {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--c-nuit);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.4;
}

.ct__hero-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 40px;
}

.ct__hero-pill {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--c-encre);
  padding: 10px 24px;
  position: relative;
}

.ct__hero-pill + .ct__hero-pill::before {
  content: "·";
  position: absolute;
  left: -3px;
  color: var(--c-or);
  font-size: 18px;
}

.ct__hero-pill b {
  font-weight: 600;
  color: var(--c-encre);
}

.ct__hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--c-encre);
  color: var(--c-ivoire);
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  border: 1px solid var(--c-encre);
  transition: all 0.3s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 8px 24px rgba(14, 37, 64, 0.2);
}

.ct__hero-cta:hover {
  background: var(--c-nuit);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(14, 37, 64, 0.3), 0 0 0 2px var(--c-or);
}

.ct__hero-cta .arr {
  font-size: 16px;
  transition: transform 0.3s;
}

.ct__hero-cta:hover .arr {
  transform: translateX(4px);
}

/* ============ 2. CALENDLY SECTION ============ */
.ct__calendly {
  padding: 100px 64px;
  background: var(--c-ivoire);
}

.ct__calendly-in {
  max-width: 1080px;
  margin: 0 auto;
}

.ct__calendly-h {
  text-align: center;
  margin-bottom: 60px;
}

.ct__calendly-h h2 {
  font-size: clamp(40px, 5vw, 64px);
  color: var(--c-encre);
  margin: 16px 0 20px;
}

.ct__calendly-h .lede {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--c-nuit);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.4;
}

.ct__calendly-wrap {
  position: relative;
  background: white;
  border: 1px solid var(--c-or);
  border-radius: 4px;
  box-shadow: 0 16px 48px rgba(14, 37, 64, 0.12);
  padding: 8px;
  min-height: 720px;
}

.ct__calendly-wrap::before,
.ct__calendly-wrap::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--c-or);
}
.ct__calendly-wrap::before {
  top: -8px;
  left: -8px;
  border-right: none;
  border-bottom: none;
}
.ct__calendly-wrap::after {
  bottom: -8px;
  right: -8px;
  border-left: none;
  border-top: none;
}

.calendly-inline-widget {
  min-width: 320px;
  height: 700px;
}

.ct__calendly-fallback {
  text-align: center;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px dashed var(--c-or);
}
.ct__calendly-fallback .lab {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-or-deep);
  margin-bottom: 12px;
}
.ct__calendly-fallback a {
  color: var(--c-encre);
  text-decoration: none;
  border-bottom: 1px solid var(--c-or);
  padding-bottom: 2px;
  transition: color 0.3s;
}
.ct__calendly-fallback a:hover {
  color: var(--c-or-deep);
}

/* ============ 3. CABINET SECTION ============ */
.ct__cabinet {
  padding: 100px 64px;
  background: var(--c-ivoire-deep);
  position: relative;
}

.ct__cabinet::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--c-or) 30%, var(--c-or) 70%, transparent);
  opacity: 0.4;
}

.ct__cabinet-in {
  max-width: 1080px;
  margin: 0 auto;
}

.ct__cabinet-h {
  text-align: center;
  margin-bottom: 60px;
}

.ct__cabinet-h h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  color: var(--c-encre);
  margin: 16px 0 0;
}

.ct__cabinet-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: stretch;
}

.ct__cabinet-plate {
  background: var(--c-encre);
  color: var(--c-ivoire);
  padding: 48px 40px;
  border-radius: 2px;
  position: relative;
  box-shadow: 0 16px 48px rgba(14, 37, 64, 0.18);
}

.ct__cabinet-plate::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: var(--c-or);
}

.ct__cabinet-plate .lab {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-or-pale);
  margin-bottom: 28px;
  padding-top: 16px;
}

.ct__cabinet-plate h3 {
  font-size: 36px;
  color: var(--c-ivoire);
  margin: 0 0 20px;
}

.ct__cabinet-plate .addr {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--c-or-pale);
  line-height: 1.4;
  margin-bottom: 32px;
}

.ct__cabinet-plate .metros {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ct__cabinet-plate .metro {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: var(--c-ivoire);
}

.ct__cabinet-plate .metro .line {
  display: inline-block;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-or);
  color: var(--c-encre);
  font-weight: 700;
  text-align: center;
  line-height: 28px;
  font-size: 13px;
}

.ct__cabinet-contact {
  background: white;
  padding: 40px;
  border: 1px solid var(--c-or-pale);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ct__cabinet-contact .lab {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-or-deep);
  margin-bottom: 32px;
}

.ct__cabinet-contact .row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ct__cabinet-contact .item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ct__cabinet-contact .key {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-or-deep);
}

.ct__cabinet-contact .val {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--c-encre);
}

.ct__cabinet-contact a.val {
  text-decoration: none;
  border-bottom: 1px dashed var(--c-or);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}

.ct__cabinet-contact a.val:hover {
  color: var(--c-or-deep);
  border-bottom-color: var(--c-or-deep);
}

/* ============ 4. MENTIONS (footer-strip) ============ */
.ct__mentions {
  padding: 60px 64px 80px;
  background: var(--c-ivoire);
  text-align: center;
}

.ct__mentions p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--c-text-dim);
  max-width: 700px;
  margin: 0 auto 12px;
  line-height: 1.6;
}

.ct__mentions .urgence {
  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-size: 14px;
  color: var(--c-encre);
  margin-top: 24px;
  padding: 16px 24px;
  display: inline-block;
  background: var(--c-sapin-light);
  border-left: 3px solid var(--c-sapin);
  border-radius: 2px;
}

.ct__mentions .urgence b {
  color: var(--c-sapin);
  font-weight: 700;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .ct__hero { padding: 140px 32px 60px; }
  .ct__calendly { padding: 60px 32px; }
  .ct__cabinet { padding: 60px 32px; }
  .ct__cabinet-grid { grid-template-columns: 1fr; gap: 32px; }
  .ct__hero-pills { flex-direction: column; align-items: center; gap: 8px; }
  .ct__hero-pill + .ct__hero-pill::before { display: none; }
  .ct__mentions { padding: 40px 32px 60px; }
}

/* ============ REVEAL animation ============ */
.ct-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(.2,.7,.2,1),
              transform 0.8s cubic-bezier(.2,.7,.2,1);
}

.ct-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .ct-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
