/* CSS pour les pages locales - Design moderne inspiré de Carantec */

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header moderne */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 2;
}

.header-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    animation: fadeInUp 1.2s ease;
}

.header-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1.2s ease 0.3s both;
}

.tel-header {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1e3c72;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.2rem;
    display: inline-block;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(255,215,0,0.3);
    border: 2px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.tel-header:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255,215,0,0.4);
    background: linear-gradient(45deg, #ffed4e, #ffd700);
}

/* Navigation breadcrumb */
.nav-breadcrumb {
    background: white;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.breadcrumb {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
}

.breadcrumb a {
    color: #2a5298;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.breadcrumb a:hover {
    color: #1e3c72;
    text-decoration: underline;
}

/* Main Content */
.main-content {
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.content-section {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    border-radius: 20px 20px 0 0;
}

.content-section h2 {
    color: #1e3c72;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #ffd700;
    padding-bottom: 1rem;
    font-weight: 800;
    position: relative;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    border-radius: 2px;
}

.content-section h3 {
    color: #2a5298;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.highlight {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    padding: 2rem;
    border-left: 5px solid #ffd700;
    margin: 2rem 0;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(243,156,18,0.2);
    position: relative;
    overflow: hidden;
}

.highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="highlight" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="%23f39c12" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23highlight)"/></svg>');
    opacity: 0.3;
}

.city-highlight {
    font-weight: 800;
    color: #ff6b35;
    text-shadow: 1px 1px 3px rgba(255,107,53,0.2);
}

.service-highlight {
    font-weight: 700;
    color: #1e3c72;
}

/* Sidebar moderne */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.sidebar-section {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.sidebar-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.sidebar-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #28a745, #20c997);
    border-radius: 20px 20px 0 0;
}

.sidebar-section h3 {
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.8rem;
}

.sidebar-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(45deg, #28a745, #20c997);
    border-radius: 1px;
}

.contact-box {
    background: linear-gradient(135deg, #e7f3ff, #d1ecf1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(30,60,114,0.1);
    position: relative;
    overflow: hidden;
}

.contact-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="%231e3c72" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23contact)"/></svg>');
    opacity: 0.3;
}

.contact-box .phone {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e3c72;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(30,60,114,0.2);
}

.services-list {
    list-style: none;
    padding: 0;
}

.services-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 2rem;
}

.services-list li:before {
    content: "✓";
    color: #28a745;
    font-weight: 800;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(40,167,69,0.3);
}

.services-list li:hover {
    background: #f8f9fa;
    padding-left: 2.5rem;
    border-radius: 8px;
}

/* CTA Section moderne */
.cta-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23cta)"/></svg>');
    opacity: 0.3;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s ease;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border: none;
    cursor: pointer;
}

.btn::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.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1e3c72;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #ffed4e, #ffd700);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(255,215,0,0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(255,255,255,0.3);
}

/* Footer moderne */
footer {
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #0f1419 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23footer)"/></svg>');
    opacity: 0.6;
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #1e3c72, #2a5298, #28a745);
    border-radius: 0 0 3px 3px;
}

footer p {
    position: relative;
    z-index: 2;
    margin: 0.5rem 0;
    opacity: 0.9;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .header-content h1 {
        font-size: 2.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .content-section,
    .sidebar-section {
        padding: 2rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 1.8rem;
    }
    
    .header-content p {
        font-size: 1.1rem;
    }
    
    .tel-header {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .content-section,
    .sidebar-section {
        padding: 1.5rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
}

/* Améliorations UX */
html {
    scroll-behavior: smooth;
}

.btn:focus,
.breadcrumb a:focus {
    outline: 3px solid #1e3c72;
    outline-offset: 3px;
    border-radius: 8px;
}

/* Effets de survol améliorés */
.content-section:hover,
.sidebar-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.services-list li:hover {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    transform: translateX(5px);
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} 