feat: improve missions & add faq

This commit is contained in:
2025-11-05 22:22:31 +04:00
parent adcff81a31
commit fadd56ec0b
11 changed files with 431 additions and 22 deletions
+237
View File
@@ -837,3 +837,240 @@ input[type="number"]:focus {
font-size: 0.85rem;
}
}
/* Publics Section */
.publics {
padding: 4rem 2rem;
background: linear-gradient(135deg, var(--gris-sombre) 0%, var(--noir-profond) 100%);
}
.publics h2 {
font-size: 3rem;
margin-bottom: 1rem;
text-align: center;
}
.publics-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-top: 3rem;
}
.public-card {
background: rgba(0, 0, 0, 0.3);
border: 2px solid transparent;
border-radius: 20px;
padding: 2rem;
text-align: center;
transition: all 0.3s ease;
display: flex;
flex-direction: column;
}
.public-card:hover {
transform: translateY(-5px);
border-color: var(--or-oki);
box-shadow: 0 20px 40px rgba(232, 166, 37, 0.2);
}
.public-icon {
font-size: 3.5rem;
margin-bottom: 1rem;
}
.public-card h3 {
color: var(--or-oki);
margin-bottom: 1rem;
font-size: 1.8rem;
}
.public-description {
margin-bottom: 2rem;
line-height: 1.6;
flex-grow: 1;
}
.public-benefits {
background: rgba(232, 166, 37, 0.1);
border-radius: 10px;
padding: 1.5rem;
margin-bottom: 2rem;
text-align: left;
}
.public-benefits h4 {
color: var(--or-oki);
margin-bottom: 1rem;
font-size: 1.1rem;
}
.public-benefits ul {
list-style: none;
padding: 0;
}
.public-benefits li {
margin-bottom: 0.5rem;
padding-left: 0.5rem;
}
.public-cta {
margin-top: auto;
}
.publics-footer {
text-align: center;
margin-top: 4rem;
padding: 2rem;
background: rgba(232, 166, 37, 0.1);
border-radius: 15px;
}
/* FAQ Section */
.faq {
padding: 4rem 2rem;
background: linear-gradient(135deg, var(--noir-profond) 0%, var(--gris-sombre) 100%);
}
.faq h2 {
font-size: 3rem;
margin-bottom: 1rem;
text-align: center;
}
.faq-container {
max-width: 800px;
margin: 3rem auto;
}
.faq-item {
background: rgba(255, 255, 255, 0.05);
border: 2px solid rgba(232, 166, 37, 0.2);
border-radius: 10px;
margin-bottom: 1rem;
overflow: hidden;
transition: all 0.3s ease;
}
.faq-item:hover {
border-color: var(--or-oki);
}
.faq-item.active {
border-color: var(--or-oki);
}
.faq-question {
width: 100%;
background: none;
border: none;
color: var(--blanc-creme);
padding: 1.5rem;
text-align: left;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
transition: all 0.3s ease;
}
.faq-question:hover {
color: var(--or-oki);
}
.faq-icon {
font-size: 1.5rem;
color: var(--or-oki);
transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
transform: rotate(45deg);
}
.faq-answer {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer {
max-height: 500px;
}
.faq-answer p {
padding: 0 1.5rem 1.5rem 1.5rem;
line-height: 1.8;
opacity: 0.9;
}
.faq-footer {
text-align: center;
margin-top: 3rem;
}
/* Engagement Section */
.engagement {
padding: 4rem 2rem;
background: var(--noir-profond);
}
.engagement h2 {
font-size: 3rem;
margin-bottom: 1rem;
text-align: center;
}
.engagement-options {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
margin: 3rem 0;
}
.engagement-card {
background: rgba(232, 166, 37, 0.1);
border: 2px solid var(--or-oki);
border-radius: 20px;
padding: 2rem;
text-align: center;
transition: all 0.3s ease;
}
.engagement-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(232, 166, 37, 0.3);
}
.engagement-icon {
font-size: 3rem;
margin-bottom: 1rem;
}
.engagement-card h3 {
color: var(--or-oki);
margin-bottom: 1rem;
font-size: 1.5rem;
}
.engagement-card p {
margin-bottom: 1.5rem;
line-height: 1.6;
}
/* Responsive adjustments for new sections */
@media (max-width: 768px) {
.publics-grid,
.engagement-options {
grid-template-columns: 1fr;
}
.publics h2,
.faq h2,
.engagement h2 {
font-size: 2rem;
}
}