@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Montserrat:wght@400;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');
@import url('https://fonts.googleapis.com');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Montserrat:wght@400;700;800&family=EB+Garamond:italic,wght@0,400..800;1,400..800&display=swap');

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   1. RESET E BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1c1c1c;
    color: white;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
}

/* ==========================================================================
   2. HEADER (NAVBAR)
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.4s ease, height 0.4s ease;
    background-color: transparent;
    flex-direction: column;
    justify-content: center;
}

header.scrolled {
    background-color: #202020;
    height: 70px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

header nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    max-width: 1400px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.logo img {
    height: 50px;
    margin-right: 12px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    line-height: 1;
}

.logo-text .subtext {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: #ff9900;
}

/* Desktop header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #ff9900;
}

.divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
}

.nav-item-sobre {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s;
}

.nav-item-sobre:hover {
    color: #ff9900;
}

.btn-header-agendar {
    background: linear-gradient(90deg, #ff9900 0%, #f27405 100%);
    color: #fff !important;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.2);
    white-space: nowrap;
}

.btn-header-agendar:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
    filter: brightness(1.1);
}

/* Hamburger button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu dropdown — posicionado fixo abaixo do header */
.mobile-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    background-color: #transparent;
    padding: 30px 20px;
    position: fixed;
    top: 70px; /* altura do header */
    left: 0;
    z-index: 999;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.mobile-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: #ff9900;
}

.mobile-menu a:first-child {
    background: linear-gradient(90deg, #ff9900 0%, #f27405 100%);
    padding: 12px 30px;
    border-radius: 50px;
    color: #fff !important;
}

.mobile-social {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.mobile-social a {
    background: linear-gradient(90deg, #ff9900 0%, #f27405 100%);
    padding: 12px 30px;
    border-radius: 50px;
    color: #fff !important;
}

/* Mobile menu só aparece no mobile */
@media (max-width: 768px) {
    .mobile-menu {
        display: flex; /* ativa o flex; toggle via opacity/pointer-events */
    }
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero {    
    line-height: 1.1;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(18, 18, 18, 0.3), rgba(18, 18, 18, 0.3)), 
                url('../newimg/fundo_home.webp'); 
    background-size: cover;
    background-position: center;
    flex-direction: column;
    padding-bottom: 50px;       
}

.typewriter-js {
    font-family: 'EB Garamond', serif;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 0;
}

.hero-content .highlight {
    color: #ff9900;
    font-family: Montserrat;
    font-weight: 700;
    letter-spacing: 10px;
}

.hero-content {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-mais {
    color: #ff9900;
    font-weight: 700;
}

.hero-content h2 {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    line-height: 1;
    margin-top: 5px;
}

.cursor {
    color: #ff9900;
    animation: blink 0.8s infinite;
    margin-left: 5px;
}

.pacotes-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
}

.scroll-to-solutions {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.pacotes-link {
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    transition: 0.3s;
}

.pacotes-link .alt-color {
    color: #ff9900;
    border-bottom: 1px solid #ff9900;
    padding-bottom: 3px;
}

.pacotes-link:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.arrow-down {
    display: block;
    margin-top: 10px;
    font-size: 1.2rem;
    color: #fff;
    animation: bounce 2s infinite;
}

@keyframes blink { 50% { opacity: 0; } }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

/* ==========================================================================
   4. CASES (ESTILO TELA CHEIA)
   ========================================================================== */
.cases {
    background-color: #2c2c2c;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
}

.case-item {
    display: flex;
    width: 100%;
    height: 100vh;
    align-items: stretch;
    overflow: hidden;
}

.case-item.reverse { 
    flex-direction: row-reverse; 
}

.case-image { 
    flex: 0 0 50%;
    height: 100%;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.case-info {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2c2c2c;
    padding: 80px; 
}

.case-info-content {
    max-width: 550px;
}

.case-title {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.case-title h3 { 
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.5rem, 3vw, 3rem);
    font-weight: 800; 
    color: #fff;
    white-space: nowrap;
}

.title-line { 
    height: 2px; 
    background-color: #ff9900;
    flex-grow: 1; 
    min-width: 20px;
}

.case-subtitle {
    font-family: 'Montserrat', sans-serif;
    color: #ff9900;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.case-description {
    font-family: 'Montserrat', sans-serif;
    color: #ccc;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* ==========================================================================
   5. IPHONE / BRAND EXPERIENCE
   ========================================================================== */
.brand-experience {
    background-color: #454545;
    padding: 160px 0 160px 0;
    position: relative;
    z-index: 1;
    overflow: visible;
    line-height: 20px;
}

.relative-box {
    position: relative;
}

.experience-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    font-weight: 800;
}

.iphone-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    color: #ddd;
}

.experience-text {
    font-family: 'Poppins';
    max-width: 550px;
    z-index: 2;
    letter-spacing: 1px;
    line-height: 30px;
    font-weight: 600;
    position: relative;
}

.experience-text .highlight { color: #ff9900; }

.iphone-vazado {
    width: 1200px; 
    position: absolute;
    top: 0;
    right: -200px; 
    transform: translateY(-10%); 
    z-index: 10;
    pointer-events: none;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
}

/* ==========================================================================
   6. BLOCO ESTRATÉGIA
   ========================================================================== */
.light-content {
    background-color: #ffffff;
    padding: 120px 0 100px 0; 
    text-align: center;
    color: #1c1c1c; 
}

.strategy-call h3 {
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #1c1c1c;
    line-height: 1.2;
    margin-bottom: 15px;
}

.strategy-call p {
    font-size: 1.3rem;
    color: #444444;
    margin-bottom: 40px;
}

.strategy-call .highlight-alt {
    color: #ff9900;
    font-weight: 600;
}

.btn-agendar {
    display: inline-block;
    background-color: #ff9900;
    color: #fff;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 40px;
    transition: 0.3s;
}

.btn-agendar:hover {
    background-color: #e68a00;
    transform: scale(1.05);
}

.teste {
    margin-top: 0px;
}

/* ==========================================================================
   7. SOLUÇÕES INTEGRADAS — GRID (desktop) + CARROSSEL (mobile)
   ========================================================================== */
.solutions {
    background-color: #1b1b1b;
    padding: 60px 0 80px;
}

.solutions-header {
    text-align: left;
    margin-top: 40px;
    margin-bottom: 60px;
}

.solutions-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    color: #fff;
    margin-top: 20px;
}

.card-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 400;
}

.solutions-header .highlight {
    color: #ff9900;
}

/* ---- DESKTOP: grid normal, esconde elementos do carrossel ---- */
.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.carousel-track-container {
    flex: 1;
    overflow: hidden;
    border-radius: 15px;
}

/* Track base — flex por padrão (mobile-first), virar grid só no desktop */
.solutions-grid.carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* No desktop: grid de 3 colunas, sem transform */
@media (min-width: 769px) {
    .solutions-grid.carousel-track {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        transition: none;
        transform: none !important;
    }

    .solution-card {
        min-width: unset !important;
        max-width: unset !important;
    }
}

.carousel-btn {
    display: none; /* escondido no desktop */
}

.carousel-dots {
    display: none; /* escondido no desktop */
}

/* ---- Cards ---- */
.solution-card {
    background-color: #0f0f0f;
    padding: 50px 35px;
    border-radius: 15px;
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: border-color 0.4s ease, transform 0.4s ease;
    border: 2px solid transparent;
    box-sizing: border-box;
}

.solution-card:hover {
    transform: translateY(-10px);
    border-color: #ff9900;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #fff;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.card-header i { color: #ff9900; font-size: 1.4rem; }

.card-list {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
    flex-grow: 1;
}

.card-list li {
    color: #bbb;
    padding: 8px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.card-list li::before {
    content: none !important; 
}

.btn-solicitar {
    font-family: 'Montserrat', sans-serif;
    display: block;
    width: 100%;
    text-align: center;
    background-color: #ff9900;
    color: #fff !important;
    padding: 15px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.85rem;
    transition: 0.3s;
    border: none;
    margin-top: auto;
}

.btn-solicitar:hover {
    background-color: #e68a00;
    transform: scale(1.02);
}

.solutions-footer {
    text-align: center;
    margin-top: 40px;
    color: #888;
    width: 100%;
}

.btn-agende-footer {
    display: inline-block;
    color: #ff9900;
    text-decoration: underline;
    font-weight: 700;
    transition: 0.3s;
}

.btn-agende-footer:hover {
    opacity: 0.8;
}

.title-with-icon {
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
}

.title-with-icon::before {
    content: "";
    width: 40px;
    height: 40px;
    background-image: url('../newimg/seta.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;    
    background-color: #1b1b1b;
    width: 100%;
    margin: 0;
    padding: 0;
}

.footer-bg {
    background-color: #1a1a1a;
    border-radius: 50px 50px 0 0; 
    padding: 50px 80px 30px 80px;
    width: 100%;
    box-sizing: border-box;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.footer-logo img {
    height: 42px;
}

.footer-logo .logo-text {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 15px;
}

.footer-logo .brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    line-height: 1;
}

.footer-logo .subtext {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: #ff9900;
}

.footer-about {
    flex: 2;
    text-align: center;
}

.footer-about p {
    font-family: 'Inter', sans-serif;
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.footer-social-circles {
    display: flex;
    gap: 12px;
}

.footer-social-circles a {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-social-circles a:hover {
    background-color: #ff9900;
    border-color: #ff9900;
    color: #000;
}

.footer-bottom-info {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-info p, .footer-legal a {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #555;
    text-decoration: none;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a:hover {
    color: #fff;
}

/* ==========================================================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {

    /* Cases: reduz altura e padding */
    .case-item {
        height: auto;
        min-height: 60vh;
    }

    .case-info {
        padding: 50px 40px;
    }

    .iphone-vazado {
        width: 700px;
        right: -50px;
        transform: translateY(30%);
    }

    .footer-bg {
        padding: 40px 40px 30px 40px;
    }
}

/* ==========================================================================
   RESPONSIVE — MOBILE (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {

    /* --- HEADER MOBILE --- */
    header {
        height: 70px;
    }

    /* Esconde itens de desktop */
    .header-actions {
        display: none;
    }

    /* Mostra hamburger */
    .hamburger {
        display: flex;
    }

    /* Mostra mobile-menu quando aberto */
    .mobile-menu {
        display: flex;
    }

    /* --- HERO MOBILE --- */
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content h2 {
        font-size: clamp(2.2rem, 12vw, 4rem);
    }

    /* --- CASES MOBILE: empilha imagem em cima, texto embaixo --- */
    .case-item,
    .case-item.reverse {
        flex-direction: column !important;
        height: auto;
    }

    .case-image {
        flex: none;
        width: 100%;
        height: 55vw;
        min-height: 220px;
        max-height: 320px;
    }

    .case-info {
        flex: none;
        width: 100%;
        padding: 40px 24px;
    }

    .case-info-content {
        max-width: 100%;
    }

    .case-title h3 {
        font-size: 1.5rem;
        white-space: normal;
    }

    .case-subtitle {
        font-size: 0.85rem;
        letter-spacing: 1px;
        margin-bottom: 16px;
    }

    .case-description {
        font-size: 0.95rem;
    }

    /* --- BRAND EXPERIENCE: esconde iPhone no mobile --- */
    .iphone-vazado {
        display: none;
    }

    .brand-experience {
        padding: 70px 0;
    }

    .experience-text {
        max-width: 100%;
        text-align: center;
    }

    .experience-text h2 {
        font-size: 1.8rem;
    }

    .iphone-text {
        font-size: 0.95rem;
    }

    /* --- STRATEGY CALL --- */
    .light-content {
        padding: 70px 20px;
    }

    .strategy-call h3 {
        font-size: 1.6rem;
    }

    .strategy-call p {
        font-size: 1rem;
    }

    .btn-agendar {
        padding: 15px 35px;
        font-size: 0.95rem;
    }

    /* --- SOLUTIONS: carrossel mobile --- */
    .solutions {
        padding: 40px 0 60px;
    }

    .solutions-header h2 {
        font-size: 2rem;
    }

    .card-subtitle {
        font-size: 16px;
    }

    .solution-card {
        padding: 35px 25px;
    }

    /* Mostra os botões de navegação */
    .carousel-btn {
        display: flex;
        background: #0f0f0f;
        border: 2px solid rgba(255,255,255,0.15);
        color: #fff;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        font-size: 0.8rem;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: all 0.3s ease;
    }

    .carousel-btn:active:not(:disabled) {
        background: #ff9900;
        border-color: #ff9900;
        color: #000;
    }

    .carousel-btn:disabled {
        opacity: 0.25;
        cursor: default;
    }

    /* Mostra os dots */
    .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-bottom: 20px;
    }

    .carousel-dot {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: rgba(255,255,255,0.2);
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
    }

    .carousel-dot.active {
        background: #ff9900;
        transform: scale(1.2);
    }

    /* --- FOOTER MOBILE --- */
    .footer-bg {
        padding: 40px 24px 24px 24px;
        border-radius: 30px 30px 0 0;
    }

    .footer-grid {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-about {
        order: 3;
    }

    .footer-right {
        justify-content: center;
    }

    .footer-bottom-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ==========================================================================
   RESPONSIVE — SMALL MOBILE (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {

    .hero-content h1 {
        font-size: 1.2rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .case-image {
        height: 60vw;
    }

    .case-info {
        padding: 30px 18px;
    }

    .case-title h3 {
        font-size: 1.3rem;
    }

    .experience-text h2 {
        font-size: 1.5rem;
    }

    .solutions-header h2 {
        font-size: 1.7rem;
    }
}