/* auretreaden — palette pastel douce */
:root {
  --primary: #9575CD;
  --secondary: #D1C4E9;
  --accent: #4DB6AC;
  --neutral: #F8F5F0;
  --text: #424242;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}
html,
body {
  overflow-x: hidden;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--neutral);
  margin: 0;
  line-height: 1.7;
}

h1, h2, h3, h4, .font-head {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

a { color: var(--accent); }

/* Layout helpers */
.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.section { padding: 64px 0; }

/* Buttons */
.btn {
  display: inline-block;
  border: none;
  border-radius: 999px;
  padding: 14px 30px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-cta {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(77, 182, 172, .35);
  font-size: 1.15rem;
  padding: 16px 38px;
}
.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(77, 182, 172, .45);
}
.btn-soft {
  background: var(--secondary);
  color: var(--primary);
}
.btn-soft:hover { transform: translateY(-2px); background: #c3b2e2; }

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 14px rgba(149, 117, 205, .12);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: .5px;
}
.logo span { color: var(--accent); }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: color .2s ease;
}
.nav a:hover { color: var(--primary); }
.header-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.header-phone {
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(149, 117, 205, .10);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(149, 117, 205, .18);
}
.icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 14px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--neutral) 100%);
  border-radius: 0 0 40px 40px;
}
.hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  padding: 70px 0;
}
.hero-text { flex: 1 1 360px; }
.hero-form { flex: 1 1 360px; }
.price-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  background: var(--white);
  border-radius: 16px;
  padding: 10px 18px;
  margin: 16px 0;
  box-shadow: 0 6px 18px rgba(149, 117, 205, .12);
}
.price-new { color: var(--accent); font-size: 1.8rem; font-weight: 800; font-family: 'Quicksand', sans-serif; }
.price-old { color: #9e9e9e; text-decoration: line-through; }

/* Forms */
.form-box {
  background: var(--white);
  border-radius: 26px;
  padding: 30px;
  box-shadow: 0 14px 36px rgba(149, 117, 205, .16);
}
.form-box label {
  display: block;
  font-weight: 700;
  margin: 12px 0 6px;
  font-size: .95rem;
}
.form-box input,
.form-box select,
.form-box textarea {
  width: 100%;
  box-sizing: border-box;
  border: 2px solid var(--secondary);
  border-radius: 14px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--neutral);
  transition: border-color .2s ease;
}
.form-box input:focus,
.form-box select:focus,
.form-box textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-box .btn { width: 100%; margin-top: 18px; }

/* Tabs */
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.tab-btn {
  border: 2px solid var(--secondary);
  background: var(--white);
  color: var(--primary);
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 700;
  font-family: 'Quicksand', sans-serif;
  cursor: pointer;
  transition: all .2s ease;
}
.tab-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px);} to {opacity:1; transform:none;} }

/* Grid of cards using flex */
.cards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.cards-row > * { flex: 1 1 280px; }

/* Stat bars (no tables) */
.stat {
  margin-bottom: 18px;
}
.stat-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 6px;
}
.bar {
  background: var(--secondary);
  border-radius: 999px;
  height: 14px;
  overflow: hidden;
}
.bar > span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}

/* Section titles */
.section-title { text-align: center; margin-bottom: 12px; font-size: 2rem; }
.section-lead { text-align: center; max-width: 720px; margin: 0 auto 40px; color: #5f5f5f; }

/* Disclaimer */
.disclaimer {
  background: #efe9f7;
  border-left: 5px solid var(--primary);
  border-radius: 14px;
  padding: 18px 22px;
  font-size: .92rem;
  color: #5a5a5a;
  margin: 30px 0;
}

/* FAQ accordion */
.faq-item {
  background: var(--white);
  border-radius: 18px;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(149,117,205,.10);
  overflow: hidden;
}
.faq-q {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  color: var(--primary);
}
.faq-q::after { content: "+"; font-size: 1.5rem; color: var(--accent); }
.faq-item.open .faq-q::after { content: "–"; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 24px;
}
.faq-a p { padding-bottom: 20px; margin: 0; }

/* Map */
.map-frame {
  width: 100%;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(149, 117, 205, .16);
  min-height: 360px;
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: #f3eefb;
  margin-top: 40px;
}
.site-footer a { color: #e7defa; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding: 50px 0 30px;
}
.footer-cols > div { flex: 1 1 220px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.2);
  padding: 18px 0;
  font-size: .85rem;
  text-align: center;
}

/* Reviews */
.review {
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 22px rgba(149,117,205,.12);
}
.review .who { font-weight: 700; color: var(--primary); margin-top: 10px; }
.stars { color: #ffb74d; }

/* Cookie consent */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 -6px 24px rgba(0,0,0,.14);
  padding: 18px 20px;
  z-index: 200;
  display: none;
}
.cookie-bar.show { display: block; }
.cookie-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cookie-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-btns .btn { padding: 10px 22px; font-size: .95rem; }
.modal {
  position: fixed; inset: 0;
  background: rgba(66,66,66,.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 20px;
}
.modal.show { display: flex; }
.modal-card {
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
.toggle-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--secondary);
}
.switch { position: relative; width: 52px; height: 28px; flex: 0 0 auto; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; cursor: pointer; inset: 0;
  background: #ccc; border-radius: 999px; transition: .3s;
}
.slider:before {
  content: ""; position: absolute; height: 22px; width: 22px;
  left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: .3s;
}
.switch input:checked + .slider { background: var(--accent); }
.switch input:checked + .slider:before { transform: translateX(24px); }
.switch input:disabled + .slider { background: var(--primary); opacity: .6; cursor: not-allowed; }

@media (max-width: 640px) {
  .section { padding: 44px 0; }
  .section-title { font-size: 1.6rem; }
  .hero-inner { padding: 44px 0; }
}
