:root {
      --bg: #f8f9fb;
      --bg-alt: #eef1f6;
      --bg-dark: #1a2540;
      --blue: #1a3a6e;
      --blue-mid: #2656a8;
      --blue-light: #dbeafe;
      --orange: #f97316;
      --orange-dark: #ea580c;
      --orange-light: #fff3e8;
      --text: #1e2a3a;
      --text-muted: #5a6a82;
      --border: #d4dce8;
      --card-bg: #ffffff;
      --max-width: 1100px;
    }

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

    body {
      font-family: 'Barlow', system-ui, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
    }

    a { color: var(--blue-mid); text-decoration: none; }
    a:hover { text-decoration: underline; }

    /* ── HEADER ── */
    header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: #ffffff;
      border-bottom: 2px solid var(--border);
      box-shadow: 0 2px 12px rgba(26,58,110,0.07);
    }

    .nav {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0.4rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 0.7rem;
    }

    .logo img {
      height: 56px;
      width: auto;
    }

    .logo-text {
      font-family: 'Barlow Condensed', sans-serif;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      font-size: 1.1rem;
      color: var(--blue);
      line-height: 1.2;
    }

    .logo-text span { color: var(--orange); }

    nav ul {
      list-style: none;
      display: flex;
      gap: 0.2rem;
      flex-wrap: wrap;
    }

    nav a {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--text);
      padding: 0.35rem 0.7rem;
      border-radius: 6px;
      transition: background 0.15s, color 0.15s;
    }

    nav a:hover {
      background: var(--blue-light);
      color: var(--blue);
      text-decoration: none;
    }

    /* ── BUTTONS ── */
    .btn-primary, .btn-secondary {
      display: inline-block;
      padding: 0.65rem 1.3rem;
      border-radius: 8px;
      font-weight: 700;
      font-size: 0.9rem;
      border: none;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.18s;
      font-family: 'Barlow', sans-serif;
    }

    .btn-primary {
      background: var(--orange);
      color: #fff;
    }

    .btn-primary:hover {
      background: var(--orange-dark);
      text-decoration: none;
    }

    .btn-secondary {
      background: transparent;
      border: 2px solid var(--blue);
      color: var(--blue);
    }

    .btn-secondary:hover {
      background: var(--blue-light);
      text-decoration: none;
    }

    /* ── HERO ── */
    .hero-section {
      background: linear-gradient(135deg, var(--blue) 0%, #2656a8 55%, #1a4080 100%);
      color: #fff;
      position: relative;
      overflow: hidden;
    }

    .hero-section::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
      pointer-events: none;
    }

    .hero {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 3.5rem 1.5rem 3rem;
      display: grid;
      gap: 2.5rem;
      position: relative;
    }

    @media (min-width: 768px) {
      .hero { grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr); align-items: center; }
    }

    .hero-tagline {
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: rgba(255,255,255,0.65);
      margin-bottom: 0.6rem;
    }

    .hero-text h1 {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(2.2rem, 5vw, 3.2rem);
      font-weight: 900;
      line-height: 1.05;
      margin-bottom: 1rem;
      text-transform: uppercase;
      letter-spacing: 0.02em;
    }

    .hero-text h1 span { color: var(--orange); }

    .hero-text p {
      color: rgba(255,255,255,0.82);
      font-size: 0.97rem;
      max-width: 560px;
    }

    .hero-actions {
      display: flex;
      gap: 0.75rem;
      margin-top: 1.8rem;
      flex-wrap: wrap;
    }

    .hero-actions .btn-secondary {
      border-color: rgba(255,255,255,0.5);
      color: #fff;
    }

    .hero-actions .btn-secondary:hover {
      background: rgba(255,255,255,0.12);
    }

    .hero-highlight {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.4rem 0.9rem;
      border-radius: 999px;
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.2);
      font-size: 0.78rem;
      color: rgba(255,255,255,0.9);
      margin-top: 1.2rem;
    }

    .hero-highlight span {
      background: var(--orange);
      color: #fff;
      border-radius: 999px;
      padding: 0.1rem 0.5rem;
      font-weight: 800;
      font-size: 0.68rem;
      letter-spacing: 0.06em;
    }

    .hero-right {
      border-radius: 1.2rem;
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.2);
      backdrop-filter: blur(8px);
      padding: 1.5rem;
    }

    .hero-right h2 {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      text-transform: uppercase;
    }

    .hero-right p { font-size: 0.88rem; color: rgba(255,255,255,0.8); }

    .hero-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0.6rem;
      margin-top: 1rem;
    }

    .hero-stat {
      background: rgba(0,0,0,0.2);
      border-radius: 0.8rem;
      padding: 0.6rem 0.7rem;
      border: 1px solid rgba(255,255,255,0.1);
      font-size: 0.72rem;
      color: rgba(255,255,255,0.75);
    }

    .hero-stat strong {
      display: block;
      font-size: 0.9rem;
      color: #fff;
      font-weight: 700;
    }

    /* ── SECTIONS ── */
    section { padding: 3rem 1.5rem; }

    .section-inner { max-width: var(--max-width); margin: 0 auto; }

    .section-white { background: #fff; }
    .section-light { background: var(--bg); }
    .section-alt   { background: var(--bg-alt); }
    .section-dark  { background: var(--bg-dark); color: #fff; }

    .section-dark .section-title { color: #fff; }
    .section-dark .section-subtitle { color: rgba(255,255,255,0.6); }
    .section-dark .list { color: rgba(255,255,255,0.8); }
    .section-dark .small-note { color: rgba(255,255,255,0.55); }

    .two-cols {
      display: grid;
      gap: 2rem;
    }

    @media (min-width: 768px) {
      .two-cols { grid-template-columns: 2fr 1.3fr; align-items: start; }
    }

    /* ── BADGE ── */
    .badge {
      display: inline-block;
      font-size: 0.68rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      padding: 0.2rem 0.6rem;
      border-radius: 999px;
      border: 1.5px solid var(--orange);
      color: var(--orange);
      margin-bottom: 0.6rem;
      font-weight: 700;
    }

    .section-dark .badge {
      border-color: rgba(249,115,22,0.6);
    }

    .section-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 2rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.02em;
      color: var(--blue);
      margin-bottom: 0.5rem;
      line-height: 1.1;
    }

    .section-subtitle {
      font-size: 0.92rem;
      color: var(--text-muted);
      margin-bottom: 1.5rem;
    }

    /* ── CARD ── */
    .card {
      background: var(--card-bg);
      border-radius: 1rem;
      padding: 1.2rem 1.4rem;
      border: 1px solid var(--border);
      box-shadow: 0 2px 12px rgba(26,58,110,0.06);
      font-size: 0.9rem;
    }

    .section-dark .card {
      background: rgba(255,255,255,0.07);
      border-color: rgba(255,255,255,0.12);
      color: rgba(255,255,255,0.85);
    }

    .section-dark .card h3 { color: #fff; }

    .card h3 {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.1rem;
      font-weight: 700;
      text-transform: uppercase;
      color: var(--blue);
      margin-bottom: 0.75rem;
      letter-spacing: 0.04em;
    }

    /* ── LISTS ── */
    .list {
      padding-left: 1.2rem;
      font-size: 0.9rem;
      color: var(--text-muted);
    }

    .list li { margin-bottom: 0.4rem; }
    .list li strong { color: var(--text); }

    /* ── CHIPS ── */
    .chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.8rem; }

    .chip {
      font-size: 0.75rem;
      padding: 0.2rem 0.6rem;
      border-radius: 999px;
      border: 1px solid var(--border);
      color: var(--text-muted);
      background: var(--bg-alt);
    }

    .small-note {
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-top: 0.8rem;
    }

    /* ── ORANGE STRIPE ── */
    .orange-stripe {
      height: 4px;
      background: linear-gradient(90deg, var(--orange) 0%, #fbbf24 100%);
    }

    /* ── DISCIPLINE CARDS ── */
    .discipline-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 1rem;
      overflow: hidden;
      box-shadow: 0 2px 16px rgba(26,58,110,0.07);
    }

    .discipline-card-header {
      padding: 1.2rem 1.4rem 1rem;
      background: var(--blue);
      color: #fff;
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .discipline-icon {
      width: 40px;
      height: 40px;
      border-radius: 8px;
      background: var(--orange);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      flex-shrink: 0;
    }

    .discipline-card-header h3 {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.2rem;
      font-weight: 800;
      text-transform: uppercase;
      margin: 0;
      color: #fff;
      letter-spacing: 0.04em;
    }

    .discipline-card-header p {
      font-size: 0.78rem;
      color: rgba(255,255,255,0.65);
      margin: 0.1rem 0 0;
    }

    .discipline-card-body { padding: 1.2rem 1.4rem; }

    /* ── DISCIPLINES GRID ── */
    .disciplines-grid {
      display: grid;
      gap: 1.5rem;
    }

    @media (min-width: 768px) {
      .disciplines-grid { grid-template-columns: 1fr 1fr; }
    }

    /* ── CONTACT ── */
    .contact-grid {
      display: grid;
      gap: 2rem;
    }

    @media (min-width: 768px) {
      .contact-grid { grid-template-columns: 1.3fr 1fr; }
    }

    form { display: grid; gap: 0.9rem; font-size: 0.9rem; }

    label {
      display: block;
      font-size: 0.78rem;
      font-weight: 600;
      margin-bottom: 0.2rem;
      color: var(--text);
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    input, textarea {
      width: 100%;
      padding: 0.65rem 0.8rem;
      border-radius: 8px;
      border: 1.5px solid var(--border);
      background: var(--bg);
      color: var(--text);
      font-size: 0.9rem;
      font-family: 'Barlow', sans-serif;
      transition: border-color 0.15s;
    }

    textarea { min-height: 110px; resize: vertical; }

    input:focus, textarea:focus {
      outline: none;
      border-color: var(--blue-mid);
      background: #fff;
    }

    .form-success {
      display: none;
      background: #ecfdf5;
      border: 1px solid #6ee7b7;
      border-radius: 8px;
      padding: 0.8rem 1rem;
      color: #065f46;
      font-size: 0.88rem;
      font-weight: 600;
    }

    /* ── MAP EMBED ── */
    .map-link-btn {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      padding: 0.75rem 1rem;
      border-radius: 8px;
      background: var(--blue-light);
      color: var(--blue);
      font-weight: 700;
      font-size: 0.88rem;
      border: 1.5px solid var(--blue);
      cursor: pointer;
      text-decoration: none;
      transition: background 0.15s;
      margin-top: 0.5rem;
    }

    .map-link-btn:hover {
      background: #bfdbfe;
      text-decoration: none;
    }

    .map-pin-icon { font-size: 1.1rem; }

    /* ── FOOTER ── */
    footer {
      background: var(--bg-dark);
      color: rgba(255,255,255,0.7);
      padding: 2rem 1.5rem;
      font-size: 0.82rem;
    }

    .footer-inner {
      max-width: var(--max-width);
      margin: 0 auto;
    }

    .footer-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 1.5rem;
      flex-wrap: wrap;
      padding-bottom: 1.5rem;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      margin-bottom: 1.2rem;
    }

    .footer-brand {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.1rem;
      font-weight: 800;
      text-transform: uppercase;
      color: #fff;
      letter-spacing: 0.06em;
    }

    .footer-brand span { color: var(--orange); }

    .footer-desc {
      font-size: 0.8rem;
      color: rgba(255,255,255,0.5);
      margin-top: 0.3rem;
      max-width: 260px;
    }

    .footer-partners h4 {
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: rgba(255,255,255,0.4);
      margin-bottom: 0.75rem;
      font-weight: 600;
    }

    .partner-logos {
      display: flex;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
    }

    /* Logos partenaires – base */
    .partner-logo {
      height: 52px;
      width: auto;
      object-fit: contain;
      transition: opacity 0.2s, filter 0.2s;
      border-radius: 4px;
    }

    /* Logos fond blanc / transparent : juste une légère opacité */
    .partner-logo--light {
      opacity: 0.85;
      background: rgba(255,255,255,0.08);
      padding: 4px 8px;
      border-radius: 6px;
    }

    .partner-logo--light:hover {
      opacity: 1;
    }

    /* Logo Dinan Agglo : fond coloré, on garde les couleurs mais on adapte l'opacité */
    .partner-logo--color {
      opacity: 0.88;
      border-radius: 6px;
    }

    .partner-logo--color:hover {
      opacity: 1;
    }

    /* Logo Région Bretagne : fond noir, on l'inverse pour le footer sombre */
    .partner-logo--invert {
      filter: invert(1) opacity(0.75);
      padding: 4px 8px;
      border-radius: 6px;
    }

    .partner-logo--invert:hover {
      filter: invert(1) opacity(1);
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .footer-copy { color: rgba(255,255,255,0.35); }
    .footer-affiliation { color: rgba(255,255,255,0.4); font-size: 0.78rem; }