/*
Theme Name: TreinoGo
Theme URI: https://treinogo.com/
Author: TreinoGo Team
Author URI: http://treinogo.com/
Description: Tema Desenvolvido para a landing page TreinoGo.
Version: 1.0
Text Domain: Corrida e Bem-estar
Tags: corrida, treino, assessoria, treino, treino pago, site, bem-estar, exercício
*/

@import url('inter.css');

:root {
    /* Colors */
    --primary: #14439d; /* Corporate Blue */
    --primary-dark: #0f347a;
    --secondary: #EBE8D8;
    --accent: #FF4500;
    --accent-hover: #e03e00;
    --text-dark: #0F172A;
    --text-slate: #475569;
    --white: #FFFFFF;
    --blue-light: #dbeafe;
    --blue-lighter: #bfdbfe;
    --blue-darkest: #050a14;
    
    /* Gradients */
    --gradient-primary: linear-gradient(to right, var(--primary), #1e40af);
    
    /* Spacing */
    --container-padding: 1.5rem;
    --max-width: 1280px;
    
    /* Fonts */
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Oswald', sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    line-height: 1.5;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
}

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.text-gradient {
    background: linear-gradient(to right, var(--primary), #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-blue-light { color: var(--blue-light)!important; }
.text-blue-lighter { color: var(--blue-lighter) !important; }

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.hidden { display: none; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 10px 20px rgba(255, 69, 0, 0.2);
    transform: scale(1.05);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-tertiary {
    background-color: transparent;
    border: 1px solid #e2e8f0;
    color: var(--text-slate);
    font-size: 0.875rem;
}

.btn-tertiary:hover {
    background-color: #f8fafc;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #f1f5f9;
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    color: var(--primary);
    letter-spacing: -0.05em;
}
.logo img {
    max-width: 180px;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

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

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
}

.mobile-menu {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-link {
    text-decoration: none;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 1.125rem;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .desktop-only { display: none; }
    .mobile-only { display: block; }
    .single-page .content, .single-page .sidebar{
     width: 100%;
    }
    .single-page{
        flex-direction: column;
    }
}

@media (min-width: 769px) {
    .desktop-only { display: flex; }
    .mobile-only { display: none; }
    .mobile-menu { display: none; }
    .single-page{
        flex-direction: row;
    }
    .single-page .content{
    flex: 3;
    }
    .single-page .sidebar{
        flex: 1;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: 80px;
    overflow: hidden;
}

.sonar-circles .circle {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-33%, -50%);
    border: 1px solid #f1f5f9;
    border-radius: 50%;
    z-index: -1;
}

.c1 { width: 800px; height: 800px; }
.c2 { width: 1200px; height: 1200px; }
.c3 { width: 1600px; height: 1600px; }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-title {
    font-size: 3.5rem;
    line-height: 0.9;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .hero-title { font-size: 5rem; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-slate);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .hero-actions { flex-direction: row; }
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-slate);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background-color: #e2e8f0;
}

.hero-image {
    position: relative;
}

@media (min-width: 1024px) {
    .hero-image { margin-right: -6rem; }
}

.image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(20, 67, 157, 0.25);
    transform: rotate(2deg);
    transition: transform 0.7s ease;
    z-index: 10;
}

.image-wrapper:hover {
    transform: rotate(0);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.1);
}

.overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, rgba(20, 67, 157, 0.2), transparent);
    mix-blend-mode: multiply;
}

.image-deco-bg {
    position: absolute;
    top: -2.5rem;
    right: -2.5rem;
    width: 100%;
    height: 100%;
    background-color: var(--secondary);
    border-radius: 1rem;
    z-index: -1;
}

.image-deco-blur {
    position: absolute;
    bottom: -2.5rem;
    left: -2.5rem;
    width: 10rem;
    height: 10rem;
    background-color: rgba(255, 69, 0, 0.1);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--white);
    position: relative;
    z-index: 10;
}

.section-header {
    max-width: 48rem;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
}

@media (min-width: 768px) {
    .section-title { font-size: 3.75rem; }
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-slate);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
    padding: 2rem;
    background-color: var(--white);
    border: 1px solid #f1f5f9;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 69, 0, 0.2);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--secondary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    transition: background-color 0.3s, color 0.3s;
}
.feature-icon img{
    padding: 6px;
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.feature-card:hover .feature-icon {
    background-color: var(--accent);
    color: var(--white);
}

.feature-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--text-slate);
    line-height: 1.6;
}

/* Interstitial */
.interstitial {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--primary);
}

.interstitial-bg {
    position: absolute;
    inset: 0;
    opacity: 0.6;
}

.interstitial-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.interstitial-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(20, 67, 157, 0.6);
    mix-blend-mode: multiply;
}

.interstitial-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.interstitial-text {
    font-size: 3.5rem;
    color: var(--white);
    font-style: italic;
    letter-spacing: -0.05em;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .interstitial-text { font-size: 6rem; }
}

/* Pricing */
.pricing {
    padding: 6rem 0;
    background-color: var(--secondary);
    position: relative;
}

.topo-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url('https://www.transparenttextures.com/patterns/topo-layers.png');
}

.relative-z {
    position: relative;
    z-index: 10;
}

.pricing-toggle {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem;
    background-color: rgba(20, 67, 157, 0.1);
    border-radius: 9999px;
    margin-top: 2rem;
}

.toggle-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    border: none;
    background: none;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s;
}

.toggle-btn.active {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 72rem;
    margin: 4rem auto 0;
}

@media (min-width: 1024px) {
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.pricing-card.highlight {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    box-shadow: 0 25px 50px -12px rgba(20, 67, 157, 0.25);
    transform: scale(1.05);
    position: relative;
    z-index: 20;
}

@media (max-width: 1023px) {
    .pricing-card.highlight { transform: none; }
}

.badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--accent);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.card-header {
    margin-bottom: 1.5rem;
}

.card-header h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

.pricing-card.highlight .card-header h3 {
    color: var(--white);
}

.card-header p {
    font-size: 0.875rem;
    color: var(--text-slate);
    margin-top: 0.25rem;
}

.price {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.pricing-card.highlight .price {
    color: var(--white);
}

.period {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-slate);
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.pricing-card.highlight .features-list li {
    color: var(--white);
}

.icon-check {
    color: #3b82f6;
}

.link-secondary {
    color: var(--text-slate);
    text-decoration: none;
    border-bottom: 1px solid #94a3b8;
    transition: color 0.2s;
    font-weight: 500;
}

.link-secondary:hover {
    color: var(--primary);
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background-color: var(--primary);
    position: relative;
    overflow: hidden;
}

.testimonials-bg-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: rgba(30, 64, 175, 0.2);
    transform: skewX(12deg);
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    transition: background-color 0.3s;
}

.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.stars {
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--blue-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 3rem;
    height: 3rem;
    background-color: #1e40af;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--blue-lighter);
}
.avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    color: var(--white);
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.author-role {
    color: var(--blue-lighter);
    font-size: 0.75rem;
}

/* Blog */
.blog {
    padding: 6rem 0;
    background-color: var(--primary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .blog-header {
        flex-direction: row;
    }
}

.link-button {
    background: none;
    border: none;
    color: var(--white);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 0.25rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
}

.link-button:hover {
    color: var(--accent);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-card {
    cursor: pointer;
}

.blog-image {
    height: 12rem;
    background-color: rgba(30, 64, 175, 0.5);
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transition: transform 0.7s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-image .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--primary), transparent);
    opacity: 0.6;
}

.blog-title {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.blog-card:hover .blog-title {
    color: var(--accent);
}

.blog-link {
    color: var(--blue-lighter);
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s;
}
#blog-list .container{
    display: flex;
    flex-direction: row;
}
.blog-card:hover .blog-link {
    transform: translateX(0.5rem);
}

/* Footer */
.footer {
    background-color: var(--blue-darkest);
    color: var(--text-slate);
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-desc {
    max-width: 24rem;
    margin-top: 1rem;
}

.footer-heading {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}

@media (min-width: 768px) {
    .footer-bottom { flex-direction: row; }
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-slate);
    text-decoration: none;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--white);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

.hidden-view {
    display: none !important;
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }


