/*
 * Custom stylesheet for the Grana pra Crescer landing page.
 *
 * This file defines a vibrant yet professional look, inspired by the
 * design elements of O Porquinho Gordo, but adapted to the Grana pra
 * Crescer brand. It utilises CSS variables for easy colour management
 * and responsive layouts to ensure a great experience on both desktop
 * and mobile devices.
 */

/* Colour palette definitions */
:root {
    --green: #0aa867;         /* primary brand colour */
    --orange: #ff8a00;        /* accent colour used for highlights */
    --dark: #2d236f;          /* dark ink for headings */
    --light: #ffffff;         /* neutral background */
    --gray: #f9f9f9;          /* light section background */
    --text-muted: #555555;    /* softer body text */
}

/* Global resets and typography */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

h1, h2, h3 {
    font-weight: 700;
    margin-top: 0;
}

p {
    margin-top: 0;
    margin-bottom: 1em;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
header {
    background: var(--light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 600;
}

.nav-links a {
    position: relative;
    padding-bottom: 6px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--orange);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-header {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Generic button styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.btn:hover {
    filter: brightness(1.05);
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--orange);
    color: #fff;
}

.btn-secondary {
    background: var(--green);
    color: #fff;
}

.btn-outline {
    border: 2px solid var(--green);
    background: transparent;
    color: var(--green);
}

.btn-outline:hover {
    background: rgba(10, 168, 103, 0.08);
}

/* Hero section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff7ef 0%, #fff5e8 100%);
}

/* Hero layout */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
    gap: 48px;
}

.hero-left .tagline {
    font-size: 14px;
    color: var(--orange);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.hero-left h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-left h1 .highlight {
    color: var(--green);
}

.hero-left p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* List of benefits under the hero heading */
.hero-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-benefits li {
    position: relative;
    padding-left: 24px;
    font-size: 16px;
    color: var(--text-muted);
}

.hero-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
}

/* Hero form styling */
.hero-right {
    background: #fff;
    border-radius: 18px;
    padding: 32px 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.hero-right .form-title {
    margin: 0 0 8px;
    font-size: 24px;
    color: var(--dark);
}

.hero-right .form-description {
    margin: 0 0 20px;
    font-size: 16px;
    color: var(--text-muted);
}

.signup-form input {
    width: 100%;
    padding: 14px;
    margin-bottom: 12px;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    font-size: 16px;
}

.signup-form input::placeholder {
    color: #999;
}

.signup-form button.btn-block {
    width: 100%;
    margin-top: 8px;
}

/* Features section */
.features {
    padding: 80px 0;
    background: var(--light);
}

.features h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 48px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 32px 24px;
    border-radius: 20px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

/* Icons inside feature cards */
.feature-card .feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: block;
}

.card-green {
    background: linear-gradient(180deg, #eafff3 0%, #f6fffb 100%);
    border: 1px solid rgba(10, 168, 103, 0.25);
}

.card-orange {
    background: linear-gradient(180deg, #fff1de 0%, #fff6ea 100%);
    border: 1px solid rgba(255, 138, 0, 0.25);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-card p {
    font-size: 16px;
    margin: 0;
    color: var(--text-muted);
}

/* About section */
.about {
    padding: 80px 0;
    background: var(--gray);
}

.about h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 24px;
}

.about p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    text-align: center;
    color: var(--text-muted);
}

/* Video section */
.video {
    padding: 80px 0;
    background: var(--light);
}
.video h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 24px;
    color: var(--dark);
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Testimonials section */
.testimonials {
    padding: 80px 0;
    background: var(--gray);
}
.testimonials h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark);
}
.testimonial-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.testimonial {
    border-left: 4px solid var(--green);
    background: #fff;
    padding: 20px 24px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    font-style: italic;
}
.testimonial .author {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-weight: 600;
    color: var(--dark);
}

/* Final call‑to‑action section */
.cta-final {
    padding: 80px 0;
    background: linear-gradient(135deg, #eafff3 0%, #fff6ea 100%);
    text-align: center;
}
.cta-final-content h2 {
    margin-bottom: 20px;
    font-size: 36px;
    color: var(--dark);
}
.btn-lg {
    padding: 14px 30px;
    font-size: 18px;
    border-radius: 14px;
}

/* Footer */
footer {
    background: var(--dark);
    color: #fff;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-content img {
    height: 45px;
    width: auto;
}

.footer-content p {
    margin: 0;
    font-size: 14px;
    color: #eae8f4;
}

.whatsapp-btn {
    display: inline-block;
    background: #fff;
    color: var(--dark);
    padding: 12px 20px;
    border-radius: 24px;
    font-weight: 700;
    transition: background 0.2s ease;
}

.whatsapp-btn:hover {
    background: #f2f2f2;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-right {
        margin-top: 32px;
    }
    .header-content {
        flex-wrap: wrap;
        gap: 16px;
    }
    .nav-links {
        gap: 16px;
        font-size: 14px;
    }
    .hero-left h1 {
        font-size: 36px;
    }
}