/* 
  Atletic Up - Core Styles 
*/

:root {
    /* Color Palette */
    --clr-primary: #0A2540; /* Deep Corporate Blue */
    --clr-primary-hover: #081B2E;
    --clr-secondary: #E63946; /* Dynamic Red Accent */
    --clr-secondary-hover: #D02B38;
    
    --clr-dark: #121212;
    --clr-dark-alt: #1E1E1E;
    --clr-light: #F8F9FA;
    --clr-white: #FFFFFF;
    
    /* Text Colors */
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #F4F4F4;
    
    /* Typography */
    --ff-body: 'Inter', sans-serif;
    --ff-heading: 'Outfit', sans-serif;
    
    /* Spacing & Layout */
    --container-max: 1200px;
    --section-spacing: 5rem;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* Transitions & Shadows */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-body);
    color: var(--text-main);
    background-color: var(--clr-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-heading);
    color: var(--clr-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-accent {
    color: var(--clr-secondary);
}

.text-white {
    color: var(--clr-white);
}

.text-center {
    text-align: center;
}

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

.section-spacing {
    padding: var(--section-spacing) 0;
}

.bg-light { background-color: var(--clr-light); }
.bg-dark { background-color: var(--clr-dark); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-heading);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

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

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

.btn-primary:hover {
    background-color: var(--clr-secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--clr-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--clr-white);
    color: var(--clr-white);
}

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

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Typographic Logo */
.logo {
    font-family: var(--ff-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--clr-primary);
    display: flex;
    align-items: baseline;
    letter-spacing: -0.5px;
}

.logo-bold {
    font-weight: 800;
}

.logo-dot {
    color: var(--clr-secondary);
    font-size: 2rem;
    line-height: 0;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-secondary);
    transition: width var(--transition-normal);
}

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

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--clr-primary);
    cursor: pointer;
}

/* Section Tags */
.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 2px;
    background-color: var(--clr-secondary);
}

.section-tag.light {
    color: rgba(255,255,255,0.7);
}

.section-tag.light::before {
    background-color: var(--clr-secondary);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for header */
    background-color: var(--clr-primary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(10, 37, 64, 0.95) 0%, rgba(10, 37, 64, 0.5) 100%),
        url('saude.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Optional conceptual shapes for premium feel */
.hero-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.15) 0%, transparent 70%);
}

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

.hero-title {
    color: var(--clr-white);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 3rem;
    color: var(--clr-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-weight: 500;
    color: var(--text-muted);
}

.about-image {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 2px solid var(--clr-secondary);
    border-radius: var(--radius-lg);
    z-index: -1;
    transform: translate(15px, 15px);
    transition: transform var(--transition-normal);
}

.about-image-wrapper:hover .about-image {
    transform: translateY(-5px);
}

.about-image-wrapper:hover::after {
    transform: translate(20px, 20px);
}

/* Services */
.services {
    background-color: var(--clr-white);
}

.services .section-header {
    max-width: 600px;
    margin: 0 auto 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--clr-white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    transition: all var(--transition-normal);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(230, 57, 70, 0.2);
}

.service-card.featured {
    background: var(--clr-primary);
    color: var(--clr-white);
    box-shadow: var(--shadow-md);
}

.service-card.featured .service-title {
    color: var(--clr-white);
}

.service-card.featured .service-text {
    color: rgba(255,255,255,0.8);
}

.service-card.featured:hover {
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.3);
}

.card-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--clr-secondary);
    color: var(--clr-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--clr-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--clr-primary);
}

.service-card.featured .card-icon-wrapper {
    background: rgba(255,255,255,0.1);
    color: var(--clr-white);
}

.service-icon {
    width: 32px;
    height: 32px;
}

.service-list {
    margin-top: 1.5rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.service-card.featured .service-list li {
    color: rgba(255,255,255,0.8);
}

.service-list li i {
    color: var(--clr-secondary);
    width: 18px;
    height: 18px;
}

/* Differentials */
.differentials {
    position: relative;
    overflow: hidden;
}

.differentials-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.differentials-text {
    color: rgba(255,255,255,0.7);
    margin-bottom: 3rem;
}

.diff-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.diff-feature {
    display: flex;
    gap: 1.5rem;
}

.diff-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: rgba(230, 57, 70, 0.1);
    color: var(--clr-secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.diff-title {
    color: var(--clr-white);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.diff-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.differentials-action {
    background: var(--clr-primary);
    padding: 4rem 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.05);
}

.diff-cta-title {
    font-size: 2rem;
}

/* footer { ... } content removed to keep replace chunk simple, skipping replacement here is fine as this is just copyright string replacement */
.footer {
    background-color: var(--clr-dark-alt);
    color: var(--text-light);
    padding: 5rem 0 2rem;
}

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

.footer-logo {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: rgba(255,255,255,0.6);
    margin-bottom: 2rem;
    max-width: 400px;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background: var(--clr-secondary);
    color: var(--clr-white);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--clr-white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    transition: color var(--transition-fast);
}

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

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.6);
}

.contact-list i {
    color: var(--clr-secondary);
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.4);
    font-size: 0.875rem;
}

/* Form Styles & Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 37, 64, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--clr-white);
    width: 90%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    position: relative;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition-fast);
}

.modal-close:hover {
    background: var(--clr-light);
    color: var(--clr-secondary);
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-sm);
    font-family: var(--ff-body);
    font-size: 0.9rem;
    transition: border-color var(--transition-fast);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
}

.contact-form textarea {
    resize: vertical;
}

.modal-submit {
    width: 100%;
    margin-top: 1rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: var(--shadow-md);
    z-index: 100;
    transition: all var(--transition-normal);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background-color: #128C7E;
}

/* Animations - Initial State */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    .about-container, .differentials-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--clr-white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .mobile-toggle {
        display: block;
    }
    .header-cta {
        display: none;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero {
        padding-top: 100px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .services-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .differentials-action {
        padding: 3rem 1.5rem;
    }
}
