/* === Atelier Hair & Beauty — Prugna · DM Serif · Split Hero · Tab Menu === */
:root {
  --plum:        #231320;
  --plum-mid:    #3A1F36;
  --mauve:       #9B6E8C;
  --mauve-light: #BF9AB0;
  --blush:       #F5ECF0;
  --ivory:       #FDFAF7;
  --gold:        #C4985A;
  --ink:         #1A1018;
  --muted:       #7A6E73;
  --border:      #E8DFE3;
  --white:       #FFFFFF;
  --shadow:      0 8px 32px rgba(26,16,24,.1);
  --radius:      10px;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; object-fit: cover; }
a { color: var(--mauve); text-decoration: none; transition: color .2s; }
a:hover { color: var(--plum); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink); font-weight: 400; line-height: 1.1; margin: 0;
}
h1 { font-size: clamp(2.8rem, 5.5vw, 5rem); }
h1 em { font-style: italic; color: var(--gold); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
h2 em { font-style: italic; color: var(--mauve); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.05rem; font-weight: 400; margin-bottom: .2rem; }
p { color: var(--muted); line-height: 1.75; margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--ink); }
select { appearance: none; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--mauve); margin-bottom: .9rem;
}
.eyebrow--light { color: var(--mauve-light); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.4rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: .88rem; font-weight: 600;
  letter-spacing: .02em;
  border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .15s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--mauve); color: var(--white); }
.btn-primary:hover { background: var(--plum); color: var(--white); }
.btn-outline { border-color: var(--mauve); color: var(--mauve); background: transparent; }
.btn-outline:hover { background: var(--mauve); color: var(--white); }
.btn-ghost { background: var(--blush); color: var(--ink); }
.btn-ghost:hover { background: var(--mauve); color: var(--white); }
.btn-ghost-light { border: 1.5px solid rgba(255,255,255,.4); color: rgba(255,255,255,.85); background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-lg { padding: 1rem 2rem; font-size: .95rem; }
.btn-sm { padding: .5rem 1rem; font-size: .8rem; }
.btn-full { width: 100%; justify-content: center; padding: 1rem; font-size: .95rem; }

/* ── HEADER ── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background .35s, box-shadow .35s;
  background: transparent;
  height: 68px;
}
.header.solid {
  background: rgba(253,250,247,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 1rem; height: 68px; padding: 0 1.5rem;
}
.logo { display: flex; align-items: center; gap: .7rem; color: var(--white); }
.header.solid .logo { color: var(--ink); }
.logo-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--mauve); color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.2rem;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display); font-size: 1.05rem;
  line-height: 1.1; color: inherit;
}
.logo-text small {
  display: block; font-family: var(--font-body);
  font-size: .68rem; font-weight: 400;
  opacity: .65; letter-spacing: .04em;
}
.nav { display: flex; gap: 1.8rem; }
.nav a {
  color: rgba(255,255,255,.75);
  font-size: .88rem; font-weight: 500;
  transition: color .2s;
}
.nav a:hover { color: var(--white); }
.header.solid .nav a { color: var(--muted); }
.header.solid .nav a:hover { color: var(--ink); }
.header-actions { display: flex; gap: .5rem; }
.menu-toggle {
  display: none; background: none; border: 0;
  font-size: 1.5rem; cursor: pointer; color: var(--white);
}
.header.solid .menu-toggle { color: var(--ink); }

/* ── HERO SPLIT ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100svh;
}
.hero-left {
  background: var(--plum);
  display: flex; flex-direction: column;
  justify-content: center;
  padding: calc(68px + 4rem) 4vw 4rem 7vw;
  gap: 1.8rem;
}
.hero-left .eyebrow { color: var(--mauve-light); }
.hero-left h1 { color: var(--white); }
.hero-lead {
  color: rgba(255,255,255,.65); font-size: 1.05rem;
  max-width: 440px; margin: 0;
}
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-badges {
  display: flex; align-items: center; gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.hero-badge { display: flex; flex-direction: column; gap: .15rem; }
.badge-n {
  font-family: var(--font-display);
  font-size: 1.8rem; color: var(--white); line-height: 1;
}
.badge-l { font-size: .7rem; color: rgba(255,255,255,.45); letter-spacing: .06em; }
.hero-badge-sep { width: 1px; height: 40px; background: rgba(255,255,255,.12); }

.hero-right {
  position: relative; overflow: hidden;
}
.hero-photo {
  position: absolute; inset: 0;
  background-color: var(--plum-mid);
  background-image: url('images/hero-salon.jpg');
  background-size: cover; background-position: center;
}
.hero-photo-badge {
  position: absolute; bottom: 2.5rem; left: -1.5rem;
  background: var(--white);
  border-radius: 12px; padding: 1rem 1.4rem;
  display: flex; align-items: center; gap: .9rem;
  box-shadow: 0 12px 40px rgba(26,16,24,.22);
  min-width: 220px;
}
.photo-badge-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blush); color: var(--mauve);
  display: grid; place-items: center; font-size: 1.1rem;
  flex-shrink: 0;
}
.hero-photo-badge strong { display: block; font-size: .9rem; color: var(--ink); margin-bottom: .1rem; }
.hero-photo-badge span { font-size: .78rem; color: var(--muted); }

/* ── TICKER ── */
.ticker {
  background: var(--mauve);
  overflow: hidden; padding: .55rem 0;
}
.ticker-track {
  display: inline-flex; white-space: nowrap;
  animation: ticker 32s linear infinite;
}
.ticker-track span {
  padding-right: 3rem;
  font-size: .7rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTIONS ── */
.section { padding: 6rem 0; }
.section-alt { background: var(--blush); }
.section-dark {
  background: var(--plum);
}

/* ── CHI SIAMO ── */
.about-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.about-text-col { display: flex; flex-direction: column; gap: 1.4rem; }
.about-text-col h2 { margin-bottom: .5rem; }
.about-values { display: flex; flex-direction: column; gap: .9rem; }
.about-val {
  display: flex; align-items: flex-start; gap: .9rem;
  padding: 1rem; background: var(--blush);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.about-val-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: .1rem; }
.about-val strong { display: block; font-size: .9rem; margin-bottom: .15rem; }
.about-val span { font-size: .83rem; color: var(--muted); }

.about-img-col { position: relative; }
.about-img-main {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); height: 520px;
}
.about-img-main img { width: 100%; height: 100%; }
.about-img-small {
  position: absolute; bottom: -2rem; left: -2.5rem;
  width: 180px; height: 220px;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 16px 48px rgba(26,16,24,.22);
  border: 4px solid var(--ivory);
}
.about-img-small img { width: 100%; height: 100%; }

/* ── SERVIZI + TABS ── */
.services-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; align-items: end;
  margin-bottom: 2.5rem;
}
.services-desc { font-size: .95rem; color: var(--muted); margin: 0; }

.tabs-nav {
  display: flex; gap: 0;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  background: var(--ivory);
  padding: 4px;
  width: fit-content;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.tab-btn {
  padding: .65rem 1.5rem;
  border-radius: 100px;
  border: none; background: transparent;
  font-family: var(--font-body); font-size: .85rem; font-weight: 500;
  color: var(--muted); cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active {
  background: var(--mauve); color: var(--white);
}

.tab-panels { position: relative; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-panel-inner {
  display: grid; grid-template-columns: 340px 1fr;
  gap: 2.5rem; align-items: start;
}
.tab-img {
  border-radius: var(--radius); overflow: hidden;
  height: 380px; background: var(--border);
  box-shadow: var(--shadow);
}
.tab-img img { width: 100%; height: 100%; }
.tab-services {
  display: flex; flex-direction: column; gap: 0;
}
.svc-item {
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
.svc-item:first-child { padding-top: 0; }
.svc-item:last-child { border-bottom: none; }
.svc-item h4 { font-size: 1rem; color: var(--ink); margin-bottom: .2rem; }
.svc-item p { font-size: .83rem; color: var(--muted); margin: 0; line-height: 1.5; }
.svc-price {
  font-family: var(--font-display);
  font-size: 1.2rem; color: var(--mauve);
  white-space: nowrap; flex-shrink: 0;
}

/* ── TEAM ── */
.team-head {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.team-scroll-wrap {
  overflow: hidden;
  margin: 0 -1.5rem;
}
.team-scroll {
  display: flex; gap: 1.2rem;
  overflow-x: auto; padding: 0 1.5rem 1rem;
  scrollbar-width: none; -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}
.team-scroll::-webkit-scrollbar { display: none; }
.team-card {
  flex: 0 0 260px;
  background: var(--white);
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  scroll-snap-align: start;
  transition: transform .25s;
}
.team-card:hover { transform: translateY(-4px); }
.team-img { height: 300px; overflow: hidden; background: var(--blush); }
.team-img img { width: 100%; height: 100%; transition: transform .4s; }
.team-card:hover .team-img img { transform: scale(1.04); }
.team-info { padding: 1.2rem 1.3rem; }
.team-info h4 { margin-bottom: .2rem; }
.team-role {
  display: block; font-size: .75rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--mauve); margin-bottom: .6rem;
}
.team-info p { font-size: .83rem; line-height: 1.55; margin: 0; }

/* ── GALLERY STRIP ── */
.gallery-strip-wrap {
  overflow: hidden; background: var(--plum);
}
.gallery-strip {
  display: flex; gap: .5rem;
  overflow-x: auto; padding: 1rem;
  scrollbar-width: none;
}
.gallery-strip::-webkit-scrollbar { display: none; }
.gs-item {
  flex: 0 0 280px; height: 360px;
  border-radius: 8px; overflow: hidden;
  background: var(--plum-mid);
}
.gs-item img { width: 100%; height: 100%; transition: transform .4s; }
.gs-item:hover img { transform: scale(1.05); }

/* ── CONTATTI ── */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 5rem; align-items: start;
}
.contact-h2 { color: var(--white); margin-bottom: 1rem; }
.contact-h2 em { color: var(--gold); }
.contact-desc { color: rgba(255,255,255,.55); margin-bottom: 1.8rem; }
.contact-list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: .7rem;
  margin-bottom: 2rem;
}
.contact-list li {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: .9rem 1rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
}
.c-icon { font-size: 1rem; flex-shrink: 0; margin-top: .1rem; }
.contact-list strong { display: block; font-size: .75rem; font-weight: 600; color: var(--mauve-light); margin-bottom: .2rem; }
.contact-list span, .contact-list a { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.5; }
.contact-list a:hover { color: var(--white); }

.contact-form {
  background: var(--ivory);
  border-radius: 16px; padding: 2.2rem;
  display: flex; flex-direction: column; gap: 1rem;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}
.form-title {
  font-size: 1.4rem; margin-bottom: .3rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label {
  display: flex; flex-direction: column; gap: .4rem;
  font-size: .8rem; font-weight: 600; color: var(--ink);
}
.optional { font-size: .72rem; font-weight: 400; color: var(--muted); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit; font-size: .88rem;
  padding: .7rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: 8px; background: var(--white); color: var(--ink);
  transition: border-color .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--mauve);
}
.form-status {
  padding: .8rem 1rem; border-radius: 8px;
  background: var(--blush); color: var(--plum);
  font-size: .88rem; margin: 0;
}

/* ── FOOTER ── */
.footer {
  background: var(--ink); color: rgba(255,255,255,.45);
  padding: 4rem 0 1.5rem;
}
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 1.5rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo {
  display: flex; align-items: center; gap: .7rem;
  color: var(--white); font-family: var(--font-display); font-size: 1.1rem;
}
.footer-logo small { display: block; font-family: var(--font-body); font-size: .68rem; opacity: .55; }
.footer strong { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: .8rem; font-family: var(--font-body); }
.footer p { font-size: .85rem; color: rgba(255,255,255,.4); margin: 0; line-height: 1.8; }
.footer a { font-size: .85rem; color: rgba(255,255,255,.4); display: block; margin-bottom: .4rem; }
.footer a:hover { color: var(--white); }
.footer-nav { display: flex; flex-direction: column; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem; color: rgba(255,255,255,.25);
}
.footer-bottom a { font-size: .78rem; color: rgba(255,255,255,.25); display: inline; }
.footer-bottom a:hover { color: rgba(255,255,255,.55); }

/* ── FLOAT BAR ── */
.float-bar {
  display: none;
  position: fixed; bottom: 18px; left: 50%;
  transform: translateX(-50%);
  background: var(--plum);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px; padding: 8px 8px 8px 18px;
  align-items: center; gap: 8px;
  box-shadow: 0 8px 32px rgba(26,16,24,.5);
  z-index: 300; white-space: nowrap;
}
.float-bar-label { color: rgba(255,255,255,.45); font-size: .78rem; font-weight: 500; }
.float-bar-btn {
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.8);
  border-radius: 100px; padding: 8px 16px;
  font-size: .82rem; font-weight: 600;
  text-decoration: none; transition: background .18s;
}
.float-bar-btn--cta { background: var(--mauve); color: var(--white); }
.float-bar-btn:hover { opacity: .85; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .about-wrap { gap: 3rem; }
  .tab-panel-inner { grid-template-columns: 260px 1fr; }
  .contact-wrap { gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 820px) {
  .nav, .header-actions { display: none; }
  .menu-toggle { display: block; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--plum); padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    z-index: 99;
  }
  .header.solid .nav.open { background: var(--ivory); }
  .nav.open a { color: rgba(255,255,255,.75); padding: .5rem 0; }
  .header.solid .nav.open a { color: var(--muted); }
  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: calc(68px + 3rem) 1.5rem 3rem; }
  .hero-right { height: 340px; }
  .hero-photo-badge { left: 1rem; bottom: 1rem; min-width: auto; }
  .about-wrap { grid-template-columns: 1fr; }
  .about-img-small { display: none; }
  .about-img-main { height: 320px; }
  .services-head { grid-template-columns: 1fr; }
  .tab-panel-inner { grid-template-columns: 1fr; }
  .tab-img { height: 240px; }
  .tabs-nav { width: 100%; justify-content: center; }
  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .float-bar { display: flex; }
  .section { padding: 4rem 0; }
}
@media (max-width: 520px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.9rem; }
  .hero-badges { gap: 1rem; }
  .hero-badge-sep { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .tab-btn { padding: .55rem 1rem; font-size: .8rem; }
}
