/**
 * Front Page Styles
 * Styles specific to the homepage
 */

/* ========================================
   Hero Section
======================================== */
.hero-section {

    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.hero-section__content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-section__quote {
    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
    color: var(--bleu-fonce);
    margin-bottom: var(--spacing-xl);
    line-height: 1.4;
}

@media (min-width: 768px) {
    .hero-section__quote {
        font-size: 2.5rem;
    }
}

.hero-section__subtitle {
    font-size: 1.125rem;
    color: var(--terracotta);
    margin-bottom: var(--spacing-md);
}

.hero-section__text {
    color: var(--gris-fonce);
    line-height: 1.6;
}

/* ========================================
   Problem Solution Section
======================================== */
.problem-solution {
    padding: var(--spacing-xxl) 0;
}

.problem-solution__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
}

@media (min-width: 768px) {
    .problem-solution__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xxl);
    }
}

.problem-section,
.solution-section {
    padding: var(--spacing-lg);
    border-radius: 8px;
}

.problem-section {
    background: var(--gris-clair);
}

.solution-section {
    background: var(--bleu-clair);
}

.problem-section h2,
.solution-section h2 {
    margin-bottom: var(--spacing-lg);
}

.problem-section__list,
.solution-section__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-section__list li,
.solution-section__list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.problem-section__list li::before,
.solution-section__list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--terracotta);
    font-size: 1.5rem;
    line-height: 1;
}

/* ========================================
   About Section
======================================== */
.about-section {
    background-color: #f8f9fa;
    padding: var(--spacing-xxl) 0;
}

.about-section__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

@media (min-width: 768px) {
    .about-section__content {
        grid-template-columns: 2fr 1fr;
    }
    
    .about-section__content--image-left {
        grid-template-columns: 1fr 2fr;
    }
}

.about-section__text {
    order: 2;
}

.about-section__image {
    order: 1;
    text-align: center;
}

@media (min-width: 768px) {
    .about-section__text {
        order: 1;
    }
    
    .about-section__image {
        order: 2;
    }
    
    .about-section__content--image-left .about-section__text {
        order: 2;
    }
    
    .about-section__content--image-left .about-section__image {
        order: 1;
    }
}

.about-section__image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-section h2 {
    margin-bottom: var(--spacing-lg);
}

.about-section p {
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.about-section p:last-child {
    margin-bottom: 0;
}

.about-section strong {
    color: var(--bleu-fonce);
}

/* ========================================
   Testimonials Section
======================================== */
.testimonials-section {
    padding: var(--spacing-xxl) 0;
}

.testimonials-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.testimonial-card {
    background-color: #fff;
    padding: var(--spacing-lg);
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    margin-bottom: 0 !important;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    width: 450px;
    min-width: 450px;
    max-width: 450px;
}

.testimonial-card::before {
    content: """;
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    font-size: 3rem;
    color: var(--gris-fonce);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-card__quote {
    flex: 1;
    padding-top: 0;
}

.testimonial-card__content {
    font-style: normal;
    line-height: 1.6;
    margin-bottom: 0;
    color: var(--gris-fonce);
}

.testimonial-card__author {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e5e5e5;
}

.testimonial-card__name {
    font-weight: 700;
    color: var(--bleu-fonce);
    margin-bottom: var(--spacing-xs);
}

.testimonial-card__role {
    font-size: 0.875rem;
    color: var(--gris-fonce);
    font-style: italic;
}

/* ========================================
   Values Section (Word Cloud)
======================================== */
.values-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--gris-bleu);
    text-align: center;
}

.values-cloud {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding: var(--spacing-xl);
}

.values-cloud__word {
    position: absolute;
    font-family: var(--font-primary);
    font-weight: 700;
    color: #fff;
    text-transform: capitalize;
}

/* Different sizes for emphasis */
.values-cloud__word--large {
    font-size: 2rem;
}

.values-cloud__word--medium {
    font-size: 1.5rem;
}

.values-cloud__word--small {
    font-size: 1.125rem;
}

/* Positioning for word cloud effect */
.values-cloud__word:nth-child(1) { top: 20%; left: 10%; }
.values-cloud__word:nth-child(2) { top: 10%; left: 50%; }
.values-cloud__word:nth-child(3) { top: 30%; right: 20%; }
.values-cloud__word:nth-child(4) { bottom: 30%; left: 20%; }
.values-cloud__word:nth-child(5) { bottom: 20%; right: 10%; }
.values-cloud__word:nth-child(6) { top: 50%; left: 40%; }
.values-cloud__word:nth-child(7) { bottom: 10%; left: 45%; }