/**
 * Contact Page Styles - Lyvre V3
 * Page de contact
 */

/* ==========================================
   HERO SECTION
   ========================================== */

.contact-hero {
    padding: var(--space-16) 0 var(--space-12);
    background: var(--background);
    text-align: center;
}

.contact-hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-4);
    color: var(--foreground);
}

.contact-hero-title .highlight {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-hero-subtitle {
    font-size: var(--text-lg);
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* ==========================================
   LAYOUT
   ========================================== */

.contact-main {
    padding: var(--space-8) 0 var(--space-20);
    background: var(--background-alt);
}

.contact-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: var(--space-8);
    align-items: start;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   SIDEBAR
   ========================================== */

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

/* Contact Methods */
.contact-methods {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
}

.methods-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: var(--space-4);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    margin-bottom: var(--space-3);
    transition: all 0.3s ease;
}

.contact-method:last-child {
    margin-bottom: 0;
}

.contact-method:hover {
    border-color: var(--accent);
    transform: translateX(4px);
}

.method-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--background);
    flex-shrink: 0;
}

.method-icon.discord {
    background: linear-gradient(135deg, #5865F2, #7289DA);
}

.method-icon.twitter {
    background: linear-gradient(135deg, #1DA1F2, #0d8ddb);
}

.method-info {
    flex: 1;
}

.method-info h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 2px;
}

.method-info p {
    font-size: var(--text-xs);
    color: var(--muted-foreground);
}

.method-arrow {
    color: var(--muted-foreground);
    font-size: var(--text-xs);
    transition: transform 0.3s ease;
}

.contact-method:hover .method-arrow {
    transform: translateX(4px);
    color: var(--accent);
}

/* FAQ */
.contact-faq {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
}

.faq-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: var(--space-4);
}

.faq-title i {
    color: var(--accent);
}

.faq-list li {
    margin-bottom: var(--space-2);
}

.faq-list li:last-child {
    margin-bottom: 0;
}

.faq-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3);
    background: var(--background);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--muted-foreground);
    font-size: var(--text-sm);
    transition: all 0.2s ease;
}

.faq-list a:hover {
    color: var(--accent);
    background: hsla(48, 100%, 50%, 0.05);
}

.faq-list a i {
    font-size: var(--text-xs);
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s ease;
}

.faq-list a:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* Response Time */
.response-time {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4);
    background: hsla(48, 100%, 50%, 0.05);
    border: 1px solid hsla(48, 100%, 50%, 0.2);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    color: var(--muted-foreground);
}

.response-time i {
    color: var(--accent);
}

.response-time strong {
    color: var(--accent);
}

/* ==========================================
   FORM
   ========================================== */

.contact-form-wrapper {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
}

.form-header {
    margin-bottom: var(--space-6);
}

.form-header h2 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: var(--space-2);
}

.form-header p {
    font-size: var(--text-sm);
    color: var(--muted-foreground);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: var(--space-2);
}

.form-group label i {
    color: var(--accent);
    font-size: 0.8rem;
}

.form-input {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    color: var(--foreground);
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px hsla(48, 100%, 50%, 0.1);
}

.form-input::placeholder {
    color: var(--muted-foreground);
}

.form-select {
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: var(--background);
    border: none;
    padding: var(--space-4);
    font-weight: 600;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px hsla(48, 100%, 50%, 0.3);
}

/* ==========================================
   SUCCESS STATE
   ========================================== */

.contact-success {
    text-align: center;
    padding: var(--space-12);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--success), #27ae60);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    font-size: 2rem;
    color: white;
    animation: successPop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes successPop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.contact-success h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: var(--space-3);
}

.contact-success p {
    font-size: var(--text-base);
    color: var(--muted-foreground);
    margin-bottom: var(--space-6);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   UTILITIES
   ========================================== */

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--accent);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-4);
}
