/* PROJETO #003 - SUCULENTAS (HIGH PERFORMANCE) 
   ESTRUTURA CONSOLIDADA: HEADLINE + BOTÃO + FOOTER
*/

/* 1. RESET E ESTRUTURA GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
    width: 100%;
}

/* 2. CLASSES DE UTILIDADE */
.colado {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0; /* Remove espaços fantasmas entre imagens */
}

.colado img {
    display: block;
    width: 100%;
    max-width: 480px; /* Largura máxima otimizada para Mobile */
    height: auto;
    margin: 0 auto;
}

/* 3. HEADLINE COMPACTA (PRIMEIRA DOBRA) */
.headline-area {
    padding: 10px 5px;
    text-align: center;
    background-color: #ffffff;
}

.promo-tag {
    display: inline-block;
    background-color: #e8f5e9;
    color: #2e7d32;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.main-title {
    color: #1a1a1a;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 4px 0;
    text-transform: uppercase;
}

.main-title span {
    color: #28a745; /* Verde Suculenta */
    display: block;
    margin-top: 2px;
}

.sub-title {
    color: #4a4a4a;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.price-highlight {
    color: #d32f2f; /* Vermelho para destaque GRÁTIS */
    font-size: 18px;
    font-weight: 900;
}

.shipping-info {
    font-size: 13px;
    color: #757575;
    font-style: italic;
    display: block;
    margin-top: 2px;
}

/* 4. CONTAINER DE VENDAS E BOTÃO PULSANTE */
.container-vendas {
    text-align: center;
    padding: 20px;
    background-color: #fff;
}

.alerta-estoque {
    color: #d32f2f;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    display: block;
    animation: piscar 1s infinite;
}

.btn-checkout {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #2df35d 0%, #1e9a74 100%);
    border: 2px solid #2df35d;
    border-radius: 50px;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 15px 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: pulsar 1.5s infinite;
    transition: transform 0.2s ease;
    cursor: pointer;
    width: 90%;
    max-width: 400px;
}

.btn-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.btn-subtitle {
    font-size: 16px;
    font-weight: bold;
    margin-top: 5px;
}

/* 5. CRONÔMETRO INTERNO DO BOTÃO */
.timer-box {
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 15px;
    border-radius: 20px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cronometro-label {
    color: #fff;
    font-family: monospace;
    font-size: 16px;
}

/* 6. RODAPÉ (CONFORME IMAGEM DE REFERÊNCIA) */
footer {
    padding: 40px 20px;
    text-align: center;
    font-size: 12px;
    color: #999;
    background: #f9f9f9;
    border-top: 1px solid #eee;
    margin-top: 30px;
}

footer a {
    color: #666;
    text-decoration: underline;
    margin: 0 8px;
}

/* 7. ANIMAÇÕES (GATILHOS DE ATENÇÃO) */
@keyframes pulsar {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(45, 243, 93, 0.7); }
    70% { transform: scale(1.03); box-shadow: 0 0 0 10px rgba(45, 243, 93, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(45, 243, 93, 0); }
}

@keyframes piscar {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* 8. AJUSTES PARA TELAS PEQUENAS (IPHONE SE / ANDROID ANTIGO) */
@media (max-width: 360px) {
    .main-title { font-size: 19px; }
    .sub-title { font-size: 14px; }
    .btn-title { font-size: 26px; }
    .btn-checkout { padding: 12px 30px; }
}