/* ==========================================================================
   contact.css — Página de Contato
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero da página
   -------------------------------------------------------------------------- */
.ct-hero {
    background: var(--at-ink);
    padding-block: clamp(64px, 9vw, 112px) clamp(56px, 8vw, 96px);
    position: relative;
    overflow: hidden;
}
.ct-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% -5%, rgba(200,132,26,.18) 0%, transparent 65%);
    pointer-events: none;
}
.ct-hero .at-container { position: relative; z-index: 1; }

.ct-hero__title {
    font-family: var(--at-font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--at-white);
    line-height: 1.05;
    letter-spacing: -.04em;
    margin-top: 20px;
    margin-bottom: 20px;
}
.ct-hero__title em {
    font-style: normal;
    color: var(--at-gold-light);
}
.ct-hero__subtitle {
    font-size: clamp(.9375rem, 1.6vw, 1.125rem);
    color: rgba(255,255,255,.48);
    line-height: 1.72;
    max-width: 540px;
}

/* --------------------------------------------------------------------------
   Corpo — grid de duas colunas
   -------------------------------------------------------------------------- */
.ct-body {
    background: var(--at-bg);
    padding-block: clamp(56px, 8vw, 96px);
}
.ct-body__inner {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 56px;
    align-items: start;
}

/* --------------------------------------------------------------------------
   Info card
   -------------------------------------------------------------------------- */
.ct-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: calc(var(--at-header-h) + 28px);
}
.ct-info__card {
    background: var(--at-white);
    border: 1.5px solid var(--at-stone);
    border-radius: var(--at-radius-xl);
    padding: 36px;
    box-shadow: var(--at-shadow-sm);
}
.ct-info__title {
    font-family: var(--at-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--at-text);
    letter-spacing: -.02em;
    margin-bottom: 28px;
}

.ct-info__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding-block: 16px;
    border-bottom: 1px solid var(--at-stone);
}
.ct-info__item:last-of-type { border-bottom: none; margin-bottom: 8px; }

.ct-info__icon {
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: var(--at-radius-md);
    background: var(--at-cream-dark);
    border: 1px solid var(--at-stone);
    color: var(--at-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ct-info__item--whatsapp .ct-info__icon {
    background: rgba(37,211,102,.08);
    border-color: rgba(37,211,102,.2);
    color: #25d366;
}

.ct-info__label {
    display: block;
    font-size: .6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--at-text-light);
    margin-bottom: 4px;
}
.ct-info__value {
    font-size: .9375rem;
    color: var(--at-text);
    font-weight: 500;
    font-style: normal;
}
.ct-info__value--link {
    color: var(--at-text);
    text-decoration: none;
    transition: color var(--at-dur-fast);
}
.ct-info__value--link:hover { color: var(--at-gold); }
.ct-info__address {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: .9375rem;
    font-style: normal;
}

.ct-info__whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 13px 22px;
}

/* --------------------------------------------------------------------------
   Mapa
   -------------------------------------------------------------------------- */
.ct-map {
    border-radius: var(--at-radius-xl);
    overflow: hidden;
    border: 1.5px solid var(--at-stone);
    box-shadow: var(--at-shadow-xs);
    position: relative;
}
.ct-map iframe {
    display: block;
    width: 100%;
}
.ct-map__link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--at-white);
    font-size: .8125rem;
    font-weight: 600;
    color: var(--at-gold);
    text-decoration: none;
    border-top: 1px solid var(--at-stone);
    transition: background var(--at-dur-fast), color var(--at-dur-fast);
}
.ct-map__link:hover {
    background: var(--at-gold-subtle);
}

/* --------------------------------------------------------------------------
   Formulário
   -------------------------------------------------------------------------- */
.ct-form-wrap {
    background: var(--at-white);
    border: 1.5px solid var(--at-stone);
    border-radius: var(--at-radius-xl);
    padding: clamp(28px, 4vw, 48px);
    box-shadow: var(--at-shadow-sm);
}
.ct-form__header { margin-bottom: 28px; }
.ct-form__title {
    font-family: var(--at-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--at-text);
    letter-spacing: -.025em;
    margin-bottom: 6px;
}
.ct-form__sub {
    font-size: .875rem;
    color: var(--at-text-light);
}

/* Feedback */
.ct-form__feedback {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--at-radius-md);
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: 24px;
}
.ct-form__feedback--success {
    background: rgba(42,122,74,.08);
    border: 1px solid rgba(42,122,74,.25);
    color: #1d6b42;
}
.ct-form__feedback--error {
    background: rgba(196,61,42,.07);
    border: 1px solid rgba(196,61,42,.2);
    color: #b53528;
}
.ct-form__feedback svg { flex-shrink: 0; }

/* Honeypot */
.ct-form__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

/* Groups */
.ct-form__group {
    margin-bottom: 20px;
}
.ct-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.ct-form__label {
    display: block;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--at-text);
    margin-bottom: 7px;
    letter-spacing: -.005em;
}
.ct-form__req { color: var(--at-gold); margin-left: 2px; }

.ct-form__input,
.ct-form__select,
.ct-form__textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--at-bg);
    border: 1.5px solid var(--at-stone-dark);
    border-radius: var(--at-radius-md);
    font-size: .9375rem;
    color: var(--at-text);
    font-family: var(--at-font-body);
    transition: border-color var(--at-dur), box-shadow var(--at-dur);
    -webkit-appearance: none;
    appearance: none;
}
.ct-form__input::placeholder,
.ct-form__textarea::placeholder { color: var(--at-text-light); }
.ct-form__input:focus,
.ct-form__select:focus,
.ct-form__textarea:focus {
    outline: none;
    border-color: var(--at-gold);
    box-shadow: 0 0 0 4px rgba(200,132,26,.1);
    background: var(--at-white);
}
.ct-form__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}
.ct-form__textarea { resize: vertical; min-height: 130px; line-height: 1.65; }
.ct-form__char-count {
    display: block;
    font-size: .75rem;
    color: var(--at-text-light);
    text-align: right;
    margin-top: 5px;
}

/* Captcha */
.ct-form__group--captcha .ct-form__captcha-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ct-form__captcha-question {
    font-size: .9375rem;
    font-weight: 600;
    color: var(--at-text);
    white-space: nowrap;
}
.ct-form__captcha-input {
    width: 90px;
    flex-shrink: 0;
    text-align: center;
}
.ct-form__hint {
    display: block;
    font-size: .75rem;
    color: var(--at-text-light);
    margin-top: 6px;
}

/* Submit */
.ct-form__submit {
    width: 100%;
    justify-content: center;
    gap: 9px;
    padding: 15px 28px;
    font-size: 1rem;
    margin-top: 8px;
    margin-bottom: 16px;
}
.ct-form__privacy {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    color: var(--at-text-light);
    justify-content: center;
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */
.at-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .8125rem;
    color: rgba(255,255,255,.35);
    margin-bottom: 12px;
}
.at-breadcrumb a {
    color: rgba(255,255,255,.35);
    text-decoration: none;
    transition: color var(--at-dur-fast);
}
.at-breadcrumb a:hover { color: var(--at-gold-light); }
.at-breadcrumb [aria-current] { color: var(--at-gold-light); }

/* --------------------------------------------------------------------------
   Página genérica (page.php)
   -------------------------------------------------------------------------- */
.at-page__hero {
    background: var(--at-ink);
    padding-block: clamp(56px, 8vw, 96px);
}
.at-page__title {
    font-family: var(--at-font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--at-white);
    letter-spacing: -.04em;
    line-height: 1.1;
}
.at-page__content {
    padding-block: clamp(40px, 6vw, 80px);
    background: var(--at-bg);
}
.at-page__content-inner {
    max-width: 760px;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--at-text);
}
.at-page__content-inner h2,
.at-page__content-inner h3 {
    font-family: var(--at-font-display);
    font-weight: 700;
    color: var(--at-text);
    margin-top: 1.8em;
    margin-bottom: .5em;
    letter-spacing: -.025em;
}
.at-page__content-inner a {
    color: var(--at-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.at-page__content-inner a:hover { color: var(--at-gold-dark); }

/* --------------------------------------------------------------------------
   Responsive — 900px
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .ct-body__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .ct-info {
        position: static;
    }
}

/* --------------------------------------------------------------------------
   Responsive — 640px
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
    .ct-form__row { grid-template-columns: 1fr; }
    .ct-form-wrap { padding: 24px 20px; }
    .ct-info__card { padding: 24px 20px; }
    .ct-form__captcha-wrap { flex-direction: column; align-items: flex-start; }
    .ct-form__captcha-input { width: 100%; text-align: left; }
}
