/* ============================================================
   MAARTORI — contato.css
   Página de contato no padrão v2: Fraunces + sage + glass-blur
   Prefixo de escopo: .ct-
   ============================================================ */

.ct-hero,
.ct-service-card {
  --accent: var(--sage-l);
  --accent-dark: var(--sage-l);
}

/* Floatnav canônica */
.floatnav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100vw - 32px);
  padding: 8px 8px 8px 22px;
  background: rgba(15, 17, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(15, 17, 20, 0.30), 0 2px 8px rgba(15, 17, 20, 0.15);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.floatnav-logo {
  position: relative;
  flex-shrink: 0;
  margin-right: 6px;
  padding-right: 18px;
  color: var(--sage-l);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.floatnav-logo::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.20);
  transform: translateY(-50%);
}

.floatnav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.floatnav-link {
  padding: 9px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, color 0.2s ease;
}

.floatnav-link:hover {
  background: var(--sage-15);
  color: var(--white);
  text-shadow: none;
}

.floatnav-link[aria-current='page'] {
  background: var(--sage-d);
  color: var(--white);
  text-shadow: none;
}

.floatnav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--sage-d);
  box-shadow: 0 2px 10px rgba(74, 85, 50, 0.40);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.floatnav-cta:hover {
  background: var(--sage);
  box-shadow: 0 4px 16px rgba(74, 85, 50, 0.50);
  transform: scale(1.05);
}

.floatnav-hamburger {
  display: none;
}

.floatnav--on-light {
  background: var(--deep);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(15, 17, 20, 0.25), 0 2px 8px rgba(15, 17, 20, 0.10);
}

/* Hero */
.ct-hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 110px var(--gutter) 92px;
  background: var(--deep);
  color: var(--white);
}

.ct-hero-image,
.ct-hero-overlay {
  position: absolute;
  inset: 0;
}

.ct-hero-image {
  z-index: 0;
  background-image: url('/assets/img/hero.jpg');
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.ct-hero-overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 17, 20, 0.60) 0%, rgba(15, 17, 20, 0.82) 100%),
    radial-gradient(ellipse at 68% 34%, rgba(151, 165, 121, 0.20), transparent 58%);
}

.ct-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ct-hero .label {
  justify-content: center;
  margin: 0 0 12px;
  color: var(--sage-l);
}

.ct-hero .label-dot {
  background: var(--sage-l);
}

.ct-hero h1 {
  max-width: 13ch;
  margin: 0 auto 18px !important;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(46px, 6.3vw, 88px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-align: center;
  text-wrap: balance;
}

.ct-hero h1 em {
  color: var(--sage-l);
  font-style: italic;
  font-weight: 400;
}

.ct-hero-lead {
  max-width: 64ch;
  margin: 0 auto 28px !important;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.6;
  text-align: center;
  text-wrap: balance;
}

.ct-hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.ct-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.90);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.ct-hero-pill i {
  color: var(--sage-l);
  font-size: 18px;
}

.ct-hero-pill:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.ct-hero-scroll {
  position: absolute;
  bottom: 27px;
  left: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: color 0.2s ease;
}

.ct-hero-scroll:hover {
  color: var(--sage-l);
}

.ct-hero-scroll i {
  font-size: 18px;
  animation: ct-bounce 2.2s ease-in-out infinite;
}

@keyframes ct-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Canais */
.ct-channels {
  padding: clamp(76px, 8vw, 118px) 0;
  background: var(--white);
}

.ct-section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.ct-section-heading .label {
  justify-content: center;
  margin: 0 0 10px;
  color: var(--sage-d);
}

.ct-section-heading h2 {
  margin: 0 0 14px;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

.ct-section-heading > p:last-child {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  text-wrap: balance;
}

.ct-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ct-channel-card {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  overflow: hidden;
  padding: 30px;
  border: var(--border-default);
  border-radius: 20px;
  background: var(--surface);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ct-channel-card::after {
  content: '';
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 190px;
  height: 190px;
  border: 1px dashed rgba(74, 85, 50, 0.22);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.45s ease;
}

.ct-channel-card:hover {
  border-color: rgba(74, 85, 50, 0.38);
  box-shadow: 0 18px 46px rgba(74, 85, 50, 0.16), 0 0 0 1px rgba(74, 85, 50, 0.06);
  transform: translateY(-8px);
}

.ct-channel-card:hover::after {
  transform: scale(1.18) rotate(18deg);
}

.ct-channel-card-primary {
  border-color: var(--sage-d);
  background: var(--deep);
  color: var(--white);
}

.ct-channel-card-primary::after {
  border-color: rgba(151, 165, 121, 0.28);
}

.ct-channel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 42px;
}

.ct-channel-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(74, 85, 50, 0.20);
  border-radius: 50%;
  background: var(--sage-15);
  color: var(--sage-d);
  font-size: 25px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.3s ease;
}

.ct-channel-card-primary .ct-channel-icon {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(151, 165, 121, 0.14);
  color: var(--sage-l);
}

.ct-channel-card:hover .ct-channel-icon {
  background: var(--sage-d);
  color: var(--white);
  transform: scale(1.08);
}

.ct-channel-index {
  color: rgba(74, 85, 50, 0.28);
  font-family: var(--font-display);
  font-size: 34px;
  font-style: italic;
  line-height: 1;
}

.ct-channel-card-primary .ct-channel-index {
  color: rgba(151, 165, 121, 0.42);
}

.ct-channel-label {
  margin: 0 0 6px !important;
  color: var(--sage-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ct-channel-card-primary .ct-channel-label {
  color: var(--sage-l);
}

.ct-channel-card h3 {
  margin: 0 0 10px;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
}

.ct-channel-card-primary h3 {
  color: var(--white);
}

.ct-channel-value {
  margin: 0 0 12px !important;
  color: var(--deep);
  font-size: 15px;
  font-weight: 650;
}

.ct-channel-card-primary .ct-channel-value {
  color: rgba(255, 255, 255, 0.92);
}

.ct-channel-copy {
  margin: 0 0 24px !important;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.ct-channel-card-primary .ct-channel-copy {
  color: rgba(255, 255, 255, 0.62);
}

.ct-channel-action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: var(--border-divider);
  color: var(--sage-d);
  font-size: 14px;
  font-weight: 650;
}

.ct-channel-card-primary .ct-channel-action {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--sage-l);
}

.ct-channel-action i {
  font-size: 20px;
  transition: transform 0.2s ease;
}

.ct-channel-action:hover i {
  transform: translate(3px, -3px);
}

/* Formulário + aside */
.ct-contact {
  padding: clamp(78px, 8vw, 120px) 0;
  background: var(--surface);
}

.ct-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 28px;
  align-items: start;
}

.ct-form-card {
  padding: clamp(28px, 4vw, 48px);
  border: var(--border-default);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(31, 32, 36, 0.06);
}

.ct-form-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}

.ct-form-heading .label {
  margin: 0 0 8px;
  color: var(--sage-d);
}

.ct-form-heading h2 {
  margin: 0;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.ct-form-number {
  flex-shrink: 0;
  color: rgba(74, 85, 50, 0.18);
  font-family: var(--font-display);
  font-size: clamp(54px, 6vw, 76px);
  font-style: italic;
  line-height: 0.85;
}

.ct-form-intro {
  max-width: 62ch;
  margin: 0 0 34px !important;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.ct-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ct-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ct-field label {
  color: var(--deep);
  font-size: 13px;
  font-weight: 650;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
  width: 100%;
  border: var(--border-default);
  border-radius: 12px;
  outline: none;
  background: var(--surface);
  color: var(--deep);
  font-family: var(--font);
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ct-field input,
.ct-field select {
  min-height: 54px;
  padding: 0 16px;
}

.ct-field textarea {
  min-height: 156px;
  padding: 16px;
  line-height: 1.55;
  resize: vertical;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
  color: var(--muted);
  opacity: 0.72;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  border-color: var(--sage-d);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(74, 85, 50, 0.10);
}

.ct-select-wrap {
  position: relative;
}

.ct-select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 46px;
  cursor: pointer;
}

.ct-select-wrap > i {
  position: absolute;
  top: 50%;
  right: 16px;
  color: var(--sage-d);
  font-size: 18px;
  pointer-events: none;
  transform: translateY(-50%);
}

.ct-submit {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px 0 24px;
  border: 1px solid var(--sage-d);
  border-radius: 999px;
  background: var(--sage-d);
  box-shadow: 0 8px 24px rgba(74, 85, 50, 0.18);
  color: var(--white);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.ct-submit i {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-size: 19px;
  transition: transform 0.2s ease;
}

.ct-submit:hover {
  background: var(--sage);
  box-shadow: 0 12px 30px rgba(74, 85, 50, 0.28);
  transform: translateY(-2px);
}

.ct-submit:hover i {
  transform: translate(2px, -2px);
}

.ct-form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: -8px 0 0 !important;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.ct-form-privacy i {
  color: var(--sage-d);
}

.ct-aside {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ct-service-card,
.ct-info-card,
.ct-help-card,
.ct-company-card {
  border-radius: 18px;
}

.ct-service-card {
  padding: 28px;
  border: 1px solid rgba(151, 165, 121, 0.30);
  background:
    radial-gradient(circle at 90% 5%, rgba(151, 165, 121, 0.16), transparent 38%),
    var(--deep);
  box-shadow: 0 16px 42px rgba(31, 32, 36, 0.16);
}

.ct-service-card .label {
  margin: 0 0 8px;
  color: var(--sage-l);
}

.ct-service-card h3 {
  margin: 0 0 20px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.12;
}

.ct-hours {
  display: flex;
  flex-direction: column;
}

.ct-hours > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.ct-hours > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.ct-hours span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.ct-hours strong {
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}

.ct-hours strong.is-muted {
  color: rgba(255, 255, 255, 0.38);
}

.ct-hours strong.is-accent {
  color: var(--sage-l);
}

.ct-info-card,
.ct-help-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 20px;
  border: var(--border-default);
  background: var(--white);
}

.ct-info-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sage-15);
  color: var(--sage-d);
  font-size: 20px;
}

.ct-info-card h3,
.ct-help-card h3 {
  margin: 1px 0 6px;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.18;
}

.ct-info-card p,
.ct-help-card p {
  margin: 0 !important;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.ct-help-card {
  position: relative;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  align-items: start;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.ct-help-card:hover {
  border-color: rgba(74, 85, 50, 0.36);
  box-shadow: 0 10px 30px rgba(74, 85, 50, 0.12);
  transform: translateY(-4px);
}

.ct-help-label {
  margin-bottom: 3px !important;
  color: var(--sage-d) !important;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.ct-help-arrow {
  color: var(--sage-d);
  font-size: 18px;
  transition: transform 0.2s ease;
}

.ct-help-card:hover .ct-help-arrow {
  transform: translate(2px, -2px);
}

.ct-company-card {
  padding: 22px;
  border: 1px dashed rgba(74, 85, 50, 0.28);
  background: rgba(74, 85, 50, 0.055);
}

.ct-company-card .label {
  margin: 0 0 7px;
  color: var(--sage-d);
}

.ct-company-card h3 {
  margin: 0 0 16px;
  color: var(--deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.5;
}

.ct-company-card dl {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
}

.ct-company-card dl > div {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 10px;
}

.ct-company-card dt,
.ct-company-card dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
}

.ct-company-card dt {
  color: var(--muted);
}

.ct-company-card dd {
  color: var(--deep);
  font-weight: 550;
}

@media (max-width: 1080px) {
  .ct-channel-card {
    padding: 26px;
  }

  .ct-contact-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}

@media (max-width: 960px) {
  .floatnav {
    top: 12px;
    width: calc(100% - 24px);
    justify-content: space-between;
    padding: 8px 9px 8px 18px;
  }

  .floatnav-logo {
    margin-right: 0;
    padding-right: 0;
    font-size: 15px;
  }

  .floatnav-logo::after,
  .floatnav-links,
  .floatnav-cta {
    display: none;
  }

  .floatnav-hamburger {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--sage-d);
    color: var(--white);
    font-size: 20px;
  }

  .ct-channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ct-channel-card:last-child {
    grid-column: 1 / -1;
    min-height: 330px;
  }

  .ct-contact-grid {
    grid-template-columns: 1fr;
  }

  .ct-aside {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ct-service-card,
  .ct-company-card {
    grid-row: span 2;
  }
}

@media (max-width: 640px) {
  .ct-hero {
    min-height: 100svh;
    padding: 96px 20px 80px;
  }

  .ct-hero h1 {
    max-width: 11ch;
    margin-bottom: 16px !important;
    font-size: clamp(42px, 13vw, 58px);
    line-height: 0.98;
  }

  .ct-hero-lead {
    max-width: 34ch;
    margin-bottom: 22px !important;
    font-size: 15px;
    line-height: 1.55;
  }

  .ct-hero-pills {
    display: grid;
    width: 100%;
    max-width: 335px;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .ct-hero-pill {
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
    font-size: 11px;
  }

  .ct-hero-pill:last-child {
    grid-column: 1 / -1;
  }

  .ct-hero-scroll {
    bottom: 20px;
    white-space: nowrap;
  }

  .ct-channels,
  .ct-contact {
    padding: 72px 0;
  }

  .ct-section-heading {
    margin-bottom: 32px;
  }

  .ct-section-heading h2 {
    font-size: 39px;
  }

  .ct-section-heading > p:last-child {
    font-size: 14px;
  }

  .ct-channel-grid {
    grid-template-columns: 1fr;
  }

  .ct-channel-card,
  .ct-channel-card:last-child {
    grid-column: auto;
    min-height: 340px;
    padding: 24px;
  }

  .ct-channel-top {
    margin-bottom: 34px;
  }

  .ct-form-card {
    padding: 26px 20px;
    border-radius: 20px;
  }

  .ct-form-heading {
    gap: 12px;
  }

  .ct-form-heading h2 {
    font-size: 38px;
  }

  .ct-form-number {
    font-size: 54px;
  }

  .ct-form-intro {
    margin-bottom: 28px !important;
    font-size: 14px;
  }

  .ct-form-row {
    grid-template-columns: 1fr;
  }

  .ct-aside {
    display: flex;
  }

  .ct-service-card {
    padding: 24px;
  }

  .ct-hours > div {
    align-items: flex-start;
  }

  .ct-company-card dl > div {
    grid-template-columns: 92px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ct-hero-scroll i {
    animation: none;
  }

  .ct-channel-card,
  .ct-hero-pill,
  .ct-submit,
  .ct-help-card {
    transition: none;
  }
}
