/**
 * Friburgo Contato - Frontend CSS
 */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;600;700&display=swap');

/* ==================== RESET & BASE ==================== */
.fc-contato-page {
    padding-top: 102px;
    font-family: 'Roboto', sans-serif;
    background: #fff;
}

.fc-contato-page *,
.fc-contato-page *::before,
.fc-contato-page *::after {
    box-sizing: border-box;
}

.fc-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* WordPress form resets */
.fc-contato-page input[type="text"],
.fc-contato-page input[type="email"],
.fc-contato-page input[type="tel"],
.fc-contato-page input[type="date"],
.fc-contato-page input[type="number"],
.fc-contato-page select,
.fc-contato-page textarea,
.fc-contato-page button {
    font-family: 'Roboto', sans-serif;
    box-shadow: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}

.fc-contato-page button {
    background: none;
    border: none;
    cursor: pointer;
}

.fc-contato-page button:focus,
.fc-contato-page input:focus,
.fc-contato-page select:focus,
.fc-contato-page textarea:focus {
    outline: none;
    box-shadow: none !important;
}

/* ==================== HERO SECTION ==================== */
.fc-hero {
    background: #E87817;
    border-radius: 0 24px 0 24px;
    padding: 48px 0 64px;
}

/* Breadcrumb */
.fc-breadcrumb {
    margin-bottom: 24px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 24px;
}

.fc-breadcrumb-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.2s;
}

.fc-breadcrumb-link:hover {
    color: #fff;
}

.fc-breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    margin: 0 12px;
}

.fc-breadcrumb-current {
    color: #fff;
    font-weight: 700;
}

/* Hero Two-Column Layout */
.fc-hero-columns {
    display: flex;
    gap: 120px;
    align-items: flex-start;
}

.fc-hero-left {
    flex-shrink: 0;
    width: 357px;
}

.fc-hero-right {
    flex: 1;
}

.fc-hero-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 44px;
    color: #fff;
    margin: 0;
}

.fc-hero-title strong {
    font-weight: 700;
}

.fc-hero-desc {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #fff;
    margin: 0 0 32px;
}

/* Social Buttons */
.fc-hero-social {
    display: flex;
    gap: 16px;
}

.fc-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    background: #F0EDC7;
    border-radius: 9px 0 9px 0;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.fc-social-btn:hover {
    background: #e6e2b0;
    transform: translateY(-2px);
}

/* ==================== INFO CARDS ==================== */
.fc-info-section {
    margin-top: 60px;
}

.fc-info-cards {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.fc-info-card {
    background: #F0EDC7;
    border-radius: 14px;
    padding: 32px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 334px;
    min-height: 134px;
    flex: 1;
}

.fc-info-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fc-info-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 12px;
    color: #006140;
    display: block;
}

.fc-info-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #006140;
    margin: 0;
}

.fc-info-text-lg {
    font-size: 18px;
    line-height: 28px;
}

.fc-info-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    background: #B8DB7D;
    border-radius: 9px 0 9px 0;
    margin-left: 16px;
}

/* ==================== FORM SECTION ==================== */
.fc-form-section {
    margin-top: 80px;
}

.fc-form-layout {
    display: flex;
    gap: 119px;
    align-items: flex-start;
}

/* Left text */
.fc-form-text {
    flex-shrink: 0;
    width: 453px;
    min-height: 332px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 0;
}

.fc-form-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 44px;
    color: #006140;
    margin: 0;
}

.fc-form-title strong {
    font-weight: 700;
}

.fc-form-desc {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
    color: #006140;
    margin: 0;
}

/* Right form */
.fc-form-wrapper {
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

/* Tabs */
.fc-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #E5E5E5;
    margin-bottom: 32px;
}

.fc-contato-page .fc-tab {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    color: #ACACAC !important;
    background: none !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    padding: 12px 20px !important;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
    line-height: 1.4;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.fc-contato-page .fc-tab:hover {
    color: #006140 !important;
    background: none !important;
}

.fc-contato-page .fc-tab:focus {
    color: #ACACAC !important;
    background: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.fc-contato-page .fc-tab.active {
    color: #006140 !important;
    font-weight: 600 !important;
    border-bottom-color: #006140 !important;
    background: none !important;
}

.fc-contato-page .fc-tab.active:focus {
    color: #006140 !important;
}

/* Tab panels */
.fc-tab-panel {
    display: none;
}

.fc-tab-panel.active {
    display: block;
}

/* Form layout */
.fc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.fc-form-group {
    margin-bottom: 0;
}

.fc-tab-panel > .fc-form-group {
    margin-bottom: 32px;
}

/* Inputs */
.fc-contato-page .fc-input {
    width: 100% !important;
    height: 42px !important;
    padding: 0 14px !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 300 !important;
    font-size: 14px !important;
    letter-spacing: -0.7px;
    color: #333 !important;
    background: #fff !important;
    border: 1px solid #ACACAC !important;
    border-radius: 50px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s;
    -webkit-appearance: none !important;
    appearance: none !important;
    line-height: normal !important;
    margin: 0 !important;
}

.fc-contato-page .fc-input::placeholder {
    color: #ACACAC;
    opacity: 1;
}

.fc-contato-page .fc-input:focus {
    border-color: #006140 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Select */
.fc-contato-page .fc-select {
    cursor: pointer;
    color: #ACACAC !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23ACACAC' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-color: #fff !important;
    padding-right: 40px !important;
}

.fc-contato-page .fc-select option {
    color: #333;
}

/* Date input */
.fc-contato-page .fc-date-input {
    color: #ACACAC !important;
}

/* Textarea */
.fc-contato-page .fc-textarea {
    width: 100% !important;
    min-height: 120px !important;
    padding: 12px 20px !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 24px;
    color: #333 !important;
    background: #fff !important;
    border: 1px solid #ACACAC !important;
    border-radius: 12px !important;
    outline: none !important;
    box-shadow: none !important;
    resize: vertical;
    transition: border-color 0.2s;
    -webkit-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
}

.fc-contato-page .fc-textarea::placeholder {
    color: #ACACAC;
    opacity: 1;
}

.fc-contato-page .fc-textarea:focus {
    border-color: #006140 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Form footer */
.fc-form-footer {
    display: flex;
    justify-content: flex-end;
}

/* Action button (submit + CTA) */
.fc-contato-page .fc-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 4px 4px 16px;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    color: #fff !important;
    background: #006140 !important;
    border: none !important;
    border-radius: 12px 0 12px 0 !important;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    line-height: 1.4;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: none;
}

.fc-contato-page .fc-action-btn:hover {
    background: #004d33 !important;
}

.fc-contato-page .fc-action-btn:active {
    transform: scale(0.98);
}

.fc-contato-page .fc-action-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.fc-action-btn-icon {
    display: block;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* Form message */
.fc-form-message {
    margin-top: 16px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.fc-form-message.fc-msg-success {
    color: #006140;
}

.fc-form-message.fc-msg-error {
    color: #d32f2f;
}

/* ==================== CTA CARDS ==================== */
.fc-cta-section {
    margin-top: 80px;
    margin-bottom: 80px;
}

.fc-cta-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.fc-cta-card {
    background: #F0EDC7;
    border-radius: 20px;
    padding: 40px 32px;
}

.fc-cta-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #006140;
    margin: 0 0 12px;
}

.fc-cta-desc {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    color: #828282;
    margin: 0 0 24px;
}

/* ==================== RESPONSIVE ==================== */

/* Tablet */
@media (max-width: 1024px) {
    .fc-hero-columns {
        flex-direction: column;
        gap: 24px;
    }

    .fc-hero-left {
        width: 100%;
    }

    .fc-info-cards {
        flex-direction: column;
    }

    .fc-info-card {
        width: 100%;
    }

    .fc-form-layout {
        flex-direction: column;
        gap: 40px;
    }

    .fc-form-text {
        width: 100%;
        min-height: auto;
    }

    .fc-form-desc {
        margin-top: 24px;
    }

    .fc-cta-cards {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .fc-contato-page {
        padding-top: 92px;
    }

    .fc-hero {
        padding: 32px 0 40px;
    }

    .fc-hero-title {
        font-size: 28px;
        line-height: 36px;
    }

    .fc-hero-desc {
        font-size: 16px;
        line-height: 24px;
    }

    .fc-info-section {
        margin-top: 40px;
    }

    .fc-form-section {
        margin-top: 50px;
    }

    .fc-form-text {
        width: 100%;
    }

    .fc-form-wrapper {
        width: 100%;
        min-width: 0;
    }

    .fc-form-title {
        font-size: 28px;
        line-height: 36px;
    }

    .fc-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }

    .fc-tab-panel > .fc-form-group {
        margin-bottom: 16px;
    }

    .fc-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .fc-contato-page .fc-tab {
        padding: 10px 14px !important;
        font-size: 13px !important;
    }

    .fc-contato-page .fc-input,
    .fc-contato-page .fc-textarea {
        width: 100% !important;
        max-width: 100% !important;
    }

    .fc-cta-section {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .fc-cta-card {
        padding: 28px 24px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .fc-hero-title {
        font-size: 24px;
        line-height: 32px;
    }

    .fc-form-title {
        font-size: 24px;
        line-height: 32px;
    }
}
