﻿/* ===================================
   USERBUILD PAGE STYLES
   =================================== */

/* Hero Section */
.userbuild-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.userbuild-hero-section .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
    z-index: 0;
}

.userbuild-hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(25, 135, 84, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(40, 167, 69, 0.1) 0%, transparent 50%);
}

.userbuild-hero-section .hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.userbuild-hero-section .hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.userbuild-hero-section .text-gradient {
    background: linear-gradient(135deg, #198754 0%, #28a745 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 1rem;
}

.userbuild-hero-section .subtitle {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    display: block;
}

.userbuild-hero-section .hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Offres Section */
.offres-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.offre-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.offre-card.featured {
    border: 3px solid #198754;
}

.offre-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.offre-badge.popular {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
}

.offre-header {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    color: #ffffff;
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.offre-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.offre-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.offre-tagline {
    font-size: 1rem;
    opacity: 0.95;
    margin-bottom: 0;
}

.offre-body {
    padding: 2rem;
    flex-grow: 1;
}

.offre-features {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
}

.offre-features h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #212529;
}

.feature-item {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-item i {
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.offre-process {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 10px;
    padding: 1rem 1.5rem;
}

.offre-process h4 {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.process-list {
    margin: 0;
    padding-left: 1.2rem;
}

.process-list li {
    padding: 0.25rem 0;
}

.offre-pricing {
    margin-top: 1.5rem;
}

.price-tag {
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
}

.price-tag.featured {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #198754;
}

.price-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.price-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #198754;
}

.price-unit {
    font-size: 1rem;
    color: #6c757d;
}

.price-monthly {
    font-size: 0.95rem;
    color: #495057;
}

.price-details {
    text-align: center;
    margin-top: 0.75rem;
}

.offre-footer {
    padding: 1.5rem 2rem;
    background: #f8f9fa;
}

/* Table de comparaison */
.comparison-table-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.comparison-table {
    margin-bottom: 0;
}

.comparison-table th {
    background: #f8f9fa;
    font-weight: 700;
    padding: 1rem;
}

.comparison-table td {
    padding: 0.75rem 1rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.contact-form-card {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-info-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

.contact-item:last-of-type {
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    flex-shrink: 0;
}

.contact-text strong {
    display: block;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-text p {
    margin: 0;
    color: #6c757d;
}

.contact-text a {
    color: #198754;
    text-decoration: none;
}

.contact-text a:hover {
    text-decoration: underline;
}

.contact-faq {
    padding-top: 1rem;
}

.faq-item {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 10px;
}

.faq-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #212529;
}

.faq-item p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Technologies Section */
.technologies-section {
    background: #ffffff;
    color: #212529;
}

.technologies-section .section-intro h3,
.technologies-section .section-intro p {
    color: #212529;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.tech-item {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: #198754;
}

.tech-item i {
    font-size: 2.5rem;
    color: #198754;
    margin-bottom: 0.75rem;
}

.tech-item span {
    display: block;
    font-weight: 600;
    color: #212529;
}

/* Garanties Section */
.garanties-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.garantie-card {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.garantie-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #ffffff;
}

.garantie-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.garantie-card p {
    color: #6c757d;
    margin-bottom: 0;
}

/* CTA Section */
.userbuild-cta-section {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
    color: #ffffff;
}

.userbuild-cta-section h2 {
    color: #ffffff;
}

.userbuild-cta-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 992px) {
    .userbuild-hero-section .hero-title {
        font-size: 3rem;
    }

    .userbuild-hero-section .subtitle {
        font-size: 1.5rem;
    }

    .userbuild-hero-section .hero-description {
        font-size: 1.1rem;
    }

    .offre-card {
        margin-bottom: 2rem;
    }

    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Fix textes qui deviennent blancs */
.offre-card *:not(.offre-header *):not(.btn):not(.badge):not(i):not(.text-success):not(.text-primary):not(.text-info):not(.text-warning):not(.text-danger):not(.text-secondary):not(.text-muted) {
    color: #495057 !important;
}

.offre-card h3,
.offre-card h4,
.offre-card strong {
    color: #212529 !important;
}

.offre-header *,
.offre-badge * {
    color: #ffffff !important;
}

.price-value {
    color: #198754 !important;
}

.price-label,
.price-unit,
.price-monthly {
    color: #495057 !important;
}

@media (max-width: 768px) {
    .userbuild-hero-section .hero-title {
        font-size: 2.5rem;
    }

    .userbuild-hero-section .subtitle {
        font-size: 1.3rem;
    }

    .userbuild-hero-section .hero-description {
        font-size: 1rem;
    }

    .offre-header {
        padding: 2rem 1.5rem 1.5rem;
    }

    .offre-header h3 {
        font-size: 1.5rem;
    }

    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .userbuild-hero-section .hero-title {
        font-size: 2rem;
    }

    .userbuild-hero-section .subtitle {
        font-size: 1.1rem;
    }

    .hero-cta .btn {
        display: block;
        margin: 0.5rem 0 !important;
    }

    .offre-card {
        padding: 1.5rem;
    }

    .offre-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .feature-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin: 0 auto;
    }
}


/* Hero Section */
.userbuild-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.userbuild-hero-section .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
    z-index: 0;
}

.userbuild-hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(25, 135, 84, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(40, 167, 69, 0.1) 0%, transparent 50%);
}

.userbuild-hero-section .hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.userbuild-hero-section .hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.userbuild-hero-section .text-gradient {
    background: linear-gradient(135deg, #198754 0%, #28a745 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 1rem;
}

.userbuild-hero-section .subtitle {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    display: block;
}

.userbuild-hero-section .hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Services Section */
.services-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.service-card.featured {
    border: 2px solid #198754;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: #ffffff;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-align: center;
}

.service-tagline {
    text-align: center;
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.service-card > p {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #495057;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features i {
    font-size: 1.2rem;
}

.service-status {
    text-align: center;
    margin-top: 1rem;
}

/* Process Section */
.process-section {
    background: #ffffff;
}

.process-timeline {
    position: relative;
    padding: 2rem 0;
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
}

.step-content {
    flex-grow: 1;
    padding-top: 0.5rem;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Technologies Section */
.technologies-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tech-item {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: #198754;
}

.tech-item i {
    font-size: 2.5rem;
    color: #198754;
    margin-bottom: 0.75rem;
}

.tech-item span {
    display: block;
    font-weight: 600;
    color: #212529;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.contact-card {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-options {
    margin-top: 2rem;
}

/* Why Section */
.why-section {
    background: #ffffff;
}

.why-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: #ffffff;
}

.why-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.why-card p {
    color: #6c757d;
    margin-bottom: 0;
}

/* CTA Section */
.userbuild-cta-section {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
    color: #ffffff;
}

.userbuild-cta-section h2 {
    color: #ffffff;
}

.userbuild-cta-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 992px) {
    .userbuild-hero-section .hero-title {
        font-size: 3rem;
    }

    .userbuild-hero-section .subtitle {
        font-size: 1.5rem;
    }

    .userbuild-hero-section .hero-description {
        font-size: 1.1rem;
    }

    .service-card {
        margin-bottom: 2rem;
    }

    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .userbuild-hero-section .hero-title {
        font-size: 2.5rem;
    }

    .userbuild-hero-section .subtitle {
        font-size: 1.3rem;
    }

    .userbuild-hero-section .hero-description {
        font-size: 1rem;
    }

    .process-step {
        gap: 1rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }

    .contact-card {
        padding: 2rem 1rem;
    }
}

@media (max-width: 576px) {
    .userbuild-hero-section .hero-title {
        font-size: 2rem;
    }

    .userbuild-hero-section .subtitle {
        font-size: 1.1rem;
    }

    .hero-cta .btn {
        display: block;
        margin: 0.5rem 0 !important;
    }

    .service-card {
        padding: 1.5rem;
    }

    .process-step {
        flex-direction: column;
        gap: 1rem;
    }

    .step-number {
        margin: 0 auto;
    }

    .step-content {
        text-align: center;
    }
}
