:root {
    --primary-color: #00bcd4;
    --primary-dark: #0097a7;
    --primary-light: #b2ebf2;
    --secondary-color: #ff6f00;
    --secondary-dark: #e65100;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 25px rgba(0,188,212,0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-btn-nav {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-btn-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.burger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.9), rgba(0, 242, 254, 0.8)),
                url('https://images.unsplash.com/photo-1582735689369-4fe89db7114c?w=1920&q=80') center/cover;
    padding: 100px 20px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 600;
    color: var(--text-dark);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-btn.primary {
    background: var(--primary-color);
    color: var(--white);
}

.cta-btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.cta-btn.secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* Stats Section */
.stats {
    padding: 60px 20px;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    background: var(--primary-light);
}

.stat-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

.stat-card p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Services Section */
.services {
    padding: 80px 20px;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.service-list li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.service-list i {
    color: var(--success-color);
    font-size: 1.1rem;
}

.service-price {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-price .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.service-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Tarifs Section */
.tarifs {
    padding: 80px 20px;
    background: var(--white);
}

.tarifs-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tarif-tab {
    background: var(--bg-light);
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tarif-tab:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.tarif-tab.active {
    background: var(--primary-color);
    color: var(--white);
}

.tarifs-content {
    position: relative;
}

.tarif-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tarif-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tarif-grid {
    display: grid;
    gap: 1.5rem;
}

.tarif-item {
    background: var(--bg-light);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.tarif-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    border-left-color: var(--primary-color);
    transform: translateX(5px);
}

.tarif-info h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.tarif-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.tarif-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.tarifs-note {
    margin-top: 3rem;
    text-align: center;
    background: var(--primary-light);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.tarifs-note i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.tarifs-note p {
    color: var(--text-dark);
    font-weight: 600;
}

/* Process Section */
.process {
    padding: 80px 20px;
    background: var(--bg-light);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--white));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto 1rem;
}

.step-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.process-step h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.7rem;
}

.process-step p {
    color: var(--text-light);
    line-height: 1.6;
}

.process-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
}

/* Abonnement Section */
.abonnement {
    padding: 80px 20px;
    background: var(--white);
}

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

.abo-card {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.abo-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.abo-card.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-color: var(--primary-color);
}

.abo-card.featured .abo-header h3,
.abo-card.featured .abo-header p,
.abo-card.featured .abo-price,
.abo-card.featured .abo-features li {
    color: var(--white);
}

.abo-header h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.abo-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.abo-price {
    margin: 2rem 0;
}

.abo-price .price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.abo-card.featured .abo-price .price {
    color: var(--white);
}

.abo-price .period {
    font-size: 1.2rem;
    color: var(--text-light);
}

.abo-features {
    list-style: none;
    margin: 2rem 0;
}

.abo-features li {
    padding: 0.7rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
}

.abo-features i {
    font-size: 1.1rem;
}

.abo-features .fa-check {
    color: var(--success-color);
}

.abo-card.featured .abo-features .fa-check {
    color: var(--white);
}

.abo-features .fa-times {
    color: #ccc;
}

.abo-btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 3rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.abo-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.abo-card.featured .abo-btn {
    background: var(--white);
    color: var(--primary-color);
}

.abo-card.featured .abo-btn:hover {
    background: var(--bg-light);
}

/* Devis Section */
.devis {
    padding: 80px 20px;
    background: var(--bg-light);
}

.devis-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.devis-info h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.devis-info > p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.info-card h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.info-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-urgence {
    background: var(--primary-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
}

.contact-urgence h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.urgence-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.urgence-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.devis-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.devis-form h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    padding: 1.2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.form-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-note i {
    color: var(--success-color);
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background: var(--white);
}

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

.contact-map {
    background: var(--bg-light);
    border-radius: 20px;
    overflow: hidden;
}

.map-placeholder {
    height: 300px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.8), rgba(0, 117, 163, 0.9)),
                url('https://images.unsplash.com/photo-1524661135-423995f22d0b?w=1200&q=80') center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.map-placeholder p {
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.8;
}

.contact-details {
    padding: 2rem;
}

.contact-details h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.7rem 0;
    color: var(--text-dark);
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
    width: 25px;
}

.contact-horaires {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 20px;
}

.contact-horaires h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.horaire-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.horaire-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border-color);
}

.horaire-item:last-child {
    border-bottom: none;
}

.horaire-item span {
    color: var(--text-light);
}

.horaire-item strong {
    color: var(--text-dark);
    font-weight: 600;
}

.horaire-item.special {
    background: var(--primary-light);
    padding: 1rem;
    border-radius: 10px;
    border-bottom: none;
}

.horaire-item.special span,
.horaire-item.special strong {
    color: var(--primary-dark);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
}

.footer-col p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-certif {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(0, 188, 212, 0.1);
    padding: 0.7rem 1rem;
    border-radius: 10px;
    color: var(--primary-light);
    font-size: 0.9rem;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.7rem;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-col ul li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

/* Responsive */
@media (max-width: 1024px) {
    .devis-wrapper,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .process-steps {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow);
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .burger {
        display: block;
    }

    .cta-btn-nav {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

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