/*
Theme Name: Adventure Turismo
Theme URI: https://seudominio.com.br
Author: LP Adventure
Author URI: https://seudominio.com.br
Description: Tema WordPress exclusivo para Landing Page da LP Adventure Turismo. Estrutura focada em performance, clareza e conversão.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lp-adventure
*/
body {box-sizing: border-box;}
* {margin: 0; padding: 0; font-family: 'Inter', sans-serif;}
.serif-font {font-family: 'Crimson Pro', serif;}

.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.hero-section {
    min-height: 100%;
    position: relative;
}

.slider-container {
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.section-title {
    position: relative;
    display: inline-block;
    font-size: 3.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 80px;
    height: 4px;
    background: #F4811E;
}

.section-title.center::after {
    left: calc(50% - 40px) !important;
}

.badge-experience {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #F4811E 0%, #ff6b00 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 10px 40px rgba(244, 129, 30, 0.4);
    z-index: 10;
}

.certification-badge {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.certification-badge:hover {
    border-color: #2D2F91;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.service-box {
    background: white;
    border: 1px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #F4811E;
    transition: width 0.4s ease;
}

.service-box:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
    border-color: #F4811E;
}

.service-box:hover::before {
    width: 100%;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    background: #f3f4f6;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.gallery-item svg {
    width: 100%;
    height: 300px;
    transition: transform 0.4s ease;
}

.gallery-item:hover svg {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* =========================
   Formulário - Campos e Validação
   ========================= */
.field-wrapper {
    position: relative;
}

.field-input-wrapper {
    position: relative;
}

.form-input {
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    background: white;
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: #2D2F91;
    box-shadow: 0 0 0 4px rgba(45, 47, 145, 0.1);
}

/* Estado de sucesso */
.form-input.success,
.field-input-wrapper.success .form-input {
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-input.success:focus,
.field-input-wrapper.success .form-input:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

/* Estado de erro */
.form-input.error,
.field-input-wrapper.error .form-input {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
    animation: shake 0.4s ease;
}

.form-input.error:focus,
.field-input-wrapper.error .form-input:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

/* Animação de erro */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Ícone de validação */
.field-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    pointer-events: none;
    transition: all 0.3s ease;
    opacity: 0;
}

.field-icon.error-icon {
    opacity: 1;
    color: #ef4444;
}

.field-icon.success-icon {
    opacity: 1;
    color: #10b981;
}

textarea + .field-icon {
    top: 20px;
    transform: translateY(0);
}

/* Mensagem de erro */
.field-error-message {
    display: none;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    padding-left: 0.25rem;
    animation: slideDown 0.3s ease;
}

.field-error-message:not(:empty) {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-submit {
    background: linear-gradient(135deg, #F4811E 0%, #ff6b00 100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(244, 129, 30, 0.4);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 40px rgba(37, 211, 102, 0.6);
}

.alert-success {
    background: #10b981;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.alert-success.show {
    display: flex;
    animation: slideDown 0.4s ease;
}

.alert-error {
    background: #ef4444;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.alert-error.show {
    display: flex;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
    opacity: 0;
    transform: translateY(-20px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

/*OBRIGADO*/
.thank-you-container {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2D2F91 0%, #00ADEE 100%);
    position: relative;
    overflow: hidden;
    /* margin-top: 72px; */
}

.background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: 
    radial-gradient(circle at 20% 50%, white 2px, transparent 2px),
    radial-gradient(circle at 80% 80%, white 2px, transparent 2px),
    radial-gradient(circle at 40% 20%, white 3px, transparent 3px);
    background-size: 100px 100px, 150px 150px, 120px 120px;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.success-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
    max-width: 650px;
    width: 90%;
    padding: 3rem;
    margin: 3rem;
    text-align: center;
    position: relative;
    z-index: 10;
    animation: slideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
    from {
    opacity: 0;
    transform: translateY(50px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

.success-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4);
    animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s backwards;
}

@keyframes scaleIn {
    from {
    transform: scale(0);
    opacity: 0;
    }
    to {
    transform: scale(1);
    opacity: 1;
    }
}

.checkmark {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: white;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px white;
    animation: fill 0.4s ease-in-out 0.5s forwards, scale 0.3s ease-in-out 0.9s both;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: white;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.9s forwards;
}

@keyframes stroke {
    100% {
    stroke-dashoffset: 0;
    }
}

@keyframes fadeIn {
    from {
    opacity: 0;
    }
    to {
    opacity: 1;
    }
}

.btn-home {
    background: linear-gradient(135deg, #F4811E 0%, #ff6b00 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(244, 129, 30, 0.3);
    animation: fadeIn 0.6s ease 1.4s backwards;
}

.btn-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(244, 129, 30, 0.4);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    animation: fadeIn 0.6s ease 1.4s backwards;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.info-box {
    background: #f9fafb;
    border-left: 4px solid #2D2F91;
    padding: 1.25rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: left;
    animation: fadeIn 0.6s ease 1.6s backwards;
}

.decorative-plane {
    position: absolute;
    top: 10%;
    right: 5%;
    font-size: 4rem;
    opacity: 0.15;
    animation: float 15s ease-in-out infinite;
    z-index: 5;
}

.decorative-plane-2 {
    position: absolute;
    bottom: 15%;
    left: 8%;
    font-size: 3rem;
    opacity: 0.15;
    animation: float 18s ease-in-out infinite reverse;
    z-index: 5;
}

@view-transition {navigation:auto;}

.logo-h {max-width: 220px;}
.logo-f {max-width: 180px; border-radius: 12px; padding: 12px 10px;}

.social-widget {display: flex; flex-wrap: wrap;}
.social-widget img, .social-widget svg {width: 38px; height: 38px; margin: 5px;}
.icon-facebook {fill: #2C5C9B; color: #FFFFFF;}
.icon-instagram {fill: #F14E76; color: #FFFFFF;}
.icon-youtube {fill: #F83F37; color: #FFFFFF;}

@media (min-width: 768px) {
    .success-card-page {
        margin-top: 150px !important;
    }
}

@media (max-width: 767px) {
    .nav-bar {
        position: inherit !important;
    }
    .section-title {
        font-size: 2rem;
    }
}