/* Variables */
:root {
    --primary-color: #4A90D9;
    --primary-light: #7AB8F5;
    --primary-dark: #2E6BB0;
    --white: #ffffff;
    --light-bg: #F5F9FC;
    --dark-text: #333333;
    --gray-text: #666666;
    --shadow: 0 4px 20px rgba(74, 144, 217, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    padding: 20px 0;
    transition: var(--transition);
    z-index: 1000;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

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

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
}

.navbar.scrolled .logo {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--dark-text);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition);
}

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

.menu-toggle {
    display: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

.navbar.scrolled .menu-toggle {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: url('/images/fundo_home.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 217, 0.85) 0%, rgba(46, 107, 176, 0.85) 100%);
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 56px;
    color: var(--white);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero h1 span {
    color: var(--primary-light);
}

.hero p {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 40px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--dark-text);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 17px;
    color: var(--gray-text);
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-10px);
}

.feature i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.feature p {
    font-size: 14px;
    color: var(--gray-text);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
}

.service-card i {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.service-card p {
    font-size: 15px;
    color: var(--gray-text);
    line-height: 1.7;
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
}

.contact-item i {
    font-size: 30px;
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark-text);
}

.contact-item p {
    color: var(--gray-text);
    font-size: 15px;
}

.contact-item p a {
    color: var(--gray-text);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item p a:hover {
    color: var(--primary-color);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--dark-text);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px 20px;
    border: 2px solid #E8F0F8;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--light-bg);
}

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

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Messages */
.form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 15px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 28px;
    margin-bottom: 5px;
}

.footer-logo p {
    opacity: 0.8;
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.8;
}

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

/* Responsive Design - Tablet Landscape */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .hero p {
        font-size: 18px;
    }
}

/* Responsive Design - Tablet Portrait */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-features {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-text p {
        font-size: 16px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 36px;
        margin-bottom: 50px;
    }
}

/* Responsive Design - Large Mobile / Small Tablet */
@media (max-width: 768px) {
    /* Navigation */
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        transition: var(--transition);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        color: var(--dark-text);
        font-size: 18px;
    }
    
    .navbar {
        padding: 15px 0;
    }
    
    .logo img {
        height: 60px;
    }
    
    /* Hero Section */
    .hero {
        padding: 120px 20px 80px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    /* About Section */
    .about-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature {
        padding: 25px;
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .service-card i {
        font-size: 40px;
    }
    
    .service-card h3 {
        font-size: 20px;
    }
    
    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        gap: 20px;
    }
    
    .contact-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .contact-form {
        padding: 30px 25px;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* Responsive Design - Mobile Small */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Navigation */
    .logo img {
        height: 50px;
    }
    
    /* Hero */
    .hero {
        padding: 100px 15px 60px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .btn {
        padding: 12px 28px;
        font-size: 14px;
    }
    
    /* Sections */
    section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 26px;
        margin-bottom: 35px;
    }
    
    /* About */
    .about-text p {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .feature {
        padding: 20px;
    }
    
    .feature i {
        font-size: 32px;
    }
    
    .feature h3 {
        font-size: 16px;
    }
    
    .feature p {
        font-size: 13px;
    }
    
    /* Services */
    .service-card {
        padding: 25px 20px;
    }
    
    .service-card i {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .service-card h3 {
        font-size: 18px;
    }
    
    .service-card p {
        font-size: 14px;
    }
    
    /* Contact */
    .contact-item {
        padding: 15px;
    }
    
    .contact-item i {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .contact-item h3 {
        font-size: 16px;
    }
    
    .contact-item p {
        font-size: 14px;
    }
    
    .contact-form {
        padding: 25px 20px;
    }
    
    .contact-form h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .contact-form .btn {
        width: 100%;
    }
    
    /* Footer */
    .footer-logo h3 {
        font-size: 24px;
    }
    
    .footer-logo p {
        font-size: 12px;
    }
    
    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .footer-bottom {
        font-size: 12px;
    }
}

/* Responsive Design - Extra Small Mobile */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 13px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .service-card h3 {
        font-size: 16px;
    }
}

/* ====== Página Criação de Websites ====== */

/* Hero Page */
.hero-page {
    min-height: 60vh;
    background: url('/images/fundo_home.png') no-repeat center center;
    background-size: cover;
    position: relative;
}

.hero-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 217, 0.9) 0%, rgba(46, 107, 176, 0.9) 100%);
}

.hero-page .hero-content {
    position: relative;
    z-index: 1;
    padding-top: 120px;
}

.hero-page h1 {
    font-size: 48px;
}

.hero-page p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Section Subtitle */
.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--gray-text);
    margin-top: -40px;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Technologies Section */
.technologies {
    background: var(--light-bg);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.tech-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.tech-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-light);
}

.tech-card i {
    font-size: 45px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.tech-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark-text);
}

.tech-card p {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(74, 144, 217, 0.2);
}

.portfolio-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-image i {
    font-size: 60px;
    color: var(--white);
    opacity: 0.9;
}

.portfolio-info {
    padding: 25px;
}

.portfolio-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.portfolio-info p {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    background: var(--light-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #E8F0F8;
}

.pricing-header h3 {
    font-size: 24px;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.price .currency {
    font-size: 24px;
    color: var(--gray-text);
    font-weight: 500;
}

.price .amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
}

.price .period {
    font-size: 14px;
    color: var(--gray-text);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--gray-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    font-size: 14px;
}

.pricing-features li i.fa-check {
    color: #28a745;
}

.pricing-features li i.fa-times {
    color: #dc3545;
    opacity: 0.5;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
}

/* Buttons */
.btn-small {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    background: var(--primary-color);
    color: var(--white);
    margin-top: 15px;
}

.btn-small:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
}

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

/* Service Card with Button */
.service-card .btn-small {
    display: inline-block;
    margin-top: 15px;
}

/* Button Nav - Consultoria */
.btn-nav {
    padding: 10px 25px;
    border-radius: 50px;
    background: var(--white);
    color: var(--primary-color) !important;
    font-weight: 600;
    transition: var(--transition);
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    background: var(--primary-light);
    color: var(--white) !important;
    transform: translateY(-2px);
}

.navbar.scrolled .btn-nav {
    background: var(--primary-color);
    color: var(--white) !important;
}

.navbar.scrolled .btn-nav:hover {
    background: var(--primary-dark);
}

/* Responsive - Page Specific */
@media (max-width: 1024px) {
    .hero-page h1 {
        font-size: 40px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .hero-page {
        min-height: 50vh;
    }
    
    .hero-page h1 {
        font-size: 32px;
    }
    
    .hero-page p {
        font-size: 16px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .pricing-card.featured {
        order: -1;
    }
}

@media (max-width: 480px) {
    .hero-page h1 {
        font-size: 28px;
    }
    
    .pricing-header h3 {
        font-size: 20px;
    }
    
    .price .amount {
        font-size: 40px;
    }
}
