/* ==========================================================================
   Téléconsultation Landing Pages - Design moderne inspiré de lemedecin.fr
   ========================================================================== */

/* --- Variables CSS --- */
:root {
    --primary-blue: #4a90e2;
    --primary-blue-dark: #357ABD;
    --primary-blue-light: #E8F3FB;
    --success-green: #10B981;
    --warning-orange: #F59E0B;
    --danger-red: #EF4444;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --text-light: #9CA3AF;
    --border-gray: #E5E7EB;
    --bg-gray: #F9FAFB;
    --bg-white: #FFFFFF;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

/* --- Hero Section --- */
.tlc-hero {
    background: #FAFBFC !important;
    background-image: none !important;
    color: var(--text-dark) !important;
    padding: 2.5rem 0 2rem !important;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #F0F1F3;
    max-width: 100% !important;
    margin: 0 !important;
}

.tlc-hero::before,
.tlc-hero::after {
    display: none !important;
}

.tlc-hero * {
    text-shadow: none !important;
}

.tlc-hero .container {
    position: relative;
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 0 1.5rem !important;
}

.tlc-hero h1 {
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    margin: 0 0 0.75rem !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em;
    color: var(--text-dark) !important;
    text-shadow: none !important;
    padding: 0 !important;
}

.tlc-hero__subtitle-top {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.tlc-hero__stat {
    display: inline-block;
    background: #F0F7FF;
    color: #1e40af;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.tlc-hero__badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tlc-badge {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: var(--bg-white);
    border: 1px solid #E8E9EB;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4B5563;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    text-align: left;
}

.tlc-badge:hover {
    border-color: #D1D5DB;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.tlc-badge__icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.tlc-cta-btn {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--bg-white);
    font-size: 1rem;
    font-weight: 700;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.25);
    border: none;
    position: relative;
}

.tlc-cta-btn::before {
    display: none;
}

.tlc-cta-btn:hover::before {
    display: none;
}

.tlc-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    background: var(--primary-blue-dark);
}

.tlc-hero__subtitle {
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    color: #9CA3AF;
    font-weight: 400;
    line-height: 1.5;
}

.tlc-intent-badge {
    display: inline-block;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

/* --- Generic Section --- */
.tlc-section {
    padding: 3.5rem 0;
}

.tlc-section h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1.5rem;
    letter-spacing: -0.01em;
}

/* --- Intro --- */
.tlc-intro {
    background: var(--bg-white);
    font-size: 1.125rem;
    line-height: 1.8;
}

.tlc-intro p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

/* --- Problem / Solution --- */
.tlc-problem-solution {
    background: var(--bg-gray);
}

.tlc-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.tlc-column {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.tlc-column:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.tlc-problem {
    border-top: 4px solid var(--primary-blue);
}

.tlc-solution {
    border-top: 4px solid var(--success-green);
}

.tlc-column h2 {
    font-size: 1.375rem;
    margin-bottom: 1.25rem;
}

.tlc-column ul {
    padding-left: 1.5rem;
    list-style: none;
}

.tlc-column li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.tlc-column li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 700;
}

.tlc-problem li::before {
    content: '•';
    color: var(--primary-blue);
}

/* --- How It Works --- */
.tlc-how {
    background: var(--bg-white);
    text-align: center;
}

.tlc-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.tlc-step {
    background: var(--bg-white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
}

.tlc-step:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--primary-blue-light);
}

.tlc-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: var(--bg-white);
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(11, 95, 255, 0.3);
}

.tlc-step h3 {
    font-size: 1.25rem;
    margin: 0 0 0.75rem;
    color: var(--text-dark);
    font-weight: 700;
}

.tlc-step p {
    color: var(--text-gray);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

/* --- Urgences --- */
.tlc-urgences {
    background: #FEF2F2;
    border-left: 4px solid var(--danger-red);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.tlc-urgences h2 {
    color: var(--danger-red);
}

.tlc-urgences__cta {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: #FEE2E2;
    border-radius: var(--radius-md);
    text-align: center;
    color: #991B1B;
    font-weight: 700;
}

/* --- FAQ --- */
.tlc-faq {
    background: var(--bg-white);
}

.tlc-faq__item {
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tlc-faq__item:hover {
    box-shadow: var(--shadow-sm);
}

.tlc-faq__item[open] {
    box-shadow: var(--shadow-md);
}

.tlc-faq__item summary {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--bg-white);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dark);
    transition: background 0.2s;
}

.tlc-faq__item summary:hover {
    background: var(--bg-gray);
}

.tlc-faq__item summary::before {
    content: '▸';
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: var(--primary-blue);
    font-size: 1.125rem;
}

.tlc-faq__item[open] summary::before {
    transform: rotate(90deg);
}

.tlc-faq__item summary::-webkit-details-marker {
    display: none;
}

.tlc-faq__answer {
    padding: 1.25rem 1.5rem;
    line-height: 1.8;
    color: var(--text-gray);
    border-top: 1px solid var(--border-gray);
    background: var(--bg-gray);
}

/* --- Testimonial --- */
.tlc-testimonial {
    background: var(--primary-blue-light);
}

.tlc-testimonial__quote {
    border-left: 4px solid var(--primary-blue);
    margin: 1rem 0;
    padding: 1.5rem 2rem;
    background: var(--bg-white);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
    box-shadow: var(--shadow-sm);
}

/* --- Trust Badges --- */
.tlc-trust {
    background: var(--bg-white);
}

.tlc-trust__badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.tlc-trust__badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 1.5rem;
    background: var(--bg-gray);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.tlc-trust__badge:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.tlc-trust__icon {
    font-size: 2.5rem;
}

.tlc-trust__badge span:last-child {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* --- Related Pathologies --- */
.tlc-related {
    background: var(--bg-gray);
}

.tlc-related h3 {
    font-size: 1.375rem;
    margin-bottom: 1.25rem;
}

.tlc-related a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.tlc-related a:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

/* --- CTA Final --- */
.tlc-cta-final {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--bg-white);
    text-align: center;
    padding: 4rem 0;
}

.tlc-cta-final h2 {
    color: var(--bg-white);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.tlc-disclaimer {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    opacity: 0.85;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Breadcrumb --- */
.tlc-breadcrumb {
    background: var(--bg-gray);
    padding: 1rem 0;
    font-size: 0.875rem;
}

.tlc-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}

.tlc-breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: var(--text-light);
}

.tlc-breadcrumb a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s;
}

.tlc-breadcrumb a:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

.tlc-breadcrumb [aria-current="page"] {
    color: var(--text-gray);
}

/* --- Chapeau --- */
.tlc-chapeau {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-gray);
    font-weight: 500;
}

/* --- Table of Contents --- */
.tlc-toc {
    background: var(--bg-gray);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 1.5rem 0;
}

.tlc-toc h2 {
    font-size: 1.25rem;
    margin: 0 0 1rem;
    color: var(--text-dark);
}

.tlc-toc ol {
    padding-left: 1.5rem;
    margin: 0;
}

.tlc-toc li {
    margin-bottom: 0.625rem;
    line-height: 1.6;
}

.tlc-toc a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}

.tlc-toc a:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

/* --- Article Body --- */
.tlc-article-body {
    background: var(--bg-white);
}

.tlc-article-body .tlc-section {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-gray);
}

.tlc-article-body .tlc-section:last-child {
    border-bottom: none;
}

.tlc-article-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1.25rem;
}

.tlc-article-body h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 1.5rem 0 1rem;
}

.tlc-article-body p {
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.25rem;
}

.tlc-article-body ul,
.tlc-article-body ol {
    padding-left: 2rem;
    margin-bottom: 1.25rem;
}

.tlc-article-body li {
    line-height: 1.8;
    margin-bottom: 0.625rem;
    color: var(--text-gray);
}

/* --- Category Alerts --- */
.tlc-alert {
    padding: 1.25rem 0;
    margin: 1rem 0;
}

.tlc-alert .container {
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
}

.tlc-alert--info .container {
    background: var(--primary-blue-light);
    border-left: 4px solid var(--primary-blue);
    color: #1E3A8A;
}

.tlc-alert--warning .container {
    background: #FEF3C7;
    border-left: 4px solid var(--warning-orange);
    color: #92400E;
}

.tlc-alert--danger .container {
    background: #FEF2F2;
    border-left: 4px solid var(--danger-red);
    color: #991B1B;
}

/* --- Internal Links --- */
.tlc-internal-links {
    background: var(--bg-gray);
}

.tlc-internal-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tlc-internal-links li {
    margin: 0;
}

.tlc-internal-links a {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background: var(--bg-white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-md);
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tlc-internal-links a:hover {
    background: var(--primary-blue-light);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* --- Author Section --- */
.tlc-author {
    background: var(--bg-gray);
    border-top: 1px solid var(--border-gray);
}

.tlc-author p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.tlc-author p:first-child {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .tlc-hero {
        padding: 1.5rem 0 1.5rem;
    }

    .tlc-hero .container {
        padding: 0 1rem;
    }

    .tlc-hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .tlc-hero__subtitle-top {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .tlc-hero__stat {
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
        margin-bottom: 1rem;
    }

    .tlc-hero__badges {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .tlc-badge {
        font-size: 0.8rem;
        padding: 0.625rem 0.875rem;
    }

    .tlc-badge__icon {
        font-size: 1.125rem;
    }

    .tlc-cta-btn {
        font-size: 0.95rem;
        padding: 0.75rem 1.75rem;
    }

    .tlc-hero__subtitle {
        font-size: 0.75rem;
        margin-top: 0;
        margin-bottom: 1rem;
    }

    .tlc-intent-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.625rem;
        margin-bottom: 0.5rem;
    }

    .tlc-columns {
        grid-template-columns: 1fr;
    }

    .tlc-steps {
        grid-template-columns: 1fr;
    }

    .tlc-trust__badges {
        grid-template-columns: 1fr;
    }

    .tlc-cta-btn {
        font-size: 1rem;
        padding: 0.875rem 2rem;
    }

    .tlc-section {
        padding: 2.5rem 0;
    }

    .tlc-section h2 {
        font-size: 1.5rem;
    }

}

@media (max-width: 480px) {
    .tlc-hero {
        padding: 1.25rem 0 1.25rem;
    }

    .tlc-hero h1 {
        font-size: 1.375rem;
        line-height: 1.2;
        margin-bottom: 0.375rem;
    }

    .tlc-hero__subtitle-top {
        font-size: 0.8rem;
    }

    .tlc-hero__stat {
        font-size: 0.7rem;
        padding: 0.2rem 0.625rem;
    }

    .tlc-hero__subtitle {
        font-size: 0.7rem;
        margin-top: 0;
        margin-bottom: 0.875rem;
    }

    .tlc-cta-btn {
        width: auto;
        max-width: 100%;
        font-size: 0.9rem;
        padding: 0.625rem 1.5rem;
    }

    .tlc-badge {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
}
