/* ============================================
   COMPONENTS - Style Apple/Stripe moderne
   ============================================ */

/* BOUTONS - Style Apple */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    font-family: var(--font-heading);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

/* Bouton Primary - Dégradé bleu dynamique */
.btn-primary {
    background: linear-gradient(135deg, #4FC3F7 0%, #26C6DA 100%);
    color: white;
    box-shadow: 
        0 4px 16px rgba(79, 195, 247, 0.3),
        0 8px 32px rgba(79, 195, 247, 0.15),
        inset 0 -2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 8px 24px rgba(79, 195, 247, 0.4),
        0 16px 48px rgba(79, 195, 247, 0.2),
        inset 0 -2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

/* Bouton Secondary - Glassmorphism */
.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--bleu-clair);
    border: 1.5px solid rgba(79, 195, 247, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: white;
    border-color: rgba(79, 195, 247, 0.5);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(79, 195, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Bouton téléphone */
.btn-phone {
    background: rgba(255, 255, 255, 0.95);
    color: var(--bleu-clair);
    border: 1px solid rgba(79, 195, 247, 0.2);
    font-weight: var(--font-semibold);
    gap: var(--space-xs);
    backdrop-filter: blur(10px);
}

.btn-phone:hover {
    background: white;
    border-color: var(--bleu-clair);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(79, 195, 247, 0.2);
}

/* Bouton large */
.btn-large {
    padding: 1.25rem 3rem;
    font-size: var(--text-lg);
}

/* CARTES - Glassmorphism moderne */
.card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-xl) var(--space-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 195, 247, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 24px 64px rgba(79, 195, 247, 0.2),
        0 0 0 1px rgba(79, 195, 247, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-color: rgba(79, 195, 247, 0.3);
}

/* Carte Feature - Avec accent coloré */
.card-feature {
    text-align: center;
}

.card-feature::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        #4FC3F7 0%, 
        #26C6DA 50%, 
        #66BB6A 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-feature:hover::after {
    transform: scaleX(1);
}

.card-feature h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-sm);
    color: var(--texte-principal);
}

.card-feature p {
    color: var(--texte-secondaire);
    line-height: 1.7;
}

/* Carte Service - Sans emojis */
.card-service {
    text-align: center;
    cursor: pointer;
}

.card-service h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--texte-principal);
    position: relative;
    padding-bottom: 0.75rem;
}

.card-service h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #4FC3F7, #26C6DA);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.card-service:hover h3::after {
    width: 60px;
}

.card-service p {
    color: var(--texte-secondaire);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Carte Location */
.card-location {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(250, 250, 250, 0.95) 100%);
}

.card-location h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--bleu-clair);
}

.card-location address {
    font-style: normal;
    color: var(--texte-secondaire);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.card-location .status {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: linear-gradient(135deg, #66BB6A, #4CAF50);
    color: white;
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-xl);
    margin-top: var(--space-sm);
}

.card-location .status.coming-soon {
    background: linear-gradient(135deg, #FF9800, #FF6F00);
}

/* GRILLES */
.grid {
    display: grid;
    gap: var(--space-lg);
    position: relative;
}

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

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

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

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

/* SECTION HEADER */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, 
        var(--texte-principal) 0%, 
        var(--bleu-clair) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: var(--text-xl);
    color: var(--texte-secondaire);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* DIVIDER décoratif */
.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4FC3F7, #26C6DA);
    border-radius: 2px;
    margin: var(--space-lg) auto;
}

/* LAYOUT 50/50 */
.layout-50-50 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-3xl);
    align-items: center;
}

.layout-50-50 img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* SECTION */
.section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.section-gray {
    background: linear-gradient(135deg, 
        rgba(250, 250, 250, 1) 0%, 
        rgba(245, 245, 245, 1) 100%);
    position: relative;
}

.section-gray::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(79, 195, 247, 0.3) 50%, 
        transparent 100%);
}

.section-blue {
    background: 
        radial-gradient(ellipse at top, 
            rgba(79, 195, 247, 0.08) 0%, 
            transparent 70%),
        linear-gradient(180deg, 
            rgba(255, 255, 255, 1) 0%, 
            rgba(250, 250, 250, 1) 100%);
    position: relative;
    overflow: hidden;
}

.section-blue::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(38, 198, 218, 0.06) 0%, 
        transparent 70%);
    pointer-events: none;
}

/* CTA SECTION */
.cta-section {
    background: linear-gradient(135deg, 
        rgba(79, 195, 247, 0.1) 0%, 
        rgba(38, 198, 218, 0.1) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl) var(--space-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(79, 195, 247, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.3) 0%, 
        transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: var(--text-lg);
    color: var(--texte-secondaire);
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
}

.cta-section .btn {
    position: relative;
    z-index: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .section {
        padding: var(--space-2xl) 0;
    }
    
    .card {
        padding: var(--space-lg) var(--space-md);
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
    }
    
    .btn-large {
        padding: var(--space-sm) var(--space-lg);
        font-size: var(--text-base);
    }
    
    .layout-50-50 {
        gap: var(--space-lg);
    }
}
