/* ===========================
   style.css – BR Cupom (Unificado)
   =========================== */

/* Reset básico e tipografia */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Link de pular conteúdo (acessibilidade) */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 10px;
    background: #f1f1f1;
    border: 1px solid #ccc;
}

/* ==================== HEADER (unificado) ==================== */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 20px;
    border-bottom: none; /* substitui a borda anterior */
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.site-logo img,
.custom-logo-link img {
    height: 40px;
    width: auto;
    display: block;
    max-width: 200px;
}

/* Navegação principal */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 24px;
    align-items: center;
}

.main-navigation a {
    font-weight: 500;
    font-size: 0.95rem;
    color: #555;
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: #e67e22;
    border-bottom-color: #e67e22;
}

/* ==================== CONTEÚDO PRINCIPAL ==================== */
main {
    padding: 40px 0;
}

.text-center {
    text-align: center;
}

/* Seção Hero (home) */
.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111;
}

.hero-section .subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 30px;
}

.hero-image {
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
}

/* Seções genéricas */
section {
    margin-bottom: 50px;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

p {
    margin-bottom: 15px;
}

/* Lista de categorias */
.category-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.category-list li {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: transform 0.2s ease;
}

.category-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.category-list a {
    text-decoration: none;
    color: #333;
    display: block;
}

.category-list strong {
    color: #111;
    display: block;
    margin-bottom: 8px;
}

/* Grid de passos (home) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.step {
    background-color: #f5f5f5;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #333;
}

/* Lista de confiança */
.trust-list {
    list-style: none;
    margin-top: 20px;
}

.trust-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.trust-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

/* ==================== PÁGINA COMO FUNCIONA ==================== */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.page-content h1 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #2c3e50;
}

.howto-step {
    margin-bottom: 40px;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.howto-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.howto-step h2 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 12px;
    border-bottom: none;
}

.howto-step p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.howto-step img {
    border-radius: 8px;
    margin-top: 10px;
    border: 1px solid #eee;
    max-width: 100%;
    height: auto;
    display: block;
}

.dicas-importantes {
    background-color: #fef9f4;
    border-left: 4px solid #e67e22;
    padding: 24px;
    border-radius: 0 10px 10px 0;
    margin-top: 20px;
}

.dicas-importantes h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #2c3e50;
}

.dicas-importantes ul {
    padding-left: 20px;
    list-style-type: none;
}

.dicas-importantes li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 8px;
    color: #555;
}

.dicas-importantes li::before {
    content: "•";
    color: #e67e22;
    font-weight: bold;
    position: absolute;
    left: -15px;
}

/* ==================== FOOTER (unificado) ==================== */
.site-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 40px 20px 20px;
    margin-top: 60px;
    text-align: left; /* anula o center anterior */
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
}

.footer-logo img {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
    display: block;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #bdc3c7;
    font-size: 0.9rem;
    line-height: 2;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #e67e22;
}

.footer-copyright {
    text-align: right;
    color: #95a5a6;
    font-size: 0.85rem;
    align-self: center;
}

/* Grid do Footer (para redes sociais – mantido da versão anterior) */
.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-col {
    flex: 1 1 250px;
    text-align: left;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.social-list a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.social-list a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ==================== RESPONSIVO ==================== */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        gap: 15px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .footer-copyright {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        flex-direction: column;
        text-align: center;
    }
    .footer-col {
        text-align: center;
    }
    .social-list {
        justify-content: center;
    }
}

/* ==================== PÁGINA DE PRODUTO ==================== */
.store-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.store-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.store-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.offer-badge {
    display: inline-block;
    background: #27ae60;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    width: fit-content;
}

.btn-buy {
    display: inline-block;
    background: #27ae60;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn-buy:hover {
    background: #219a52;
    animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Ajustes de espaçamento na descrição do produto */
.howto-step h2,
.howto-step h3,
.howto-step h4 {
    margin-top: 0.4em !important;
    margin-bottom: 0.2em !important;
    padding: 0 !important;
    border-bottom: none !important;
    line-height: 1.3;
}

.howto-step h2 + p,
.howto-step h3 + p,
.howto-step h4 + p {
    margin-top: 0.8em;
	margin-bottom: 0.8em;
}

.howto-step p {
    margin-top: 0.5em;
    margin-bottom: 1.5em;
}

.howto-step ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin-top: 1.5em;
    margin-bottom: 2.5em;
}

.howto-step li {
    margin-bottom: 0.3em;
}