/* ==================== style.css ==================== */
/*
Theme Name: AD Ministério Restauração
Theme URI: https://restaurarn.com.br
Author: Alexsandro Alves Bezerra
Author URI: https://defensoresdaweb.com.br
Description: Tema personalizado para AD Ministério Restauração
Version: 2.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ad-restauracao
*/

:root {
    --primary-color: #7d3f4d;
    --secondary-color: #d4a574;
    --text-dark: #4a2634;
    --bg-light: #f5f0eb;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --gradient-primary: linear-gradient(135deg, #7d3f4d 0%, #5a2d38 100%);
    --gradient-secondary: linear-gradient(135deg, #d4a574 0%, #b88c5d 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

img {
  max-width: 100%; /* A imagem nunca excederá a largura do seu contêiner. */
  height: auto;    /* A altura se ajustará automaticamente para manter a proporção. */
}



/*.navbar {
  background-color: #fff;
  border-bottom: 2px solid #f1f1f1;
}*/

.navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.9);
}

.navbar-nav .nav-link {
  color: #5b2c2c;
  font-weight: 600;
  padding: 10px 15px;
}

.navbar-nav .nav-link:hover {
  color: #b67b0f;
}







/* ==================== Contact Form 7 - Estilização Profissional ==================== */

/* Container Principal do Formulário */
.wpcf7 {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

/* Decoração de fundo sutil */
.wpcf7::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--gradient-secondary);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(60px);
}

.wpcf7::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: var(--gradient-primary);
    opacity: 0.08;
    border-radius: 50%;
    filter: blur(50px);
}

/* Título e Descrição do Formulário (se houver) */
.wpcf7 h3,
.wpcf7 .form-title {
    color: var(--primary-color);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.wpcf7 p.form-description {
    text-align: center;
    color: var(--text-dark);
    opacity: 0.8;
    font-size: 16px;
    margin-bottom: 35px;
}

/* ==================== Grupos de Campos ==================== */
.wpcf7-form p,
.wpcf7-form .form-group {
    margin-bottom: 25px;
    position: relative;
}

/* Labels Estilizados */
.wpcf7-form label {
    display: block;
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.wpcf7-form label span.required {
    color: var(--secondary-color);
    font-size: 18px;
}

/* ==================== Campos de Input ==================== */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 18px 20px;
    padding-left: 50px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    background: #fafafa;
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

/* Textarea específico */
.wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
    padding-top: 18px;
}

/* Estados de Hover */
.wpcf7-form input:hover,
.wpcf7-form select:hover,
.wpcf7-form textarea:hover {
    background: var(--white);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.15);
}

/* Estados de Focus */
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(125, 63, 77, 0.1), 0 4px 12px rgba(125, 63, 77, 0.15);
    transform: translateY(-2px);
}

/* Placeholder com estilo */
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #a0a0a0;
    font-size: 15px;
}

/* ==================== Ícones nos Campos ==================== */
.wpcf7-form-control-wrap {
    position: relative;
}

/* Adicionar ícones via CSS */
.wpcf7-form-control-wrap::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    z-index: 2;
}

/* Ícone para campo de nome */
.wpcf7-form-control-wrap[data-name*="name"]::before,
.wpcf7-form-control-wrap.your-name::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237d3f4d'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
}

/* Ícone para campo de e-mail */
.wpcf7-form-control-wrap[data-name*="email"]::before,
.wpcf7-form-control-wrap.your-email::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237d3f4d'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

/* Ícone para campo de telefone */
.wpcf7-form-control-wrap[data-name*="tel"]::before,
.wpcf7-form-control-wrap[data-name*="phone"]::before,
.wpcf7-form-control-wrap.your-phone::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237d3f4d'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}

/* Ícone para campo de mensagem */
.wpcf7-form-control-wrap[data-name*="message"]::before,
.wpcf7-form-control-wrap.your-message::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237d3f4d'%3E%3Cpath d='M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z'/%3E%3C/svg%3E");
    top: 35px;
}

/* Ícone para campo de assunto/subject */
.wpcf7-form-control-wrap[data-name*="subject"]::before,
.wpcf7-form-control-wrap.your-subject::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237d3f4d'%3E%3Cpath d='M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E");
}

/* Quando o campo está em foco, o ícone fica mais visível */
.wpcf7-form input:focus ~ .wpcf7-form-control-wrap::before,
.wpcf7-form-control-wrap:has(input:focus)::before,
.wpcf7-form-control-wrap:has(textarea:focus)::before {
    opacity: 1;
}

/* ==================== Checkboxes e Radio Buttons ==================== */
.wpcf7-form input[type="checkbox"],
.wpcf7-form input[type="radio"] {
    width: 22px;
    height: 22px;
    margin-right: 10px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.wpcf7-list-item {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.wpcf7-list-item label {
    margin-bottom: 0;
    cursor: pointer;
    font-size: 16px;
}

/* ==================== Select/Dropdown ==================== */
.wpcf7-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237d3f4d'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 45px;
    cursor: pointer;
}

/* ==================== Botão de Envio ==================== */
.wpcf7-form .wpcf7-submit {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(125, 63, 77, 0.3);
    display: inline-block;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.wpcf7-form .wpcf7-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.wpcf7-form .wpcf7-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(125, 63, 77, 0.4);
}

.wpcf7-form .wpcf7-submit:hover::before {
    width: 400px;
    height: 400px;
}

.wpcf7-form .wpcf7-submit:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(125, 63, 77, 0.3);
}

/* Centralizar botão */
.wpcf7-form p:has(.wpcf7-submit) {
    text-align: center;
    margin-top: 30px;
}

/* ==================== Spinner de Carregamento ==================== */
.wpcf7 .ajax-loader {
    display: none;
    background: var(--gradient-secondary);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    margin-left: 15px;
}

.wpcf7.submitting .ajax-loader {
    display: inline-block;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 165, 116, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(212, 165, 116, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 165, 116, 0);
    }
}

/* ==================== Mensagens de Resposta ==================== */
.wpcf7-response-output {
    margin: 30px 0 0;
    padding: 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    animation: slideInUp 0.5s ease;
}

/* Sucesso */
.wpcf7 form.sent .wpcf7-response-output {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

/* Erro */
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

/* Spam */
.wpcf7 form.spam .wpcf7-response-output {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* Validação inválida */
.wpcf7 form.invalid .wpcf7-response-output {
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== Validação de Campos ==================== */
.wpcf7-not-valid {
    border-color: #ef4444 !important;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.wpcf7-form-control-wrap .wpcf7-not-valid-tip {
    position: absolute;
    left: 0;
    bottom: -25px;
    background: white;
    padding: 5px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}

/* ==================== Acceptance Checkbox ==================== */
.wpcf7-acceptance {
    margin: 25px 0;
}

.wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.6;
}

.wpcf7-acceptance input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==================== File Upload ==================== */
.wpcf7-form input[type="file"] {
    padding: 15px;
    background: var(--bg-light);
    border: 2px dashed var(--secondary-color);
    cursor: pointer;
}

.wpcf7-form input[type="file"]:hover {
    border-color: var(--primary-color);
    background: white;
}

/* ==================== Responsividade ==================== */
@media (max-width: 768px) {
    .wpcf7 {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .wpcf7 h3,
    .wpcf7 .form-title {
        font-size: 26px;
    }
    
    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form input[type="url"],
    .wpcf7-form input[type="date"],
    .wpcf7-form input[type="number"],
    .wpcf7-form select,
    .wpcf7-form textarea {
        font-size: 16px; /* Previne zoom no iOS */
        padding: 16px 18px;
        padding-left: 45px;
    }
    
    .wpcf7-form .wpcf7-submit {
        width: 100%;
        padding: 16px 40px;
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .wpcf7 {
        padding: 25px 15px;
    }
    
    .wpcf7 h3,
    .wpcf7 .form-title {
        font-size: 22px;
    }
    
    .wpcf7-form label {
        font-size: 14px;
    }
}

/* ==================== Tema Dark Mode (Opcional) ==================== */
@media (prefers-color-scheme: dark) {
    .wpcf7 {
        background: #1a1a1a;
        color: #f0f0f0;
    }
    
    .wpcf7-form input,
    .wpcf7-form select,
    .wpcf7-form textarea {
        background: #2a2a2a;
        color: #f0f0f0;
        border-color: #3a3a3a;
    }
    
    .wpcf7-form input:hover,
    .wpcf7-form select:hover,
    .wpcf7-form textarea:hover {
        background: #333;
        border-color: var(--secondary-color);
    }
    
    .wpcf7-form input:focus,
    .wpcf7-form select:focus,
    .wpcf7-form textarea:focus {
        background: #2a2a2a;
    }
}

/* ==================== Animações Extras ==================== */
.wpcf7-form > p {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.wpcf7-form > p:nth-child(1) { animation-delay: 0.1s; }
.wpcf7-form > p:nth-child(2) { animation-delay: 0.2s; }
.wpcf7-form > p:nth-child(3) { animation-delay: 0.3s; }
.wpcf7-form > p:nth-child(4) { animation-delay: 0.4s; }
.wpcf7-form > p:nth-child(5) { animation-delay: 0.5s; }
.wpcf7-form > p:nth-child(6) { animation-delay: 0.6s; }

/* ==================== Compatibilidade com Temas ==================== */
/* Remove estilos padrão conflitantes */
.wpcf7 .screen-reader-response {
    position: absolute;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    width: 1px;
    margin: 0;
    padding: 0;
    border: 0;
}

/* Reset de estilos de tema que podem interferir */
.wpcf7-form br {
    display: none;
}

.wpcf7-form .wpcf7-form-control-wrap + br {
    display: none;
}

/* ==================== Integração com as variáveis do tema ==================== */
.wpcf7-form {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Garantir que os elementos respeitem o box-sizing */
.wpcf7 *,
.wpcf7 *::before,
.wpcf7 *::after {
    box-sizing: border-box;
}

/* ==================== Print Styles ==================== */
@media print {
    .wpcf7 {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .wpcf7::before,
    .wpcf7::after {
        display: none;
    }
}





