/* ============================================================
   WebMatic Theme - Additional Widgets CSS
   ============================================================ */

/* -----------------------------------------------------------
   1. PRICING TABLE
   ----------------------------------------------------------- */
.pricing-section {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card-highlighted {
    border: 2px solid #4CAF50;
    transform: scale(1.05);
}

.pricing-card-highlighted:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #4CAF50;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-name {
    font-size: 24px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 10px;
}

.pricing-price-wrapper {
    margin: 20px 0;
}

.pricing-price {
    font-size: 48px;
    font-weight: 700;
    color: #1e3a5f;
}

.pricing-period {
    display: block;
    color: #666;
    font-size: 14px;
}

.pricing-description {
    color: #666;
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}

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

.pricing-features li i {
    margin-right: 8px;
}

.pricing-features li i.fa-check {
    color: #4CAF50;
}

.pricing-features li i.fa-times {
    color: #ccc;
}

.pricing-features li.excluded {
    color: #999;
    text-decoration: line-through;
}

.btn-pricing {
    display: inline-block;
    padding: 12px 30px;
    background: #1e3a5f;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-pricing:hover {
    background: #2c5282;
}

.pricing-card-highlighted .btn-pricing {
    background: #4CAF50;
}

.pricing-card-highlighted .btn-pricing:hover {
    background: #45a049;
}

/* -----------------------------------------------------------
   2. FAQ ACCORDION
   ----------------------------------------------------------- */
.faq-section {
    padding: 80px 0;
}

.faq-section-title {
    text-align: center;
    font-size: 36px;
    color: #1e3a5f;
    margin-bottom: 50px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #1e3a5f;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #4CAF50;
}

.faq-question[aria-expanded="true"] {
    color: #4CAF50;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-icon {
    transition: transform 0.3s ease;
    color: #4CAF50;
}

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

.faq-answer-content {
    padding: 0 0 20px;
    color: #666;
    line-height: 1.6;
}

.faq-answer:not([hidden]) {
    max-height: 500px;
}

/* -----------------------------------------------------------
   3. TEAM MEMBERS
   ----------------------------------------------------------- */
.team-section {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    gap: 30px;
    margin-top: 50px;
}

.team-grid-2 { grid-template-columns: repeat(2, 1fr); }
.team-grid-3 { grid-template-columns: repeat(3, 1fr); }
.team-grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
    .team-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .team-grid-2,
    .team-grid-3,
    .team-grid-4 { grid-template-columns: 1fr; }
}

.team-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid #f0f0f0;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-photo-placeholder {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #ccc;
}

.team-name {
    font-size: 20px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 5px;
}

.team-role {
    color: #4CAF50;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
}

.team-bio {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e3a5f;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.team-social a:hover {
    background: #1e3a5f;
    color: white;
}

/* -----------------------------------------------------------
   4. STATS / COUNTERS
   ----------------------------------------------------------- */
.stats-section {
    padding: 60px 0;
    background: #1e3a5f;
    color: white;
}

.stats-grid {
    display: grid;
    gap: 40px;
    text-align: center;
}

.stats-grid-2 { grid-template-columns: repeat(2, 1fr); }
.stats-grid-3 { grid-template-columns: repeat(3, 1fr); }
.stats-grid-4 { grid-template-columns: repeat(4, 1fr); }
.stats-grid-5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 768px) {
    .stats-grid-2,
    .stats-grid-3,
    .stats-grid-4,
    .stats-grid-5 { grid-template-columns: repeat(2, 1fr); }
}

.stat-card {
    padding: 20px;
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #4CAF50;
}

.stat-number-wrapper {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-number {
    color: #ffffff;
}

.stat-suffix {
    color: #4CAF50;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* -----------------------------------------------------------
   5. LOGO CAROUSEL
   ----------------------------------------------------------- */
.logo-carousel-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.carousel-title {
    text-align: center;
    font-size: 24px;
    color: #666;
    margin-bottom: 40px;
}

.logo-carousel {
    display: flex;
    align-items: center;
    gap: 60px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 20px 0;
}

.logo-carousel::-webkit-scrollbar {
    display: none;
}

.logo-item {
    flex-shrink: 0;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.logo-item img {
    max-height: 60px;
    width: auto;
}

/* -----------------------------------------------------------
   6. PROCESS STEPS
   ----------------------------------------------------------- */
.process-section {
    padding: 80px 0;
}

.process-steps {
    display: flex;
    max-width: 1000px;
    margin: 50px auto 0;
}

.process-horizontal {
    flex-direction: row;
    justify-content: space-between;
}

.process-vertical {
    flex-direction: column;
    gap: 30px;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.step-header {
    position: relative;
    margin-bottom: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #4CAF50;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin: 0 auto 15px;
}

.step-icon {
    font-size: 24px;
    color: #1e3a5f;
    margin-bottom: 10px;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 10px;
}

.step-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.step-connector {
    position: absolute;
    top: 25px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #4CAF50, transparent);
}

/* -----------------------------------------------------------
   7. NEWSLETTER
   ----------------------------------------------------------- */
.newsletter-section {
    padding: 80px 0;
}

.newsletter-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-size: 32px;
    color: #1e3a5f;
    margin-bottom: 15px;
}

.newsletter-description {
    color: #666;
    margin-bottom: 30px;
}

.newsletter-form {
    margin-bottom: 20px;
}

.newsletter-form-group {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: #4CAF50;
}

.btn-newsletter {
    padding: 15px 30px;
    background: #1e3a5f;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.btn-newsletter:hover {
    background: #2c5282;
}

.newsletter-privacy {
    font-size: 12px;
    color: #999;
}

/* -----------------------------------------------------------
   8. RDV FORM
   ----------------------------------------------------------- */
.rdv-section {
    padding: 80px 0;
}

.rdv-form {
    max-width: 600px;
    margin: 0 auto;
}

.rdv-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .rdv-form .form-row {
        grid-template-columns: 1fr;
    }
}

.rdv-form .form-group {
    margin-bottom: 20px;
}

.rdv-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1e3a5f;
}

.rdv-form input,
.rdv-form select,
.rdv-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.rdv-form input:focus,
.rdv-form select:focus,
.rdv-form textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

/* -----------------------------------------------------------
   9. CTA DEVIS
   ----------------------------------------------------------- */
.devis-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    color: white;
    text-align: center;
}

.devis-cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: white;
}

.devis-cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
}

/* -----------------------------------------------------------
   10. BREADCRUMB
   ----------------------------------------------------------- */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.breadcrumb-item a {
    color: #1e3a5f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #4CAF50;
}

.breadcrumb-item.current {
    color: #666;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #ccc;
    font-size: 12px;
}

/* -----------------------------------------------------------
   11. DARK MODE COMPATIBILITY
   ----------------------------------------------------------- */
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .team-card,
[data-theme="dark"] .faq-question {
    background: var(--card-bg);
}

[data-theme="dark"] .pricing-name,
[data-theme="dark"] .team-name,
[data-theme="dark"] .step-title,
[data-theme="dark"] .newsletter-title,
[data-theme="dark"] .section-title {
    color: var(--heading-color);
}

[data-theme="dark"] .pricing-features li,
[data-theme="dark"] .step-description,
[data-theme="dark"] .newsletter-description {
    color: var(--text-color);
}
