/**
 * Porsche Experiência Exclusiva - Design Moderno
 */

:root {
    --porsche-black: #000000;
    --porsche-charcoal: #0a0a0a;
    --porsche-dark: #141414;
    --porsche-card: #1a1a1a;
    --porsche-red: #d5001c;
    --porsche-red-hover: #ff0022;
    --porsche-silver: #8c8c8c;
    --porsche-light: #e0e0e0;
    --porsche-white: #ffffff;
    --font-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-elevated: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 60px rgba(213, 0, 28, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --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-primary);
    background: var(--porsche-black);
    color: var(--porsche-white);
    line-height: 1.6;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(at 20% 20%, rgba(213, 0, 28, 0.04) 0%, transparent 40%),
        radial-gradient(at 80% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 30%);
    pointer-events: none;
    z-index: 0;
}

.porsche-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }
}

/* Header - fundo transparente, deixa o hero aparecer atrás */
.porsche-header {
    padding: 24px 0;
    position: relative;
    z-index: 10;
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.porsche-header .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-porsche {
    display: inline-block;
    text-decoration: none;
    transition: opacity var(--transition);
}

.logo-porsche:hover {
    opacity: 0.9;
}

.logo-porsche .logo-img {
    height: 36px;
    width: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 600px) {
    .logo-porsche .logo-img {
        height: 14px;
    }
    .footer-logo {
        height: 10px;
    }
}

/* Hero - sobe atrás do header para o fundo transparente do header mostrar o gradiente */
.hero {
    position: relative;
    margin-top: -72px;
    padding: 172px 0 80px;
    overflow: hidden;
}

@media (max-width: 600px) {
    .hero {
        margin-top: -56px;
        padding: 116px 0 50px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(213, 0, 28, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 80% 50% at 80% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        linear-gradient(180deg, var(--porsche-charcoal) 0%, var(--porsche-black) 100%);
}

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

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--porsche-white);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: var(--porsche-silver);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 60px 0 80px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: start;
}

@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .product-showcase {
        min-height: 320px;
    }
    
    .product-showcase .product-img {
        width: min(360px, 100%);
    }
}

@media (max-width: 600px) {
    .main-content {
        padding: 40px 0 60px;
    }
    
    .content-grid {
        gap: 32px;
    }
    
    .product-showcase {
        min-height: 260px;
        margin-bottom: 28px;
    }
    
    .product-showcase .product-img {
        width: min(280px, 100%);
        animation: none;
    }
    
    .info-text {
        font-size: 0.95rem;
        padding: 0 4px;
    }
    
    .info-text .tagline {
        font-size: 1rem;
    }
}

/* Info Column */
.info-column {
    position: sticky;
    top: 24px;
}

.product-showcase {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    margin-bottom: 40px;
    padding: 20px;
}

/* Imagem do boné: grande, destaque visual */
.product-showcase .product-img {
    max-width: 100%;
    width: min(520px, 100%);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 32px 64px rgba(0, 0, 0, 0.6));
    animation: float-img 6s ease-in-out infinite;
    backface-visibility: hidden;
}

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

.info-text {
    color: var(--porsche-light);
    font-size: 1.05rem;
}

.info-text p {
    margin-bottom: 16px;
}

.info-text .tagline {
    font-size: 1.1rem;
    color: var(--porsche-white);
    margin-top: 24px;
}

.info-text .tagline em {
    color: var(--porsche-red);
    font-style: normal;
}

/* Form Column - visual premium, limpo */
.form-column {
    background: #161618;
    border-radius: 16px;
    padding: 44px 52px 40px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.form-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--porsche-red);
}

@media (max-width: 600px) {
    .form-column {
        padding: 32px 20px 28px;
        border-radius: 14px;
    }
}

.porsche-form h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
    color: var(--porsche-white);
}

.form-intro {
    color: #9a9a9e;
    font-size: 0.9rem;
    margin-bottom: 28px;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .porsche-form h2 {
        font-size: 1.5rem;
        margin-bottom: 6px;
    }
    
    .form-intro {
        font-size: 0.9rem;
        margin-bottom: 24px;
        line-height: 1.5;
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 22px;
    margin-bottom: 18px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 20px;
    }
}

.form-row .form-group {
    margin-bottom: 0;
}

.upload-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: #a1a1a6;
    letter-spacing: 0.02em;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="date"] {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--porsche-white);
    background: #222226;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

@media (max-width: 600px) {
    .form-group input[type="text"],
    .form-group input[type="tel"],
    .form-group input[type="date"] {
        padding: 12px 16px;
        font-size: 16px;
        min-height: 46px;
    }
}

.form-group input::placeholder {
    color: #6c6c70;
}

.form-group input:focus {
    outline: none;
    border-color: var(--porsche-red);
    box-shadow: 0 0 0 2px rgba(213, 0, 28, 0.25);
}

/* File Upload */
.upload-group .file-upload {
    position: relative;
}

.upload-group input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 24px;
    background: #222226;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .upload-label {
        padding: 24px 20px;
    }
    
    .upload-group {
        margin-bottom: 20px;
    }
}

.upload-label:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: #28282c;
}

.upload-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    opacity: 0.7;
}

.upload-text {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--porsche-white);
}

.upload-hint {
    font-size: 0.8rem;
    color: #6c6c70;
    margin-top: 4px;
}

.file-name {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--porsche-silver);
    word-break: break-all;
}

/* Submit Button */
.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.03em;
    color: var(--porsche-white);
    background: var(--porsche-red);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 6px;
}

@media (max-width: 600px) {
    .btn-submit {
        padding: 14px 24px;
        font-size: 0.9rem;
        min-height: 48px;
        margin-top: 4px;
    }
}

.btn-submit:hover {
    background: var(--porsche-red-hover);
}

.btn-arrow {
    font-size: 1rem;
    opacity: 0.9;
}

/* Success / Error */
.success-message,
.error-message {
    text-align: center;
    padding: 48px 24px;
}

@media (max-width: 600px) {
    .success-message,
    .error-message {
        padding: 36px 20px;
    }
    
    .success-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
    
    .success-message h2 {
        font-size: 1.25rem;
    }
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--porsche-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
}

.success-message h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.success-message p,
.error-message p {
    color: var(--porsche-silver);
    line-height: 1.6;
}

.error-message {
    background: rgba(213, 0, 28, 0.1);
    border: 1px solid rgba(213, 0, 28, 0.3);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.error-message p {
    color: #ff6b6b;
}

/* Footer */
.porsche-footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 600px) {
    .porsche-footer {
        padding: 32px 0;
    }
}

.porsche-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-logo {
    height: 14px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

.porsche-footer p {
    font-size: 0.9rem;
    color: var(--porsche-silver);
}
