/* Reset et variables CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #3F38FF;
    --light-blue: #6B68FF;
    --light-gray: #f3f4f6;
    --text-dark: #000000;
    --text-light: rgba(0, 0, 0, 0.3);
    --shadow: rgba(0, 0, 0, 0.1);
    --white: #FFFFFF;
}

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-gray);
}

/* Section Hero */
.hero {
    position: relative;
    min-height: 400px;
    background-image: url('images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 8rem;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 7px;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #FFF 0%, #918FFF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 2.625rem;
    font-weight: 400;
    background: linear-gradient(90deg, #FFF 0%, #918FFF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Section FAQ */
.faq-section {
    padding: 60px 20px;
    background-color: var(--light-gray);
}

.faq-container {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    align-items: start;
    gap: 1.5rem;
}

.faq-card {
    background: var(--white);
    border-radius: 1.25rem;
    padding: 1rem 1rem 2rem 1rem;
    box-shadow: 0 2px 8px var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.faq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faq-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.faq-icon {
    width: 6rem;
    height: 6rem;
    background: linear-gradient(90deg, #DADAFF 0%, #B5B4FF 100%);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-icon img {
    width: 3.5rem;
    height: 3.5rem;
    /*filter: brightness(0) invert(1);*/
}

.faq-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.faq-title {
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 700;
    color: var(--text-dark);
}

.faq-subtitle {
    font-size: 1rem;
    color: var(--text-light);
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    border-top: 1px solid #e5e7eb;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.2s ease;
    margin-top: 0.5rem;
}

.faq-question:hover {
    color: var(--light-blue);
}

.toggle-icon img {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.faq-question[aria-expanded="true"] .toggle-icon img {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
}

.faq-question[aria-expanded="true"]+.faq-answer {
    padding: 0.5rem 0 0 0;
}

.faq-answer p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
}

/* Section Contact */
.contact-section {
    padding: 60px 20px;
    background-color: var(--light-gray);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    gap: 2rem;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group label {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(63, 56, 255, 0.2);
}

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

.input-with-counter,
.textarea-with-counter {
    position: relative;
}

.char-counter {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--text-light);
    pointer-events: none;
}

.textarea-with-counter .char-counter {
    top: auto;
    bottom: 12px;
    transform: none;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(90deg, #3F38FF 0%, #6B68FF 100%);
    color: var(--white);
    border: none;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.send-icon img {
    width: 2rem;
    height: 2rem;
}

/* Footer */
.footer {
    background: radial-gradient(232.67% 130.67% at 8.75% 0%, #B5B4FF 0%, #3F38FF 69.23%, #1200C4 98.08%);
    padding: 2.5rem;
    color: var(--white);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-left p {
    font-size: 1rem;
}

.footer-center {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-link.current {
    opacity: 0.5;
}

.footer-right {
    display: flex;
    align-items: center;
}

.wiblo-icon img {
    width: 3rem;
    height: 3rem;
}

/* Section Legal Content */
.legal-section {
    padding: 60px 20px;
    background-color: var(--light-gray);
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content {
    background: var(--white);
    border-radius: 1.25rem;
    padding: 3rem;
    box-shadow: 0 2px 8px var(--shadow);
}

.legal-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.legal-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.legal-content ul,
.legal-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.legal-content li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.legal-content strong {
    font-weight: 700;
    color: var(--text-dark);
}

.legal-content a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.legal-content a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.legal-date {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .faq-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-center {
        flex-direction: column;
        gap: 12px;
    }

    .legal-content {
        padding: 2rem 1.5rem;
    }

    .legal-content h2 {
        font-size: 2rem;
    }

    .legal-content h3 {
        font-size: 1.5rem;
    }

    .legal-content p,
    .legal-content li {
        font-size: 0.9375rem;
    }
}