* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - HSL Values */
    --primary: 217 91% 18%;
    --primary-foreground: 0 0% 100%;
    --secondary: 36 45% 62%;
    --secondary-foreground: 0 0% 20%;
    --background: 0 0% 100%;
    --foreground: 0 0% 20%;
    --card: 0 0% 100%;
    --muted-foreground: 0 0% 45%;
    --brand-header: 217 91% 18%;
    --brand-gold: 36 45% 62%;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: hsl(var(--background));
    border-bottom: 1px solid hsl(0 0% 90%);
    box-shadow: 0 10px 30px -10px hsla(217, 91%, 18%, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem;
}

.logo-img {
    height: 4rem;
    width: auto;
}

.nav-desktop {
    display: none;
    gap: 2rem;
}

.nav-link {
    color: hsl(var(--brand-header));
    text-decoration: none;
    transition: var(--transition-smooth);
    font-weight: 500;
}

.nav-link:hover {
    color: hsl(var(--brand-gold));
}

.header-buttons {
    display: flex;
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .logo-img {
        height: 3rem;
        width: auto;
    }
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
}

.btn-primary {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
    background: hsl(217 91% 25%);
    box-shadow: 0 10px 30px -10px hsla(217, 91%, 18%, 0.4);
}

.btn-gold {
    background: hsl(var(--brand-gold));
    color: hsl(var(--secondary-foreground));
}

.btn-gold:hover {
    background: hsl(33 95% 60%);
    box-shadow: 0 10px 30px -10px hsla(33, 95%, 54%, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid hsl(var(--primary-foreground));
    color: hsl(var(--primary-foreground));
}

.btn-outline:hover {
    background: hsl(var(--primary-foreground));
    color: hsl(var(--primary));
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(/assets/vr-bg.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem 1rem;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo-img {
    height: 8rem;
    width: auto;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: 0.025em;
}

.hero-title-accent {
    display: block;
    color: hsl(var(--brand-gold));
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 48rem;
    margin: 0 auto 3rem;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .hero-logo-img {
        height: 10rem;
    }

    .hero-title {
        font-size: 3.75rem;
    }

    .hero-description {
        font-size: 1.25rem;
    }
}

/* About Section */
.section-about {
    padding: 5rem 0;
    background: hsl(var(--background));
}

.section-header {
    max-width: 56rem;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: hsl(var(--primary));
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: hsl(var(--secondary));
    margin-bottom: 2rem;
}

.section-description {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.75;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

.card {
    background: hsl(var(--card));
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px -10px hsla(217, 91%, 18%, 0.15);
    transition: var(--transition-smooth);
}

.card:hover {
    box-shadow: 0 10px 30px -10px hsla(33, 95%, 54%, 0.3);
}

.card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: hsl(0, 0%, 100%);
}

.gradient-brand {
    background: linear-gradient(135deg, hsl(217 91% 18%), hsl(217 91% 35%));
}

.gradient-gold {
    background: linear-gradient(135deg, hsl(33 95% 54%), hsl(33 95% 65%));
}

.card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: hsl(var(--primary));
    margin-bottom: 0.75rem;
}

.card-text {
    color: hsl(var(--muted-foreground));
}

@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

/* Services Section */
.section-services {
    padding: 5rem 0;
    background: linear-gradient(180deg, hsl(var(--background)), hsl(0 0% 98%));
}

.accordion {
    max-width: 56rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: hsl(var(--card));
    border-radius: 0.5rem;
    padding: 0 1.5rem;
    box-shadow: 0 10px 30px -10px hsla(217, 91%, 18%, 0.15);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    border: none;
    background: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    color: hsl(var(--primary));
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
}

.accordion-trigger:hover {
    color: hsl(var(--brand-gold));
}

.accordion-icon {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: hsl(var(--muted-foreground));
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.accordion-content ul {
    list-style: none;
    padding-left: 1rem;
}

.accordion-content li {
    margin-bottom: 0.5rem;
}

/* Blog Section */
.section-blog {
    padding: 5rem 0;
    background: hsl(var(--background));
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 75rem;
    margin: 0 auto;
}

.blog-card {
    background: hsl(var(--card));
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px -10px hsla(217, 91%, 18%, 0.15);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.blog-card:hover {
    box-shadow: 0 10px 30px -10px hsla(33, 95%, 54%, 0.3);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.blog-category {
    background: linear-gradient(135deg, hsl(33 95% 54%), hsl(33 95% 65%));
    color: hsl(var(--secondary-foreground));
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.blog-read-time {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

.blog-card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: hsl(var(--primary));
    margin-bottom: 0.75rem;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-card-title {
    color: hsl(var(--secondary));
}

.blog-card-description {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-date {
    color: hsl(var(--muted-foreground));
    font-size: 0.75rem;
}

.blog-read-more {
    background: none;
    border: none;
    color: hsl(var(--primary));
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.blog-read-more:hover {
    color: hsl(var(--secondary));
}

.blog-view-all {
    text-align: center;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Contact Section */
.section-contact {
    padding: 5rem 0;
    background: linear-gradient(180deg, hsl(var(--background)), hsl(0 0% 98%));
}

.contact-content {
    max-width: 75rem;
    margin: 0 auto;
}

.contact-button {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.contact-info-card {
    max-width: 42rem;
    margin: 0 auto;
    background: hsl(var(--card));
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px -10px hsla(217, 91%, 18%, 0.15);
}

.contact-info-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: hsl(var(--primary));
    margin-bottom: 1rem;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-info-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.contact-info-label {
    font-weight: 500;
    color: hsl(var(--foreground));
}

.contact-info-text {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-company {
    grid-column: span 2;
}

.footer-company-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-img {
    width: 2.5rem;
    height: 2.5rem;
}

.footer-company-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
}

.footer-company-subtitle {
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-company-description {
    font-size: 0.875rem;
    opacity: 0.8;
    line-height: 1.75;
    max-width: 28rem;
}

.footer-section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a,
.footer-contact p {
    color: hsl(var(--primary-foreground));
    opacity: 0.8;
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    opacity: 1;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid hsla(0, 0%, 100%, 0.2);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: hsl(var(--primary-foreground));
    opacity: 0.8;
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-bottom-links a:hover {
    opacity: 1;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-social {
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--primary-foreground));
    opacity: 0.8;
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-link:hover {
    opacity: 1;
}

.social-link svg {
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.social-link:hover svg {
    opacity: 1;
}

@media (min-width: 768px) {
    .footer-social {
        margin-top: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Contact Style */
.contact-section {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    color: hsl(var(--brand-header));
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: hsl(var(--brand-gold));
}

.section-subtitle {
    color: hsl(var(--muted-foreground));
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background-color: hsl(var(--card));
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    transition: var(--transition-smooth);
}

.contact-form:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: hsl(var(--foreground));
    transition: var(--transition-smooth);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid hsl(var(--muted-foreground) / 0.2);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition-smooth);
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
}

.form-control:focus {
    outline: none;
    border-color: hsl(var(--brand-gold));
    box-shadow: 0 0 0 3px hsl(var(--brand-gold) / 0.2);
}

.form-control:focus+.form-label {
    color: hsl(var(--brand-gold));
}

.submit-btn {
    background-color: hsl(var(--brand-header));
    color: hsl(var(--primary-foreground));
    border: none;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: hsl(var(--brand-header) / 0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-col {
    flex: 1;
}

/* Responsividade */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 20px 10px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form {
    animation: fadeIn 0.5s ease-out;
}

/* Estados de validação */
.form-control.valid {
    border-color: #10b981;
}

.form-control.invalid {
    border-color: #ef4444;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 5px;
    display: none;
}

.form-control.invalid+.error-message {
    display: block;
}

/* Message Toast Style */
.message-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.toast {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid transparent;
    animation: toastSlideIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backdrop-filter: blur(10px);
    max-width: 400px;
}

.toast-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-color: #047857;
}

.toast-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border-color: #b91c1c;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.toast-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.toast-message {
    line-height: 1.4;
}

.toast-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.fade-out {
    animation: toastSlideOut 0.5s ease-in forwards;
}

@keyframes toastSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .message-toast {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .toast {
        max-width: none;
    }
}