/* ============================================
   Cont@iner Digital - Landing Page
   Design: Futurismo Minimalista com Dinâmica Tecnológica
   Cores: Laranja #f68f00, Cinza #333333
   Fonte: Open Sans
   ============================================ */

/* Reset e Variáveis */
:root {
    --primary-color: #f68f00;
    --primary-hover: #e67e00;
    --text-dark: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e8e8e8;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ============================================
   Header/Navbar
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    height: 2.5rem;
    width: auto;
}

.company-name {
    font-weight: bold;
    font-size: 1.125rem;
    display: none;
}

@media (min-width: 640px) {
    .company-name {
        display: inline;
    }
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle span {
    width: 1.5rem;
    height: 0.2rem;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(0.5rem);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-0.5rem);
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.65rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(246, 143, 0, 0.3);
}

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

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

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

.btn-white:hover {
    background-color: #f0f0f0;
}

.btn-outline-white {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: var(--bg-white);
}

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

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

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

.hero-title .highlight {
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

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

/* Stats */
.stats {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    flex: 1;
}

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

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

/* Hero Visual */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24rem;
}

.visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 20rem;
}

.visual-card {
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(246, 143, 0, 0.1), rgba(246, 143, 0, 0.05));
    border: 1px solid rgba(246, 143, 0, 0.2);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(246, 143, 0, 0.6);
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

.visual-card:nth-child(2) {
    animation-delay: 0.2s;
}

.visual-card:nth-child(3) {
    animation-delay: 0.4s;
}

.visual-card:nth-child(4) {
    animation-delay: 0.6s;
}

.visual-card:hover {
    transform: scale(1.05);
}

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

/* ============================================
   Diagonal Separators
   ============================================ */
.diagonal-separator {
    display: block;
    width: 100%;
    height: 5rem;
    background-color: white;
}

.diagonal-separator path {
    fill: #f5f5f5;
}

.diagonal-reverse path {
    fill: white;
}

/* ============================================
   Serviços Section
   ============================================ */
.servicos {
    padding: 5rem 1rem;
    background-color: #f5f5f5;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.section-title .highlight {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 32rem;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(246, 143, 0, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-link:hover {
    gap: 0.75rem;
}

/* ============================================
   Sobre Section
   ============================================ */
.sobre {
    padding: 5rem 1rem;
    background-color: white;
}

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

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

.sobre-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.0625rem;
}

.sobre-highlight {
    font-weight: 600 !important;
}

/* Sobre Visual */
.sobre-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24rem;
}

.visual-box {
    background: linear-gradient(135deg, rgba(246, 143, 0, 0.1), rgba(246, 143, 0, 0.05));
    border: 1px solid rgba(246, 143, 0, 0.2);
    border-radius: 1.5rem;
    padding: 3rem;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.visual-box i {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.6;
}

.visual-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.visual-subtitle {
    color: var(--text-light);
}

/* ============================================
   Diferenciais Section
   ============================================ */
.diferenciais {
    padding: 5rem 1rem;
    background-color: #f5f5f5;
}

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

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

.diferencial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.diferencial-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.diferencial-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(246, 143, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 auto 1.5rem;
}

.diferencial-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.diferencial-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   CTA Final Section
   ============================================ */
.cta-final {
    padding: 5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background-color: white;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(3rem);
    z-index: 0;
}

.cta-final::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24rem;
    height: 24rem;
    background-color: white;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(3rem);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-final h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta-final h2 {
        font-size: 3rem;
    }
}

.cta-final p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

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

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 1rem;
}

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

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

.footer-column h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-bottom p {
    font-size: 0.875rem;
    color: #999;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

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

/* ============================================
   Responsividade Geral
   ============================================ */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .cta-final h2 {
        font-size: 1.75rem;
    }

    .stats {
        flex-direction: column;
        gap: 1rem;
    }
}



/* Página em construção */
.pagina-construcao-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(51, 51, 51, 0.9);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-out;
}

.pagina-construcao-box {
    background: white;
    color: #333333;
    padding: 40px 60px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    max-width: 400px;
    width: 90%;
    animation: zoomIn 0.4s ease-out;
}

.pagina-construcao-box h2 {
    color: #f68f00;
    font-weight: 700;
    margin-bottom: 10px;
}

.pagina-construcao-box p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.pagina-construcao-box .btn {
    background: #f68f00;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}

.pagina-construcao-box .btn:hover {
    background: #e47e00;
}

.fade-out {
    animation: fadeOut 0.3s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
