/*
 * contato.css — Página "Contato" (slug contato).
 * Carregado via ai_theme_enqueue_assets() quando is_page('contato').
 * Header/footer têm CSS próprio. Tokens no :root de style.css.
 */

.ct-page { font-family: var(--tf-font); color: var(--tf-navy); }
.ct-page a { text-decoration: none; }
.ct-page a:hover { text-decoration: none; }

@keyframes tfrise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Primitivas compartilhadas */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; }
.eyebrow--gold { color: var(--tf-yellow); }
.eyebrow--blue { color: var(--tf-blue); }
.eyebrow-bar { width: 26px; height: 2px; background: var(--tf-yellow); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 50px; }
.section-title { font-family: var(--tf-font); font-weight: 700; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; margin: 14px 0 0; }
.section-title--navy { color: var(--tf-navy); }
.section-lead { font-size: 16px; line-height: 1.6; color: var(--tf-muted); margin: 14px 0 0; }

/* ===== HERO ===== */
.ct-hero { position: relative; background: var(--tf-navy); overflow: hidden; }
.ct-hero-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ct-hero-ring { position: absolute; width: 640px; height: 640px; border-radius: 50%; border: 80px solid rgba(0, 78, 168, 0.28); right: -240px; top: -260px; }
.ct-hero-stripes { position: absolute; inset: 0; background: repeating-linear-gradient(125deg, rgba(255, 255, 255, 0.028) 0 2px, transparent 2px 60px); }
.ct-hero-inner { position: relative; max-width: var(--tf-container); margin: 0 auto; padding: 150px 32px 72px; animation: tfrise .7s ease both; }
.ct-hero-title { font-family: var(--tf-font); font-weight: 700; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; color: #fff; margin: 20px 0 0; max-width: 760px; }
.ct-hero-sub { font-size: clamp(16px, 1.7vw, 19px); line-height: 1.6; color: #c3c8ee; margin: 20px 0 0; max-width: 560px; }

/* ===== FORMULÁRIO + CARD ===== */
.ct-form-sec { background: #fff; }
.ct-grid { max-width: var(--tf-container); margin: 0 auto; padding: 96px 32px; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 56px; align-items: start; }
.ct-form-title { font-family: var(--tf-font); font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; color: var(--tf-navy); margin: 12px 0 0; }
.ct-form-lead { font-size: 15.5px; line-height: 1.6; color: var(--tf-muted); margin: 12px 0 0; }
.ct-form { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ct-field { display: flex; flex-direction: column; gap: 8px; }
.ct-label { font-size: 13px; font-weight: 600; color: #2a2f5c; }
.ct-input {
  width: 100%;
  padding: 13px 15px;
  font-family: var(--tf-font);
  font-size: 15px;
  color: var(--tf-navy);
  background: var(--tf-light);
  border: 1.5px solid #e4e6f1;
  border-radius: 11px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ct-input::placeholder { color: #9096b8; }
.ct-input:focus { outline: none; border-color: var(--tf-blue); box-shadow: 0 0 0 3px rgba(0, 78, 168, 0.14); }
.ct-textarea { resize: vertical; line-height: 1.55; min-height: 130px; }
.ct-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235c6187' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.ct-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--tf-yellow);
  color: var(--tf-navy);
  font-family: var(--tf-font);
  font-weight: 700;
  font-size: 15.5px;
  padding: 15px 26px;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  box-shadow: 0 12px 30px -10px rgba(254, 219, 0, 0.5);
}

/* ===== Compatibilidade com Contact Form 7 ===== */
.ct-form .wpcf7-form-control-wrap { display: block; width: 100%; }
.ct-form p { margin: 0; }
.ct-form br { display: none; }
.ct-form .wpcf7-spinner { margin-left: 10px; }
.ct-form .wpcf7-not-valid-tip { color: #d93025; font-size: 12.5px; margin-top: 6px; }
.ct-form .wpcf7-response-output { margin: 4px 0 0; padding: 12px 16px; border-radius: 10px; font-size: 14px; line-height: 1.5; }

.ct-card { background: var(--tf-navy); border-radius: 20px; padding: 38px 32px; box-shadow: 0 26px 54px -30px rgba(10, 20, 107, 0.7); position: sticky; top: 100px; }
.ct-card-title { font-weight: 700; font-size: 20px; color: #fff; }
.ct-card-sub { font-size: 14px; line-height: 1.6; color: #b7bef0; margin: 10px 0 26px; }
.ct-channels { display: flex; flex-direction: column; gap: 14px; }
.ct-channel { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 13px; padding: 15px 16px; }
.ct-channel-ic { flex: none; width: 42px; height: 42px; border-radius: 11px; background: rgba(254, 219, 0, 0.16); display: flex; align-items: center; justify-content: center; color: var(--tf-yellow); }
.ct-channel-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ct-channel-label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #8f97cf; }
.ct-channel-value { font-size: 15px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-hours { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.ct-hours-head { display: flex; align-items: center; gap: 10px; color: var(--tf-yellow); margin-bottom: 8px; }
.ct-hours-title { font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.ct-hours-text { font-size: 14px; line-height: 1.7; color: #c3c8ee; }

/* ===== UNIDADES ===== */
.ct-units { background: var(--tf-light); border-top: 1px solid var(--tf-border-2); border-bottom: 1px solid var(--tf-border-2); }
.ct-units-inner { max-width: var(--tf-container); margin: 0 auto; padding: 96px 32px; }
.ct-units-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ct-unit { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--tf-border); border-radius: 16px; overflow: hidden; box-shadow: 0 16px 40px -32px rgba(10, 20, 107, 0.5); }
.ct-unit-map { position: relative; aspect-ratio: 16 / 9; background: #e7eaf5; overflow: hidden; }
.ct-unit-mapgrid { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, #dfe3f2 0 22px, #e7eaf5 22px 23px), repeating-linear-gradient(90deg, #dfe3f2 0 22px, #e7eaf5 22px 23px); }
.ct-unit-pin { position: absolute; left: 50%; top: 48%; transform: translate(-50%, -100%); }
.ct-unit-badge { position: absolute; right: 14px; top: 12px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; background: var(--tf-yellow); color: var(--tf-navy); padding: 5px 10px; border-radius: 999px; }
.ct-unit-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.ct-unit-city { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--tf-blue); }
.ct-unit-name { font-weight: 700; font-size: 18px; color: var(--tf-navy); margin: 5px 0 0; }
.ct-unit-addr { font-size: 14px; line-height: 1.6; color: var(--tf-muted); margin: 10px 0 0; flex: 1; }
.ct-unit-actions { display: flex; gap: 10px; margin-top: 20px; }
.ct-unit-btn { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 11px 15px; border-radius: 9px; }
.ct-unit-btn--maps { background: var(--tf-navy); color: #fff; }
.ct-unit-btn--maps:hover { color: #fff; }
.ct-unit-btn--wa { background: #eef0f7; color: var(--tf-navy); }
.ct-unit-btn--wa:hover { color: var(--tf-navy); }

/* ===== RESPONSIVO ===== */
@media (max-width: 960px) {
  .g-form { grid-template-columns: 1fr; gap: 40px; }
  .ct-card { position: static; }
  .g-units { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ct-hero-inner { padding: 130px 20px 60px; }
  .ct-grid { padding: 60px 20px; }
  .ct-units-inner { padding: 60px 20px; }
  .g-2col { grid-template-columns: 1fr; }
  .g-units { grid-template-columns: 1fr; }
}
