/* Coach Toulouse — Styles CMS */
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --dark: #0f172a;
    --text: #334155;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
    --radius: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
    --transition: .2s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-hover); }

img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--primary);
    color: #fff;
    padding: .5rem 1rem;
    z-index: 9999;
}
.skip-link:focus {
    left: 0;
}

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow var(--transition);
}
.site-header.scrolled {
    box-shadow: var(--shadow);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1140px;
    margin: 0 auto;
    padding: .75rem 1.5rem;
}
.site-branding {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.site-logo img {
    border-radius: 8px;
}
.site-identity {
    display: flex;
    flex-direction: column;
}
.site-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}
.site-title:hover { color: var(--primary); }
.site-tagline {
    font-size: .75rem;
    color: var(--text-light);
}

/* Nav */
.nav-menu {
    display: flex;
    list-style: none;
    gap: .25rem;
    align-items: center;
}
.nav-menu a {
    display: block;
    padding: .5rem 1rem;
    color: var(--text);
    font-weight: 500;
    font-size: .9rem;
    border-radius: 8px;
    transition: all var(--transition);
}
.nav-menu a:hover,
.nav-menu .current a {
    color: var(--primary);
    background: rgba(37,99,235,.06);
}
.btn-nav {
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 8px !important;
}
.btn-nav:hover {
    background: var(--primary-hover) !important;
}

/* Hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
}
.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    position: relative;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--dark);
    left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, #1e3a5f 100%);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.15;
}
.hero p {
    font-size: 1.2rem;
    opacity: .85;
    max-width: 600px;
    margin: 0 auto 2rem;
}
.hero-sm {
    padding: 3rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: .75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: .95rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}
.btn:hover {
    background: var(--primary-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}
.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}
.btn-outline {
    display: inline-block;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: .6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all var(--transition);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* Sections */
.section {
    padding: 4rem 0;
}
.section-alt {
    background: var(--bg-alt);
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--dark);
    margin-bottom: .75rem;
}
.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.text-center { text-align: center; }

/* Grid */
.grid {
    display: grid;
    gap: 1.5rem;
}
.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Cards */
.card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.card-body {
    padding: 1.5rem;
}
.card-body h3 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: .5rem;
}
.card-body p {
    color: var(--text-light);
    font-size: .9rem;
    line-height: 1.6;
}
.card-link {
    display: inline-block;
    margin-top: .75rem;
    font-weight: 600;
    font-size: .9rem;
}

/* About block */
.about-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about-block.reverse {
    direction: rtl;
}
.about-block.reverse > * {
    direction: ltr;
}
.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.about-text h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 1rem;
}
.about-text p {
    margin-bottom: 1rem;
}

/* Content narrow */
.content-narrow {
    max-width: 780px;
    margin: 0 auto;
}
.content-narrow h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 1rem;
}
.content-narrow p {
    margin-bottom: 1rem;
}

/* Legal pages */
.legal h2 {
    margin-top: 2rem;
    font-size: 1.4rem;
}
.legal h3 {
    margin-top: 1.5rem;
    font-size: 1.15rem;
    color: var(--dark);
}
.legal ul {
    margin: .5rem 0 1rem 1.5rem;
}
.legal li {
    margin-bottom: .35rem;
}

/* Notice box */
.notice-box {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    max-width: 780px;
    margin: 0 auto;
}
.notice-box p {
    margin-bottom: .75rem;
}
.notice-box ul {
    margin: .5rem 0 1rem 1.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, #1e3a5f 100%);
    color: #fff;
    padding: 4rem 0;
}
.cta-section h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.cta-section p {
    opacity: .85;
    margin-bottom: 1.5rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}
.contact-form-wrap h2,
.contact-info h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: .35rem;
    color: var(--dark);
    font-size: .9rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: .7rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font);
    font-size: .95rem;
    transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: .9rem;
}
.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}
.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Contact details */
.contact-details {
    list-style: none;
    margin-top: 1.5rem;
}
.contact-details li {
    padding: .5rem 0;
    border-bottom: 1px solid var(--border);
}
.contact-details li:last-child {
    border-bottom: none;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: #cbd5e1;
    padding: 3rem 0 1.5rem;
}
.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}
.footer-brand {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .5rem;
}
.footer-info {
    margin-bottom: 1.5rem;
}
.footer-info p {
    font-size: .9rem;
    margin-bottom: .25rem;
}
.footer-info a {
    color: #93c5fd;
}
.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,.1);
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 1.5rem;
}
.footer-links a {
    color: #cbd5e1;
    font-size: .85rem;
    transition: color var(--transition);
}
.footer-links a:hover {
    color: #fff;
}
.footer-copy {
    font-size: .8rem;
    color: #64748b;
}

/* Responsive */
@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-block {
        grid-template-columns: 1fr;
    }
    .about-block.reverse {
        direction: ltr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }
    .site-nav.open {
        display: block;
    }
    .nav-menu {
        flex-direction: column;
        padding: 1rem;
    }
    .nav-menu li {
        width: 100%;
    }
    .nav-menu a {
        padding: .75rem 1rem;
    }
    .hero {
        padding: 3rem 0;
    }
    .section {
        padding: 3rem 0;
    }
}

@media (max-width: 600px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 1.75rem;
    }
}
