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

.hero {
    background: linear-gradient(135deg, #ffffff 0%, var(--grape-light) 100%);
    color: #222;
    padding: 120px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

    /* === EFEITO QUADRICULADO SOFT === */
    background-image:
        linear-gradient(rgba(103, 58, 183, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103, 58, 183, 0.06) 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.15);
    overflow: hidden;
    max-width: 380px;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
}

.chat-mock-header {
    background: var(--grape);
    color: white;
    padding: 18px 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "Odibee Sans", sans-serif;
    font-size: 1.6rem;
    letter-spacing: 1px;
}

.chat-mock-body {
    height: 420px;
    padding: 20px;
    background-color: #fff;
    background-image: url('/assets/img/bg-individual.png?v=0.02');
    background-size: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    line-height: 1.45;
    font-size: 0.95rem;
}

.message.bot {
    align-self: flex-start;
    background: var(--grape-light);
    color: #333;
    border: none;
    border-radius: 4px 15px 15px 15px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.message.user {
    align-self: flex-end;
    background: var(--orange);
    color: white;
    border-radius: 15px 4px 15px 15px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.chat-mock-input {
    background: #f8fafc;
    padding: 14px;
    text-align: left;
    color: #94a3b8;
    border-top: 1px solid #f1f5f9;
    font-size: 0.9rem;
    border-radius: 30px;
    margin: 15px;
    border: 1px solid #e2e8f0;
}

/* 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(--grape);
    color: white;
    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(103, 58, 183, 0.35);
}

.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: var(--grape);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.home-links-area a:hover {
    color: var(--orange);
    text-decoration: underline;
}