/* section-11-guarantee.css */

.section-guarantee {
    padding: 100px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    position: relative;
    overflow: hidden;
}

.section-guarantee::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(10, 77, 64, 0.05) 0%, rgba(10, 77, 64, 0) 70%);
    top: -200px;
    left: -200px;
    border-radius: 50%;
}

.guarantee-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.guarantee-seal {
    flex: 0 0 auto;
    width: 320px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.seal-inner {
    width: 240px;
    height: 240px;
    position: relative;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.5s ease;
}

.guarantee-container:hover .seal-inner {
    transform: perspective(1000px) rotateY(10deg);
}

.seal-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.seal-circle-outer {
    fill: none;
    stroke: #0A4D40;
    stroke-width: 5;
    stroke-dasharray: 565;
    stroke-dashoffset: 565;
    animation: drawCircle 2s ease forwards;
}

.seal-circle-inner {
    fill: none;
    stroke: #0A4D40;
    stroke-width: 2;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    animation: drawCircle 2s ease forwards 0.5s;
}

.seal-cross {
    fill: none;
    stroke: #0A4D40;
    stroke-width: 2;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawLine 2s ease forwards 1s;
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.seal-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.seal-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.shield-svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #0A4D40;
    stroke-width: 2;
}

.shield-svg path:first-child {
    fill: #e6f0ee;
}

.shield-svg path:last-child {
    stroke: #F18F1C;
    stroke-width: 3;
}

.seal-days {
    font-size: 64px;
    font-weight: 800;
    color: #0A4D40;
    line-height: 1;
    margin-bottom: 5px;
}

.seal-text {
    font-size: 20px;
    font-weight: 700;
    color: #0A4D40;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.seal-shadow {
    position: absolute;
    width: 240px;
    height: 30px;
    bottom: 20px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(5px);
    transform: translateY(20px);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.guarantee-container:hover .seal-shadow {
    transform: translateY(15px) scaleX(0.9);
    opacity: 0.5;
}

.guarantee-content {
    flex: 1;
    padding: 50px;
    position: relative;
}

.guarantee-title {
    font-size: 32px;
    font-weight: 800;
    color: #0A4D40;
    margin-bottom: 20px;
    position: relative;
}

.guarantee-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #F18F1C;
    margin-top: 15px;
}

.guarantee-description {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 30px;
}

.guarantee-proof {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.proof-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.guarantee-signature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.signature-img {
    max-width: 150px;
    height: auto;
    margin-bottom: 10px;
}

.signature-name {
    font-size: 16px;
    font-weight: 700;
    color: #0A4D40;
}

.signature-title {
    font-size: 14px;
    color: #666;
}

.guarantee-legal {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.legal-text {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}

/* Animação de carimbo */
@keyframes stampEffect {
    0% {
        transform: translate(-50%, -50%) scale(0.8) rotate(-10deg);
        opacity: 0;
    }
    30% {
        transform: translate(-50%, -50%) scale(1.2) rotate(5deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Media Queries para Responsividade */
@media (max-width: 1199px) {
    .guarantee-container {
        max-width: 900px;
    }
    
    .guarantee-seal {
        width: 280px;
    }
    
    .seal-inner {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 991px) {
    .guarantee-container {
        flex-direction: column;
        align-items: center;
    }
    
    .guarantee-seal {
        width: 100%;
        padding: 40px 40px 0;
    }
    
    .seal-shadow {
        bottom: 0;
    }
    
    .guarantee-content {
        padding: 40px;
        text-align: center;
    }
    
    .guarantee-title::after {
        margin-left: auto;
        margin-right: auto;
    }
    
    .guarantee-signature {
        align-items: center;
    }
    
    .section-guarantee .section-title {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .section-guarantee {
        padding: 60px 0;
    }
    
    .guarantee-title {
        font-size: 28px;
    }
    
    .guarantee-description {
        font-size: 16px;
    }
    
    .seal-inner {
        width: 180px;
        height: 180px;
    }
    
    .seal-days {
        font-size: 48px;
    }
    
    .seal-text {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .guarantee-content {
        padding: 30px;
    }
    
    .guarantee-title {
        font-size: 24px;
    }
    
    .guarantee-description {
        font-size: 15px;
    }
    
    .seal-inner {
        width: 150px;
        height: 150px;
    }
    
    .seal-days {
        font-size: 42px;
    }
}