/* ===================================
   Depoimento Form Page
   Estilos específicos para a página de depoimento
   =================================== */

.depoimento-hero,
.page-hero.depoimento-hero {
    background: linear-gradient(135deg, #791F53 0%, #006239 100%);
    min-height: 350px;
    position: relative;
    overflow: hidden;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 3rem 2rem;
}

.depoimento-hero .hero-content,
.page-hero.depoimento-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center !important;
    color: white;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.depoimento-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.depoimento-hero .hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image: 
        radial-gradient(circle at 20% 50%, white 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, white 1px, transparent 1px);
    background-size: 50px 50px;
    animation: patternMove 20s linear infinite;
    z-index: 1;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.depoimento-hero .hero-icon-wrapper,
.page-hero.depoimento-hero .hero-icon-wrapper {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: pulseIcon 3s ease-in-out infinite;
}

.depoimento-hero .hero-icon-wrapper i {
    font-size: 3rem;
    color: white;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.depoimento-hero .hero-title,
.page-hero.depoimento-hero .hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center !important;
    animation: fadeInUp 0.6s ease-out;
}

.depoimento-hero .hero-subtitle,
.page-hero.depoimento-hero .hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin: 0;
    text-align: center !important;
    animation: fadeInUp 0.8s ease-out;
}

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

.depoimento-form-page {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: calc(100vh - 400px);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin-bottom: 2rem;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.form-header-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #791F53 0%, #006239 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(121, 31, 83, 0.25);
    transition: transform 0.3s ease;
}

.form-header-icon:hover {
    transform: translateY(-4px) rotate(5deg);
    box-shadow: 0 12px 32px rgba(121, 31, 83, 0.35);
}

.form-header-icon i {
    font-size: 2.5rem;
    color: white;
}

.form-header h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-header p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.6;
}

.depoimento-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.depoimento-form .form-group {
    margin-bottom: 1.5rem;
}

.depoimento-form .form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.depoimento-form .form-label i {
    color: #791F53;
    font-size: 0.9rem;
}

.depoimento-form .input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.depoimento-form .input-icon {
    position: absolute;
    left: 1rem;
    color: #791F53;
    z-index: 1;
    pointer-events: none;
}

.depoimento-form .form-control {
    width: 100%;
    padding: 0.9rem 1.2rem 0.9rem 3rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #fafafa;
}

.depoimento-form .form-control:focus {
    outline: none;
    border-color: #791F53;
    background: white;
    box-shadow: 0 0 0 4px rgba(121, 31, 83, 0.1);
    transform: translateY(-1px);
}

.depoimento-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
    padding-left: 1.2rem;
}

.depoimento-form .textarea-wrapper {
    position: relative;
}

.depoimento-form .char-counter {
    position: absolute;
    bottom: 0.75rem;
    right: 1rem;
    font-size: 0.85rem;
    color: #666;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.depoimento-form .form-text {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.depoimento-form .rating-wrapper {
    position: relative;
}

.depoimento-form .rating-select {
    font-size: 1.05rem;
}

.depoimento-form .rating-preview {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.depoimento-form .rating-preview .rating-stars {
    display: flex;
    gap: 0.25rem;
}

.depoimento-form .rating-preview .rating-stars i {
    font-size: 1.25rem;
}

.file-input-wrapper {
    position: relative;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.file-input-info {
    border: 2px dashed #e0e0e0;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-height: 180px;
    justify-content: center;
}

.file-input-wrapper:hover .file-input-info,
.file-input-wrapper.drag-over .file-input-info {
    border-color: #791F53;
    background: linear-gradient(135deg, #f0f7ff 0%, #fff5f5 100%);
    transform: scale(1.02);
}

.file-input-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #791F53 0%, #006239 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(121, 31, 83, 0.2);
}

.file-input-icon i {
    font-size: 2rem;
    color: white;
}

.file-input-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.file-input-main {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.file-input-sub {
    color: #666;
    font-size: 0.9rem;
}

.file-preview {
    position: relative;
    margin-top: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.file-preview img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    display: block;
}

.remove-file {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    background: rgba(220, 53, 69, 0.9);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.remove-file:hover {
    background: #dc3545;
    transform: scale(1.1);
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.btn {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #791F53 0%, #006239 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(121, 31, 83, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(121, 31, 83, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-submit {
    position: relative;
    z-index: 1;
}

input[type="submit"].btn-submit,
button[type="submit"].btn-submit {
    border: none;
    cursor: pointer;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.info-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 4px solid #ffc107;
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
    transition: transform 0.3s ease;
}

.info-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.3);
}

.info-box-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 193, 7, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-box-icon i {
    font-size: 1.5rem;
    color: #ffc107;
}

.info-box-content h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-weight: 700;
    font-size: 1.1rem;
}

.info-box-content p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alert i {
    font-size: 1.5rem;
}

.alert-success {
    background: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

/* Responsive Design */
@media (max-width: 768px) {
    .depoimento-hero,
    .page-hero.depoimento-hero {
        padding: 2rem 1rem;
        min-height: 300px;
    }
    
    .depoimento-hero .hero-content,
    .page-hero.depoimento-hero .hero-content {
        padding: 0 1rem;
    }
    
    .depoimento-hero .hero-title,
    .page-hero.depoimento-hero .hero-title {
        font-size: 1.8rem;
    }
    
    .depoimento-hero .hero-subtitle,
    .page-hero.depoimento-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .depoimento-hero .hero-icon-wrapper,
    .page-hero.depoimento-hero .hero-icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
    
    .depoimento-hero .hero-icon-wrapper i,
    .page-hero.depoimento-hero .hero-icon-wrapper i {
        font-size: 2.5rem;
    }
    
    .depoimento-form-page {
        padding: 2rem 1rem;
    }
    
    .form-card {
        padding: 2rem 1.5rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .depoimento-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

