/* ============================================
   Talent Estética de Veículos - Landing Page
   Design: Premium, sofisticado, automotivo
   ============================================ */

:root {
    /* Paleta - Harmonizada com a logo Talent (dourado/âmbar + branco) */
    --color-bg: #0a0a0c;
    --color-bg-elevated: #121216;
    --color-bg-card: #18181e;
    --color-surface: #1e1e24;
    
    --color-text: #e8e6e3;
    --color-text-muted: #a8a6a3;
    --color-text-light: #f8f7f5;
    
    /* Dourado da logo Talent - tom quente e sofisticado */
    --color-accent: #d4a84a;
    --color-accent-hover: #e8bc5e;
    --color-accent-muted: rgba(212, 168, 74, 0.18);
    
    --color-border: rgba(255, 255, 255, 0.08);
    
    --font-sans: 'Outfit', -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.5);
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== Header ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: linear-gradient(to bottom, rgba(12, 12, 15, 0.95), transparent);
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(12, 12, 15, 0.98);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.logo .logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: -0.02em;
}

.logo .logo-text span {
    color: var(--color-text-light);
}

/* Logo maior no header */
.header .logo img {
    height: 64px;
}

.header .logo .logo-text {
    font-size: 2.25rem;
}

/* Logo no footer - proporcional */
.footer .logo img {
    height: 32px;
}

.footer .logo .logo-text {
    font-size: 1.25rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.nav-menu a:hover {
    color: var(--color-accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

/* ========== Hero ========== */
.hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 100px 24px 60px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, var(--color-accent-muted) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(212, 168, 74, 0.08) 0%, transparent 40%),
        linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-elevated) 100%);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.hero-brand {
    display: block;
    color: var(--color-accent);
    font-size: 0.5em;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    color: var(--color-text-muted);
    font-weight: 400;
    margin-bottom: 16px;
}

.hero-desc {
    max-width: 520px;
    margin: 0 auto 28px;
    font-size: 1rem;
    color: var(--color-text);
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-bg);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 168, 74, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
    background: var(--color-accent-muted);
}

.btn-light {
    background: var(--color-text-light);
    color: var(--color-bg);
}

.btn-light:hover {
    background: white;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn-whatsapp {
    margin-top: 16px;
    background: #25d366;
    color: white !important;
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
}

/* ========== Cursos - Carousel estilo History Reborn ========== */
.cursos-layer {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 40px 0 50px;
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-border);
    position: relative;
    z-index: 2;
}

.cursos-header {
    text-align: center;
    margin-bottom: 32px;
    padding: 0 24px;
}

.cursos-carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cursos-carousel-wrapper {
    position: relative;
    padding: 0 56px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(212, 168, 74, 0.2);
    border: 2px solid rgba(212, 168, 74, 0.6);
    color: var(--color-accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all 0.25s ease;
}

.carousel-btn:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 0 0 4px rgba(212, 168, 74, 0.3), 0 4px 24px rgba(212, 168, 74, 0.5);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

.carousel-btn-prev {
    left: 8px;
}

.carousel-btn-next {
    right: 8px;
}

.cursos-carousel {
    display: flex;
    align-items: stretch;
    gap: 20px;
    min-height: 380px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cursos-carousel::-webkit-scrollbar {
    display: none;
}

/* Cards estilo History Reborn - imagem em cima, texto embaixo */
.curso-card-hr {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    scroll-snap-align: start;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.curso-card-hr:hover {
    border-color: rgba(212, 168, 74, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.curso-card-img {
    width: 100%;
    height: 160px;
    min-height: 160px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.curso-card-placeholder {
    font-size: 4rem;
    opacity: 0.6;
}

.curso-play-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
}

.curso-play-overlay svg {
    width: 20px;
    height: 20px;
}

.curso-card-img:has(img) .curso-card-placeholder {
    display: none;
}

.curso-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.curso-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    font-family: 'Inter', var(--font-sans);
}

.curso-id {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.curso-categoria {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.curso-card-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 12px;
    line-height: 1.35;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.curso-card-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

.curso-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.curso-status-ativo {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.curso-status-rascunho {
    background: rgba(234, 179, 8, 0.2);
    color: #facc15;
}

.curso-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
}

.curso-link:hover {
    color: var(--color-accent-hover);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
    align-self: flex-start;
}

/* ========== Sections ========== */
.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
}

.section-desc {
    max-width: 560px;
    margin: 12px auto 0;
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ========== Em Breve ========== */
.produtos-em-breve {
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    margin: 0 0 48px;
    text-transform: uppercase;
    animation: emBrevePulse 2.5s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(212, 168, 74, 0.4);
}

@keyframes emBrevePulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
        text-shadow: 0 0 30px rgba(212, 168, 74, 0.4);
    }
    50% { 
        opacity: 0.85; 
        transform: scale(1.02);
        text-shadow: 0 0 50px rgba(212, 168, 74, 0.6);
    }
}

/* ========== Sobre ========== */
.sobre {
    background: var(--color-bg-elevated);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.sobre-text p {
    margin-bottom: 20px;
    color: var(--color-text);
    font-size: 1.05rem;
}

.sobre-text strong {
    color: var(--color-accent);
}

.sobre-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: sticky;
    top: 120px;
}

.sobre-destaque {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-text-light);
    line-height: 1.6;
}

.sobre-destaque em {
    color: var(--color-accent);
    font-style: normal;
}

/* ========== Serviços ========== */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.servico-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    scroll-margin-top: 100px;
}

.servico-card:hover {
    border-color: rgba(212, 168, 74, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.servico-card-featured {
    background: linear-gradient(135deg, var(--color-accent-muted), transparent);
    border-color: rgba(212, 168, 74, 0.3);
}

.servico-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.servico-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.servico-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ========== Diferenciais ========== */
.diferenciais {
    background: var(--color-bg-elevated);
}

.diferenciais-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.diferenciais-content .section-label {
    text-align: left;
}

.diferenciais-content .section-title {
    text-align: left;
    margin-bottom: 32px;
}

.diferenciais-list {
    list-style: none;
}

.diferenciais-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    font-size: 1.05rem;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
}

.diferenciais-list li:last-child {
    border-bottom: none;
}

.diferenciais-list .check {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1.2rem;
}

.diferenciais-cta {
    text-align: center;
    padding: 40px;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.diferenciais-cta p {
    margin-bottom: 24px;
    font-size: 1.1rem;
    color: var(--color-text);
}

/* ========== CTA Banner ========== */
.cta-banner {
    padding: 50px 24px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
    text-align: center;
}

.cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--color-bg);
    margin-bottom: 12px;
}

.cta-banner p {
    color: rgba(12, 12, 15, 0.8);
    margin-bottom: 32px;
    font-size: 1.1rem;
}

/* ========== Contato ========== */
.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 0.7;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.info-card h4 {
    font-size: 1rem;
    color: var(--color-accent);
    margin-bottom: 8px;
    font-weight: 600;
}

.info-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ========== Footer ========== */
.footer {
    padding: 32px 24px 24px;
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-content .logo {
    display: inline-block;
    margin-bottom: 10px;
}

.footer-content p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    max-width: 400px;
    margin: 0 auto 8px;
}

.footer-copy {
    font-size: 0.75rem !important;
    opacity: 0.7;
}

.footer-credit {
    font-size: 0.7rem;
    opacity: 0.6;
    margin-top: 4px;
}

.footer-credit-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-credit-link:hover {
    color: var(--color-accent-hover);
    opacity: 1;
    text-decoration: underline;
}

/* ========== Responsivo ========== */
@media (max-width: 968px) {
    .sobre-content,
    .contato-content {
        grid-template-columns: 1fr;
    }
    
    .sobre-card {
        position: static;
    }
    
    .diferenciais-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .diferenciais-content .section-title {
        text-align: center;
    }
    
    .diferenciais-content .section-label {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .cursos-carousel-wrapper {
        padding: 0 44px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn-prev {
        left: 4px;
    }

    .carousel-btn-next {
        right: 4px;
    }

    .curso-card-hr {
        flex: 0 0 260px;
    }

    .curso-card-img {
        height: 140px;
        min-height: 140px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-bg-elevated);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 24px;
        transition: right var(--transition);
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 40px 0;
    }
}

/* Animações de entrada */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== WhatsApp Floating Button ========== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 30%, #34e077, #25d366);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0.3), 0 8px 32px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:hover .whatsapp-icon {
    animation: whatsapp-pulse 0.6s ease;
}

@keyframes whatsapp-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    color: white;
    transition: transform 0.3s ease;
}

/* ========== Instagram Floating Button ========== */
.instagram-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(225, 48, 108, 0.5);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-float:hover {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(225, 48, 108, 0.3), 0 8px 32px rgba(225, 48, 108, 0.6);
}

.instagram-float:hover .instagram-icon {
    animation: instagram-pulse 0.6s ease;
}

@keyframes instagram-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.instagram-icon {
    width: 28px;
    height: 28px;
    color: white;
    transition: transform 0.3s ease;
}
