/* VARIABLES & RESET */
:root {
    --primary: #00838F; /* Bleu Canard (Rassurant/Médical) */
    --primary-dark: #006064;
    --secondary: #E0F7FA;
    --text: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --bg-light: #f9f9f9;
    --max-width: 1100px;
    --spacing: 2rem;
    --border-radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: system-ui, -apple-system, sans-serif; /* Performance max */
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
}

/* UTILS */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.w-100 { width: 100%; }
.bg-light { background-color: var(--bg-light); }
.bg-blue { background-color: var(--secondary); color: var(--primary-dark); }
a { text-decoration: none; color: inherit; }

/* TYPOGRAPHY */
h1, h2, h3 { color: var(--primary-dark); margin-bottom: 1rem; line-height: 1.3; }
h1 { font-size: 2.2rem; font-weight: 700; }
h2 { font-size: 1.8rem; }
.section-title { text-align: center; margin-bottom: 0.5rem; }
.section-subtitle { text-align: center; color: var(--text-light); margin-bottom: 3rem; }

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}
.btn-primary { background-color: var(--primary); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background-color: var(--primary); color: var(--white); }

/* HEADER */
.header { position: sticky; top: 0; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); z-index: 1000; padding: 1rem 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.4rem; font-weight: 700; color: var(--primary-dark); }
.logo span { color: var(--primary); }
.nav-menu ul { display: flex; gap: 1.5rem; list-style: none; align-items: center; }
.nav-menu a { font-weight: 500; font-size: 0.95rem; }
.nav-menu a:hover { color: var(--primary); }
.btn-nav { background: var(--primary); color: white !important; padding: 0.5rem 1rem; border-radius: 4px; }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* HERO */
.hero { padding: 5rem 0; background: linear-gradient(135deg, #e0f7fa 0%, #ffffff 100%); text-align: center; }
.hero-content { max-width: 800px; margin: 0 auto; }
.hero p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.small-note { font-size: 0.85rem; color: var(--text-light); margin-top: 1.5rem; font-style: italic; }

/* SECTIONS & CARDS */
.section { padding: 4rem 0; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; }

.card { background: var(--white); padding: 2rem; border-radius: var(--border-radius); box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: transform 0.3s; border-top: 4px solid var(--primary); }
.card:hover { transform: translateY(-5px); }
.card .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.card ul { list-style: none; padding-left: 0; }
.card ul li { margin-bottom: 0.5rem; padding-left: 1.5rem; position: relative; }
.card ul li::before { content: "•"; color: var(--primary); font-weight: bold; position: absolute; left: 0; }

/* LISTS */
.town-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.town-list li { background: var(--secondary); padding: 0.5rem 1rem; border-radius: 20px; font-weight: 500; }
.check-list { list-style: none; }
.check-list li { margin-bottom: 0.8rem; }

/* CONTACT */
.big-phone { font-size: 1.5rem; font-weight: 700; margin: 0.5rem 0; color: var(--primary); }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.form-group input, .form-group textarea { width: 100%; padding: 0.8rem; border: 1px solid #ddd; border-radius: 4px; font-family: inherit; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,131,143,0.1); }

/* FOOTER */
footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); padding: 2rem 0; text-align: center; margin-top: 2rem; }
.footer-links { list-style: none; display: flex; justify-content: center; gap: 1.5rem; margin-top: 1rem; font-size: 0.9rem; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 1rem; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    .nav-menu.active { display: block; }
    .nav-menu ul { flex-direction: column; text-align: center; }
    .mobile-toggle { display: block; }
    h1 { font-size: 1.8rem; }
    .hero { padding: 3rem 0; }
}