/* ============================================
   FRANCEWEBCORPORATE.COM - PAGES JURIDICTIONS
   CSS Template pour pages pays standardisées
   ============================================ */

/* Hero Section Juridiction */
.juridiction-hero {
    position: relative;
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #0b1c2c 0%, #1a3a52 100%);
    color: var(--white);
    margin-top: 70px;
}

.juridiction-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.juridiction-hero-content {
    position: relative;
    z-index: 2;
}

.juridiction-flag {
    font-size: 80px;
    margin-bottom: 20px;
    display: inline-block;
}

.juridiction-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.juridiction-hero .subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.juridiction-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.badge {
    background: rgba(184, 147, 95, 0.2);
    border: 2px solid var(--secondary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
}

/* Breadcrumb */
.breadcrumb-section {
    background: var(--gray-100);
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-300);
}

.breadcrumb {
    list-style: none;
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 10px;
    color: var(--gray-600);
}

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

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.breadcrumb li:last-child {
    color: var(--gray-600);
}

/* Table of Contents */
.toc-section {
    background: var(--gray-100);
    padding: 60px 0;
}

.toc-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.toc-card h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-family: var(--font-heading);
    text-align: center;
}

.toc-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.toc-list li {
    border-left: 3px solid var(--secondary-color);
    padding-left: 15px;
}

.toc-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: block;
    padding: 8px 0;
}

.toc-list a:hover {
    color: var(--secondary-color);
    padding-left: 10px;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.content-section:nth-child(even) {
    background: var(--gray-100);
}

.content-section h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 15px;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
}

.content-section h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 20px;
}

.content-section ul, .content-section ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.content-section li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 10px;
}

/* Info Cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--secondary-color);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.info-card-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.info-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
    margin-top: 0;
}

.info-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Comparison Tables */
.comparison-table {
    width: 100%;
    margin-top: 30px;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table thead {
    background: var(--primary-color);
    color: var(--white);
}

.comparison-table th {
    padding: 20px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
}

.comparison-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--gray-300);
    color: var(--gray-700);
}

.comparison-table tbody tr:hover {
    background: var(--gray-100);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, rgba(184, 147, 95, 0.1) 0%, rgba(184, 147, 95, 0.05) 100%);
    border-left: 5px solid var(--secondary-color);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 8px;
}

.highlight-box.success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
    border-left-color: #28a745;
}

.highlight-box.warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
    border-left-color: #ffc107;
}

.highlight-box.danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
    border-left-color: #dc3545;
}

.highlight-box h4 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

/* Advantages / Disadvantages Lists */
.pros-cons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.pros-list, .cons-list {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.pros-list h3 {
    color: #28a745;
    margin-top: 0;
}

.cons-list h3 {
    color: #dc3545;
    margin-top: 0;
}

.pros-list ul, .cons-list ul {
    list-style: none;
    padding: 0;
}

.pros-list li::before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
    font-size: 20px;
    margin-right: 10px;
}

.cons-list li::before {
    content: '✗';
    color: #dc3545;
    font-weight: bold;
    font-size: 20px;
    margin-right: 10px;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--secondary-color);
}

.pricing-card.featured {
    border-top-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.pricing-card h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    margin-top: 0;
}

.pricing-card .price {
    font-size: 48px;
    color: var(--secondary-color);
    font-weight: 700;
    margin: 20px 0;
    font-family: var(--font-heading);
}

.pricing-card .price small {
    font-size: 16px;
    color: var(--gray-600);
    font-weight: 400;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.pricing-card li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-700);
}

.pricing-card li:last-child {
    border-bottom: none;
}

.pricing-card li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 10px;
}

/* FAQ Section */
.faq-section {
    background: var(--white);
    padding: 80px 0;
}

.faq-item {
    background: var(--gray-100);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    border-left: 4px solid var(--secondary-color);
}

.faq-question h4 {
    margin: 0;
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
}

.faq-icon {
    font-size: 24px;
    color: var(--secondary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 30px 30px;
}

.faq-answer p {
    margin: 0;
    color: var(--gray-700);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0b1c2c 0%, #1a3a52 100%);
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-cta {
    background: var(--secondary-color);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
    border: 2px solid var(--secondary-color);
}

.btn-primary-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(184, 147, 95, 0.3);
}

.btn-secondary-cta {
    background: transparent;
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
    border: 2px solid var(--white);
}

.btn-secondary-cta:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .juridiction-hero {
        padding: 120px 0 60px;
    }
    
    .juridiction-hero h1 {
        font-size: 32px;
    }
    
    .juridiction-flag {
        font-size: 60px;
    }
    
    .content-section {
        padding: 50px 0;
    }
    
    .content-section h2 {
        font-size: 28px;
    }
    
    .info-grid, .pricing-grid, .pros-cons-grid {
        grid-template-columns: 1fr;
    }
    
    .toc-list {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 14px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-cta,
    .btn-secondary-cta {
        width: 100%;
        max-width: 300px;
    }
}

/* Print Styles */
@media print {
    .juridiction-hero,
    .breadcrumb-section,
    .toc-section,
    .cta-section {
        display: none;
    }
    
    .content-section {
        page-break-inside: avoid;
    }
}
