/*
Theme Name: Honda Semana da Segurança
Author: UP VISION
Description: Tema WordPress customizado e responsivo baseado na identidade visual da campanha Semana da Segurança Honda.
Version: 1.3.0
Text Domain: honda-seguranca
*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #e6f3dc url('assets/images/bg-waves.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.site-wrapper {
    width: 100%;
    max-width: 1080px; 
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
    position: relative;
    margin: 0 auto; 
}

/* Top Navigation Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid #eceff1;
    background: #ffffff;
}

.top-bar .brand-logo {
    height: 18px;
    width: auto;
}

.top-bar .top-nav a {
    font-size: 12px;
    font-weight: 700;
    color: #006633;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Main Content Banner */
.main-hero {
    padding: 40px 40px 20px 40px;
    text-align: center;
}

.hero-banner-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Divider Line */
.divider {
    height: 2px;
    background-color: #cbdcb6;
    margin: 15px 40px 40px 40px;
}

/* Icons Grid Row */
.icons-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 80px;
    margin-bottom: 60px;
    gap: 15px;
}

.icon-item {
    flex: 1;
    max-width: 75px;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Campaign Slogan Styling */
.campaign-slogan {
    padding: 0 60px;
    text-align: center;
    margin-bottom: 80px;
}

.campaign-slogan h1 {
    color: #73a839;
    font-size: 38px;
    font-weight: 700;
    font-style: italic;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* Ajuste para a nova imagem de 50 anos dentro do H1 */
.campaign-slogan h1 img {
    max-width: 100%;
    width: 450px; 
    height: auto;
    display: block;
    margin: 0 auto;
}

.campaign-slogan .sub-text {
    display: block;
    color: #006633;
    font-weight: 700;
    font-size: 30px;
    font-style: normal;
    margin-top: 6px;
    letter-spacing: -0.5px;
}

.content-spacer {
    flex-grow: 1;
}

/* Footer Logos Bar - Forçado com Máxima Especificidade */
body .site-wrapper footer.site-footer {
    border-top: 1px solid #f0f4f1 !important;
    padding: 30px 40px !important;
    background: #ffffff !important;
    width: 100% !important;
    display: block !important;
}

body .site-wrapper footer.site-footer .footer-logos {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

body .site-wrapper footer.site-footer .footer-logos img.footer-logo-combined {
    width: 240px !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}

/* =========================================
   MENU SUPERIOR (TOP NAV)
   ========================================= */
.top-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link-inicio {
    font-size: 12px;
    font-weight: 700;
    color: #006633;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: color 0.3s ease;
}

.nav-link-inicio:hover {
    color: #73a839;
}

/* Botão de Inscrição no Topo - Branco absoluto sempre */
.btn-nav-inscrever {
    display: inline-block;
    background-color: #006633;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-nav-inscrever:hover,
.btn-nav-inscrever:active,
.btn-nav-inscrever:focus {
    background-color: #73a839;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(115, 168, 57, 0.3);
}

/* Esconde o código antigo do .top-nav a que estava no CSS antigo */
.top-bar .top-nav a {
    display: none; 
}
.top-nav a.nav-link-inicio, .top-nav a.btn-nav-inscrever {
    display: inline-block;
}

/* =========================================
   ESTILOS: PÁGINA DE FORMULÁRIO E OBRIGADO
   ========================================= */

.form-section, .thank-you-section {
    padding: 60px 40px;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

/* Card do Formulário */
.form-wrapper {
    background-color: #f8fafc;
    width: 100%;
    max-width: 760px;
    padding: 40px;
    border-radius: 8px;
    border-top: 5px solid #73a839;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

/* Card de Sucesso (Obrigado) */
.success-card {
    background-color: #f8fafc;
    width: 100%;
    max-width: 680px;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border-top: 5px solid #006633;
    text-align: center;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.success-icon-wrap {
    width: 64px;
    height: 64px;
    background-color: #e6f3dc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-icon {
    color: #006633;
    font-size: 2rem;
    font-weight: bold;
}

.next-steps-box {
    background-color: #ffffff;
    border: 1px solid #cbdcb6;
    padding: 20px;
    text-align: left;
    margin-bottom: 30px;
    border-radius: 6px;
}

/* Botão Verde Principal (Usado na página de Obrigado) */
.btn-green-primary {
    display: inline-block;
    background-color: #006633;
    color: #ffffff;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-green-primary:hover {
    background-color: #73a839;
    color: #ffffff;
    transform: translateY(-2px);
}

/* =========================================
   BOTÃO DA PÁGINA PRINCIPAL (HOME CTA) - ESTILO 1
   ========================================= */
.home-cta-container {
    margin-top: 40px; 
    text-align: center;
}

.btn-home-action {
    display: inline-block;
    background-color: #006633; 
    color: #ffffff;
    padding: 18px 50px;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px; 
}

.btn-home-action:hover {
    background-color: #73a839; 
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(115, 168, 57, 0.4);
}

/* =========================================
   TEXTO DE PERÍODO DE INSCRIÇÃO
   ========================================= */
.submission-period {
    margin-top: 15px;
    font-size: 19px; /* Aumentado para maior destaque */
    color: #004d26; /* Verde super escuro */
    font-weight: 800; /* Negrito mais forte */
    text-align: center;
    letter-spacing: 0.5px;
}

/* =========================================
   ESTILOS CUSTOMIZADOS FORMINATOR (BOTÕES)
   ========================================= */

.forminator-custom-wrapper .forminator-button-submit,
.forminator-custom-wrapper .forminator-button-upload {
    display: inline-block !important;
    background-color: #006633 !important; 
    color: #ffffff !important;
    padding: 10px 30px !important; 
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border-radius: 4px !important;
    border: none !important; 
    cursor: pointer !important;
}

.forminator-custom-wrapper .forminator-button-submit:hover,
.forminator-custom-wrapper .forminator-button-upload:hover,
.forminator-custom-wrapper .forminator-button-submit:focus,
.forminator-custom-wrapper .forminator-button-upload:focus {
    background-color: #73a839 !important; 
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(115, 168, 57, 0.4) !important;
}

.forminator-custom-wrapper .forminator-field-file .forminator-button-upload {
    padding: 8px 20px !important; 
    font-size: 0.95rem !important;
    transform: none !important; 
}

/* =========================================
   CENTRALIZAR BOTÕES EM CASCATA (EMPILHADOS)
   ========================================= */

.forminator-custom-wrapper .forminator-field-file {
    text-align: center !important;
    margin-top: 10px !important;
    display: block !important;
}

.forminator-custom-wrapper .forminator-row-last,
.forminator-custom-wrapper .forminator-row-last .forminator-col,
.forminator-custom-wrapper .forminator-row-last .forminator-col .forminator-field {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    margin-top: 10px !important;
}

.forminator-custom-wrapper .forminator-row-last button.forminator-button-submit {
    margin: 0 auto !important;
    display: table !important; 
}

/* =========================================
   ESTILOS ADICIONADOS NA HOME (APÓS SLOGAN)
   ========================================= */

.homepage-message-section {
    padding: 20px 40px 60px 40px; 
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.homepage-icon-wrapper {
    margin-bottom: 30px; 
    display: flex;
    justify-content: center;
    width: 100%; 
}

.message-icon {
    width: 100%; 
    max-width: 600px; 
    height: auto;
    display: block;
}

.homepage-message-card {
    background-color: #f8fafc;
    width: 100%;
    max-width: 760px;
    padding: 40px;
    border-radius: 8px;
    border-top: 5px solid #73a839;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    text-align: center;
}

.homepage-message-card p {
    color: #006633;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.7;
}

.message-highlight {
    color: #004d26;
    font-weight: 900;
    font-size: 24px;
    background: linear-gradient(180deg, transparent 60%, #cbdcb6 60%);
    display: inline;
    padding: 0 2px;
}

@media (max-width: 768px) {
    .homepage-message-card p { font-size: 16px; }
    .message-highlight { font-size: 18px; }
}

.site-wrapper > .content-spacer {
    flex-grow: 0;
    height: 30px; 
    margin: 0;
}


/* =========================================
   RESPONSIVO GERAL (TELEMÓVEIS)
   ========================================= */
@media (max-width: 768px) {
    .site-wrapper {
        box-shadow: none;
    }
    .top-bar, .main-hero, .divider, .icons-container, .campaign-slogan, body .site-wrapper footer.site-footer {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .campaign-slogan h1 {
        font-size: 28px;
    }
    
    .campaign-slogan h1 img {
        width: 100%;
        max-width: 280px; 
    }

    .campaign-slogan .sub-text {
        font-size: 22px;
    }
    
    .icons-container {
        padding: 0 15px !important;
        gap: 5px;
        justify-content: space-between;
    }
    .icon-item {
        max-width: 18%; 
    }
    
    body .site-wrapper footer.site-footer .footer-logos img.footer-logo-combined {
        width: 180px !important;
    }
    
    .home-cta-container {
        margin-top: 30px;
        width: 100%;
    }
    
    .btn-home-action {
        display: block; 
        width: 100%;
        padding: 15px 20px;
        font-size: 1.1rem;
        text-align: center; 
    }

    .submission-period {
        font-size: 16px; /* Aumentado no celular também */
        margin-top: 15px;
    }
    
    .nav-link-inicio {
        display: none !important;
    }
    
    .form-section, .thank-you-section {
        padding: 30px 20px;
    }
    .form-wrapper, .success-card {
        padding: 30px 20px;
    }
    .btn-green-primary {
        width: 100%;
        text-align: center;
    }

    .homepage-message-section {
        padding: 10px 20px 40px 20px !important;
        width: 100%;
    }
    .homepage-message-card {
        padding: 30px 20px;
        width: 100%;
    }
    .homepage-message-card p {
        font-size: 16px;
    }
}
/* Option 1: Quote & Highlight adjustments */
.homepage-message-card .message-tag {
    display: inline-block;
    background-color: #e6f3dc; 
    color: #006633;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.homepage-message-card h3 {
    color: #73a839;
    font-size: 28px;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.2;
}

.homepage-message-card p {
    color: #006633;
    font-weight: 400; 
    font-size: 18px;
    line-height: 1.6;
}

.homepage-message-card p strong {
    font-weight: 700;
}