/* ==========================================================================
   Lavoro e Lavoro — landing page styles
   Dependency-free, GDPR-clean (no external fonts/trackers)
   ========================================================================== */

:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #eef2ff;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --success: #16a34a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .1);
  --shadow: 0 10px 25px -5px rgba(15, 23, 42, .1), 0 8px 10px -6px rgba(15, 23, 42, .06);
  --shadow-lg: 0 25px 50px -12px rgba(79, 70, 229, .25);
  --container: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }

a { color: var(--primary); text-decoration: none; }

img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

section { padding: 96px 0; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head .eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.section-head p { font-size: 1.1rem; color: var(--muted); }

.bg-alt { background: var(--bg-alt); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius-sm); font-weight: 700; font-size: 1rem;
  cursor: pointer; border: 2px solid transparent; transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.brand .logo {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid; place-items: center; color: #fff; font-size: 1rem;
}
.brand span b { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--body); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--primary); }
.nav-right { display: flex; align-items: center; gap: 16px; }

/* language switcher */
.lang-switch { display: flex; gap: 2px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 8px; padding: 3px; }
.lang-switch button {
  border: none; background: none; cursor: pointer; padding: 5px 9px; border-radius: 6px;
  font-size: .85rem; font-weight: 700; color: var(--muted); transition: all .15s;
}
.lang-switch button.active { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 90px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -30%; right: -10%; width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(79, 70, 229, .12), transparent 60%); z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--primary-light);
  color: var(--primary-dark); font-weight: 700; font-size: .85rem; padding: 7px 14px;
  border-radius: 100px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 20px; }
.hero h1 em { color: var(--primary); font-style: normal; }
.hero .lead { font-size: 1.2rem; color: var(--muted); margin-bottom: 32px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem; }
.hero-trust strong { color: var(--ink); }

/* hero mockup */
.hero-visual { position: relative; }
.mockup {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); overflow: hidden; transform: rotate(1.5deg);
}
.mockup-bar { display: flex; gap: 6px; padding: 12px 16px; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.mockup-bar i { width: 11px; height: 11px; border-radius: 50%; background: #cbd5e1; }
.mockup-bar i:nth-child(1) { background: #f87171; }
.mockup-bar i:nth-child(2) { background: #fbbf24; }
.mockup-bar i:nth-child(3) { background: #34d399; }
.mockup-body { padding: 22px; }
.mockup-body h4 { font-size: 1.1rem; margin-bottom: 4px; }
.mockup-body .sub { color: var(--muted); font-size: .85rem; margin-bottom: 16px; }
.mockup-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.mockup-slots span {
  text-align: center; padding: 9px 0; border-radius: 8px; border: 1px solid var(--border);
  font-size: .8rem; font-weight: 600; color: var(--body);
}
.mockup-slots span.taken { background: var(--bg-alt); color: #cbd5e1; text-decoration: line-through; }
.mockup-slots span.sel { background: var(--primary); color: #fff; border-color: var(--primary); }
.floating-card {
  position: absolute; bottom: -22px; left: -26px; background: #fff; border-radius: 12px;
  box-shadow: var(--shadow); padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--border);
}
.floating-card .ic { width: 40px; height: 40px; border-radius: 10px; background: #dcfce7; color: var(--success); display: grid; place-items: center; font-size: 1.2rem; }
.floating-card b { display: block; font-size: .9rem; color: var(--ink); }
.floating-card small { color: var(--muted); font-size: .78rem; }

/* ---------- For whom ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; transition: all .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .card-ic {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.7rem; margin-bottom: 18px; background: var(--primary-light);
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service {
  display: flex; gap: 18px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.service .s-ic { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; display: grid; place-items: center; font-size: 1.4rem; }
.service h3 { font-size: 1.15rem; margin-bottom: 6px; }
.service p { color: var(--muted); font-size: .95rem; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.step { text-align: center; position: relative; }
.step .num {
  width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%;
  background: #fff; border: 2px solid var(--primary); color: var(--primary);
  display: grid; place-items: center; font-size: 1.4rem; font-weight: 800; position: relative; z-index: 2;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .92rem; }
.steps::before {
  content: ""; position: absolute; top: 30px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px); z-index: 1;
}

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 860px; margin: 0 auto; }
.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 38px 32px; position: relative;
}
.price-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.price-tag {
  position: absolute; top: -13px; right: 28px; background: var(--accent); color: #fff;
  font-size: .78rem; font-weight: 700; padding: 5px 14px; border-radius: 100px;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.price-card .p-desc { color: var(--muted); font-size: .95rem; margin-bottom: 22px; min-height: 44px; }
.price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 24px; }
.price .amount { font-size: 2.6rem; font-weight: 800; color: var(--ink); }
.price .period { color: var(--muted); font-weight: 600; }
.price .from { font-size: .95rem; color: var(--muted); margin-right: 2px; align-self: center; }
.feature-list { list-style: none; margin-bottom: 28px; }
.feature-list li { display: flex; gap: 10px; padding: 8px 0; font-size: .96rem; color: var(--body); }
.feature-list li::before { content: "✓"; color: var(--success); font-weight: 800; }
.pricing-note { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 32px; }

/* ---------- Portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.folio {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  background: #fff; transition: all .25s ease; display: flex; flex-direction: column;
}
.folio:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.folio-img { height: 170px; display: grid; place-items: center; font-size: 3.4rem; color: #fff; position: relative; }
.folio-img.bnb { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.folio-img.massage { background: linear-gradient(135deg, #ec4899, #8b5cf6); }
.folio-img.barber { background: linear-gradient(135deg, #0f172a, #475569); }
.folio-img .tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.9); color: var(--ink); font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 100px; }
.folio-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.folio-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.folio-body p { color: var(--muted); font-size: .93rem; margin-bottom: 18px; flex: 1; }
.folio-body .btn { margin-top: auto; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-content h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 20px; }
.about-content p { color: var(--body); margin-bottom: 16px; font-size: 1.05rem; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px; }
.stat b { display: block; font-size: 1.8rem; color: var(--primary); font-weight: 800; }
.stat span { color: var(--muted); font-size: .9rem; }
.about-visual { display: grid; gap: 16px; }
.about-badge-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff;
  border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-lg);
}
.about-badge-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 12px; }
.about-badge-card p { opacity: .92; margin-bottom: 20px; }
.about-badge-card .piva { background: rgba(255,255,255,.15); border-radius: 10px; padding: 12px 16px; font-size: .95rem; }
.about-badge-card .piva b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 16px; }
.contact-info > p { color: var(--muted); font-size: 1.08rem; margin-bottom: 28px; }
.contact-list { list-style: none; margin-bottom: 28px; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.contact-list .ci { width: 46px; height: 46px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; font-size: 1.2rem; flex: 0 0 auto; }
.contact-list b { display: block; color: var(--ink); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.contact-list a, .contact-list span { color: var(--body); font-size: 1.02rem; font-weight: 600; }
.wa-btn { background: #25d366; color: #fff; }
.wa-btn:hover { background: #1eb757; transform: translateY(-2px); }

.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .98rem; color: var(--ink); background: #fff; transition: border .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light);
}
.field textarea { resize: vertical; min-height: 110px; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; font-size: .88rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 auto; accent-color: var(--primary); }
.form-msg { padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem; font-weight: 600; margin-top: 16px; display: none; }
.form-msg.ok { display: block; background: #dcfce7; color: var(--success); }
.form-msg.err { display: block; background: #fee2e2; color: #dc2626; }
.honeypot { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #cbd5e1; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer p { font-size: .95rem; color: #94a3b8; max-width: 320px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .05em; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a, .footer address { color: #94a3b8; font-size: .95rem; font-style: normal; line-height: 1.9; }
.footer ul a:hover { color: #fff; }
.footer-legal { border-top: 1px solid #1e293b; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: #64748b; }
.footer-legal .piva-line b { color: #cbd5e1; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; margin: 0 auto; }
  .services-grid, .pricing-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .steps::before { display: none; }
  .portfolio-grid, .cards { grid-template-columns: 1fr; }
  .about-visual { max-width: 460px; }
}
@media (max-width: 720px) {
  section { padding: 68px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    background: #fff; padding: 20px 24px; gap: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav .btn { display: none; }
}
