/* ========================================
   OrderFoody — Landing SEO Otimizada
   Arquivo sugerido: public/css/landing.css
   ======================================== */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap");

:root {
    --azul-escuro: #002a5c;
    --azul-claro: #0072ae;
    --bg: #f5f7fb;
    --card: #ffffff;
    --texto: #0f172a;
    --muted: #64748b;
    --borda: rgba(2, 6, 23, 0.08);
    --accent-bg: #e8f4fc;
    --accent-fg: #002a5c;
    --success: #16a34a;
    --danger: #dc2626;
    --dark: #071527;
    --shadow-card: 0 18px 55px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 26px rgba(0, 42, 92, 0.18);
    --gradient-primary: linear-gradient(
        135deg,
        var(--azul-escuro),
        var(--azul-claro)
    );
    --gradient-hero: radial-gradient(
        circle at 15% 10%,
        #ffffff 0%,
        #eef3f7 35%,
        #e8eef4 100%
    );
    --radius: 16px;
    --radius-lg: 24px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        "Plus Jakarta Sans",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background: var(--bg);
    color: var(--texto);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--accent-bg);
    color: var(--accent-fg);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.55px;
    margin-bottom: 14px;
}

/* ---- Animations ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes pulseGlow {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 114, 174, 0.25);
    }
    50% {
        box-shadow: 0 0 20px 6px rgba(0, 114, 174, 0.15);
    }
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.7s ease forwards;
}
.animate-fade-in-right {
    opacity: 0;
    animation: fadeInRight 0.8s ease forwards;
}
.animate-scale-in {
    opacity: 0;
    animation: scaleIn 0.5s ease forwards;
}
.animate-float {
    animation: float 4s ease-in-out infinite;
}
.animate-pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}
.delay-4 {
    animation-delay: 0.4s;
}
.delay-5 {
    animation-delay: 0.5s;
}
.delay-6 {
    animation-delay: 0.6s;
}
.delay-7 {
    animation-delay: 0.7s;
}

/* ---- Header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--borda);
    background: rgba(245, 247, 251, 0.82);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand img {
    height: 36px;
    width: auto;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-desktop a,
.mobile-menu a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 800;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 10px;
    transition:
        background 0.2s,
        color 0.2s,
        transform 0.2s;
}

.nav-desktop a:hover,
.mobile-menu a:hover {
    background: var(--gradient-primary);
    color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    padding: 11px 18px;
    border-radius: 14px;
    font-weight: 900;
    font-size: 14px;
    transition:
        transform 0.15s,
        box-shadow 0.15s,
        opacity 0.15s,
        background 0.15s;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.btn-ghost {
    color: var(--azul-escuro) !important;
    background: var(--accent-bg) !important;
    border: 1px solid rgba(0, 114, 174, 0.2);
}

.btn-light {
    color: var(--azul-escuro);
    background: #fff;
}

.btn-outline-light {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
    color: var(--texto);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 16px 0;
    border-top: 1px solid var(--borda);
    background: var(--card);
}

.mobile-menu.active {
    display: flex;
}

/* ---- Hero ---- */
.hero {
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-inner {
    padding: 58px 0 46px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 44px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(31px, 4.6vw, 4rem);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -1.1px;
}

.hero-desc {
    margin-top: 18px;
    color: var(--muted);
    font-weight: 700;
    font-size: 17px;
    line-height: 1.68;
    max-width: 58ch;
}

.hero-ctas {
    margin-top: 26px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.pill {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    background: var(--accent-bg);
    color: var(--accent-fg);
    border: 1px solid rgba(0, 114, 174, 0.15);
}

.hero-img-wrap {
    position: relative;
}

.hero-img-wrap img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
}

.hero-glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--gradient-primary);
    filter: blur(55px);
    opacity: 0.2;
    border-radius: 50%;
    transform: scale(0.9);
}

/* ---- Niche strip ---- */
.niche-strip {
    padding: 28px 0;
    background: #fff;
    border-top: 1px solid var(--borda);
    border-bottom: 1px solid var(--borda);
}

.niche-strip-title {
    text-align: center;
    color: var(--muted);
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.55px;
    margin-bottom: 16px;
}

.niche-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.niche-row span {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--bg);
    border: 1px solid var(--borda);
    color: var(--texto);
    font-size: 13px;
    font-weight: 900;
}

/* ---- Section common ---- */
.section {
    padding: 72px 0;
}

.section-head {
    max-width: 760px;
}

.section-head h2,
.section h2,
.final-cta h2 {
    font-size: clamp(24px, 3.5vw, 2.45rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.65px;
}

.section .lead {
    margin-top: 10px;
    color: var(--muted);
    font-weight: 700;
    font-size: 17px;
    line-height: 1.65;
}

/* ---- Grids / Cards ---- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.card,
.plan-card,
.money-card,
.seo-content-card,
.niche-card {
    background: var(--card);
    border: 1px solid var(--borda);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-card);
    transition:
        transform 0.3s,
        box-shadow 0.3s,
        border-color 0.3s;
}

.card:hover,
.plan-card:hover,
.niche-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card .icon-box,
.contact-card .icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.icon-box.accent {
    background: var(--accent-bg);
}

.icon-box svg {
    width: 22px;
    height: 22px;
    color: var(--azul-claro);
    stroke: var(--azul-claro);
}

.card:hover .icon-box.accent {
    background: var(--gradient-primary);
}

.card:hover .icon-box.accent svg {
    color: #fff;
    stroke: #fff;
}

.card h3,
.money-card h3,
.niche-card strong,
.contact-card h3 {
    font-size: 17px;
    font-weight: 900;
    color: var(--texto);
}

.card p,
.niche-card p,
.contact-card p {
    margin-top: 8px;
    color: var(--muted);
    font-weight: 650;
    font-size: 14px;
    line-height: 1.6;
}

/* ---- Savings ---- */
.savings-section {
    background: var(--dark);
    color: #fff;
}

.savings-section .eyebrow {
    background: rgba(255, 255, 255, 0.08);
    color: #bfdbfe;
}

.savings-section h2 {
    color: #fff;
}

.savings-section .lead {
    color: rgba(255, 255, 255, 0.72);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 42px;
}

.money-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.money-card.good {
    background: rgba(22, 163, 74, 0.12);
    border-color: rgba(22, 163, 74, 0.35);
}

.money-label {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.money-card h3 {
    color: #fff;
}

.money-value {
    margin: 14px 0;
    font-size: clamp(38px, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
}

.money-card.bad .money-value {
    color: #fca5a5;
}

.money-card.good .money-value {
    color: #86efac;
}

.money-card p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.65;
}

.money-card p strong {
    color: #fff;
}

.savings-callout {
    margin-top: 24px;
    padding: 22px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.savings-callout strong {
    color: #fff;
}

/* ---- Steps ---- */
.how-section {
    background: #fff;
}

.step-card {
    position: relative;
    padding-top: 54px;
}

.step-number {
    position: absolute;
    top: 22px;
    left: 22px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--gradient-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

/* ---- Niches ---- */
.niches-section {
    background: var(--bg);
}

.niches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 38px;
}

.niche-card span {
    font-size: 34px;
    display: block;
    margin-bottom: 12px;
}

.niche-card strong {
    display: block;
}

/* ---- Pricing ---- */
.pricing-section {
    background: #fff;
}

.plan-card {
    display: flex;
    flex-direction: column;
    position: relative;
}

.plan-card.highlighted {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 22px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--azul-escuro);
    font-size: 11px;
    font-weight: 900;
    box-shadow: var(--shadow-card);
}

.plan-name {
    font-size: 19px;
    font-weight: 900;
}

.plan-price {
    margin-top: 12px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.plan-price b {
    font-size: 31px;
    font-weight: 900;
    line-height: 1;
}

.plan-period {
    font-size: 14px;
    font-weight: 800;
    color: var(--muted);
    margin-bottom: 3px;
}

.plan-desc {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 650;
    color: var(--muted);
    line-height: 1.6;
}

.plan-features {
    list-style: none;
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}

.plan-feature {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 14px;
    font-weight: 700;
}

.plan-feature svg {
    width: 17px;
    height: 17px;
    stroke: var(--azul-claro);
    flex-shrink: 0;
    margin-top: 2px;
}

.plan-feature span {
    color: var(--muted);
}

.plan-card.highlighted .plan-period,
.plan-card.highlighted .plan-desc,
.plan-card.highlighted .plan-feature span {
    color: rgba(255, 255, 255, 0.86);
}

.plan-card.highlighted .plan-feature svg {
    stroke: #fff;
}

.plan-actions {
    margin-top: 20px;
}

.plan-actions .btn {
    width: 100%;
}

.pricing-ctas {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pricing-note {
    margin-top: 16px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

/* ---- SEO content ---- */
.seo-content-section {
    background: var(--bg);
}

.seo-content-card {
    max-width: 920px;
}

.seo-content-card p {
    margin-top: 14px;
    color: var(--muted);
    font-weight: 650;
    line-height: 1.75;
}

/* ---- FAQ ---- */
.faq-section {
    background: #fff;
}

.faq-wrap {
    max-width: 760px;
    margin: 32px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--borda);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.3s;
}

.faq-item[open] {
    box-shadow: var(--shadow-hover);
}

.faq-item summary {
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 900;
    font-size: 15px;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 20px;
    font-weight: 800;
    color: var(--muted);
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px 16px;
    color: var(--muted);
    font-weight: 650;
    line-height: 1.65;
    font-size: 14px;
}

/* ---- Final CTA ---- */
.final-cta {
    background: var(--dark);
    color: #fff;
    text-align: center;
    padding: 86px 0;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(0, 114, 174, 0.32),
        transparent 58%
    );
    pointer-events: none;
}

.final-cta .container {
    position: relative;
}

.final-cta .eyebrow {
    background: rgba(255, 255, 255, 0.08);
    color: #bfdbfe;
}

.final-cta h2 {
    color: #fff;
    max-width: 780px;
    margin: 0 auto;
}

.final-cta p {
    max-width: 660px;
    margin: 16px auto 0;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
    font-size: 17px;
    line-height: 1.65;
}

.final-cta-buttons {
    justify-content: center;
}

/* ---- Contact ---- */
.contact-section {
    background: var(--bg);
}

.contact-card .btn,
.contact-link {
    margin-top: 14px;
}

.contact-link {
    display: inline-block;
    color: var(--azul-claro);
    text-decoration: none;
    font-weight: 900;
}

.contact-link:hover {
    text-decoration: underline;
}

/* ---- Footer ---- */
.site-footer {
    padding: 38px 0 24px;
    background: #06111f;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 28px;
}

.site-footer strong {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 10px;
}

.site-footer p {
    margin-top: 6px;
    font-weight: 650;
    line-height: 1.65;
}

.site-footer a {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-weight: 700;
    margin-top: 8px;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-weight: 700;
}

/* ---- Intersection Observer reveal ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
    .nav-desktop {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-grid,
    .comparison-grid,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero-img-wrap {
        order: -1;
    }

    .grid-3,
    .niches-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .savings-callout {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 32px, 1120px);
    }

    .hero-inner {
        padding: 38px 0 34px;
    }

    .section {
        padding: 56px 0;
    }

    .hero h1 {
        font-size: clamp(30px, 10vw, 42px);
    }

    .hero-desc,
    .section .lead,
    .final-cta p {
        font-size: 15px;
    }

    .btn {
        width: 100%;
    }

    .hero-ctas,
    .pricing-ctas {
        width: 100%;
    }

    .money-value {
        font-size: 46px;
    }

    .niche-row {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .niche-row span {
        flex: 0 0 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   AJUSTE HERO + MOBILE LANDING
   Cole no final de: public/css/landing_seo_orderfoody.css
   ========================================================= */

.hero-grid {
    align-items: center;
}

.hero-img-wrap {
    align-self: center;
}

.hero-img-wrap .animate-float {
    width: 100%;
}

.hero-img-wrap img {
    width: 100%;
    height: auto !important;
    max-height: 540px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center center;
}

/* Remove o “flutuar” no mobile para não bagunçar altura */
@media (max-width: 980px) {
    .animate-float {
        animation: none !important;
        transform: none !important;
    }

    .hero-img-wrap {
        order: 0;
        margin-top: 28px;
    }

    .hero-img-wrap img {
        max-height: none;
        aspect-ratio: 16 / 10;
        object-fit: cover;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .site-header {
        background: rgba(245, 247, 251, 0.96);
    }

    .header-inner {
        padding: 10px 0;
    }

    .brand img {
        height: 42px;
    }

    .hero-inner {
        padding: 34px 0 42px;
    }

    .hero-grid {
        gap: 22px;
    }

    .eyebrow {
        font-size: 10px;
        padding: 7px 10px;
        margin-bottom: 12px;
    }

    .hero h1 {
        font-size: 38px;
        line-height: 1.08;
        letter-spacing: -0.7px;
    }

    .hero-desc {
        font-size: 16px;
        line-height: 1.62;
        max-width: 100%;
    }

    .hero-ctas {
        gap: 10px;
    }

    .btn {
        width: 100%;
        min-height: 52px;
        border-radius: 16px;
    }

    .pill-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pill {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 14px;
        font-size: 13px;
        border-radius: 14px;
    }

    .hero-img-wrap {
        margin-top: 18px;
    }

    .hero-img-wrap img {
        border-radius: 18px;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        object-position: center center;
    }

    .section {
        padding: 50px 0;
    }

    .section-head h2,
    .section h2,
    .final-cta h2 {
        font-size: 30px;
        line-height: 1.16;
    }

    .section .lead {
        font-size: 15px;
        line-height: 1.6;
    }

    .comparison-grid {
        gap: 14px;
        margin-top: 28px;
    }

    .money-card {
        padding: 20px;
        border-radius: 18px;
    }

    .money-value {
        font-size: 42px;
    }

    .savings-callout {
        padding: 18px;
        border-radius: 18px;
    }

    .grid-3,
    .grid-2,
    .niches-grid {
        gap: 14px;
        margin-top: 28px;
    }

    .card,
    .plan-card,
    .niche-card,
    .seo-content-card {
        padding: 20px;
        border-radius: 18px;
    }

    .footer-grid {
        gap: 22px;
    }
}
