/* ==========================================================================
   TRAMEI - PÁGINA DE CONTATO (MODERNA)
   ========================================================================== */

.contato-page {
    background-color: #fcf8f4;
    color: #333;
    font-family: 'Work Sans', sans-serif;
    padding-top: 10px;
}

.contato-hero {
    padding: 30px 0;
    text-align: center;
}

.contato-hero h1 {
    font-size: 56px;
    font-weight: 800;
    color: #AC4C16;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.contato-hero p {
    font-size: 20px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 100px;
    align-items: stretch; /* Align boxes height */
}

/* Info Column */
.info-box {
    background: #fff;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    display: flex !important;
    flex-direction: row !important; /* Force side-by-side */
    align-items: center !important; 
    gap: 25px !important;
    margin-bottom: 35px !important;
    text-align: left !important; /* Force left alignment */
}

.info-icon {
    width: 65px;
    height: 65px;
    background: #fcf8f4;
    border: 1px solid rgba(172, 76, 22, 0.1);
    color: #f4a261;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.info-text {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: left !important;
}

.info-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: #AC4C16;
    margin-bottom: 0 !important; /* Reduced space */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-text p, .info-text a {
    font-size: 18px;
    color: #666;
    text-decoration: none;
    line-height: 1.4; /* Slightly tighter line height */
    margin-top: 2px !important; /* Minimal gap */
    display: block;
}

.info-text a:hover { color: #f4a261; }

/* Chatbot Form Column */
.contact-chatbot-container {
    background: #AC4C16;
    padding: 60px;
    border-radius: 30px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-chatbot-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(244, 162, 97, 0.1), transparent);
}

.chatbot-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.chatbot-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.contact-flow {
    position: relative;
    z-index: 2;
    min-height: 300px;
}

.contact-step {
    display: none;
    animation: fadeInSlide 0.5s ease forwards;
}

.contact-step.active { display: block; }

@keyframes fadeInSlide { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.chat-question {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 1.4;
}

.chat-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-input-wrapper input, .chat-input-wrapper select, .chat-input-wrapper textarea {
    width: 100%;
    padding: 18px 25px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

.chat-input-wrapper input:focus, .chat-input-wrapper select:focus {
    border-color: #f4a261;
    background: rgba(255,255,255,0.1);
}

.chat-input-wrapper input::placeholder,
.chat-input-wrapper textarea::placeholder {
    color: rgba(255, 255, 255, 0.65);
    opacity: 1;
}

.chat-input-wrapper select {
    color: #fff;
}

.chat-input-wrapper select option {
    color: #111;
}

.chat-btn-next {
    background: #f4a261;
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 15px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.chat-btn-next:hover {
    background: #fff;
    color: #AC4C16;
    transform: translateY(-3px);
}

.chat-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.chat-opt-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s;
    font-size: 15px;
}

.chat-opt-btn:hover {
    background: #f4a261;
    border-color: #f4a261;
}

/* Map Section */
.contato-map {
    height: 500px;
    width: 100%;
    border-top: 1px solid #eee;
}

@media (max-width: 992px) {
    .contato-grid { grid-template-columns: 1fr; }
    .contato-hero h1 { font-size: 42px; }
}

@media (max-width: 600px) {
    .info-box, .contact-chatbot-container { padding: 30px 20px; }
    .chatbot-title { font-size: 26px; }
    .chat-options-grid { grid-template-columns: 1fr; }
}
