:root {
--primary: #0284c7;
--secondary: #0f172a;
--accent: #10b981;
--light: #f8fafc;
--text: #334155;
--border: #e2e8f0;
}

body {
font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
margin: 0;
padding: 0;
color: var(--text);
scroll-behavior: smooth;
line-height: 1.6;
}

.container {
max-width: 1200px;
margin: auto;
padding: 5rem 2rem;
}

.bg-light { background-color: var(--light); }
.text-center { text-align: center; }
.subtitle { max-width: 700px; margin: 0 auto 3rem auto; color: #64748b; font-size: 1.1rem; }

/* Navigation */
header {
    display: flex;
    justify-content: space-between; /* Remet le logo à gauche et le menu à droite */
    align-items: center;
    padding: 1.2rem 2rem; /* Retour à la hauteur d'origine */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo { font-size: 1.6rem; font-weight: 700; color: var(--primary); }

nav {
    display: flex;
    gap: 0; /* Réinitialise le gap pour utiliser les marges d'origine */
}

nav a { 
    text-decoration: none; 
    color: var(--secondary); 
    margin-left: 1.8rem; /* Remet l'espacement gauche d'origine */
    font-weight: 500; 
    transition: color 0.2s; 
}


/* Section Héro */
.hero {
background: linear-gradient(rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.6)), url('SRfondecran.jpg') center/cover no-repeat;
height: 65vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: white;
padding: 0 1rem;
}

.hero-content h1 { font-size: 3.2rem; margin-bottom: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
.hero-content p { font-size: 1.3rem; margin-bottom: 2.5rem; max-width: 800px; margin-left: auto; margin-right: auto; opacity: 0.9; }
.btn { background: var(--primary); color: white; padding: 0.9rem 2rem; text-decoration: none; border-radius: 6px; font-weight: 600; box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3); transition: transform 0.2s; }
.btn:hover { transform: translateY(-2px); }

/* Cartes Hébergements */
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 0.5rem; color: var(--secondary); font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.05); border: 1px solid var(--border); transition: transform 0.2s; }
.card:hover { transform: translateY(-4px); }
.card-img { height: 240px; background-size: cover; background-position: center; }
.card-body { padding: 1.8rem; text-align: center; }
.card-body h3 { margin: 0 0 0.75rem 0; color: var(--secondary); font-size: 1.4rem; }
.card-body p { color: #64748b; font-size: 0.95rem; margin-bottom: 1.5rem; }
.badge { background: #e0f2fe; color: var(--primary); padding: 0.4rem 1rem; border-radius: 50px; font-weight: 600; font-size: 0.85rem; }

/* Grille des Fonctionnalités */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 1rem; }
.feature-item { background: white; padding: 2.5rem 1.8rem; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 2px 4px rgba(0,0,0,0.02); text-align: left; }
.icon-wrapper { width: 50px; height: 50px; background: #f0fdf4; color: var(--accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.2rem; }
.feature-item h3 { font-size: 1.2rem; color: var(--secondary); margin: 0 0 0.5rem 0; }
.feature-item p { color: #64748b; font-size: 0.95rem; margin: 0; }

/* Bloc d'intégration Calendrier */
.calendar-integration-box { background: white; border: 2px dashed #cbd5e1; border-radius: 16px; min-height: 450px; display: flex; align-items: center; justify-content: center; padding: 2rem; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.placeholder-content { text-align: center; max-width: 500px; color: #64748b; }
.placeholder-icon { font-size: 3.5rem; color: var(--primary); margin-bottom: 1rem; }
.placeholder-content h3 { color: var(--secondary); margin: 0 0 0.5rem 0; font-size: 1.3rem; }
.code-tip { background: var(--light); padding: 0.8rem 1.2rem; border-radius: 6px; margin-top: 1.5rem; border: 1px solid var(--border); }
.code-tip code { font-family: monospace; color: #be185d; font-size: 0.9rem; }

/* Widget Chatbot / Support */
.chat-widget { position: fixed; bottom: 25px; right: 25px; width: 340px; background: white; border-radius: 12px; box-shadow: 0 10px 35px rgba(0,0,0,0.15); overflow: hidden; z-index: 1000; border: 1px solid var(--border); }
.chat-header { background: var(--secondary); color: white; padding: 1.1rem; display: flex; justify-content: space-between; font-weight: 600; cursor: pointer; }
.chat-body { padding: 1.2rem; max-height: 380px; overflow-y: auto; display: none; }
.chat-body.open { display: block; }
.message { padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 0.75rem; font-size: 0.9rem; line-height: 1.4; }
.message.bot { background: var(--light); border-left: 4px solid var(--accent); color: var(--secondary); }
.chat-options button { display: block; width: 100%; text-align: left; background: white; border: 1px solid var(--primary); color: var(--primary); padding: 0.7rem 1rem; margin-bottom: 0.6rem; border-radius: 6px; cursor: pointer; font-size: 0.85rem; font-weight: 500; transition: all 0.2s; }
.chat-options button:hover { background: var(--primary); color: white; }
.hidden { display: none; }

/* Footer */
footer { background: var(--secondary); color: #94a3b8; text-align: center; font-size: 0.9rem; border-top: 1px solid #1e293b; }
footer .container { padding: 2.5rem 2rem; }
