/* =====================================================
   HOME CSS - Page d'accueil uniquement
   BIM Expert v3.0
   ===================================================== */

/* =====================================================
   HERO
   ===================================================== */
.hero {
    margin-top: var(--nav-height);
    position: relative;
    height: clamp(350px, 85vh, 900px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.4) 0%, 
        rgba(0, 0, 0, 0.5) 50%, 
        rgba(0, 0, 0, 0.55) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--c-white);
    max-width: 1000px;
    padding: 0 2rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 5vw, 4.0625rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
    color: white;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

/* =====================================================
   SECTION ABOUT
   ===================================================== */
.about-section {
    background: var(--c-bg);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: 1.25rem;
    color: var(--c-primary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-text p {
    color: var(--c-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin: 4rem 0;
}

.value-item {
    background: var(--c-white);
    border-radius: 12px;
    text-align: center;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.value-item h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--c-primary);
    margin-bottom: 0.75rem;
}

.value-item p {
    color: var(--c-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.expertise-list {
    margin-top: 3rem;
    padding: 2.5rem;
    background: var(--c-white);
    border-radius: 12px;
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.expertise-list h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--c-primary);
    margin-bottom: 1.5rem;
}

.expertise-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.expertise-list li {
    color: var(--c-dark);
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.expertise-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--c-primary);
    font-weight: 600;
}

/* =====================================================
   SECTION AVIS
   ===================================================== */
.reviews-section .container {
    text-align: center;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.review-card {
    background: var(--c-bg);
    padding: 2rem;
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.review-card.placeholder-card {
    background: linear-gradient(135deg, #fafafa 0%, #f3f4f6 100%);
    border: 2px dashed #d1d5db;
    opacity: 0.75;
}

.review-card.placeholder-card .review-text {
    color: #9ca3af;
    font-style: italic;
}

.placeholder-avatar {
    background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%) !important;
    font-size: 1.5rem !important;
    color: var(--c-white) !important;
}

.stars {
    color: var(--c-warning);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.review-text {
    color: var(--c-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-white);
    font-weight: 600;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.reviewer-info h4 {
    color: var(--c-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.reviewer-info p {
    color: var(--c-light);
    font-size: 0.875rem;
}

/* =====================================================
   SECTION RÉALISATIONS
   ===================================================== */
.examples-section {
    background: var(--c-bg);
}

.examples-section .container {
    text-align: center;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.example-card {
    background: var(--c-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.example-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.example-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
    background: var(--c-border);
}

.example-card:hover img {
    transform: scale(1.08);
}

.example-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.example-content h3 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--c-primary);
    margin-bottom: 0.75rem;
}

.example-content > p {
    color: var(--c-light);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.example-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.example-content ul li {
    color: var(--c-dark);
    font-size: 0.875rem;
    padding: 0.4rem 0 0.4rem 1.25rem;
    position: relative;
    line-height: 1.5;
}

.example-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--c-success);
    font-weight: 600;
}

.examples-note {
    max-width: 800px;
    margin: 3rem auto 0;
    color: var(--c-dark);
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
}

/* =====================================================
   SECTION ÉTAPES
   ===================================================== */
.steps-section .container {
    text-align: center;
}

.steps-timeline {
    max-width: 900px;
    margin: 3rem auto;
    text-align: left;
}

.step-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
    position: relative;
}

.step-item::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 100px;
    width: 2px;
    height: calc(100% + 3.5rem);
    background: linear-gradient(180deg, var(--c-border), transparent);
}

.step-item:last-child::before {
    display: none;
}

.step-number {
    width: 100px;
    height: 100px;
    background: var(--c-white);
    border: 3px solid var(--c-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--c-primary);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.step-content {
    background: var(--c-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-sm);
}

.step-content h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--c-primary);
    margin-bottom: 0.5rem;
}

.step-duration {
    color: var(--c-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.step-content > p {
    color: var(--c-dark);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.step-highlight {
    color: var(--c-success);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-top: 1rem;
}

.steps-cta {
    margin-top: 3rem;
}

.steps-guarantee {
    color: var(--c-dark);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.steps-cta .btn-primary {
    background: var(--c-white);
    color: var(--c-primary);
    border: 2px solid var(--c-primary);
}

.steps-cta .btn-primary:hover {
    background: var(--c-primary);
    color: var(--c-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* =====================================================
   SECTION CONTACT
   ===================================================== */
.contact-section {
    background: var(--c-white);
}

.contact-section .container {
    text-align: center;
}

.contact-cta {
    margin-top: 2rem;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.0625rem;
}

.contact-info {
    margin-top: 2rem;
    color: var(--c-dark);
    line-height: 2;
}

.contact-info a {
    color: var(--c-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.contact-info a:hover {
    color: #667eea;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 968px) {
    .reviews-grid,
    .examples-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .expertise-list ul {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        grid-template-columns: 80px 1fr;
        gap: 1.5rem;
    }
    
    .step-number {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }
    
    .step-item::before {
        left: 40px;
        top: 80px;
    }
    
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 760px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .hero {
        height: 60vh;
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .value-item {
        padding: 1.5rem;
    }
    
    .value-icon {
        font-size: 2rem;
    }
    
    .value-item h3 {
        font-size: 1.125rem;
    }
    
    .value-item p {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        grid-template-columns: 70px 1fr;
        gap: 1rem;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.25rem;
    }
    
    .step-item::before {
        left: 35px;
        top: 70px;
    }
    
    .step-content {
        padding: 1.5rem;
    }
    
    .hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9375rem;
    }
}

/* =====================================================
   SECTION TARIFS - BLEU MARINE SOBRE & PROFESSIONNEL
   ===================================================== */
.pricing-section {
    background: #f9fafb;
}

.pricing-section .container {
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(15, 37, 87, 0.15);
    border-color: #1e3a8a;
}



/* Carte mise en avant - Sobre */
.pricing-card.featured {
    background: linear-gradient(180deg, #0f2557 0%, #1e3a8a 100%);
    color: white;
    border-color: #1e3a8a;
    box-shadow: 0 4px 16px rgba(15, 37, 87, 0.15);
}

.pricing-card.featured:hover {
    box-shadow: 0 12px 32px rgba(15, 37, 87, 0.25);
}


.pricing-card.featured .pricing-amount,
.pricing-card.featured h3 {
    color: white;
}

.pricing-card.featured .pricing-features li,
.pricing-card.featured .pricing-delay {
    color: rgba(255, 255, 255, 0.9);
}

/* Badge sobre */
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e3a8a;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3);
}

.pricing-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.25rem;
    opacity: 0.9;
}

.pricing-card h3 {
    font-family: Constantia, Georgia, serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 1.25rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

.pricing-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #0f2557;
    margin-bottom: 1.75rem;
    letter-spacing: -0.01em;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.75rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.65rem 0;
    color: #4b5563;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.pricing-delay {
    color: #6b7280;
    font-size: 0.875rem;
    font-style: italic;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    margin-top: 1rem;
}

.pricing-card.featured .pricing-delay {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.pricing-note {
    max-width: 850px;
    margin: 2.5rem auto 0;
    padding: 1.5rem 2rem;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #1e3a8a;
    color: #4b5563;
    font-size: 0.9375rem;
    line-height: 1.7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pricing-note strong {
    color: #0f2557;
}

/* RESPONSIVE TARIFS */
@media (max-width: 968px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* MOBILE - CARTES PLEINE LARGEUR */
@media (max-width: 640px) {
    .pricing-section .container {
        padding: 0; /* Supprime le padding du container */
    }
    
    .pricing-grid {
        padding: 0 4.5rem; /* Padding pour créer le léger retrait */
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
        max-width: none;
        margin: 0;
    }
    
    .pricing-icon {
        font-size: 2.5rem;
    }
    
    .pricing-card h3 {
        font-size: 1.125rem;
        min-height: auto;
    }
    
    .pricing-amount {
        font-size: 1.75rem;
    }
    
    .pricing-note {
        padding: 1.25rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* TRÈS PETIT MOBILE */
@media (max-width: 480px) {
    .pricing-grid {
        padding: 0 3rem; /* Garde un retrait visible */
    }
    
    .pricing-card {
        padding: 1.75rem 1.25rem;
    }
    
    .pricing-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.875rem;
    }
}