/* ═══════════════════════════════════════════
   CHEZ HO'A — Feuille de styles principale
   Style : Pastel Rétro Dreamy
   Palette : Rose #FFB8D0 | Pêche #FFCBA8 | Jaune #FFF183 | Bleu #A8D8EC | Lavande #C8B4E8 | Menthe #A8E4D0
   Polices : Fredoka (titres) · Pacifico (accent) · Quicksand (corps)
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Pacifico&family=Quicksand:wght@300;400;500;600;700&display=swap');

/* ── Variables ── */
:root {
  /* Palette pastel rétro dreamy */
  --rose:    #FFB8D0;
  --peche:   #FFCBA8;
  --jaune:   #FFF183;
  --bleu:    #A8D8EC;
  --lavande: #C8B4E8;
  --menthe:  #A8E4D0;
  --creme:   #FFF8F0;
  --blanc:   #ffffff;
  --texte:   #2C2C34;
  --texte-soft: #666677;

  /* Accents saturés pour boutons seulement */
  --violet:   #920388;
  --teal-vif: #0d84a4;
  --rose-vif: #e8006a;

  /* Versions lt pour fonds de sections */
  --rose-lt:    #fff0f5;
  --peche-lt:   #fff5ee;
  --jaune-lt:   #fffde8;
  --bleu-lt:    #eef8fc;
  --lavande-lt: #f5f0fc;
  --menthe-lt:  #edfaf5;

  /* Aliases de compatibilité pour les styles inline existants */
  --pink:      var(--rose);
  --pink-lt:   var(--rose-lt);
  --yellow:    var(--jaune);
  --yellow-lt: var(--jaune-lt);
  --orange:    var(--peche);
  --orange-lt: var(--peche-lt);
  --purple:    var(--violet);
  --purple-lt: var(--lavande-lt);
  --teal:      var(--teal-vif);
  --teal-lt:   var(--bleu-lt);
  --mint:      var(--menthe);
  --white:     var(--blanc);
  --off-white: var(--creme);
  --text:      var(--texte);
  --text-soft: var(--texte-soft);

  --radius:    24px;
  --radius-sm: 14px;
  --shadow:    0 4px 24px rgba(0,0,0,.06);
  --shadow-hover: 0 12px 40px rgba(0,0,0,.11);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  color: var(--texte);
  background: var(--creme);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Fredoka', cursive;
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

/* Classe accent Pacifico */
.accent-script { font-family: 'Pacifico', cursive; }

/* ── Boutons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-family: 'Fredoka', cursive;
  font-weight: 600;
  font-size: 1rem;
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.btn:active { transform: translateY(0); }

.btn-pink   { background: var(--rose);    color: var(--texte); }
.btn-purple { background: var(--violet);  color: var(--blanc); }
.btn-teal   { background: var(--teal-vif); color: var(--blanc); }
.btn-orange { background: var(--peche);   color: var(--texte); }
.btn-yellow { background: var(--jaune);   color: var(--texte); }
.btn-outline {
  background: transparent;
  border: 2.5px solid currentColor;
}
.btn-white  { background: var(--blanc); color: var(--texte); }

/* ── Navigation ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 3rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--rose);
  transition: box-shadow .3s;
}
#navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }

.nav-logo {
  display: flex; align-items: center; gap: .8rem;
}
.nav-logo img { height: 48px; width: auto; }
.nav-logo-text {
  font-family: 'Fredoka', cursive;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--violet);
  line-height: 1;
}
.nav-logo-sub {
  font-size: .7rem;
  font-weight: 600;
  color: var(--teal-vif);
  letter-spacing: .05em;
}

.nav-links {
  display: flex; align-items: center; gap: 1.8rem;
  list-style: none;
}
.nav-links a {
  font-family: 'Fredoka', cursive;
  font-weight: 600;
  font-size: .95rem;
  color: var(--texte-soft);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0;
  height: 3px; border-radius: 2px;
  background: var(--rose);
  transform: scaleX(0);
  transition: transform .2s;
}
.nav-links a:hover { color: var(--violet); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { margin-left: .5rem; color: var(--blanc) !important; }

.burger {
  display: none;
  flex-direction: column; gap: 5px;
  padding: .4rem;
}
.burger span {
  display: block; width: 26px; height: 3px;
  border-radius: 3px;
  background: var(--violet);
  transition: .3s;
}

/* ── Sparkles décoratifs ── */
.sparkle {
  display: inline-block;
  animation: sparkle-spin 3s ease-in-out infinite;
}
@keyframes sparkle-spin {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: 1; }
  50%       { transform: rotate(180deg) scale(1.2); opacity: .7; }
}

/* ── Fleur décorative ── */
.deco-flower {
  position: absolute;
  pointer-events: none;
  opacity: 0.85;
}

/* ── Arc-en-ciel décoratif ── */
.deco-rainbow {
  position: absolute;
  pointer-events: none;
  opacity: 0.75;
}

/* ── Section template ── */
.section-label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Fredoka', cursive;
  font-weight: 700; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.label-pink   { background: var(--rose);    color: var(--texte); }
.label-teal   { background: var(--teal-vif); color: var(--blanc); }
.label-purple { background: var(--violet);  color: var(--blanc); }
.label-orange { background: var(--peche);   color: var(--texte); }
.label-yellow { background: var(--jaune);   color: var(--texte); }

/* ── Cards de services ── */
.service-card {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column; gap: 1rem;
  position: relative; overflow: hidden;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.service-card-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: .2rem;
}
.service-card p {
  color: var(--texte-soft);
  font-size: .95rem;
  flex: 1;
}
.service-card .card-link {
  font-family: 'Fredoka', cursive;
  font-weight: 700;
  font-size: .9rem;
  display: inline-flex; align-items: center; gap: .3rem;
  margin-top: .5rem;
}

/* ── Wavy divider ── */
.wave-divider { display: block; width: 100%; overflow: hidden; line-height: 0; }
.wave-divider svg { display: block; width: 100%; }

/* ── Barre décorative séparatrice ── */
.deco-divider-strip {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.2rem;
  padding: 1rem 2rem 0;
  background: var(--creme);
  overflow: hidden;
  flex-wrap: nowrap;
}

/* ── Atelier cards ── */
.atelier-card {
  background: var(--blanc);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.atelier-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.atelier-card-img {
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
}
.atelier-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; gap: .6rem; }
.atelier-card-tag {
  font-family: 'Fredoka', cursive;
  font-weight: 700; font-size: .75rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .25rem .9rem; border-radius: 50px;
  display: inline-block; width: fit-content;
}
.atelier-card h3 { font-size: 1.15rem; }
.atelier-card p { color: var(--texte-soft); font-size: .9rem; flex: 1; }
.atelier-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: .8rem; padding-top: .8rem;
  border-top: 1.5px solid #f0f0f0;
}
.atelier-price {
  font-family: 'Fredoka', cursive;
  font-weight: 700; font-size: 1.2rem;
  color: var(--violet);
}

/* ── Valeurs ── */
.valeur-item {
  display: flex; align-items: flex-start; gap: 1.2rem;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  backdrop-filter: blur(8px);
}
.valeur-icon {
  font-size: 2rem; flex-shrink: 0;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
}
.valeur-item h4 {
  font-size: 1rem; margin-bottom: .2rem; color: var(--blanc);
}
.valeur-item p { font-size: .9rem; color: rgba(255,255,255,.8); }

/* ── Footer ── */
#footer {
  background: var(--violet);
  color: var(--blanc);
  padding: 4rem 3rem 2rem;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand h3 {
  font-size: 1.8rem; color: var(--jaune); margin-bottom: .5rem;
}
.footer-brand p { color: rgba(255,255,255,.7); font-size: .9rem; line-height: 1.7; }
.footer-col h4 {
  font-family: 'Fredoka', cursive;
  font-size: 1rem; color: var(--rose);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,.75); font-size: .9rem;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--blanc); }
.footer-col p { color: rgba(255,255,255,.75); font-size: .9rem; line-height: 1.8; }
.footer-social { display: flex; gap: .8rem; margin-top: 1rem; }
.social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--blanc); font-size: 1rem;
  transition: background .2s, transform .2s;
}
.social-btn:hover { background: var(--rose); color: var(--texte); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .82rem; color: rgba(255,255,255,.45);
}

/* ── Toast ── */
.toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--violet); color: var(--blanc);
  padding: 1rem 2rem; border-radius: 50px;
  font-family: 'Fredoka', cursive; font-weight: 600;
  box-shadow: 0 8px 30px rgba(146,3,136,.35);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
  z-index: 999;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── Mobile menu ── */
@media (max-width: 1024px) {
  #navbar { padding: .9rem 1.5rem; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--blanc); padding: 1.5rem;
    border-bottom: 3px solid var(--rose);
    gap: .2rem;
    box-shadow: 0 12px 30px rgba(0,0,0,.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .7rem 0; border-bottom: 1px solid #f5f5f5; }
  .nav-links a::after { display: none; }
  .nav-cta { margin-left: 0; margin-top: .5rem; width: 100%; justify-content: center; }
  .burger { display: flex; }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Animations d'entrée ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }
