:root {
--primary-green: #0b4f35;
--primary-green-rgb: 11, 79, 53;
--accent-green: #10b981;
--accent-blue: #0284c7;
--accent-blue-rgb: 2, 132, 199;
--neutral-dark: #1e293b;
--neutral-light: #f8fafc;
--card-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
--transition-smooth: all 0.25s ease-in-out;
--app-max-width: 1240px;
}

body {
font-family: 'Plus Jakarta Sans', sans-serif;
color: var(--neutral-dark);
background-color: #f6f9f8;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
margin: 0;
padding: 0;
}

body:has(.app-viewport) {
background-color: #eef2f1;
}

/* App Viewport Centrado */
.app-viewport {
max-width: var(--app-max-width);
width: 100%;
margin: 0 auto;
background-color: #f6f9f8;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
min-height: 100vh;
display: flex;
flex-direction: column;
}

.app-header img,
.app-footer img {
display: block;
width: 100%;
height: auto;
}

/* Hero Banner (Mantido para compatibilidade com index2.html, mas não usado no index_v2.html) */
.hero-banner {
background: linear-gradient(135deg, #073523 0%, #115c40 100%);
color: white;
padding: 5rem 0 6.5rem 0;
position: relative;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
box-shadow: 0 10px 30px rgba(7, 53, 35, 0.1);
}

.hero-banner::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background-image: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
z-index: 1;
}

.hero-content {
position: relative;
z-index: 2;
}

.hero-title {
font-weight: 800;
font-size: 3.5rem;
letter-spacing: -1.5px;
line-height: 1.1;
margin-bottom: 0.5rem;
}

.hero-title span {
color: var(--accent-green);
}

.hero-tagline {
font-size: 1.5rem;
font-weight: 500;
opacity: 0.95;
color: #e2e8f0;
text-transform: uppercase;
}

.hero-url {
display: inline-flex;
align-items: center;
color: #ffffff;
text-decoration: none;
background: rgba(255, 255, 255, 0.07);
padding: 10px 20px;
border-radius: 0;
font-weight: 600;
border: 1px solid rgba(255, 255, 255, 0.15);
transition: var(--transition-smooth);
}

.hero-url:hover {
background: rgba(255, 255, 255, 0.15);
transform: translateY(-2px);
color: #ffffff;
}

/* Intro Lead */
.intro-lead {
margin-top: -1.25rem !important;
margin-bottom: 2.5rem !important;
}

/* Premium Cards - Estilo Retangular e Limpo */
.premium-card {
background: #ffffff;
border-radius: 0; /* Cantos totalmente retos */
border: none; /* Sem bordas */
box-shadow: var(--card-shadow);
padding: 2.5rem;
height: 100%;
}

.section-title {
font-weight: 800;
font-size: 2rem;
letter-spacing: -0.5px;
color: var(--primary-green);
position: relative;
padding-bottom: 8px;
}

.section-title::after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 50px;
height: 3px;
background-color: var(--primary-green);
}

.section-title-no-line::after {
    display: none !important;
}
.section-title-no-line {
    padding-bottom: 0 !important;
}

/* Benefit Badges and Lists */
.benefit-badge {
background: rgba(var(--accent-blue-rgb), 0.08);
color: var(--accent-blue);
font-weight: 700;
padding: 6px 12px;
border-radius: 0; /* Retangular */
font-size: 0.8rem;
text-transform: uppercase;
display: inline-block;
margin-bottom: 12px;
border-left: 2px solid var(--accent-blue);
}

.benefit-badge.benefit-free {
background: rgba(16, 185, 129, 0.08);
color: #047857;
border-left-color: var(--accent-green);
}

.benefit-item {
padding: 16px;
border-radius: 0; /* Retangular */
background: var(--neutral-light);
margin-bottom: 12px;
border-left: 4px solid var(--accent-blue);
border-top: 1px solid rgba(0,0,0,0.02);
border-right: 1px solid rgba(0,0,0,0.02);
border-bottom: 1px solid rgba(0,0,0,0.02);
transition: var(--transition-smooth);
}

.benefit-item.free {
border-left-color: var(--accent-green);
}

.benefit-item h4 {
font-size: 1.05rem;
font-weight: 700;
margin: 0;
color: var(--neutral-dark);
}

/* Passo a Passo */
.step-image-clean-container {
position: relative;
border-radius: 0; /* Retangular */
overflow: hidden;
cursor: zoom-in;
}

.step-image-clean {
width: 100%;
height: auto;
max-height: 400px;
object-fit: cover;
border-radius: 0; /* Retangular */
display: block;
}

.step-number-pill {
position: absolute;
top: 20px;
left: 20px;
background: var(--primary-green); /* Verde principal em vez de verde claro */
color: white;
font-weight: 700;
font-size: 0.8rem;
padding: 6px 14px;
border-radius: 0; /* Retangular */
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
z-index: 5;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.step-title-bold {
font-weight: 800;
font-size: 1.7rem;
letter-spacing: -0.5px;
}

.step-text-desc {
font-size: 1.05rem;
line-height: 1.6;
}

.row-middle-mockups {
background: rgba(226, 232, 240, 0.25);
border-radius: 0; /* Retangular */
padding: 2.5rem 1.5rem;
margin: 2rem 0;
border: 1px solid rgba(11, 79, 53, 0.1);
}

/* Mockups - Versão Arredondada Original com Altura Dinâmica */
.phone-mockup {
width: 100%;
max-width: 320px;
background: #0f172a;
border: 8px solid #1e293b; /* Borda arredondada original */
border-radius: 36px; /* Cantos arredondados originais */
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
position: relative;
overflow: hidden;
margin: 0 auto;
cursor: zoom-in;
align-self: center; /* Alinha os mockups verticalmente ao centro para equilibrar o espaço visual */
}

.phone-mockup::before {
content: '';
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 85px;
height: 14px; /* Notch original */
background: #1e293b;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
z-index: 10;
}

.phone-screen {
width: 100%;
height: auto; /* Altura automática baseada no conteúdo */
background: #f8fafc;
position: relative;
overflow: hidden;
display: block;
border-radius: 28px;
}

.phone-screen img {
width: 100%;
height: auto; /* Proporção original */
display: block;
}

/* Tamanho reduzido para os mockups do passo 2 */
.phone-mockup-small {
max-width: 275px;
}

/* Corte para disfarçar a barra preta de navegação da imagem 2 */
.phone-mockup-crop-bottom .phone-screen img {
margin-bottom: -18px; /* Oculta a barra preta inferior */
}

/* Document Mockup - Moldura de Folha de Papel / PDF */
.document-mockup {
width: 100%;
max-width: 320px;
background: #ffffff;
border: 1px solid #d1d5db; /* Borda fina de papel */
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Sombra de documento */
position: relative;
overflow: hidden;
margin: 0 auto;
cursor: zoom-in;
align-self: center; /* Mantém o mesmo equilíbrio de alinhamento vertical */
padding: 8px; /* Margem física da folha de papel */
}

.document-screen {
width: 100%;
height: auto;
background: #ffffff;
position: relative;
overflow: hidden;
display: block;
border: 1px solid #e2e8f0; /* Borda leve do documento interno */
}

.document-screen img {
width: 100%;
height: auto;
display: block;
}

.phone-screen .step-number {
position: absolute;
top: 15px;
right: 12px;
width: 24px;
height: 24px;
background: var(--primary-green);
color: white;
font-weight: 800;
border-radius: 50%; /* Numero em circulo para seguir o mockup arredondado */
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 4px rgba(0,0,0,0.15);
font-size: 0.75rem;
z-index: 5;
}

.step-col-center {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}

.step-desc-short h3 {
font-size: 1.05rem;
font-weight: 700;
margin-bottom: 4px;
color: var(--primary-green);
}

/* Responsividade */
@media (max-width: 991.98px) {
.row-middle-mockups {
padding: 2rem 1rem;
}
.row-middle-mockups .row {
flex-wrap: nowrap;
overflow-x: auto;
justify-content: flex-start !important;
padding-bottom: 1.5rem;
-webkit-overflow-scrolling: touch;
scroll-snap-type: x mandatory;
}
.row-middle-mockups .step-col-center {
flex: 0 0 260px;
scroll-snap-align: center;
}
.row-middle-mockups .row::-webkit-scrollbar {
height: 6px;
}
.row-middle-mockups .row::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.04);
border-radius: 0;
}
.row-middle-mockups .row::-webkit-scrollbar-thumb {
background: rgba(11, 79, 53, 0.2);
border-radius: 0;
}
}

/* Observacoes */
.alert-premium {
background: transparent;
border: none;
box-shadow: none;
padding: 0.5rem 0;
}

.alert-premium h3 {
font-weight: 700;
color: var(--primary-green);
font-size: 1.3rem;
margin-bottom: 1rem;
display: flex;
align-items: center;
gap: 10px;
}

.obs-list {
list-style: none;
padding: 0;
margin: 0;
}

.obs-list li {
position: relative;
padding-left: 28px;
margin-bottom: 12px;
font-size: 0.95rem;
color: #475569;
}

.obs-list li::before {
content: '✓';
position: absolute;
left: 0;
top: 2px;
width: 18px;
height: 18px;
background: rgba(11, 79, 53, 0.1);
color: var(--primary-green);
font-weight: 800;
font-size: 0.75rem;
border-radius: 0; /* Quadrado */
display: flex;
align-items: center;
justify-content: center;
}

/* Rodape (Mantido para compatibilidade) */
.modern-footer {
background: #072a1c;
color: white;
border-top-left-radius: 0;
border-top-right-radius: 0;
padding: 4rem 0;
margin-top: 5rem;
}

.footer-logo {
font-weight: 800;
font-size: 1.8rem;
letter-spacing: -1px;
}

.footer-logo span {
color: var(--accent-green);
}

/* Toasts */
.toast-container-custom {
position: fixed;
bottom: 24px;
right: 24px;
z-index: 1050;
}

.custom-toast {
background: var(--primary-green);
color: white;
border-radius: 0; /* Retangular */
padding: 12px 20px;
box-shadow: 0 6px 18px rgba(0,0,0,0.15);
display: flex;
align-items: center;
gap: 12px;
transform: translateY(100px);
opacity: 0;
transition: var(--transition-smooth);
border-left: 4px solid var(--accent-green);
}

.custom-toast.show {
transform: translateY(0);
opacity: 1;
}

/* Lightbox */
.lightbox-modal .modal-content {
background: transparent;
border: none;
}
.lightbox-img-wrapper {
position: relative;
display: inline-block;
max-width: 100%;
}
.lightbox-img {
max-height: 85vh;
width: auto;
max-width: 100%;
border-radius: 0; /* Retangular */
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
border: none;
}
.lightbox-close-btn {
position: absolute;
top: -20px;
right: -20px;
background: #ffffff;
color: #000000;
border-radius: 0; /* Retangular */
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
cursor: pointer;
border: none;
transition: var(--transition-smooth);
z-index: 1100;
}
.lightbox-close-btn:hover {
transform: scale(1.1) rotate(90deg);
}

/*Bootsrap overide - Apenas em desktop para manter o mobile compacto*/
@media (min-width: 768px) {
    .row>* {
        padding-right: calc(var(--bs-gutter-x) * 1.5);
        padding-left: calc(var(--bs-gutter-x) * 1.5);
    }
    
    .g-5, .gx-5 {
        --bs-gutter-x: 2rem;
    }
}