/* ════════════════════════════════════════════════
   NTA DIGITAL — CONTATO PAGE STYLES
   Layout com contraste: Hero escuro + Seções claras
   ════════════════════════════════════════════════ */

/* ═══════════════════════════════════════
   HERO SECTION (Dark)
   ═══════════════════════════════════════ */
.c-hero {
    position: relative;
    padding: calc(var(--space-32) + var(--nav-height)) 0 var(--space-24);
    overflow: hidden;
    background: var(--bg-primary);
}

.c-hero__bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero-radial);
    pointer-events: none;
}

.c-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, var(--bg-primary) 100%);
    pointer-events: none;
}

.c-hero__container {
    position: relative;
    z-index: var(--z-base);
}

.c-hero__content {
    max-width: 800px;
}

.c-section-tag {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: var(--amber-subtle);
    color: var(--amber);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--space-6);
    border: 1px solid rgba(255, 180, 0, 0.15);
}

.c-section-tag svg {
    width: 12px;
    height: 12px;
    stroke-width: 2.5;
}

.c-hero__title {
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
    font-size: clamp(38px, 6vw, 68px);
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    margin-bottom: var(--space-8);
}

.c-hero__title em {
    color: var(--amber);
    font-style: normal;
    font-weight: 500;
}

.c-hero__desc {
    position: relative;
    z-index: 1;
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
}

@media (max-width: 768px) {
    .c-hero {
        padding: calc(var(--space-24) + var(--nav-height)) 0 var(--space-16);
    }

    .c-hero__desc {
        font-size: var(--text-base);
    }
}


/* ═══════════════════════════════════════
   CONTACT CARDS (Light Section)
   ═══════════════════════════════════════ */
.c-contact-cards {
    padding: var(--space-12) 0 var(--space-24);
    background: #f5f5f5;
    margin-top: var(--space-8);
}

.c-contact-cards__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.c-contact-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-6);
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--ease-base);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.c-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border-standard);
    transition: all var(--ease-base);
}

.c-contact-card--whatsapp::before {
    background: var(--whatsapp);
}

.c-contact-card--email::before {
    background: var(--amber);
}

.c-contact-card--instagram::before {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FFB400);
}

.c-contact-card:hover {
    border-color: var(--amber);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.c-contact-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.c-contact-card--whatsapp .c-contact-card__icon {
    background: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp);
}

.c-contact-card--email .c-contact-card__icon {
    background: var(--amber-subtle);
    color: var(--amber);
}

.c-contact-card--instagram .c-contact-card__icon {
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.15), rgba(253, 29, 29, 0.15), rgba(255, 180, 0, 0.15));
    background-size: 200% 200%;
    animation: instagram-gradient 3s ease infinite;
    color: #E4405F;
}

@keyframes instagram-gradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.c-contact-card__content {
    flex: 1;
    min-width: 0;
}

.c-contact-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 500;
    color: #080808;
    margin-bottom: var(--space-1);
}

.c-contact-card__text {
    font-size: var(--text-sm);
    color: #5a5a5a;
    margin-bottom: var(--space-1);
}

.c-contact-card__link {
    font-size: var(--text-sm);
    color: var(--amber);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.c-contact-card__arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: all var(--ease-base);
    flex-shrink: 0;
}

.c-contact-card:hover .c-contact-card__arrow {
    background: var(--amber);
    border-color: var(--amber);
    color: #000;
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .c-contact-cards__grid {
        grid-template-columns: 1fr;
    }

    .c-contact-card {
        padding: var(--space-5);
    }

    .c-contact-card__icon {
        width: 48px;
        height: 48px;
    }
}


/* ═══════════════════════════════════════
   FORM SECTION (Light Section)
   ═══════════════════════════════════════ */
.c-form-section {
    padding: var(--space-24) 0;
    background: #ffffff;
}

.c-form-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
    align-items: start;
}

.c-form-header {
    padding-top: var(--space-4);
}

.c-form-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 400;
    color: #080808;
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.c-form-desc {
    font-size: var(--text-base);
    color: #5a5a5a;
    line-height: 1.7;
}

/* Form */
.c-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.c-form__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
}

.c-form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.c-form-label {
    font-size: var(--text-xs);
    font-weight: 600;
    color: #5a5a5a;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Input Wrap */
.c-input-wrap,
.c-select-wrap,
.c-textarea-wrap {
    position: relative;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: var(--radius-full);
    transition: all var(--ease-fast);
}

.c-input-wrap:focus-within,
.c-select-wrap:focus-within {
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(255, 180, 0, 0.1);
}

.c-textarea-wrap {
    border-radius: var(--radius-lg);
}

.c-textarea-wrap:focus-within {
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(255, 180, 0, 0.1);
}

.c-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 1;
}

.c-input {
    width: 100%;
    background: none;
    border: none;
    color: #080808;
    padding: 14px 16px 14px 48px;
    font-size: var(--text-sm);
    font-family: var(--font-body);
    outline: none;
}

.c-input::placeholder {
    color: #888;
}

/* Select */
.c-select {
    width: 100%;
    background: none;
    border: none;
    color: #080808;
    padding: 14px 44px 14px 16px;
    font-size: var(--text-sm);
    font-family: var(--font-body);
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.c-select option {
    background: #f9f9f9;
    color: #080808;
}

.c-select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
    display: flex;
    align-items: center;
}

/* Textarea */
.c-textarea {
    width: 100%;
    background: none;
    border: none;
    color: #080808;
    padding: 14px 16px;
    font-size: var(--text-sm);
    font-family: var(--font-body);
    outline: none;
    resize: vertical;
    min-height: 120px;
}

.c-textarea::placeholder {
    color: #888;
}

/* Submit Button */
.c-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 16px 32px;
    background: var(--amber);
    color: #000;
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all var(--ease-base);
    box-shadow: var(--shadow-glow);
    margin-top: var(--space-2);
}

.c-form-submit:hover {
    background: var(--amber-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-lg);
}

.c-form-submit:active {
    transform: translateY(0);
}

.c-form-submit svg {
    transition: transform var(--ease-fast);
}

.c-form-submit:hover svg {
    transform: translateY(-2px);
}

/* Form Messages */
.c-form-message {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    animation: slideDown 0.3s ease-out;
}

.c-form-message--success {
    background: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp);
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.c-form-message--error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Form */
@media (max-width: 768px) {
    .c-form-section {
        padding: var(--space-16) 0;
    }

    .c-form-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .c-form__grid {
        grid-template-columns: 1fr;
    }

    .c-form-header {
        text-align: center;
    }

    .c-form-title {
        font-size: clamp(24px, 5vw, 28px);
    }

    .c-form-desc {
        font-size: var(--text-sm);
    }

    /* Prevent iOS zoom on inputs */
    .c-input,
    .c-select,
    .c-textarea {
        font-size: 16px;
    }
}


/* ═══════════════════════════════════════
   CTA SECTION (Dark Section)
   ═══════════════════════════════════════ */
.c-cta {
    padding: var(--space-24) 0;
    background: var(--bg-primary);
}

.c-cta__content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.c-cta__title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.c-cta__desc {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

@media (max-width: 768px) {
    .c-cta {
        padding: var(--space-16) 0;
    }

    .c-cta__title {
        font-size: clamp(24px, 5vw, 28px);
    }

    .c-cta__desc {
        font-size: var(--text-base);
    }

    .btn--xl {
        padding: 16px 32px;
        font-size: var(--text-base);
        width: 100%;
    }
}


/* ═══════════════════════════════════════
   PAGE SPECIFIC OVERRIDES
   ═══════════════════════════════════════ */
.c-page .nav--services {
    background: rgba(8, 8, 8, 0.85);
}

.c-page .nav--services.nav--scrolled {
    background: rgba(8, 8, 8, 0.95);
}