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

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #0d6efd; /* Azul Bootstrap */
    --secondary-color: #212529; /* Cinza Escuro */
    --accent-color: #ffc107; /* Dourado */
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #4a4a4a;
    background-color: #fff;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--secondary-color);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 80vh;
    background: url('../images/cover-home.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4.5rem;
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-content .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* --- Section Styling --- */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* --- Pricing Section --- */
.pricing-toggle {
    margin-bottom: 3rem;
}

.plan-card {
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.plan-card.popular {
    border-color: var(--accent-color);
    border-width: 2px;
    position: relative;
    overflow: hidden;
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 0.5rem 2rem;
    font-weight: 700;
    transform: rotate(45deg) translate(25%, -50%);
    transform-origin: top left;
    width: 150px;
    text-align: center;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.plan-price {
    font-size: 3.5rem;
    line-height: 1rem;
    font-weight: 700;
    margin-top: 1em;
    color: var(--secondary-color);
}

.plan-price .period {
    font-size: 1rem;
    font-weight: 400;
    color: #6c757d;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.plan-features .bi {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

/* --- Search Section --- */
.search-section {
    background-color: var(--secondary-color);
    color: white;
}

.search-section h2 {
    color: white;
}

.search-form .form-control {
    border-radius: 50px;
    padding: 1rem 1.5rem;
    border: none;
}

.search-form .btn {
    border-radius: 50px;
    padding: 1rem 2.5rem;
}

/* --- Feature Section --- */
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    font-size: 2rem;
    background-color: var(--primary-color);
    color: white;
    margin-bottom: 1.5rem;
}

/* --- Footer --- */
.footer {
    background-color: var(--secondary-color);
    color: #adb5bd;
    padding: 40px 0;
}

.footer a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
}
