/* ═══════════════════════════════════════════════════════════
   365 DÉVOTIONAL — Design System v6
   PALETTE : Bleu nuit · Blanc · Cyan
   Style : contemporain, épuré, premium, dégradé doux
   ═══════════════════════════════════════════════════════════ */

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

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,300;0,400;0,700;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* ── BLEU NUIT ── */
  --navy:       #0F3A4E;
  --navy-2:     #143F55;
  --navy-3:     #1A4E68;
  --navy-4:     #215A75;

  /* ── CYAN ── */
  --cyan:       #00C8E8;
  --cyan-lt:    #4DDBF0;
  --cyan-dk:    #0099B8;
  --cyan-glow:  rgba(0,200,232,.18);

  /* ── BLANC / TEXTES ── */
  --white:      #FFFFFF;
  --white-85:   rgba(255,255,255,.85);
  --white-60:   rgba(255,255,255,.60);
  --white-30:   rgba(255,255,255,.30);
  --white-10:   rgba(255,255,255,.10);
  --white-06:   rgba(255,255,255,.06);

  /* ── DÉGRADÉS ── */
  --grad-hero:  linear-gradient(160deg, #0C3547 0%, #175570 40%, #1E6A88 70%, #2580A0 100%);
  --grad-card:  linear-gradient(135deg, #143F55 0%, #1A4E68 100%);
  --grad-cyan:  linear-gradient(135deg, #05162E 0%, #093060 60%, #00C8E8 200%);
  --grad-sep:   linear-gradient(90deg, transparent, var(--cyan), transparent);

  /* ── ACCENTS ── */
  --accent:     var(--cyan);
  --or:         var(--cyan);
  --gold:       var(--cyan);

  /* ── ALIAS RÉTROCOMPAT ── */
  --ink:        #0F3A4E;
  --ink-2:      #143F55;
  --ink-3:      #1A4E68;
  --ink-4:      #215A75;
  --ink-5:      #143F55;
  --ivory:      rgba(255,255,255,.85);
  --ivory-dim:  rgba(255,255,255,.6);
  --ivory-faint:rgba(255,255,255,.3);
  --blanc:      #FFFFFF;
  --soft:       rgba(255,255,255,.6);
  --dim:        rgba(255,255,255,.3);
  --card-bg:    #071E3D;
  --card-border:rgba(0,200,232,.15);

  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'Inter', -apple-system, sans-serif;
  --container: 1100px;
  --radius: 12px;
  --radius-sm: 6px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--navy);
  color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
@media(max-width:700px) { .container { padding: 0 20px; } }

/* ══════════════════════════════════
   NAV
══════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5,22,46,.92);
  border-bottom: 1px solid var(--white-10);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 0 40px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--serif); font-size: 17px; font-weight: 400;
  color: var(--white); letter-spacing: .04em;
}
.nav-logo span { color: var(--cyan); font-style: italic; }
.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links a {
  font-size: 12px; font-weight: 400; color: var(--white-60);
  padding: 6px 15px; letter-spacing: .1em; text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--cyan); }
.nav-cta {
  background: var(--cyan) !important; color: var(--navy) !important;
  font-weight: 600 !important; font-size: 12px !important;
  padding: 8px 20px !important; border-radius: 40px;
  letter-spacing: .08em; text-transform: uppercase;
  transition: all .2s !important; margin-left: 8px;
}
.nav-cta:hover { background: var(--cyan-lt) !important; transform: translateY(-1px); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; border: none; background: none;
}
.nav-hamburger span { display: block; width: 22px; height: 1px; background: var(--white); transition: all .3s; }
.nav-mobile {
  display: none; flex-direction: column;
  background: var(--navy-2); border-top: 1px solid var(--white-10);
  padding: 16px 20px; gap: 2px;
}
.nav-mobile a {
  font-size: 14px; padding: 10px 14px; color: var(--white-60);
  letter-spacing: .06em; text-transform: uppercase; transition: color .2s;
}
.nav-mobile a:hover, .nav-mobile a.active { color: var(--cyan); }
.nav-mobile.open { display: flex; }
@media(max-width:860px) { .nav-links { display: none; } .nav-hamburger { display: flex; } }

/* ══════════════════════════════════
   SÉPARATEURS
══════════════════════════════════ */
.gold-divider {
  height: 1px;
  background: var(--grad-sep);
  opacity: .4;
}

/* ══════════════════════════════════
   HEADINGS
══════════════════════════════════ */
.section-eyebrow {
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px; font-weight: 500;
}
.section-heading {
  font-family: var(--serif);
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 300; color: var(--white); line-height: 1.15; margin-bottom: 16px;
}
.section-heading em { font-style: italic; color: var(--cyan); font-weight: 300; }
.section-heading strong { font-weight: 700; }
.section-sub { font-size: 15px; color: var(--white-60); line-height: 1.8; max-width: 520px; font-weight: 300; }

/* ══════════════════════════════════
   BOUTONS
══════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--cyan); color: var(--navy);
  font-weight: 600; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase;
  padding: 13px 30px; border-radius: 40px;
  border: none; cursor: pointer; text-decoration: none; transition: all .25s;
}
.btn-primary:hover { background: var(--cyan-lt); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,200,232,.3); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--white);
  font-weight: 400; font-size: 13px; letter-spacing: .1em;
  text-transform: uppercase;
  padding: 12px 28px; border-radius: 40px;
  border: 1px solid var(--white-30);
  transition: all .25s; cursor: pointer; text-decoration: none;
}
.btn-secondary:hover { border-color: var(--white); background: var(--white-10); }

/* ══════════════════════════════════
   CARDS
══════════════════════════════════ */
.card {
  background: var(--grad-card);
  border: 1px solid var(--white-10);
  border-radius: var(--radius); overflow: hidden; transition: all .3s;
}
.card:hover { border-color: rgba(0,200,232,.3); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,.4); }

/* ══════════════════════════════════
   QUOTE BLOCK
══════════════════════════════════ */
.quote-block {
  background: linear-gradient(135deg, var(--navy-3), var(--navy-4));
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 36px 40px; position: relative; overflow: hidden;
}
.quote-block::before {
  content: '\201C'; font-family: var(--serif); font-size: 140px;
  color: var(--cyan); opacity: .08;
  position: absolute; top: -10px; left: 16px; line-height: 1;
  pointer-events: none;
}
.quote-text {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(17px, 2.5vw, 24px); color: var(--white); line-height: 1.75;
  margin-bottom: 18px; position: relative; z-index: 1;
}
.quote-author {
  font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--cyan); font-weight: 500;
}

/* ══════════════════════════════════
   NEWSLETTER
══════════════════════════════════ */
.newsletter-strip {
  background: linear-gradient(135deg, var(--navy-2) 0%, var(--navy-3) 100%);
  border-top: 1px solid var(--white-10);
  border-bottom: 1px solid var(--white-10);
  padding: 64px 40px; position: relative; overflow: hidden;
}
.newsletter-strip::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(0,200,232,.08) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter-strip-inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; gap: 64px; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.newsletter-strip-text { flex: 1; min-width: 240px; }
.newsletter-strip-text h3 {
  font-family: var(--serif); font-size: clamp(22px,3vw,34px);
  font-weight: 300; color: var(--white); margin-bottom: 10px;
}
.newsletter-strip-text p { font-size: 14px; color: var(--white-60); font-weight: 300; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; min-width: 280px; }
.newsletter-input {
  flex: 1; min-width: 200px;
  background: var(--white-06); border: 1px solid var(--white-30);
  border-radius: 40px; padding: 13px 20px; font-size: 14px;
  color: var(--white); outline: none; font-family: var(--sans);
  font-weight: 300; transition: border-color .2s;
}
.newsletter-input::placeholder { color: var(--white-30); }
.newsletter-input:focus { border-color: var(--cyan); }
.newsletter-btn {
  background: var(--cyan); color: var(--navy);
  border: none; cursor: pointer; font-weight: 600; font-size: 12px;
  padding: 13px 28px; border-radius: 40px; letter-spacing: .1em;
  text-transform: uppercase; transition: all .2s;
  font-family: var(--sans); white-space: nowrap;
}
.newsletter-btn:hover { background: var(--cyan-lt); }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.site-footer {
  background: #030E1E;
  border-top: 1px solid var(--white-10);
  padding: 40px; text-align: center;
}
.footer-brand {
  font-family: var(--serif); font-size: 18px; font-weight: 300;
  color: var(--white); margin-bottom: 8px; letter-spacing: .04em;
}
.footer-brand span { color: var(--cyan); font-style: italic; }
.footer-copy { font-size: 12px; color: var(--white-30); line-height: 2; letter-spacing: .03em; }
.footer-copy a { color: var(--cyan); opacity: .7; transition: opacity .2s; }
.footer-copy a:hover { opacity: 1; }

/* ══════════════════════════════════
   TICKER
══════════════════════════════════ */
.ticker-bar {
  background: var(--navy-2); border-bottom: 1px solid var(--white-10);
  overflow: hidden; height: 44px; display: flex; align-items: center;
}
.ticker-label {
  flex-shrink: 0; padding: 0 24px;
  font-size: 9px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--cyan); font-weight: 500;
  border-right: 1px solid var(--white-10);
  height: 100%; display: flex; align-items: center;
}
.ticker-track { flex: 1; overflow: hidden; }
.ticker-inner { display: flex; white-space: nowrap; animation: tickerScroll 45s linear infinite; }
.ticker-item {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 300; color: var(--white-60);
  padding: 0 48px; gap: 14px; white-space: nowrap;
  cursor: pointer; transition: color .2s; text-decoration: none;
  letter-spacing: .03em;
}
.ticker-item:hover { color: var(--cyan); }
.ticker-item::before { content: '✦'; color: var(--cyan); font-size: 7px; opacity: .5; }
@keyframes tickerScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ══════════════════════════════════
   AUDIO PLAYER
══════════════════════════════════ */
.audio-player {
  background: linear-gradient(135deg, var(--navy-2), var(--navy-3));
  border: 1px solid var(--white-10);
  border-radius: var(--radius); padding: 22px 26px;
}
.ap-top { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.ap-play {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--cyan); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all .2s;
  box-shadow: 0 4px 16px rgba(0,200,232,.25);
}
.ap-play:hover { background: var(--cyan-lt); transform: scale(1.06); }
.ap-play svg { color: var(--navy); }
.ap-meta { flex: 1; }
.ap-label { font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); margin-bottom: 4px; font-weight: 500; }
.ap-time { font-size: 13px; color: var(--white-60); font-weight: 300; }
.ap-waveform { height: 36px; display: flex; align-items: center; gap: 2px; }
.ap-bar { flex: 1; border-radius: 2px; background: var(--white-10); transition: background .1s; }
.ap-bar.active { background: var(--cyan); }
.ap-progress { width: 100%; height: 2px; background: var(--white-10); border-radius: 2px; margin-top: 12px; cursor: pointer; }
.ap-progress-fill { height: 100%; background: var(--cyan); border-radius: 2px; width: 0%; transition: width .1s; }
.ap-no-audio { text-align: center; padding: 24px; font-size: 13px; color: var(--white-30); font-weight: 300; }

/* ══════════════════════════════════
   PENSÉE CARDS (archive)
══════════════════════════════════ */
.pensee-item {
  background: linear-gradient(135deg, var(--navy-2) 0%, var(--navy-3) 100%);
  border: 1px solid var(--white-10);
  border-radius: var(--radius); padding: 26px;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 8px;
  transition: all .3s; position: relative; overflow: hidden; cursor: pointer;
}
.pensee-item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-lt));
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.pensee-item:hover { border-color: rgba(0,200,232,.25); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.4); }
.pensee-item:hover::before { transform: scaleX(1); }
.pi-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 4px; }
.pi-num { font-family: var(--serif); font-size: 28px; font-weight: 300; color: var(--cyan); line-height: 1; }
.pi-audio-badge { font-size: 14px; margin-top: 4px; }
.pi-titre { font-family: var(--serif); font-size: 16px; font-weight: 400; color: var(--white); line-height: 1.4; margin-bottom: 8px; }
.pi-preview { font-size: 13px; color: var(--white-60); line-height: 1.7; flex: 1; font-weight: 300; }
.pi-date { font-size: 11px; color: var(--white-30); margin-top: 14px; letter-spacing: .06em; text-transform: uppercase; }

/* ══════════════════════════════════
   ACTIONS BAS PENSÉE
══════════════════════════════════ */
.bottom-actions {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--white-10);
  gap: 12px; flex-wrap: wrap;
}
.bottom-icons { display: flex; align-items: center; gap: 10px; }
.cta-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: transparent; border: 1px solid var(--white-10);
  color: var(--white-60); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s;
}
.cta-icon:hover { background: var(--cyan-glow); border-color: var(--cyan); color: var(--cyan); }
.cta-soutenir {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--cyan); color: var(--navy);
  padding: 9px 22px; border-radius: 40px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; cursor: pointer; transition: all .25s; text-decoration: none;
  border: none;
}
.cta-soutenir:hover { background: var(--cyan-lt); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,200,232,.3); }

/* ══════════════════════════════════
   SIGNATURE
══════════════════════════════════ */
.yannis-sig {
  display: flex; align-items: center; gap: 14px;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--white-10);
}
.yannis-sig-line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(0,200,232,.3), transparent); }
.yannis-sig-text { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--white-60); font-weight: 300; }
.yannis-sig-text strong { color: var(--white); font-style: normal; font-weight: 600; }

/* ══════════════════════════════════
   ANIMATIONS
══════════════════════════════════ */
@keyframes abounce { 0%,100%{transform:scaleY(.35)} 50%{transform:scaleY(1)} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
.fade-up { animation: fadeInUp .7s ease both; }
@keyframes glowPulse { 0%,100%{opacity:.4} 50%{opacity:1} }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--navy-4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan-dk); }


/* ══════════════════════════════════════════════════════════════
   🔥 RESPONSIVE MOBILE COMPLET - Ajouté 2026-03-20T16:59:16.397Z
══════════════════════════════════════════════════════════════ */

/* Tablettes et petits laptops */
@media (max-width: 1024px) {
  .container {
    max-width: 95%;
    padding: 0 20px;
  }
  
  .hero-title {
    font-size: 2.5em !important;
  }
  
  .section-title {
    font-size: 2em !important;
  }
}

/* Mobile landscape et petites tablettes */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  
  .container {
    padding: 0 15px;
  }
  
  /* HERO */
  .hero {
    min-height: auto;
    padding: 60px 20px 40px;
  }
  
  .hero-title {
    font-size: 2em !important;
    line-height: 1.3;
  }
  
  .hero-sub {
    font-size: 1em !important;
  }
  
  /* NAVIGATION */
  .nav {
    padding: 15px 20px;
  }
  
  .nav-logo {
    font-size: 1.2em;
  }
  
  /* SECTIONS */
  .section {
    padding: 50px 20px;
  }
  
  .section-title {
    font-size: 1.8em !important;
  }
  
  .section-sub {
    font-size: 0.95em !important;
    max-width: 100%;
  }
  
  /* GRILLES */
  .tomes-grid,
  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }
  
  /* TOME CARDS */
  .tome-card {
    max-width: 100%;
  }
  
  .tome-img {
    width: 100% !important;
    height: auto !important;
    max-width: 280px;
    margin: 0 auto;
  }
  
  /* BOUTONS */
  .cta-button,
  .button-primary,
  .button-secondary {
    width: 100%;
    max-width: 100%;
    padding: 18px 30px;
    font-size: 1em;
  }
  
  .button-group {
    flex-direction: column;
    gap: 15px;
  }
  
  .button-group .cta-button,
  .button-group .button-primary,
  .button-group .button-secondary {
    width: 100%;
  }
  
  /* NEWSLETTER */
  .newsletter-strip {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  
  .newsletter-strip-text {
    min-width: 100%;
    margin-bottom: 20px;
  }
  
  .newsletter-form {
    min-width: 100%;
    flex-direction: column;
  }
  
  .newsletter-form input {
    min-width: 100%;
  }
  
  /* TICKER */
  .ticker-wrap {
    font-size: 0.9em;
  }
  
  /* FOOTER */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .footer-col {
    min-width: 100%;
  }
}

/* Mobile portrait strict */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6em !important;
  }
  
  .section-title {
    font-size: 1.5em !important;
  }
  
  .section {
    padding: 40px 15px;
  }
  
  /* Cards */
  .tome-card,
  .feature-card {
    padding: 25px 20px;
  }
  
  /* Images */
  .tome-img {
    max-width: 220px !important;
  }
  
  /* Navigation mobile */
  .nav {
    padding: 12px 15px;
  }
  
  .nav-logo {
    font-size: 1em;
  }
  
  /* Boutons plus petits */
  .cta-button,
  .button-primary {
    padding: 15px 25px;
    font-size: 0.95em;
  }
  
  /* Footer */
  .footer {
    padding: 40px 15px;
  }
  
  .footer-title {
    font-size: 1em;
  }
}

/* Très petits écrans */
@media (max-width: 360px) {
  body {
    font-size: 14px;
  }
  
  .hero-title {
    font-size: 1.4em !important;
  }
  
  .section-title {
    font-size: 1.3em !important;
  }
  
  .container {
    padding: 0 10px;
  }
  
  .section {
    padding: 30px 10px;
  }
}

/* Fix pour les images qui dépassent */
img {
  max-width: 100%;
  height: auto;
}

/* Fix pour les conteneurs qui dépassent */
* {
  box-sizing: border-box;
}

.container,
.section,
.hero,
.footer {
  overflow-x: hidden;
}

/* Fix pour le texte qui ne wrap pas */
p, h1, h2, h3, h4, h5, h6, span, div {
  word-wrap: break-word;
  overflow-wrap: break-word;
}
