/* ===================================================
   PlantUP IA — Landing Page Styles
   =================================================== */

:root {
    --pia-bg:          #0b1b3d;
    --pia-bg-dark:     #060f22;
    --pia-card:        #162245;
    --pia-card-hover:  #1c2e58;
    --pia-yellow:      #f7c327;
    --pia-teal:        #4ecdc4;
    --pia-cyan:        #00bfdc;
    --pia-blue-mid:    #1b3a8a;
    --pia-metrics-from:#0a8fa0;
    --pia-metrics-to:  #0072aa;
    --pia-text:        #ffffff;
    --pia-text-muted:  #9eafc0;
    --pia-border:      rgba(255,255,255,0.08);
    --pia-header-h:    72px;
}

/* Reset */
.pia-body {
    margin: 0;
    font-family: 'Hanken Grotesk', sans-serif;
    background-color: var(--pia-bg);
    color: var(--pia-text);
    scroll-behavior: smooth;
}

/* Utility */
.text-yellow { color: var(--pia-yellow) !important; }
.text-teal   { color: var(--pia-teal)   !important; }

/* ===== HEADER ===== */
.pia-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(6, 15, 34, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--pia-border);
    height: var(--pia-header-h);
    display: flex;
    align-items: center;
}

.pia-nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 2rem;
    width: 100%;
}

.pia-logo-link { justify-self: start; }
.pia-logo      { height: 38px; width: auto; }

.pia-nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 3.5rem;
    justify-content: center;
    min-width: 0;
}

.pia-nav-links a {
    color: var(--pia-text-muted);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.2s;
    white-space: nowrap;
}

.pia-nav-links a:hover { color: var(--pia-text); }

.pia-nav-ctas {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-self: end;
}

/* ===== LANGUAGE SWITCHER ===== */
.pia-lang-switcher {
    display: flex;
    align-items: center;
}

.pia-lang-form {
    display: flex;
    margin: 0;
}

.pia-lang-btn {
    background: none;
    border: none;
    color: var(--pia-text-muted);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0.2rem 0.45rem;
    line-height: 1;
    transition: color 0.2s;
}

.pia-lang-btn:hover { color: var(--pia-text); }

.pia-lang-btn--active { color: var(--pia-yellow); }

.pia-lang-form + .pia-lang-form {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.pia-lang-mobile-item { display: none !important; }

/* Hamburger */
.pia-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

.pia-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--pia-text);
    transition: transform 0.2s, opacity 0.2s;
}

.pia-hamburger-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pia-hamburger-open span:nth-child(2) { opacity: 0; }
.pia-hamburger-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== BUTTONS ===== */
.pia-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
    cursor: pointer;
    white-space: nowrap;
    min-height: 44px;
    line-height: 1.4;
}

.pia-btn:hover  { opacity: 0.88; transform: translateY(-1px); }
.pia-btn:active { transform: translateY(0); }

.pia-btn-yellow {
    background-color: var(--pia-yellow);
    color: #0b1b3d;
    border: 2px solid var(--pia-yellow);
}

.pia-btn-dark {
    background-color: #1c2e58;
    color: var(--pia-text);
    border: 2px solid transparent;
}

.pia-btn-outline {
    background: transparent;
    color: var(--pia-text);
    border: 2px solid rgba(255,255,255,0.5);
}

.pia-btn-lg {
    padding: 0.85rem 2.5rem;
    font-size: 1rem;
    min-height: 52px;
}

/* ===== HERO ===== */
.pia-hero {
    background-color: var(--pia-bg);
    background-image:
        linear-gradient(to right, rgba(11,27,61,0.80) 40%, rgba(11,27,61,0.15) 100%),
        url('/img/plantup-ia/hero-bg.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    padding: 5rem 0 4rem;
    min-height: calc(100vh - var(--pia-header-h));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.pia-hero-text { position: relative; z-index: 1; }

.pia-hero h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.pia-hero-sub {
    font-size: 1.3rem;
    color: var(--pia-text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}

.pia-hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.pia-hero-media {
    position: relative;
    z-index: 1;
}

/* Video thumb */
.pia-video-link { display: block; text-decoration: none; }

.pia-video-thumb {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    aspect-ratio: 16/9;
}

.pia-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.pia-video-link:hover .pia-video-thumb img { transform: scale(1.03); }

.pia-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pia-play-btn svg {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
    transition: transform 0.2s;
}

.pia-video-link:hover .pia-play-btn svg { transform: scale(1.1); }

.pia-video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/9;
    background: var(--pia-card);
    border-radius: 16px;
    color: var(--pia-text-muted);
    font-size: 1.1rem;
}

/* ===== SECTION LABEL ===== */
.pia-section-label {
    display: block;
    color: var(--pia-cyan);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

/* ===== O QUE É ===== */
.pia-what-is {
    padding: 5rem 0 0;
    background-color: var(--pia-bg);
}

.pia-what-is h2 {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.pia-what-is-text {
    color: var(--pia-text-muted);
    max-width: 780px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    font-size: 1.2rem;
}

.pia-metrics {
    background: linear-gradient(90deg, var(--pia-metrics-from), var(--pia-metrics-to));
    padding: 2.5rem 0;
    margin-top: 2rem;
}

.pia-metric-value {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--pia-yellow);
    line-height: 1;
    margin-bottom: 0.6rem;
}

.pia-metric-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pia-text);
}

/* ===== COMO FUNCIONA ===== */
.pia-how {
    padding: 5rem 0 0;
    background-color: var(--pia-bg);
}

.pia-how h2 {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 700;
}

.pia-step-card {
    background-color: var(--pia-card);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    height: 100%;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    transition: background-color 0.2s;
    text-align: center;
}

.pia-step-card:hover { background-color: var(--pia-card-hover); }

.pia-step-full { text-align: center; }

.pia-step-num {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--pia-yellow);
    margin-bottom: 0.75rem;
}

.pia-step-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.pia-step-card p {
    font-size: 1.1rem;
    color: var(--pia-text-muted);
    margin: 0;
    line-height: 1.75;
}

.pia-free-banner {
    background-color: var(--pia-blue-mid);
    padding: 2rem 0;
    margin-top: 3rem;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 800;
    color: var(--pia-yellow);
    letter-spacing: 0.01em;
    text-align: center;
}

/* ===== BENEFÍCIOS ===== */
.pia-benefits {
    padding: 5rem 0;
    background-color: var(--pia-bg);
}

.pia-benefits h2 {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 700;
    max-width: 680px;
    margin: 0 auto;
}

.pia-benefit-card {
    background-color: var(--pia-card);
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
    transition: background-color 0.2s;
}

.pia-benefit-card:hover { background-color: var(--pia-card-hover); }

.pia-benefit-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.pia-benefit-card p {
    font-size: 1.05rem;
    color: var(--pia-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ===== CTA FINAL ===== */
.pia-cta-final {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1b3a8a 0%, #0f2460 100%);
}

.pia-cta-card {
    background-color: rgba(11, 27, 61, 0.6);
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid var(--pia-border);
}

.pia-cta-card h2 {
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.pia-cta-card p {
    color: var(--pia-text-muted);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOOTER ===== */
.pia-footer {
    background-color: var(--pia-bg-dark);
    padding: 3.5rem 0 0;
    border-top: 1px solid var(--pia-border);
}

.pia-footer-logo { height: 36px; width: auto; margin-bottom: 1rem; }

.pia-footer-tagline {
    font-size: 0.95rem;
    color: var(--pia-text-muted);
    line-height: 1.6;
    font-weight: 700;
}

.pia-footer-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--pia-text-muted);
    margin-bottom: 1rem;
}

.pia-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pia-footer-contact li,
.pia-footer-contact a {
    color: var(--pia-text-muted);
    font-size: 1rem;
    margin-bottom: 0.6rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pia-footer-contact a:hover { color: var(--pia-text); }

.pia-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pia-footer-links li { margin-bottom: 0.5rem; }

.pia-footer-links a {
    color: var(--pia-text-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s;
}

.pia-footer-links a:hover { color: var(--pia-text); }

.pia-footer-bottom {
    border-top: 1px solid var(--pia-border);
    text-align: center;
    padding: 1.25rem 0;
    margin-top: 2rem;
}

.pia-footer-bottom p {
    font-size: 0.9rem;
    color: var(--pia-text-muted);
    margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
    /* Header: hamburger mode */
    .pia-nav {
        display: flex;
        justify-content: space-between;
    }

    .pia-nav-links {
        display: none;
        position: absolute;
        top: var(--pia-header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: rgba(6, 15, 34, 0.98);
        padding: 1.5rem;
        gap: 1.25rem;
        border-bottom: 1px solid var(--pia-border);
        z-index: 999;
    }

    .pia-nav-links.pia-menu-open { display: flex; }

    .pia-nav-ctas { display: none; }

    .pia-hamburger { display: flex; }

    .pia-lang-mobile-item {
        display: flex !important;
        border-top: 1px solid var(--pia-border);
        padding-top: 1rem;
        margin-top: 0.25rem;
    }

    /* Hero */
    .pia-hero { padding: 3.5rem 0; min-height: auto; }
    .pia-hero-media { margin-top: 2.5rem; }
}

@media (max-width: 767px) {
    /* Hero */
    .pia-hero h1     { font-size: 1.8rem; }
    .pia-hero-ctas   { flex-direction: column; }
    .pia-hero-ctas .pia-btn { width: 100%; text-align: center; justify-content: center; }

    /* Steps */
    .pia-step-card,
    .pia-step-full { text-align: left; }

    /* Metrics */
    .pia-metric-value { font-size: 2rem; }
    .pia-metric-label { font-size: 0.9rem; }

    /* CTA card */
    .pia-cta-card { padding: 2rem 1.25rem; }

    /* Sections padding */
    .pia-what-is,
    .pia-how,
    .pia-benefits,
    .pia-cta-final { padding-top: 3.5rem; }
}

@media (max-width: 375px) {
    .pia-hero h1 { font-size: 1.5rem; }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .pia-nav { column-gap: 1.25rem; }
    .pia-nav-links { gap: 1.5rem; }
    .pia-nav-links a { font-size: 1rem; }
    .pia-nav-ctas { gap: 0.4rem; }
    .pia-nav-ctas .pia-btn { padding: 0.45rem 0.75rem; font-size: 0.8rem; min-height: 38px; }
}

@media (min-width: 1400px) {
    .pia-body .container { max-width: 1340px; }
    .pia-nav-links { gap: 5rem; }
}

@media (min-width: 1400px) and (max-width: 1599px) {
    .pia-nav { column-gap: 1.5rem; }
    .pia-nav-links { gap: 3.5rem; }
    .pia-nav-ctas { gap: 0.5rem; }
    .pia-nav-ctas .pia-btn { padding: 0.5rem 1rem; font-size: 0.85rem; min-height: 40px; }
}

@media (min-width: 1600px) {
    .pia-body .container { max-width: 1520px; }
}

@media (min-width: 1920px) {
    .pia-body .container { max-width: 1760px; }
    .pia-nav-links { gap: 6.5rem; }
}

@media (min-width: 2400px) {
    .pia-body .container { max-width: 2000px; }
}
