/* ═══════════════════════════════════════════
   NOTION STUDIO — Thème principal
   Version 1.0 — Breizhix
═══════════════════════════════════════════ */

:root {
  --white: #FFFFFF;
  --grey-nav: #F4F4F2;
  --grey-section: #F7F7F5;
  --grey-border: #E8E8E4;
  --grey-muted: #9A9A94;
  --text: #0D0D0B;
  --text-secondary: #5A5A54;
  --emerald: #00C896;
  --emerald-dark: #00A87E;
  --emerald-light: #E6FAF5;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 2px 20px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ═══ NAV ═══ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--grey-nav);
  border-bottom: 1px solid var(--grey-border);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.nav-logo-mark {
  width: 32px;
  height: 32px;
  background: var(--emerald);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: white;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.3px;
}
.nav-logo-text span {
  color: var(--grey-muted);
  font-weight: 400;
  font-size: 12px;
  margin-left: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: -0.1px;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--text) !important;
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
}
.nav-cta:hover {
  background: var(--emerald) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}
/* Burger mobile */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ═══ BOUTONS ═══ */
.btn-primary {
  background: var(--emerald);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: -0.3px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  background: var(--emerald-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 200, 150, 0.3);
  color: white;
}
.btn-secondary {
  color: var(--text);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid var(--grey-border);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary:hover {
  border-color: var(--text);
  background: var(--grey-section);
  color: var(--text);
}

/* ═══ HERO ═══ */
.hero {
  padding: 100px 32px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--emerald-light);
  color: var(--emerald-dark);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--emerald);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-title em { font-style: normal; color: var(--emerald); }
.hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 460px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--grey-border);
}
.hero-proof-avatars { display: flex; }
.hero-proof-avatars span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid white;
  background: var(--grey-border);
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  overflow: hidden;
}
.hero-proof-avatars span:first-child { margin-left: 0; }
.hero-proof-text { font-size: 13px; color: var(--text-secondary); }
.hero-proof-text strong { color: var(--text); font-weight: 600; }

/* Hero visual */
.hero-visual { position: relative; }
.video-teaser {
  position: relative;
  background: var(--grey-section);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--grey-border);
  aspect-ratio: 16/10;
  box-shadow: var(--shadow-card);
}
.video-teaser iframe,
.video-teaser video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}
.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  background: linear-gradient(135deg, #f0faf6 0%, #e8f8f2 100%);
}
.video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 39px, var(--grey-border) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, var(--grey-border) 40px);
  opacity: 0.4;
}
.play-btn {
  width: 64px;
  height: 64px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(0, 200, 150, 0.25);
}
.play-btn svg { margin-left: 4px; }
.video-label {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}
.video-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: white;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--emerald-dark);
  border: 1px solid var(--grey-border);
  z-index: 2;
}
.floating-card {
  position: absolute;
  bottom: -20px;
  left: -24px;
  background: white;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--grey-border);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.floating-card-icon {
  width: 40px;
  height: 40px;
  background: var(--emerald-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.floating-card-text p { font-size: 12px; color: var(--grey-muted); }
.floating-card-text strong { font-size: 14px; font-weight: 600; }

/* ═══ LOGOS STRIP ═══ */
.logos-strip {
  background: var(--grey-section);
  border-top: 1px solid var(--grey-border);
  border-bottom: 1px solid var(--grey-border);
  padding: 20px 32px;
}
.logos-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.logos-label {
  font-size: 12px;
  color: var(--grey-muted);
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.logos-tools {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.tool-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}
.tool-dot {
  width: 8px;
  height: 8px;
  background: var(--grey-border);
  border-radius: 50%;
  flex-shrink: 0;
}
.tool-tag.striked { text-decoration: line-through; color: var(--grey-muted); opacity: 0.7; }
.replace-arrow { font-size: 18px; color: var(--emerald); font-weight: 700; }
.tool-tag.win { color: var(--emerald-dark); font-weight: 600; }
.tool-tag.win .tool-dot { background: var(--emerald); }

/* ═══ SECTIONS ═══ */
.section {
  padding: 96px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
  font-weight: 300;
}

/* Pain cards */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.pain-card {
  background: var(--grey-section);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.pain-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  transition: var(--transition);
}
.pain-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.pain-card:hover::after { background: var(--emerald); }
.pain-icon { font-size: 28px; margin-bottom: 16px; }
.pain-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.pain-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; font-weight: 300; }

/* ═══ GALERIE ═══ */
.gallery-section {
  background: var(--grey-section);
  border-top: 1px solid var(--grey-border);
  border-bottom: 1px solid var(--grey-border);
  padding: 96px 32px;
}
.gallery-inner { max-width: var(--max-width); margin: 0 auto; }
.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 40px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.gallery-item {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--grey-border);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
}
.gallery-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.gallery-item.large { grid-row: 1 / 3; }
.gallery-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #f0faf6, #e0f5ec);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
.gallery-item.large .gallery-thumb { aspect-ratio: 4/5; }
.gallery-thumb-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
}
.gallery-thumb-placeholder .icon { font-size: 32px; }
.gallery-thumb-placeholder p {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.gallery-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: white;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  border: 1px solid var(--grey-border);
}

/* ═══ OFFRES ═══ */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.offer-card {
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--grey-border);
  background: white;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.offer-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.offer-card.featured {
  background: var(--text);
  border-color: var(--text);
  color: white;
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
}
.offer-card.featured .offer-desc,
.offer-card.featured .offer-price-label { color: rgba(255,255,255,0.6); }
.offer-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--emerald);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.offer-icon { font-size: 32px; margin-bottom: 20px; }
.offer-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.offer-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
  flex: 1;
  margin-bottom: 24px;
}
.offer-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -1px;
  margin-bottom: 4px;
}
.offer-price-label { font-size: 12px; color: var(--grey-muted); margin-bottom: 20px; }
.offer-btn {
  display: block;
  text-align: center;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid var(--grey-border);
  color: var(--text);
  cursor: pointer;
}
.offer-card.featured .offer-btn {
  background: var(--emerald);
  border-color: var(--emerald);
  color: white;
}
.offer-btn:hover { background: var(--emerald); border-color: var(--emerald); color: white; }
.offer-card.featured .offer-btn:hover { background: var(--emerald-dark); }

/* ═══ TÉMOIGNAGE ═══ */
.testimonial-section {
  background: var(--text);
  color: white;
  padding: 80px 32px;
}
.testimonial-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.5px;
  margin-bottom: 40px;
}
.testimonial-quote em { font-style: normal; color: var(--emerald); }
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: white;
  overflow: hidden;
  flex-shrink: 0;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-info strong { display: block; font-size: 15px; font-weight: 600; }
.author-info span { font-size: 13px; color: rgba(255,255,255,0.5); }

/* ═══ NOTIONDROP ═══ */
.notiondrop-banner {
  background: var(--emerald-light);
  border-top: 1px solid rgba(0,200,150,0.2);
  border-bottom: 1px solid rgba(0,200,150,0.2);
  padding: 48px 32px;
}
.notiondrop-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.notiondrop-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 6px;
}
.notiondrop-text p { font-size: 14px; color: var(--text-secondary); font-weight: 300; }
.notiondrop-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--emerald-dark);
  background: white;
  border: 1px solid rgba(0,200,150,0.3);
  padding: 10px 20px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.notiondrop-badge:hover { background: var(--emerald); color: white; border-color: var(--emerald); }

/* ═══ FOOTER ═══ */
.site-footer {
  background: var(--grey-section);
  border-top: 1px solid var(--grey-border);
  padding: 48px 32px 32px;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--grey-border);
  flex-wrap: wrap;
}
.footer-brand p {
  font-size: 13px;
  color: var(--grey-muted);
  margin-top: 12px;
  max-width: 280px;
  line-height: 1.6;
  font-weight: 300;
}
.footer-links h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.2px;
  margin-bottom: 16px;
}
.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 300;
}
.footer-links a:hover { color: var(--emerald); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 12px; color: var(--grey-muted); }
.footer-bottom a { font-size: 12px; color: var(--grey-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--emerald); }
.powered-by { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--grey-muted); }
.powered-by a { color: var(--emerald-dark); font-weight: 600; }

/* ═══ ANIMATIONS ═══ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-badge { animation: fadeUp 0.5s ease both; }
.hero-title { animation: fadeUp 0.5s 0.1s ease both; }
.hero-sub { animation: fadeUp 0.5s 0.2s ease both; }
.hero-actions { animation: fadeUp 0.5s 0.3s ease both; }
.hero-proof { animation: fadeUp 0.5s 0.4s ease both; }
.hero-visual { animation: fadeUp 0.5s 0.2s ease both; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 60px 24px 48px; }
  .hero-visual { order: -1; }
  .floating-card { display: none; }
  .pain-grid { grid-template-columns: 1fr; }
  .offers-grid { grid-template-columns: 1fr; }
  .offer-card.featured { grid-column: span 1; grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.large { grid-row: auto; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .notiondrop-inner { flex-direction: column; align-items: flex-start; }
  .footer-top { flex-direction: column; }
  .gallery-section { padding: 64px 24px; }
  .section { padding: 64px 24px; }
}

/* Nav mobile ouverte */
.nav-links.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--grey-nav);
  border-bottom: 1px solid var(--grey-border);
  padding: 24px 32px;
  gap: 20px;
  z-index: 99;
}

/* ═══ PAGE INTÉRIEURE GÉNÉRIQUE ═══ */
.page-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 32px;
}
.page-content h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1.5px;
  margin-bottom: 32px;
}
.page-content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 32px);
  letter-spacing: -0.8px;
  margin: 48px 0 20px;
}
.page-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 300;
}
.page-content ul { margin: 0 0 20px 24px; }
.page-content li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 300;
}
