/* public/assets/css/home.css */

.hero {
    background: var(--light-silver); /* Cinza/Verde base */
    color: #222;
    padding: 120px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    
    /* === EFEITO QUADRICULADO === */
    background-image:
        linear-gradient(#0000001a 1px, transparent 1px),
        linear-gradient(90deg, #0000001a 1px, transparent 1px);
    background-size: 45px 45px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.1rem;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 700;
    color: #222;
}

.subtitle {
    font-size: 1.35rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 40px;
    opacity: 0.95;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 12px;
}

/* Mock do Chat */
.chat-mock {
    background: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    max-width: 380px;
    margin: 0 auto;
    border: 1px solid #ddd;
}

.chat-mock-header {
    background: var(--dark-silver);
    color: white;
    padding: 16px 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-mock-body {
    height: 420px;
    padding: 20px;
    background: var(--gold);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
    
    /* === EFEITO QUADRICULADO === */
    background-image:
        linear-gradient(#0000001a 1px, transparent 1px),
        linear-gradient(90deg, #0000001a 1px, transparent 1px);
    background-size: 45px 45px;
}

.message {
    max-width: 85%;
    padding: 13px 17px;
    border-radius: 20px;
    line-height: 1.45;
    font-size: 1.02rem;
}

.message.bot {
    align-self: flex-start;
    background: white;
    border: 1px solid #eee;
    border-radius: 20px 20px 20px 4px;
}

.message.user {
    align-self: flex-end;
    background: var(--blue);
    color: white;
    border-radius: 20px 20px 4px 20px;
}

.chat-mock-input {
    background: white;
    padding: 18px;
    text-align: center;
    color: #888;
    font-style: italic;
    border-top: 1px solid #eee;
    font-size: 0.95rem;
}

/* Seções */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 70px;
    color: var(--gray-300);
}

.steps, .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.step, .feature {
    text-align: center;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--gold);
    color: #222;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 4px 15px rgba(255, 204, 68, 0.3);
}

.icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
}

/* Responsivo */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.6rem;
    }
    
    .chat-mock {
        max-width: 340px;
    }
}

a.whatsapp-float, 
div.whatsapp-float {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    border-radius: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

a.whatsapp-float svg, 
a.whatsapp-float img,
div.whatsapp-float svg,
div.whatsapp-float img {
    width: 35px !important;
    height: 35px !important;
    max-width: 35px !important;
    max-height: 35px !important;
    min-width: 35px !important;
    min-height: 35px !important;
    display: block !important;
}

/* Área de links institucionais no final da página (sem usar a tag footer) */
.home-links-area {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #eaeaea;
    width: 100%;
    box-sizing: border-box;
    margin-top: 50px;
}

.home-links-area a {
    color: #10495c;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.home-links-area a:hover {
    color: #00a884;
    text-decoration: underline;
}