/*
 * style.css — EHTYMARKETING Thème Custom
 * Palette : Prune & Ivoire
 * Fonts   : Playfair Display + DM Sans
 */

/* ══════════════════════════════════════
   VARIABLES GLOBALES
══════════════════════════════════════ */
:root {
  --prune-nuit:    #1A0A1E;
  --prune-profond: #3D1A4A;
  --violet-vif:    #A855C8;
  --lavande:       #EED9F5;
  --ivoire:        #FAF7FC;
  --ivoire-dim:    rgba(250, 247, 252, 0.65);

  --font-display: 'Playfair Display', serif;
  --font-body:    'DM Sans', sans-serif;

  --container:    1180px;
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    16px;

  --transition:   0.22s ease;
}

/* ══════════════════════════════════════
   RESET & BASE
══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  background: var(--prune-nuit);
  color: var(--ivoire);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ══════════════════════════════════════
   LAYOUT
══════════════════════════════════════ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 6rem 0; }
.section--dark  { background: var(--prune-profond); }
.section--light { background: var(--ivoire); color: var(--prune-nuit); }

/* ══════════════════════════════════════
   SECTION HEADERS
══════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet-vif);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ivoire);
}
.section--light .section-title { color: var(--prune-nuit); }
.section--light .section-eyebrow { color: var(--violet-vif); }

.section-sub {
  margin-top: 1rem;
  font-size: 16px;
  color: var(--ivoire-dim);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.section--light .section-sub { color: #5a3a6a; }

.section-header--light .section-title { color: var(--ivoire); }
.section-sub--light { color: var(--ivoire-dim); }

/* ══════════════════════════════════════
   BOUTONS
══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--violet-vif);
  color: var(--ivoire);
  border-color: var(--violet-vif);
}
.btn--primary:hover { background: #c070e0; border-color: #c070e0; }

.btn--ghost {
  background: transparent;
  color: var(--ivoire-dim);
  border-color: transparent;
}
.btn--ghost:hover { color: var(--ivoire); }

.btn--outline {
  background: transparent;
  color: var(--violet-vif);
  border-color: var(--violet-vif);
}
.btn--outline:hover { background: var(--violet-vif); color: var(--ivoire); }

.btn--outline-light {
  background: transparent;
  color: var(--lavande);
  border-color: rgba(238, 217, 245, 0.4);
}
.btn--outline-light:hover { background: rgba(238, 217, 245, 0.1); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 2rem 5rem;
  background: var(--prune-nuit);
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet-vif);
  padding: 5px 12px;
  border: 1px solid rgba(168, 85, 200, 0.35);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ivoire);
  margin-bottom: 1.5rem;
}
.hero__title em {
  font-style: italic;
  color: var(--violet-vif);
}

.hero__sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--ivoire-dim);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 2.25rem;
}
.hero__sub strong { font-weight: 500; color: var(--ivoire); }

.hero__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.hero__trust-item { display: flex; flex-direction: column; gap: 2px; }
.hero__trust-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ivoire);
  line-height: 1;
}
.hero__trust-label { font-size: 11px; color: rgba(238, 217, 245, 0.45); letter-spacing: 0.04em; }
.hero__trust-sep {
  width: 1px;
  height: 32px;
  background: rgba(168, 85, 200, 0.25);
}

/* Hero visual */
.hero__visual {
  position: relative;
  height: 420px;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero__orb--1 {
  width: 320px; height: 320px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(168, 85, 200, 0.15);
}
.hero__orb--2 {
  width: 200px; height: 200px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(168, 85, 200, 0.1);
  background: rgba(168, 85, 200, 0.04);
}

.hero__card {
  position: absolute;
  background: rgba(61, 26, 74, 0.8);
  border: 1px solid rgba(168, 85, 200, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  backdrop-filter: blur(8px);
}
.hero__card--1 { top: 40px; left: 10px; right: 10px; }
.hero__card--2 { bottom: 100px; left: 20px; }
.hero__card--3 { bottom: 100px; right: 20px; }

.hero__card-label {
  display: block;
  font-size: 11px;
  color: rgba(238, 217, 245, 0.5);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.hero__card-bar {
  height: 4px;
  background: rgba(168, 85, 200, 0.2);
  border-radius: 2px;
  margin-bottom: 6px;
}
.hero__card-fill {
  height: 100%;
  background: var(--violet-vif);
  border-radius: 2px;
  animation: fillBar 1.5s ease 0.5s both;
}
@keyframes fillBar { from { width: 0 } }

.hero__card-val { font-size: 13px; font-weight: 500; color: var(--ivoire); }

.hero__card-big {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ivoire);
  line-height: 1;
  margin-top: 4px;
}
.hero__card-big--up { color: #a855c8; }

/* ══════════════════════════════════════
   TICKER
══════════════════════════════════════ */
.ticker {
  overflow: hidden;
  background: var(--prune-profond);
  border-top: 1px solid rgba(168, 85, 200, 0.15);
  border-bottom: 1px solid rgba(168, 85, 200, 0.15);
  padding: 0.85rem 0;
  white-space: nowrap;
}
.ticker__track {
  display: inline-flex;
  gap: 0;
  animation: ticker 40s linear infinite;
}
.ticker__track:hover { animation-play-state: paused; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(238, 217, 245, 0.5);
  padding: 0 1.5rem;
  transition: color var(--transition);
}
.ticker__item:hover { color: var(--lavande); }
.ticker__dot {
  margin-left: 1.5rem;
  font-size: 8px;
  color: var(--violet-vif);
}

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: rgba(61, 26, 74, 0.4);
  border: 1px solid rgba(168, 85, 200, 0.12);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  transition: border-color var(--transition), background var(--transition);
}
.service-card:hover {
  border-color: rgba(168, 85, 200, 0.35);
  background: rgba(61, 26, 74, 0.6);
}

.service-card__num {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--violet-vif);
  margin-bottom: 1rem;
}
.service-card__icon {
  width: 36px; height: 36px;
  color: var(--violet-vif);
  margin-bottom: 1rem;
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ivoire);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.service-card__desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--ivoire-dim);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.service-card__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--violet-vif);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.service-card__link:hover { color: var(--lavande); }

.services__cta { text-align: center; margin-top: 2.5rem; }

/* ══════════════════════════════════════
   TÉMOIGNAGES
══════════════════════════════════════ */
.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.testi-card {
  background: rgba(26, 10, 30, 0.5);
  border: 1px solid rgba(168, 85, 200, 0.15);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testi-card--featured {
  background: rgba(168, 85, 200, 0.12);
  border-color: rgba(168, 85, 200, 0.3);
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
}

.testi-card__stars { color: var(--violet-vif); font-size: 14px; letter-spacing: 3px; }
.testi-card__quote {
  font-size: 14px;
  font-weight: 300;
  color: var(--ivoire-dim);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
}
.testi-card__author { display: flex; align-items: center; gap: 12px; }
.testi-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--prune-profond);
  border: 1.5px solid rgba(168, 85, 200, 0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--lavande);
  flex-shrink: 0;
}
.testi-card__name { font-weight: 500; font-size: 14px; color: var(--ivoire); }
.testi-card__role { font-size: 11px; color: rgba(238, 217, 245, 0.4); }

.testi-card__label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--violet-vif);
}
.testi-card__stat {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--ivoire);
  line-height: 1;
}
.testi-card__stat-label {
  font-size: 13px;
  color: var(--ivoire-dim);
  font-weight: 300;
}

/* ══════════════════════════════════════
   À PROPOS
══════════════════════════════════════ */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}
.about__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--prune-profond);
  border: 1px solid rgba(168, 85, 200, 0.15);
}
.about__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about__img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.about__img-placeholder svg { width: 80px; height: 80px; opacity: 0.4; }

.about__badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: var(--violet-vif);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  display: flex; flex-direction: column;
  gap: 2px;
}
.about__badge span { font-size: 10px; color: rgba(250,247,252,0.7); letter-spacing: 0.1em; text-transform: uppercase; }
.about__badge strong { font-size: 13px; font-weight: 500; color: var(--ivoire); }

.about__content .section-title { text-align: left; }
.about__content .section-eyebrow { display: block; margin-bottom: 0.5rem; }
.about__text {
  font-size: 15px;
  font-weight: 300;
  color: var(--ivoire-dim);
  line-height: 1.85;
  margin: 1rem 0;
}
.about__text strong { font-weight: 500; color: var(--ivoire); }

/* ══════════════════════════════════════
   BLOG PREVIEW
══════════════════════════════════════ */
.blog-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: #fff;
  border: 1px solid #ede8f5;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition);
}
.blog-card:hover { border-color: var(--violet-vif); }

.blog-card__thumb { display: block; aspect-ratio: 16/9; overflow: hidden; }
.blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card__thumb img { transform: scale(1.04); }

.blog-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

.blog-card__cats { display: flex; gap: 6px; flex-wrap: wrap; }
.blog-card__cat {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a2a9a;
  background: #f0e0f8;
  padding: 3px 8px;
  border-radius: 2px;
  transition: background var(--transition);
}
.blog-card__cat:hover { background: #e0c8f0; }

.blog-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--prune-nuit);
  flex: 1;
}
.blog-card__title a { color: inherit; transition: color var(--transition); }
.blog-card__title a:hover { color: var(--violet-vif); }

.blog-card__excerpt {
  font-size: 13px;
  font-weight: 300;
  color: #5a3a6a;
  line-height: 1.7;
}

.blog-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #9a7aaa;
  padding-top: 0.75rem;
  border-top: 1px solid #ede8f5;
  margin-top: auto;
}
.blog-card__read { font-style: italic; }

.blog-preview__empty { text-align: center; color: #9a7aaa; font-size: 15px; padding: 2rem 0; grid-column: 1/-1; }
.blog-preview__cta { text-align: center; margin-top: 2.5rem; }

/* ══════════════════════════════════════
   BOOKING
══════════════════════════════════════ */
.booking .section-sub { margin-bottom: 2rem; }
.booking__embed {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(168, 85, 200, 0.2);
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: #0E0612;
  border-top: 1px solid rgba(168, 85, 200, 0.12);
}

.footer__top { padding: 4rem 0 3rem; }

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ivoire);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(168, 85, 200, 0.2);
}

.footer__links { display: flex; flex-direction: column; gap: 0; }
.footer__links li { border-bottom: 1px solid rgba(168, 85, 200, 0.06); }
.footer__links li:last-child { border-bottom: none; }

.footer__links a,
.footer__links span {
  display: block;
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(238, 217, 245, 0.45);
  padding: 5px 0;
  transition: color var(--transition);
  line-height: 1.5;
}
.footer__links a:hover { color: var(--lavande); }

.footer__links--posts .footer__post-cat {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet-vif);
  padding: 0;
  border: none;
  margin-bottom: 2px;
}
.footer__links--posts a {
  font-size: 12.5px;
  color: rgba(238, 217, 245, 0.5);
  padding-bottom: 8px;
}
.footer__empty { color: rgba(238, 217, 245, 0.25); font-style: italic; font-size: 12px; }

/* Footer bottom */
.footer__bottom {
  border-top: 1px solid rgba(168, 85, 200, 0.12);
  padding: 1.5rem 0;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__logo-wrap { display: flex; flex-direction: column; gap: 3px; }
.footer__logo {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ivoire);
  text-transform: uppercase;
}
.footer__logo-sub {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(238, 217, 245, 0.3);
}

.footer__social { display: flex; gap: 12px; align-items: center; }
.footer__social a {
  color: rgba(238, 217, 245, 0.4);
  transition: color var(--transition);
  display: flex;
}
.footer__social a:hover { color: var(--lavande); }

.footer__copy {
  font-size: 12px;
  color: rgba(238, 217, 245, 0.25);
}
.footer__copy a {
  color: rgba(168, 85, 200, 0.6);
  transition: color var(--transition);
}
.footer__copy a:hover { color: var(--violet-vif); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { height: 300px; }
  .testimonials__grid { grid-template-columns: 1fr 1fr; }
  .testi-card--featured { grid-column: 1 / -1; flex-direction: row; justify-content: space-around; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .services__grid { grid-template-columns: 1fr; }
  .blog-preview__grid { grid-template-columns: 1fr; }
  .about__inner { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .testi-card--featured { flex-direction: column; text-align: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom-inner { flex-direction: column; text-align: center; gap: 1rem; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
}
