/*
 Theme Name: Hello Elementor Child
 Template: hello-elementor
 Description: Child theme for Hello Elementor
 Version: 1.0.3
*/

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.gap-4 {
    gap: 1rem; /* 16px */
}

.block {
    display: block;
}

.w-full {
    width: 100%;
}

@media (min-width: 768px) {
    .md\:col-span-2 {
        grid-column: span 2 / span 2;
    }
}

.mt-4 {
    margin-top: 1rem; /* 16px */
}

/* ----- AREA GERAL DO FORM ----- */
.wpcf7 form {
    background: transparent; 
}

/* ----- LABEL ----- */
.wpcf7 form label {
	color:#fff;
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
}

/* ----- CAMPOS (INPUTS & TEXTAREA) ----- */
.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="tel"],
.wpcf7 form textarea {
    width: 100%;
    background: #ffffff;
    color: #000;
    border: 2px solid #ccc;
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 400;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
}

/* Hover & Focus */
.wpcf7 form input[type="text"]:focus,
.wpcf7 form input[type="email"]:focus,
.wpcf7 form input[type="tel"]:focus,
.wpcf7 form textarea:focus {
    border-color: #d00; /* leve destaque */
    box-shadow: 0 0 0 2px rgba(200, 0, 0, 0.15);
}

/* TEXTAREA altura */
.wpcf7 form textarea {
    min-height: 150px;
    resize: vertical;
}

/* ----- BOTÃO "SEND MESSAGE" ----- */

/* Hover / active */
.wpcf7 form input[type="submit"]:hover {
    background: #b91f15;
}

.wpcf7 form input[type="submit"]:active {
    transform: scale(0.97);
}
.hidden {
    display: none;
}
textarea {
    resize: none!important;
}

/* ----- ESTILOS ADICIONAIS PARA O FORMULÁRIO PITTSBURGH JUNK ----- */

/* Títulos das seções */
.wpcf7 h3 {
    color: #333;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 30px;
}

/* Primeira seção não precisa margin-top */
.wpcf7 h3:first-child {
    margin-top: 0;
}

/* Labels - ajuste para cor escura */
.wpcf7 form label {
    color: #333;
    font-weight: 500;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Campos de Input, Select e Textarea - BORDAS AMARELAS/DOURADAS */
.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="tel"],
.wpcf7 form input[type="date"],
.wpcf7 form select,
.wpcf7 form textarea {
    width: 100%;
    background: #ffffff;
    color: #333;
    border: 2px solid #f0c14b; /* Borda amarela/dourada */
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 400;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Placeholder text color */
.wpcf7 form input::placeholder,
.wpcf7 form textarea::placeholder {
    color: #9ca3af;
    opacity: 1;
}

/* Focus state - borda mais escura */
.wpcf7 form input[type="text"]:focus,
.wpcf7 form input[type="email"]:focus,
.wpcf7 form input[type="tel"]:focus,
.wpcf7 form input[type="date"]:focus,
.wpcf7 form select:focus,
.wpcf7 form textarea:focus {
    border-color: #d4a017; /* Dourado mais escuro no focus */
    box-shadow: 0 0 0 3px rgba(240, 193, 75, 0.2);
    background-color: #fffef7;
}

/* Select/Dropdown customizado */
.wpcf7 form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23d4a017' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    padding-right: 40px;
}

/* ----- CHECKBOXES CUSTOMIZADOS ----- */
.wpcf7 form input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #f0c14b;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Checkbox marcado */
.wpcf7 form input[type="checkbox"]:checked {
    background-color: #0073e6;
    border-color: #0073e6;
}

/* Checkmark dentro do checkbox */
.wpcf7 form input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Hover no checkbox */
.wpcf7 form input[type="checkbox"]:hover:not(:checked) {
    border-color: #d4a017;
    background-color: #fffef7;
}

/* Focus no checkbox */
.wpcf7 form input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(240, 193, 75, 0.2);
}

/* ----- RADIO BUTTONS CUSTOMIZADOS ----- */
.wpcf7 form input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #f0c14b;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Radio button marcado */
.wpcf7 form input[type="radio"]:checked {
    border-color: #0073e6;
    background-color: #0073e6;
}

/* Círculo interno do radio button */
.wpcf7 form input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Hover no radio button */
.wpcf7 form input[type="radio"]:hover:not(:checked) {
    border-color: #d4a017;
    background-color: #fffef7;
}

/* Focus no radio button */
.wpcf7 form input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(240, 193, 75, 0.2);
}

/* ----- CONTAINER DOS CHECKBOXES E RADIO BUTTONS ----- */
.wpcf7 form .wpcf7-list-item {
    display: inline-block;
    margin-right: 25px;
    margin-bottom: 10px;
	    margin-left: 0;
}

.wpcf7 form .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    cursor: pointer;
    margin-bottom: 0;
}

/* Para listas de checkbox/radio inline */
.wpcf7 form .wpcf7-checkbox,
.wpcf7 form .wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Texto descritivo longo em checkboxes */
.wpcf7 form .wpcf7-list-item-label {
    flex: 1;
    line-height: 1.5;
    padding-top: 2px;
}

/* Textarea */
.wpcf7 form textarea {
    min-height: 100px;
    resize: vertical;
}

/* Campo de upload de arquivo */
.wpcf7 form input[type="file"] {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 2px solid #f0c14b;
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7 form input[type="file"]:hover {
    border-color: #d4a017;
    background-color: #fffef7;
}

/* Botão Submit */
.wpcf7 form input[type="submit"] {
    width: 100%;
    background: #f4be0a; 
    color: #394709;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 0px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wpcf7 form input[type="submit"]:hover {
    background: #394709;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.wpcf7 form input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Container geral do formulário */
.wpcf7 {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Textos auxiliares */
.text-sm {
    font-size: 13px;
}

.text-gray-600 {
    color: #6b7280;
}

.text-red-500 {
    color: #ef4444;
}

/* Margins */
.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

/* Layout flex para State e ZIP */
.flex {
    display: flex;
}

.gap-2 {
    gap: 0.5rem;
}

.flex-1 {
    flex: 1 1 0%;
}

/* Mensagens de erro/validação */
.wpcf7-not-valid-tip {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.wpcf7-response-output {
    margin: 20px 0;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
}

.wpcf7-mail-sent-ok {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.wpcf7-mail-sent-ng,
.wpcf7-spam-blocked,
.wpcf7-validation-errors {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Campo inválido */
.wpcf7 form .wpcf7-not-valid {
    border-color: #ef4444 !important;
}

/* Disabled fields */
.wpcf7 form input:disabled,
.wpcf7 form select:disabled,
.wpcf7 form textarea:disabled {
    background-color: #f3f4f6;
    cursor: not-allowed;
    opacity: 0.6;
}

/* ----- VALIDAÇÃO CONDICIONAL ----- */
.custom-validation-message {
    margin-top: 5px;
    margin-bottom: 15px;
    animation: fadeIn 0.3s ease;
}

.custom-validation-message span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #dc2626;
    font-size: 13px;
    font-weight: 400;
}

/* Campos com erro condicional */
.wpcf7 form input.field-error {
    border-color: #dc2626 !important;
    background-color: #fef2f2;
}

/* Animação de fade in para as mensagens */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mensagem de erro padrão do CF7 */
.wpcf7-not-valid-tip {
    color: #dc2626;
    font-size: 13px;
    margin-top: 5px;
    display: block;
    font-weight: 400;
}

/* Para campos individuais com erro */
.wpcf7 form .wpcf7-not-valid {
    border-color: #dc2626 !important;
    background-color: #fef2f2;
}
