/* ═══════════════════════════════════════════════════════════════════
   Coach Parental — main.css
   Typographie : Cormorant Garamond (titres) + DM Sans (corps)
   Palette : Crème · Terracotta · Sauge · Brun profond
   ═══════════════════════════════════════════════════════════════════ */

/* ─── VARIABLES ──────────────────────────────────────────────────── */
:root {
  --cream:            #faf7f2;
  --warm-white:       #fff9f3;
  --terracotta:       #c4714a;
  --terracotta-light: #d9896a;
  --terracotta-pale:  #f5ebe4;
  --sage:             #7a9e87;
  --sage-light:       #a8c5b1;
  --sage-pale:        #eaf2ec;
  --deep:             #2c2416;
  --deep-mid:         #4a3a2c;
  --muted:            #8a7e72;
  --border:           #e8e0d5;
  --border-light:     #f0ebe4;
  --shadow-sm:        rgba(44, 36, 22, 0.06);
  --shadow:           rgba(44, 36, 22, 0.10);
  --shadow-lg:        rgba(44, 36, 22, 0.18);

  --nav-h:    72px;
  --radius:   16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  touch-action: pan-y;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden; 
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--deep);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ─── TYPOGRAPHY HELPERS ─────────────────────────────────────────── */
.section-label {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 60px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.18;
  color: var(--deep);
}
.section-title em { font-style: italic; color: var(--terracotta); }

/* ─── BUTTONS ────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--deep);
  color: white;
  padding: .85rem 2rem;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: .02em;
  border: none;
  transition: background .2s, transform .15s var(--ease-out), box-shadow .2s;
}
.btn-primary:hover {
  background: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,113,74,.3);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--deep);
  font-size: .9rem;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.btn-ghost:hover { color: var(--terracotta); border-color: var(--terracotta); }

.btn-terracotta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--terracotta);
  color: white;
  padding: .8rem 1.8rem;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  transition: background .2s, transform .15s;
}
.btn-terracotta:hover {
  background: var(--terracotta-light);
  transform: translateY(-1px);
}

/* ─── NAVIGATION ─────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 4rem;
  height: var(--nav-h);
  background: rgba(250, 247, 242, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: padding .3s, box-shadow .3s;
}
nav.scrolled {
  padding: .75rem 4rem;
  box-shadow: 0 4px 24px var(--shadow-sm);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--deep);
  text-decoration: none;
  letter-spacing: .02em;
}
.nav-logo span { color: var(--terracotta); }
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-size: .85rem;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: var(--terracotta); }
.nav-links a.nav-cta {
  background: var(--terracotta);
  color: white;
  padding: .52rem 1.3rem;
  border-radius: 100px;
  letter-spacing: .03em;
  transition: background .2s, transform .15s;
}
.nav-links a.nav-cta:hover {
  background: var(--terracotta-light);
  color: white;
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .4rem .7rem;
  font-size: 1.1rem;
  color: var(--deep);
}

/* ─── HERO ───────────────────────────────────────────────────────── */
#accueil {
  min-height: 110vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--nav-h);
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--sage);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--deep);
  margin-bottom: 1.8rem;
}
.hero-title em { font-style: italic; color: var(--terracotta); }
.hero-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 420px;
  margin-bottom: 2.8rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--deep);
  line-height: 1;
}
.stat-label {
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: .3rem;
}
.hero-right {
  position: relative;
  background: linear-gradient(160deg, #f5ebe4 0%, #e8ddd3 100%);
  overflow: hidden;
  display: flex;
  justify-content: center;
  padding: 4rem 2rem;
}

.hero-deco {
  position: absolute;
  top: 3rem; right: 3rem;
  width: 80px; height: 80px;
  border: 1.5px solid rgba(196,113,74,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin 20s linear infinite;
}
.hero-deco::after {
  content: '';
  position: absolute;
  width: 55px; height: 55px;
  border: 1.5px solid rgba(196,113,74,.2);
  border-radius: 50%;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── À PROPOS ───────────────────────────────────────────────────── */
#apropos {
  padding: 7rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: center;
  background: var(--warm-white);
}
.apropos-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  position: relative;
}
.apropos-deco {
  position: absolute;
  top: -1.5rem; right: -1.5rem;
  width: 90px; height: 90px;
  background: linear-gradient(135deg, rgba(196,113,74,.15), rgba(122,158,135,.1));
  border-radius: 50%;
  z-index: -1;
}
.apropos-avatar {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, #d4a896, #c4714a);
  border-radius: 50%;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  overflow: hidden;
}
.apropos-avatar img { width: 100%; height: 100%; object-fit: cover; }
.apropos-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--deep);
}
.apropos-role {
  font-size: .8rem;
  color: var(--sage);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: .2rem;
}
.apropos-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}
.certifs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}
.certif-tag {
  background: var(--sage-light);
  color: white;
  font-size: .7rem;
  padding: .3rem .8rem;
  border-radius: 100px;
  font-weight: 500;
}
.apropos-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.valeurs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
}
.valeur {
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--cream);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.valeur:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--shadow-sm);
}
.valeur-icon  { font-size: 1.5rem; margin-bottom: .5rem; }
.valeur-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--deep); }
.valeur-desc  { font-size: .82rem; color: var(--muted); margin-top: .25rem; line-height: 1.5; }

/* ─── ARTICLES ───────────────────────────────────────────────────── */
.articles-section { padding: 7rem 4rem; background: var(--cream); }
.articles-header,
.videos-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}
.articles-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.8rem;
}
.articles-grid.regular {
  grid-template-columns: repeat(3, 1fr);
}
.article-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--warm-white);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease-out), box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px var(--shadow);
}
.article-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e8d5cb, #c4a898);
}
.article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease-out);
}
.article-card:hover .article-img img {
  transform: scale(1.04);
}
.article-emoji {
  font-size: 3rem;
  user-select: none;
}
.article-img-link { display: block; }
.article-card.featured .article-img { height: 260px; }
.article-cat {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
}
.article-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--deep);
  line-height: 1.3;
  margin: .4rem 0 .8rem;
  text-decoration: none;
}
.article-title a {
  text-decoration: none;
  color: inherit;
  transition: color .2s;
}
.article-title a:hover { color: var(--terracotta); }
.article-card.featured .article-title { font-size: 1.6rem; }
.article-excerpt {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.2rem;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: .78rem;
  color: var(--muted);
  gap: .8rem;
  flex-wrap: wrap;
}
.article-time, .article-views {
  display: flex;
  align-items: center;
  gap: .3rem;
}
.read-more {
  color: var(--terracotta);
  font-weight: 500;
  text-decoration: none;
  font-size: .8rem;
  display: flex;
  align-items: center;
  gap: .25rem;
  transition: gap .2s;
  margin-left: auto;
}
.read-more:hover { gap: .5rem; }

/* ─── PAGE ARTICLES ──────────────────────────────────────────────── */
.page-articles,
.page-article,
.page-videos,
.page-contact {
  padding-top: var(--nav-h);
}
.page-hero {
  text-align: center;
  padding: 5rem 4rem 3.5rem;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
}
.page-hero .section-label {
  justify-content: center;
}
.page-hero .section-label::after { display: none; }
.page-hero .section-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.page-hero-desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.search-bar {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.search-bar:focus-within {
  box-shadow: 0 0 0 3px rgba(196,113,74,.15);
  border-color: var(--terracotta);
}
.search-bar input {
  flex: 1;
  border: none;
  padding: .75rem 1.3rem;
  font-size: .9rem;
  background: none;
  outline: none;
  color: var(--deep);
  font-family: var(--font-body);
}
.search-bar input::placeholder { color: var(--muted); }
.search-bar button {
  background: var(--terracotta);
  color: white;
  border: none;
  padding: .75rem 1.3rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s;
}
.search-bar button:hover { background: var(--terracotta-light); }

.articles-container {
  padding: 3rem 4rem 6rem;
  max-width: 1280px;
  margin: 0 auto;
}
.categorie-filters {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.cat-btn {
  padding: .45rem 1.1rem;
  border-radius: 100px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  font-size: .82rem;
  text-decoration: none;
  color: var(--muted);
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.cat-btn:hover { border-color: var(--terracotta); color: var(--terracotta); }
.cat-btn.active {
  background: var(--terracotta);
  color: white;
  border-color: var(--terracotta);
}
.cat-count {
  background: rgba(0,0,0,.12);
  border-radius: 100px;
  padding: .05rem .45rem;
  font-size: .7rem;
}
.cat-btn.active .cat-count { background: rgba(255,255,255,.25); }
.search-result-msg {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.search-result-msg a { color: var(--terracotta); }
.empty-state {
  text-align: center;
  padding: 6rem 2rem;
  color: var(--muted);
}
.empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state small {
  display: block;
  margin-top: .5rem;
  font-size: .8rem;
  opacity: .6;
}
.empty-state code {
  background: var(--border-light);
  padding: .1rem .4rem;
  border-radius: 4px;
  font-size: .78rem;
  color: var(--terracotta);
}
.pagination {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin-top: 4rem;
  flex-wrap: wrap;
}
.page-btn {
  padding: .5rem .95rem;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--muted);
  font-size: .85rem;
  transition: all .2s;
}
.page-btn:hover { border-color: var(--terracotta); color: var(--terracotta); }
.page-btn.active {
  background: var(--terracotta);
  color: white;
  border-color: var(--terracotta);
}

/* ─── PAGE ARTICLE (SINGLE) ──────────────────────────────────────── */
.article-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}
.breadcrumb {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  display: flex;
  gap: .5rem;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--terracotta); }
.article-header { margin-bottom: 2.5rem; }
.article-emoji-big { font-size: 3.5rem; display: block; margin-bottom: 1.2rem; }
.article-page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--deep);
  margin-bottom: 1rem;
}
.article-header-meta {
  display: flex;
  gap: 1.5rem;
  font-size: .82rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.article-intro {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 1.5rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--terracotta);
}
.article-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 3rem;
  max-height: 460px;
}
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--deep-mid);
}
.article-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--deep);
  margin: 2.5rem 0 1rem;
}
.article-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--deep);
  margin: 2rem 0 .8rem;
}
.article-content p { margin-bottom: 1.4rem; }
.article-content ul, .article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
  list-style: disc;
}
.article-content li { margin-bottom: .5rem; }
.article-content blockquote {
  border-left: 3px solid var(--terracotta);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--terracotta-pale);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--deep);
}
.article-content img {
  border-radius: var(--radius);
  margin: 2rem 0;
  width: 100%;
}
.article-content a { color: var(--terracotta); text-decoration: underline; }
.article-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0;
  padding: 1.5rem;
  background: var(--warm-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: .875rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.share-btn {
  padding: .45rem 1rem;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity .2s;
}
.share-fb { background: #1877f2; color: white; }
.share-wa { background: #25d366; color: white; }
.share-btn:hover { opacity: .85; }
.article-cta-box {
  background: var(--deep);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.article-cta-box .cta-icon { font-size: 2.5rem; flex-shrink: 0; }
.article-cta-box h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  margin-bottom: .3rem;
}
.article-cta-box p { font-size: .875rem; color: rgba(255,255,255,.55); }
.article-cta-box .btn-primary { margin-left: auto; white-space: nowrap; }
.connexes {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  border-top: 1px solid var(--border);
}
.connexes .section-label { margin-bottom: 2rem; }
.connexes-grid {
  grid-template-columns: repeat(3, 1fr) !important;
}

/* ─── VIDÉOS INSTAGRAM ───────────────────────────────────────────── */
.videos-section,
.page-videos .videos-container {
  padding: 7rem 4rem;
  background: var(--warm-white);
}
.page-videos .page-hero { background: var(--cream); }
.videos-container {
  padding: 3rem 4rem 6rem;
}
.insta-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
  padding: .7rem 1.6rem;
  border-radius: 100px;
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  margin-top: 1rem;
  transition: opacity .2s, transform .15s;
}
.insta-follow-btn:hover { opacity: .88; transform: translateY(-1px); }
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease-out), box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--shadow);
}
.video-thumb-link {
  display: block;
  position: relative;
  overflow: hidden;
}
.video-thumb {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease-out);
}
.video-card:hover .video-thumb { transform: scale(1.03); }
.video-thumb-placeholder {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, var(--deep) 0%, var(--deep-mid) 100%);
}
.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(44, 36, 22, .35);
  opacity: 0;
  transition: opacity .25s;
}
.video-thumb-link:hover .video-overlay { opacity: 1; }
.play-btn {
  width: 56px; height: 56px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,.5);
  transition: background .2s, transform .2s;
}
.video-thumb-link:hover .play-btn {
  background: var(--terracotta);
  border-color: var(--terracotta);
  transform: scale(1.1);
}
.play-icon {
  width: 0; height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid white;
  margin-left: 4px;
}
.media-type-badge {
  position: absolute;
  top: .75rem; left: .75rem;
  background: rgba(44,36,22,.65);
  color: white;
  font-size: .7rem;
  padding: .22rem .65rem;
  border-radius: 100px;
  font-weight: 500;
  backdrop-filter: blur(4px);
}
.video-body { padding: 1.2rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.video-caption {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: .8rem;
}
.video-stats {
  display: flex;
  gap: 1rem;
  padding-top: .8rem;
  border-top: 1px solid var(--border);
  font-size: .75rem;
  color: var(--muted);
  flex-wrap: wrap;
  align-items: center;
}
.video-stat { display: flex; align-items: center; gap: .3rem; }
.video-date { margin-left: auto; }
.video-insta-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .8rem;
  color: var(--terracotta);
  font-size: .82rem;
  font-weight: 500;
  text-decoration: none;
  transition: gap .2s;
}
.video-insta-link:hover { gap: .5rem; }
.videos-footer {
  text-align: center;
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}
.videos-footer p { color: var(--muted); margin-bottom: 1.5rem; }

/* ─── CONTACT ────────────────────────────────────────────────────── */
.contact-section {
  min-height: calc(100vh - var(--nav-h));
  background: var(--deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(196,113,74,.12) 0%, transparent 60%);
  pointer-events: none;
}
.contact-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(122,158,135,.08) 0%, transparent 60%);
  pointer-events: none;
}
.contact-inner {
  max-width: 680px;
  width: 100%;
  position: relative;
  z-index: 1;
  text-align: center;
}
.contact-inner .section-label { justify-content: center; }
.contact-inner .section-label::after { display: none; }
.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: white;
  line-height: 1.2;
  margin: 1rem 0 1.5rem;
}
.contact-title em { font-style: italic; color: var(--terracotta-light); }
.contact-desc {
  font-size: .95rem;
  color: rgba(255,255,255,.5);
  line-height: 1.8;
  margin-bottom: 3rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  text-align: left;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: .85rem 1.1rem;
  color: white;
  font-size: .9rem;
  font-family: var(--font-body);
  transition: border-color .2s, background .2s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.22); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--terracotta);
  background: rgba(255,255,255,.09);
}
.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #f48fb1;
}
.form-group select option { background: var(--deep); color: white; }
.form-group textarea { min-height: 120px; resize: vertical; }
.field-error { font-size: .78rem; color: #f48fb1; margin-top: .2rem; }
.form-error-global {
  background: rgba(244,143,177,.15);
  border: 1px solid rgba(244,143,177,.3);
  color: #f48fb1;
  padding: .8rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  margin-bottom: 1rem;
}
.btn-submit {
  background: var(--terracotta);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .2s, transform .15s;
  width: fit-content;
  margin: .5rem auto 0;
  display: block;
}
.btn-submit:hover { background: var(--terracotta-light); transform: translateY(-1px); }
.contact-success {
  text-align: center;
  padding: 3rem;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.1);
}
.success-icon { font-size: 3rem; margin-bottom: 1rem; }
.contact-success h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: white;
  margin-bottom: .8rem;
}
.contact-success p { color: rgba(255,255,255,.55); margin-bottom: 2rem; }

/* ─── FOOTER ─────────────────────────────────────────────────────── */
footer {
  background: #1e160e;
  padding: 2.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  text-decoration: none;
}
.footer-logo span { color: var(--terracotta); }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.28); }
.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-size: .78rem;
  color: rgba(255,255,255,.32);
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--terracotta); }

/* ─── UPLOAD IMAGE (Admin) ───────────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  background: var(--cream);
  position: relative;
}
.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--terracotta);
  background: var(--terracotta-pale);
}
.upload-zone input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.upload-icon { font-size: 2.5rem; margin-bottom: .8rem; }
.upload-label { font-size: .9rem; color: var(--muted); }
.upload-label strong { color: var(--terracotta); }
.upload-formats { font-size: .75rem; color: var(--muted); margin-top: .4rem; opacity: .7; }
.upload-preview {
  margin-top: 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  max-height: 200px;
}
.upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── ANIMATIONS SCROLL ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeUp .7s var(--ease-out) both; }
.delay-1  { animation-delay: .1s; }
.delay-2  { animation-delay: .22s; }
.delay-3  { animation-delay: .36s; }
.delay-4  { animation-delay: .5s; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  #accueil { grid-template-columns: 1fr; }
  .hero-right { padding: 0; min-height: 70vh;}
  .hero-left { padding: 4rem 2.5rem; }
  #apropos { grid-template-columns: 1fr; padding: 5rem 2.5rem; gap: 3rem; }
  .articles-section, .videos-section, .videos-container { padding: 5rem 2.5rem; }
  .articles-header, .videos-header { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .article-card.featured { grid-column: span 2; }
}
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  nav.scrolled { padding: .75rem 1.5rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--warm-white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 32px var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: .9rem 0;
    border-bottom: 1px solid var(--border);
    font-size: .9rem;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a.nav-cta {
    background: none;
    color: var(--terracotta) !important;
    padding: .9rem 0;
    border-radius: 0;
  }

  .articles-grid, .videos-grid, .connexes-grid { grid-template-columns: 1fr !important; }
  .article-card.featured { grid-column: span 1; }
  .page-hero { padding: 4rem 1.5rem 2.5rem; }
  .articles-container, .videos-container { padding: 2rem 1.5rem 4rem; }
  .article-container { padding: 2rem 1.5rem 4rem; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; padding: 2rem 1.5rem; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
  .valeurs { grid-template-columns: 1fr; }
  .hero-stats { gap: 2rem; flex-wrap: wrap; }
  .article-cta-box { flex-direction: column; text-align: center; }
  .article-cta-box .btn-primary { margin: 0 auto; }
}
@media (max-width: 480px) {
  .hero-left { padding: 3rem 1.2rem; }
  .hero-title { font-size: 2.4rem; }
  .contact-section { padding: 4rem 1.2rem; }
}

/* ─── CABINET / LOCALISATION ─────────────────────────────────────── */
.cabinet-section {
  padding: 7rem 4rem;
  background: var(--cream);
}
.cabinet-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  max-width: 1280px;
  margin: 0 auto;
  align-items: start;
}
.cabinet-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.cabinet-card {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  transition: box-shadow .2s, transform .2s;
}
.cabinet-card:hover {
  box-shadow: 0 6px 20px var(--shadow-sm);
  transform: translateY(-2px);
}
.cabinet-card-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: .05rem;
}
.cabinet-card-title {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--terracotta);
  margin-bottom: .3rem;
}
.cabinet-card > div:last-child {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.65;
}
.cabinet-card strong { color: var(--deep); }
.cabinet-gmaps-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--terracotta);
  font-size: .8rem;
  font-weight: 500;
  text-decoration: none;
  margin-top: .4rem;
  transition: gap .15s;
}
.cabinet-gmaps-link:hover { gap: .5rem; }
.cabinet-contact-link {
  color: var(--deep);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}
.cabinet-contact-link:hover { color: var(--terracotta); }

/* Carte */
.cabinet-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px var(--shadow);
  position: sticky;
  top: 100px;
  height: 480px;
}
.cabinet-map iframe {
  width: 100%;
  height: 100%;
  display: block;
}
.cabinet-map-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8e0d5, #d4c9bc);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  text-align: center;
  padding: 2rem;
}
.map-placeholder-icon { font-size: 3.5rem; opacity: .6; }
.cabinet-map-placeholder p  { color: var(--muted); font-size: .95rem; font-weight: 500; }
.cabinet-map-placeholder small { color: var(--muted); font-size: .78rem; line-height: 1.6; opacity: .8; }
.cabinet-map-placeholder a  { color: var(--terracotta); }

@media (max-width: 1000px) {
  .cabinet-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .cabinet-map   { position: static; height: 350px; }
}
@media (max-width: 600px) {
  .cabinet-section { padding: 5rem 1.5rem; }
  .cabinet-cards   { grid-template-columns: 1fr; }
  .cabinet-map     { height: 280px; }
}

/* ─── HERO CAROUSEL ──────────────────────────────────────────────── */
.hero-carousel {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.carousel-track {
  position: relative;
  min-height: 100%;
}
.carousel-slide {
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  pointer-events: none;
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 32px var(--shadow);
}
.carousel-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.carousel-quote-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}
.carousel-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--deep);
  text-align: center;
  margin: 0;
  position: relative;
}
.carousel-quote::before {
  content: '"';
  position: absolute;
  top: -.3rem; left: -.6rem;
  font-size: 3rem;
  color: var(--terracotta);
  opacity: .2;
  font-family: Georgia, serif;
}
.carousel-title {
  text-align: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}
.carousel-title strong {
  display: block;
  font-size: 1.5rem;
  color: var(--deep);
  font-weight: 600;
}
.carousel-title span {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  margin-top: .2rem;
}

/* Dots navigation */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: .6rem;
  margin-top: 2rem;
}
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--terracotta-pale);
  border: none;
  cursor: pointer;
  transition: all .3s var(--ease-out);
  padding: 0;
}
.carousel-dot:hover {
  background: var(--terracotta-light);
  transform: scale(1.2);
}
.carousel-dot.active {
  background: var(--terracotta);
  width: 28px;
  border-radius: 5px;
}

/* Responsive carousel */
@media (max-width: 768px) {
  .hero-carousel { padding: 2rem 1rem; }
  .carousel-slide { padding: 2rem 1.5rem; }
  .carousel-track { min-height: 650px; }
  .carousel-quote { font-size: 1.05rem; }
}
