/* =============================================
   CABINET PINOT - Feuille de style principale
   Charte: Comfortaa, #0c71c3, #2a9d5c
   ============================================= */


/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1208;
  background: #f8f5f0;
}

img { max-width: 100%; height: auto; display: block; }
.slide img { height: 100%; max-width: none; }

a { color: #0c71c3; text-decoration: none; }
a:hover { text-decoration: underline; }

ul { padding-left: 1.5em; }

/* === VARIABLES === */
:root {
  --blue: #0c71c3;
  --green: #2a9d5c;
  --dark: #1a1208;
  --gray: #5a5040;
  --light-gray: #f0ebe3;
  --border: #ddd5c8;
  --white: #fff;
  --max-width: 1080px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #0c71c3;
}

.section-title {
  font-family: 'Comfortaa', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  text-align: center;
  margin-bottom: 2.5rem;
  color: #0c71c3;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--blue);
  margin: 0.75rem auto 0;
}

.text-blue { color: var(--blue); }
.text-center { text-align: center; }
.text-justify { text-align: justify; }

/* === LAYOUT === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2rem);
}

.section { padding: clamp(1.5rem, 4vw, 3.5rem) 0; }
.section-sm { padding: clamp(1rem, 2.5vw, 2rem) 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* === NAVIGATION === */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 0 #ddd5c8;
  height: 72px;
  border-bottom: 2px solid #0c71c3;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: clamp(45px, 10vw, 65px);
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.2rem;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 0.4rem 0.75rem;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  color: #1a1208;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0c71c3;
  text-decoration: none;
  background: none;
}

.nav-links a:focus-visible {
  outline: 2px solid #0c71c3;
  outline-offset: 2px;
  border-radius: 2px;
}

.nav-links a.nav-brochure {
  color: #0c71c3;
  font-weight: 600;
  border: 1px solid #0c71c3;
  border-radius: 4px;
  padding: 0.3rem 0.65rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  min-height: 44px;
  min-width: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle:focus-visible {
  outline: 3px solid #0c71c3;
  outline-offset: 2px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: #333;
  transition: all 0.3s;
  border-radius: 2px;
}

/* === HERO / PAGE HEADER === */
.hero {
  margin-top: 72px;
  background: #2d2d2d;
  padding: 1.2rem 0;
  border-bottom: 4px solid #0c71c3;
}

.hero .container { position: relative; }

.hero-content {
  text-align: center;
  padding: 0.5rem 0;
}

.hero-content h1 {
  font-family: 'Comfortaa', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.hero-content h1::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: #0c71c3;
  margin: 0.75rem auto 0;
}

.hero-content p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  color: rgba(255,255,255,0.72);
}

.blog-hero-label {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0;
}

.blog-hero-label a {
  color: #fff;
  text-decoration: none;
}

.blog-hero-label a:hover { text-decoration: underline; }

/* Hero variant (contact) */
.hero-alt {
  background: #2d2d2d;
  border-bottom-color: #0c71c3;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.75rem;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn:hover {
  opacity: 0.88;
  text-decoration: none;
  color: #fff;
}

.btn:focus-visible {
  outline: 3px solid #0c71c3;
  outline-offset: 3px;
}

.btn-blue { background: #0c71c3; }
.btn-blue:hover { background: #0a5fa8; opacity: 1; }
.btn-green { background: #2a9d5c; }
.btn-green:hover { background: #218a4e; opacity: 1; }
.btn-sm { min-height: 40px; padding: 0.6rem 1.25rem; font-size: 0.82rem; }

/* === SERVICE CARD === */
.service-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 2px solid #ddd5c8;
  transition: border-color 0.2s;
}

.service-card:hover {
  border-bottom-color: #0c71c3;
}

.service-card img {
  width: 80%;
  max-width: 220px;
  margin: 0 auto 1rem;
  border-radius: 4px;
}

.service-card h3 {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0c71c3;
  margin-bottom: 0.75rem;
}

.service-card p, .service-card ul {
  font-size: 0.95rem;
  text-align: left;
  color: #444;
}

/* === DOMAIN CARD (Compétences) === */
.domain-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.domain-card img {
  width: 115px;
  height: auto;
  margin: 0 auto 1rem;
}

.domain-card h3 {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 0.5rem;
}

.domain-card p { font-size: 1.1rem; color: #000; }

/* === BLURB CARD (Partners, etc.) === */
.blurb-card {
  text-align: center;
  padding: 1.75rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: #fff;
  transition: background 0.2s;
}

.blurb-card:last-child { border-bottom: none; }

.blurb-card:hover { background: #f5f9ff; }

.blurb-card img {
  max-width: 175px;
  margin: 0 auto 1rem;
}

.blurb-card h3 {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.blurb-card ul { text-align: left; font-size: 1rem; }

/* === PERSON CARD (Christophe) === */
.person-card { text-align: center; }

.person-card img {
  max-width: 280px;
  margin: 0 auto 1rem;
  border-radius: 4px;
}

.person-card h2 {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.8rem;
  color: #000;
  margin-bottom: 0.25rem;
}

.person-card .linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: transparent;
  color: #0077b5;
  border: 1px solid #0077b5;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.person-card .linkedin-btn:hover { background: #0077b5; color: #fff; text-decoration: none; }

/* === CREDENTIALS === */
.credentials {
  background: #fff;
  padding: 2rem;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(12,113,195,0.08);
}

.credentials h4 {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.1rem;
  color: var(--blue);
  margin: 1.2rem 0 0.4rem;
}

.credentials p { font-size: 1rem; margin-bottom: 0.25rem; }
.credentials ul { font-size: 1rem; margin-bottom: 0.5rem; }

.logo-associations {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

.logo-associations img {
  height: 45px;
  width: auto;
}

/* === CIRCLE COUNTERS === */
.counters-section {
  padding: 4rem 0;
  background: #2d2d2d;
  position: relative;
  overflow: hidden;
}

.counters-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(12,113,195,0.08) 0%, transparent 60%);
}

.counters-section .container { position: relative; z-index: 1; }

.counters-section .section-title {
  color: #fff;
}

.counters-section .section-title::after {
  background: #0c71c3;
}

.counter-item { text-align: center; }

.counter-circle {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 1rem;
}

.counter-circle svg {
  transform: rotate(-90deg);
  width: 130px;
  height: 130px;
}

.counter-circle .bg-circle {
  fill: none;
  stroke: rgba(255,255,255,0.12);
  stroke-width: 10;
}

.counter-circle .fill-circle {
  fill: none;
  stroke: var(--blue);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 339.29; /* 2*pi*54 */
  transition: stroke-dashoffset 1.5s ease;
}

.counter-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.counter-label {
  font-size: 0.82rem;
  color: #c8b898;
  font-weight: 600;
  max-width: 160px;
  margin: 0 auto;
  line-height: 1.4;
}

/* === TOGGLE / ACCORDION === */
.accordion {
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: 1px solid #ddd5c8;
  background: #fff;
}

.accordion-item { border-bottom: 1px solid #e8eef6; }
.accordion-item:last-child { border-bottom: none; }

.accordion-toggle {
  width: 100%;
  background: #fff;
  border: none;
  padding: 1.1rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Comfortaa', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0c71c3;
  text-align: left;
  transition: background 0.2s, color 0.2s;
}

.accordion-toggle:hover {
  background: #f8f4ec;
  color: #0c71c3;
}

.accordion-toggle.open {
  background: #2d2d2d;
  color: #fff;
}

.accordion-icon {
  font-size: 1.2rem;
  font-weight: 300;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.accordion-toggle.open .accordion-icon { transform: rotate(45deg); }

.accordion-body {
  display: none;
  padding: 1rem 1.4rem 1.25rem;
  font-size: 0.95rem;
  color: #3a3020;
  line-height: 1.75;
  border-left: 3px solid #0c71c3;
  background: #fff;
}

.accordion-body.open { display: block; }

/* === CONTACT FORM === */
.contact-form {
  max-width: 700px;
  background: #fff;
  padding: 2rem;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(12,113,195,0.08);
}

.contact-form h2 {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 1.5rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-row.full { grid-template-columns: 1fr; }

.form-group { display: flex; flex-direction: column; gap: 0.3rem; }

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group textarea {
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  color: #000;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 0;
  border-color: var(--blue);
}

.form-group textarea { min-height: 130px; resize: vertical; }

.form-note { font-size: 0.85rem; color: #666; margin-top: 0.5rem; }

/* === BLOCKQUOTE === */
blockquote {
  border-left: 3px solid #0c71c3;
  padding: 1rem 1.5rem;
  margin: 1.25rem 0;
  background: #f8f4ec;
  font-style: italic;
  color: #1a1208;
  border-radius: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* === INNOV-GROUP SECTION === */
.innov-group-intro {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.innov-group-logo { text-align: center; }
.innov-group-logo img { max-width: 200px; }

/* === BACKGROUND BAND === */
.bg-light { background: var(--light-gray); }

/* === CTA BAND === */
.cta-band {
  background: #2d2d2d;
  padding: 3.5rem 0;
  text-align: center;
  border-top: 4px solid #0c71c3;
}

.cta-band .container { position: relative; }

.cta-band h2 {
  color: #fff;
  font-family: 'Comfortaa', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.cta-band p {
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  text-align: center;
  color: rgba(255,255,255,0.7);
}

/* === CONTACT SIDEBAR === */
.contact-sidebar { text-align: center; }

/* Neutralise le reset CSS global sur les tuiles Leaflet (PR #6843) */
.leaflet-container img { max-width: none !important; max-height: none !important; }
.leaflet-tile, .leaflet-tile-pane img { width: auto; padding: 0; max-width: none !important; max-height: none !important; }

/* === FOOTER === */
footer {
  background: #2d2d2d;
  color: #ccc;
  padding: 3.5rem 0 1.5rem;
  border-top: 3px solid #0c71c3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

footer h4 {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1rem;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li { margin-bottom: 0.4rem; }

footer ul a {
  color: #aaa;
  font-size: 0.9rem;
  transition: color 0.2s;
}

footer ul a:hover { color: #fff; text-decoration: none; }

footer p { font-size: 0.9rem; line-height: 1.6; color: #aaa; }

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid #0077b5;
  border-radius: 20px;
  color: #0077b5;
  font-size: 0.85rem;
}

.footer-linkedin:hover {
  background: #0077b5;
  color: #fff;
  text-decoration: none;
}

.footer-brand {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.82rem;
  color: #888;
  text-align: center;
}

.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: #ccc; text-decoration: none; }

/* === RÉFÉRENCES GRID === */
.refs-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.ref-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
  transition: background 0.2s;
}

.ref-logo:hover { background: #f8f5f0; }

.ref-logo img {
  max-height: 44px;
  max-width: 100px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.25s;
}

.ref-logo:hover img {
  filter: grayscale(0%) opacity(1);
}

/* === BLOG / ACTUALITÉS === */
.blog-grid { align-items: stretch; }

.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-top-color 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  border-top-color: #0c71c3;
  box-shadow: 0 4px 20px rgba(10,30,61,0.08);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.blog-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0c71c3;
  background: rgba(12,113,195,0.08);
  padding: 0.15rem 0.6rem;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-card h3 {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.05rem;
  color: #0c71c3;
  margin-bottom: 0.75rem;
  line-height: 1.45;
  flex-grow: 1;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 2;
}

.blog-read-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0c71c3;
  text-decoration: none;
  letter-spacing: 0.02em;
  margin-top: auto;
}

.blog-read-more:hover {
  color: #0c71c3;
  text-decoration: none;
}

/* === BLOG LIST PAGE === */
.blog-list { display: flex; flex-direction: column; gap: 2rem; }

.blog-list-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  padding: 1.75rem 2rem;
}

.blog-list-card h2 {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.15rem;
  color: #0c71c3;
  margin: 0.6rem 0 0.85rem;
  line-height: 1.45;
}

.blog-list-card h2 a {
  color: inherit;
  text-decoration: none;
}

.blog-list-card h2 a:hover { color: #0c71c3; }

.blog-list-card p {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 1rem;
}

/* === BLOG POST PAGE === */
.blog-back {
  display: inline-block;
  font-size: 0.85rem;
  color: #0c71c3;
  text-decoration: none;
  font-weight: 600;
}

.blog-back:hover { color: #0c71c3; text-decoration: none; }

.blog-post-header { margin-bottom: 2rem; }

.blog-post-title {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.85rem;
  color: #0c71c3;
  line-height: 1.35;
  margin: 0.75rem 0 0;
}

.blog-post-author {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

.blog-post-body {
  font-size: 1rem;
  line-height: 1.75;
  color: #2a2a2a;
}

.blog-post-body h2 {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.3rem;
  color: #0c71c3;
  margin: 2rem 0 0.75rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4rem;
}

.blog-post-body h3 {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.05rem;
  color: #0c71c3;
  margin: 1.5rem 0 0.5rem;
}

.blog-post-body p { margin-bottom: 1.1rem; }

.blog-post-body ul {
  padding-left: 1.5rem;
  margin-bottom: 1.1rem;
}

.blog-post-body li { margin-bottom: 0.4rem; }

.blog-post-body blockquote {
  border-left: 4px solid #0c71c3;
  background: rgba(12,113,195,0.05);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  color: #444;
  font-style: italic;
  border-radius: 0 4px 4px 0;
}

.blog-figure {
  margin: 1.75rem 0;
  text-align: center;
}

.blog-figure img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 3px;
}

.blog-figure figcaption {
  font-size: 0.82rem;
  color: #777;
  margin-top: 0.5rem;
  font-style: italic;
}

.blog-post-cta {
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-left: 4px solid #0c71c3;
  padding: 1.25rem 1.75rem;
  margin: 2.5rem 0 1.5rem;
  border-radius: 0 4px 4px 0;
}

.blog-post-cta p {
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: #0c71c3;
}

.blog-post-nav {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* === SLIDER + CABINET ROW === */
.slider-cabinet-row { background: #fff; }

.slider-cabinet-grid {
  display: flex;
  gap: 2rem;
  align-items: stretch;
}

.slider-col {
  flex: 0 0 58%;
  min-width: 0;
}

.slider-col .slider-section {
  margin-top: 0;
  height: 100%;
  overflow: hidden;
}

.cabinet-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}

@media (max-width: 768px) {
  .slider-cabinet-grid { flex-direction: column; }
  .slider-col { flex: none; width: 100%; }
}

/* === ATELIERS PAGE === */
.atelier-hero-text h1 { font-size: 2.6rem; }

.atelier-card {
  border: 1px solid #e0eaf6;
  border-left: 4px solid #0c71c3;
  border-radius: 6px;
  padding: 2rem;
  margin-bottom: 2rem;
  background: #fff;
  box-shadow: 0 2px 14px rgba(12,113,195,0.09);
  transition: transform 0.25s, box-shadow 0.25s;
}

.atelier-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(12,113,195,0.14);
}

.atelier-card ul {
  margin: 0 0 1.5rem 0;
  padding-left: 1.5rem;
}

.atelier-card li {
  margin-bottom: 0.4rem;
  font-size: 1rem;
  line-height: 1.6;
}

.atelier-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.atelier-taglines {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.atelier-tagline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Comfortaa', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #0c71c3;
}

.atelier-tagline::before {
  content: '✓';
  color: #2a9d5c;
  font-size: 1.1rem;
}

.atelier-card-header h2 {
  margin-bottom: 0;
  flex: 1;
}

.atelier-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  flex-shrink: 0;
}

.atelier-level {
  display: inline-flex;
  align-items: center;
  background: #f0f2f5;
  color: #555;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  white-space: nowrap;
}

.atelier-price {
  display: inline-flex;
  align-items: center;
  background: #0c71c3;
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  white-space: nowrap;
}

.atelier-price.free {
  background: #2a9d5c;
}

/* === SLIDER === */
.slider-section {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.slider-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.18, 1);
}

.slide {
  width: 100%;
  min-width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 1.5rem 0;
}

.slide-img-panel {
  display: flex;
  justify-content: center;
}

.slide-img-panel img {
  max-height: 280px;
  width: auto;
  max-width: 100%;
  display: block;
  background: #fff;
}

.slide-text-panel {
  padding: 1rem 2rem 1.5rem;
  text-align: center;
}

.slide-heading {
  font-family: 'Comfortaa', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 700;
  color: #000000;
  line-height: 1.4;
  margin: 0 auto;
  max-width: 700px;
}

.slide-content p {
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
  opacity: 0.92;
  line-height: 1.6;
}

/* === INFO BLOCK (Cabinet / Réseau) === */
.info-block {
  background: #fff;
  border-radius: 0;
  padding: 2rem 2rem 1.75rem;
  box-shadow: none;
  border-top: 3px solid #0c71c3;
  border-bottom: 1px solid #ddd5c8;
}

.info-block-alt {
  border-top-color: #0c71c3;
}

.info-block-title {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.4rem;
  color: #0c71c3;
  margin-bottom: 1.25rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  padding: 0.45rem 0 0.45rem 1.75rem;
  position: relative;
  font-size: 0.97rem;
  line-height: 1.55;
  border-bottom: 1px solid #f0f4f8;
}

.checklist li:last-child { border-bottom: none; }

.checklist li::before { display: none; }

.checklist-icon {
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 1.4rem;
  text-align: center;
  color: #0c71c3;
  font-size: 0.85rem;
}

.info-block-alt .checklist-icon { color: #0c71c3; }

.counter-icon {
  font-size: 1.75rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.6rem;
}

/* === POSITIONNEMENT SECTION === */
.positionnement-section {
  background: #2d2d2d;
  padding: 4rem 0;
  color: #c8d0c0;
}

.positionnement-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3.5rem;
  align-items: start;
}

.positionnement-quote {
  position: sticky;
  top: 90px;
}

.blockquote-large {
  border-left: 3px solid #0c71c3;
  padding: 1.5rem 1.75rem;
  margin: 0;
  background: rgba(12,113,195,0.08);
  font-style: italic;
  color: #e8dcc8;
  border-radius: 0;
  font-size: 1.15rem;
  line-height: 1.8;
  font-family: 'Comfortaa', sans-serif;
}

.blockquote-large strong { color: #7ec8f0; }

.positionnement-content { color: #c8d0c0; }
.positionnement-content p { margin-bottom: 0.75rem; }
.positionnement-content strong { color: #e8dcc8; }

.section-title-light {
  color: #fff;
}

.section-title-light::after {
  background: #0c71c3;
}

/* Accordion on dark section */
.accordion-dark { background: transparent; border-color: rgba(255,255,255,0.15); }
.accordion-dark .accordion-toggle { background: rgba(255,255,255,0.05); color: #fff; border-bottom-color: rgba(255,255,255,0.08); }
.accordion-dark .accordion-toggle:hover { background: rgba(12,113,195,0.12); color: #7ec8f0; }
.accordion-dark .accordion-toggle.open { background: #0d2a52; color: #fff; }
.accordion-dark .accordion-body { background: rgba(255,255,255,0.04); border-left-color: #0c71c3; color: #c0b898; }
.accordion-dark .accordion-body a { color: #4da8e8; }
.accordion-dark .accordion-body a:hover { color: #fff; }

/* Slider controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-50%) scale(1.08);
}
.slider-btn.prev { left: 1.5rem; }
.slider-btn.next { right: 1.5rem; }

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: 2px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, width 0.3s;
  padding: 0;
  /* Expand tap area to 44px without changing visual size */
  position: relative;
}

.slider-dot::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
}

.slider-dot:hover { background: rgba(255,255,255,0.75); }

.slider-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 5px;
}

/* === RESPONSIVE === */
@media (max-width: 980px) {
  .refs-grid { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .innov-group-intro { grid-template-columns: 1fr; }
  .positionnement-inner { grid-template-columns: 1fr; }
  .positionnement-quote { position: static; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .refs-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content h1 { font-size: clamp(1.5rem, 7vw, 1.8rem); }
  .section-title { font-size: clamp(1.4rem, 6vw, 1.7rem); }
  .slider-btn { width: 36px; height: 36px; }
  .slider-btn.prev { left: 0.5rem; }
  .slider-btn.next { right: 0.5rem; }
  .blog-post-title { font-size: 1.5rem; }
}

@media (max-width: 767px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 1rem 0;
    gap: 0;
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .nav-links a {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .hero-content h1 { font-size: 1.8rem; }
  .section-title { font-size: 1.7rem; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .refs-grid { grid-template-columns: repeat(3, 1fr); }
  .slider-col .slider-section { height: auto; }
  .atelier-hero-text h1 { font-size: 1.8rem; }
  .nav-logo img { height: clamp(42px, 9vw, 55px); }
}
