/* Styles pour FÒS JENÈS - Site Web Classique */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Variables CSS pour les couleurs */
:root {
    --blue-900: #1e3a8a;
    --blue-800: #1e40af;
    --blue-50: #eff6ff;
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --amber-50: #fffbeb;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --white: #ffffff;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 18px;
    margin-right: 12px;
}

.logo-text h1 {
    font-size: 20px;
    font-weight: bold;
    color: var(--blue-900);
}

.logo-text p {
    font-size: 14px;
    color: var(--amber-600);
}

/* Navigation */
.nav {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav a:hover,
.nav a.active {
    color: var(--blue-900);
    background-color: var(--amber-50);
}

.cta-button {
    background: var(--blue-900);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.cta-button:hover {
    background: var(--blue-800);
}

/* Menu mobile */
.mobile-menu {
    display: none;
}

.mobile-menu-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray-700);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--amber-50) 100%);
    position: relative;
    padding: 80px 0 128px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
}

.hero .container {
    position: relative;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    color: var(--blue-900);
    margin-bottom: 24px;
}

.hero .tagline {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--amber-600);
    font-weight: 600;
    margin-bottom: 16px;
}

.hero .description {
    font-size: 18px;
    color: var(--gray-700);
    margin-bottom: 32px;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.btn {
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: all 0.2s;
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-block;
}

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

.btn-primary:hover {
    background: var(--blue-800);
}

.btn-outline {
    border-color: var(--amber-400);
    color: var(--amber-600);
    background: transparent;
}

.btn-outline:hover {
    background: var(--amber-50);
}

/* Sections générales */
.section {
    padding: 64px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--blue-900);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 512px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grilles */
.grid {
    display: grid;
    gap: 32px;
}

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

/* Cards */
.card {
    background: var(--white);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--blue-900);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-400);
    margin-bottom: 16px;
    font-size: 24px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--blue-900);
    margin-bottom: 8px;
}

.card-text {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Statistiques */
.stat-card {
    text-align: center;
    border-left: 4px solid var(--amber-400);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--blue-900);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--gray-600);
}

/* Témoignages */
.testimonial-card {
    background: var(--white);
}

.stars {
    color: var(--amber-400);
    font-size: 20px;
    margin-bottom: 8px;
}

.testimonial-quote {
    font-style: italic;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.testimonial-author {
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
}

.author-name {
    font-weight: 600;
    color: var(--blue-900);
}

.author-location {
    font-size: 14px;
    color: var(--gray-600);
}

.author-project {
    font-size: 14px;
    color: var(--amber-600);
    font-weight: 500;
}

/* Formulaires */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    color: var(--blue-900);
    font-weight: 500;
    margin-bottom: 4px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--amber-400);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Backgrounds */
.bg-white { background: var(--white); }
.bg-blue-50 { background: var(--blue-50); }
.bg-amber-50 { background: var(--amber-50); }
.bg-blue-900 { background: var(--blue-900); color: var(--white); }

/* Footer */
.footer {
    background: var(--blue-900);
    color: var(--white);
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h3 {
    color: var(--amber-400);
    margin-bottom: 16px;
}

.footer-section p,
.footer-section li {
    color: #cbd5e1;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--amber-400);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--blue-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--amber-500);
    color: var(--blue-900);
}

.footer-bottom {
    border-top: 1px solid var(--blue-800);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: #cbd5e1;
    font-size: 14px;
}

.footer-motto {
    color: var(--amber-400);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Messages d'alerte */
.alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}