/**
 * Landing Pages SEA - InfoSwitch
 * CSS spécifique pour les pages d'atterrissage publicitaires
 * Optimisé pour la conversion
 */

/* ========================================
   RESET & BASE LP
   ======================================== */
.lp-body {
    background: #fff;
}

/* ========================================
   HEADER MINIMAL
   ======================================== */
.lp-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.lp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.lp-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-text, #1a1a2e);
    font-weight: 700;
    font-size: 1.1rem;
}

.lp-logo img {
    height: 36px;
    width: auto;
}

.lp-logo-text {
    font-weight: 700;
}

.lp-header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lp-phone-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: var(--color-primary, #0066cc);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.lp-phone-link:hover {
    color: var(--color-primary-dark, #004d99);
}

/* ========================================
   HERO LP
   ======================================== */
.lp-hero {
    background: linear-gradient(135deg, #0a1628 0%, #1a2d50 50%, #0d4a8a 100%);
    color: #fff;
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.lp-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(0, 102, 204, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.lp-hero .container {
    position: relative;
    z-index: 1;
}

.lp-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.lp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 168, 107, 0.15);
    border: 1px solid rgba(0, 168, 107, 0.3);
    color: #5ce0a8;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.lp-hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #fff;
}

.lp-hero h1 span {
    color: #60a5fa;
}

.lp-hero h1 .highlight {
    color: #5ce0a8;
}

.lp-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.lp-hero-points {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.lp-hero-points li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.lp-hero-points svg {
    color: #5ce0a8;
    flex-shrink: 0;
}

.lp-hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* ========================================
   FORMULAIRE LP (dans hero ou section)
   ======================================== */
.lp-form-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    color: var(--color-text, #1a1a2e);
}

.lp-form-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--color-text, #1a1a2e);
}

.lp-form-card .lp-form-sub {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 1.25rem;
}

.lp-form-group {
    margin-bottom: 0.85rem;
}

.lp-form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.3rem;
}

.lp-form-group input,
.lp-form-group select,
.lp-form-group textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #f9fafb;
    font-family: inherit;
}

.lp-form-group input:focus,
.lp-form-group select:focus,
.lp-form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary, #0066cc);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    background: #fff;
}

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

.lp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.lp-submit-btn {
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: var(--color-primary, #0066cc);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    margin-top: 0.25rem;
}

.lp-submit-btn:hover {
    background: var(--color-primary-dark, #004d99);
    transform: translateY(-1px);
}

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

.lp-form-trust {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: #9ca3af;
}

.lp-form-trust svg {
    flex-shrink: 0;
    color: #9ca3af;
}

/* ========================================
   SECTION PREUVES SOCIALES / STATS
   ======================================== */
.lp-stats {
    background: #f8f9fc;
    padding: 2.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.lp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.lp-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.lp-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary, #0066cc);
    line-height: 1;
}

.lp-stat-label {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
}

/* ========================================
   SECTION PROBLÈME / SOLUTION
   ======================================== */
.lp-section {
    padding: 3.5rem 0;
}

.lp-section--light {
    background: #f8f9fc;
}

.lp-section--dark {
    background: linear-gradient(135deg, #0a1628 0%, #1a2d50 100%);
    color: #fff;
}

.lp-section-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--color-text, #1a1a2e);
    line-height: 1.2;
}

.lp-section--dark .lp-section-title {
    color: #fff;
}

.lp-section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.lp-section--dark .lp-section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* Grille problèmes */
.lp-problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.lp-problem-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.lp-problem-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.lp-problem-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: #fef2f2;
    color: #dc2626;
}

.lp-problem-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.lp-problem-card p {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.5;
}

/* Grille solutions */
.lp-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.lp-solution-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.lp-section--dark .lp-solution-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.lp-solution-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.lp-solution-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: #ecfdf5;
    color: #059669;
}

.lp-section--dark .lp-solution-icon {
    background: rgba(0, 168, 107, 0.15);
    color: #5ce0a8;
}

.lp-solution-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.lp-solution-card p {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.5;
}

.lp-section--dark .lp-solution-card h3 {
    color: #fff;
}

.lp-section--dark .lp-solution-card p {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   PROCESSUS (étapes)
   ======================================== */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    counter-reset: step;
}

.lp-step {
    text-align: center;
    position: relative;
    counter-increment: step;
}

.lp-step::before {
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary, #0066cc);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 auto 1rem;
}

.lp-step h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.lp-step p {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.5;
}

/* ========================================
   COMPARATIF
   ======================================== */
.lp-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.lp-comp-col {
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid #e5e7eb;
}

.lp-comp-col--bad {
    background: #fef2f2;
    border-color: #fecaca;
}

.lp-comp-col--good {
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.lp-comp-col h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lp-comp-col--bad h3 {
    color: #dc2626;
}

.lp-comp-col--good h3 {
    color: #059669;
}

.lp-comp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.lp-comp-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.lp-comp-list svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* ========================================
   TÉMOIGNAGES
   ======================================== */
.lp-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.lp-testimonial {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.5rem;
}

.lp-testimonial-stars {
    color: #f59e0b;
    margin-bottom: 0.75rem;
    display: flex;
    gap: 2px;
}

.lp-testimonial blockquote {
    font-size: 0.9rem;
    font-style: italic;
    color: #374151;
    line-height: 1.6;
    margin: 0 0 1rem;
}

.lp-testimonial-author {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 600;
}

.lp-testimonial-author span {
    display: block;
    font-weight: 400;
    color: #9ca3af;
}

/* ========================================
   CTA FINAL
   ======================================== */
.lp-cta-section {
    background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
    color: #fff;
    padding: 3.5rem 0;
    text-align: center;
}

.lp-cta-section h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #fff;
}

.lp-cta-section p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.lp-cta-section .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* ========================================
   SECTION FORMULAIRE (standalone)
   ======================================== */
.lp-form-section {
    padding: 3.5rem 0;
    background: #f8f9fc;
}

.lp-form-section .lp-form-card {
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ========================================
   SUCCÈS FORMULAIRE
   ======================================== */
.lp-success {
    text-align: center;
    padding: 2rem 1rem;
}

.lp-success svg {
    margin-bottom: 1rem;
}

.lp-success h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 0.5rem;
}

.lp-success p {
    color: #6b7280;
    font-size: 0.95rem;
}

/* Animation spin */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.spin {
    animation: spin 1s linear infinite;
}

/* ========================================
   FOOTER MINIMAL
   ======================================== */
.lp-footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.6);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.8rem;
}

.lp-footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: center;
}

.lp-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.lp-footer a:hover {
    color: #fff;
}

.lp-footer-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.3rem;
}

/* ========================================
   GARANTIES / TRUST
   ======================================== */
.lp-trust-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}

.lp-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.lp-trust-item svg {
    color: var(--color-secondary, #00a86b);
}

/* ========================================
   FAQ LP
   ======================================== */
.lp-faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lp-faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.lp-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--color-text, #1a1a2e);
    font-family: inherit;
    transition: background 0.2s;
}

.lp-faq-question:hover {
    background: #f9fafb;
}

.lp-faq-question svg {
    flex-shrink: 0;
    transition: transform 0.2s;
}

.lp-faq-item.active .lp-faq-question svg {
    transform: rotate(180deg);
}

.lp-faq-answer {
    display: none;
    padding: 0 1.25rem 1rem;
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
}

.lp-faq-item.active .lp-faq-answer {
    display: block;
}

/* ========================================
   ARTICLES RECOMMANDÉS
   ======================================== */
.lp-articles-section {
    border-top: 1px solid #e5e7eb;
}

.lp-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.lp-article-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.lp-article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary, #0066cc);
}

.lp-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}

.lp-article-category {
    display: inline-block;
    background: var(--color-primary-light, #e6f0fa);
    color: var(--color-primary, #0066cc);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.lp-article-time {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}

.lp-article-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.5rem;
    color: var(--color-text, #1a1a2e);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lp-article-card:hover .lp-article-title {
    color: var(--color-primary, #0066cc);
}

.lp-article-excerpt {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lp-article-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary, #0066cc);
    margin-top: auto;
    transition: gap 0.2s;
}

.lp-article-card:hover .lp-article-link {
    gap: 0.6rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .lp-hero {
        padding: 2.5rem 0 2rem;
    }
    
    .lp-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .lp-hero h1 {
        font-size: 1.75rem;
    }
    
    .lp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .lp-problems-grid,
    .lp-solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .lp-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lp-comparison {
        grid-template-columns: 1fr;
    }
    
    .lp-testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .lp-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .lp-form-row {
        grid-template-columns: 1fr;
    }
    
    .lp-section-title {
        font-size: 1.4rem;
    }
    
    .lp-header-cta .lp-phone-link span {
        display: none;
    }
    
    .lp-trust-bar {
        gap: 1rem;
    }
    
    .lp-trust-item {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .lp-hero h1 {
        font-size: 1.5rem;
    }
    
    .lp-form-card {
        padding: 1.5rem;
    }
    
    .lp-steps {
        grid-template-columns: 1fr;
    }
}
