/* Gabriele Colombo — mental coach sportivo */
/* styles.css — minimal, mobile-first, system fonts */

:root {
  --accent: #e85d04;
  --accent-dark: #c44500;
  --ink: #0a0a0a;
  --body: #2a2a2a;
  --muted: #6b6b6b;
  --bg: #ffffff;
  --bg-alt: #f7f6f2;
  --border: #e6e4de;
  --max: 760px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 3.5vw, 1.8rem); margin-top: 2em; }
h3 { font-size: 1.15rem; margin-top: 1.5em; }

p { margin: 0 0 1em; }

/* Layout */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.site-header .wrap-wide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.logo:hover { color: var(--ink); }
.logo .mark { display: inline-block; }
.logo-text { line-height: 1.1; }
.logo-text small { display: block; font-size: 0.7rem; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; }

/* Nav */
nav.main-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
nav.main-nav a {
  padding: 6px 10px;
  color: var(--body);
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: var(--radius);
}
nav.main-nav a:hover { background: var(--bg-alt); color: var(--ink); }
nav.main-nav a.active { color: var(--accent-dark); font-weight: 600; }

/* Hero */
.hero {
  padding: 48px 0 32px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.hero h1 { margin-top: 0; }
.hero .subhead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 1.5em;
}
.hero-layout {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 720px) {
  .hero-layout.with-image { grid-template-columns: 1.3fr 1fr; }
}
.hero-image {
  border-radius: 8px;
  overflow: hidden;
  background: #ddd;
  aspect-ratio: 4 / 5;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
section { padding: 48px 0; }
section.alt { background: var(--bg-alt); }
section.narrow { padding: 32px 0; }

/* CTA */
.btn {
  display: inline-block;
  padding: 12px 22px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--accent);
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn.secondary:hover { background: var(--ink); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5em 0; }

/* Cards */
.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 22px;
}
.card h3 { margin-top: 0; }
.card .ic {
  width: 32px; height: 32px;
  margin-bottom: 12px;
  color: var(--accent);
}

/* Stat */
.stat {
  display: inline-block;
  padding: 10px 18px;
  background: #fff;
  border-left: 4px solid var(--accent);
  margin: 12px 0;
  font-weight: 600;
}
.stat big { font-size: 1.8rem; color: var(--accent-dark); }

/* Lists */
ul.clean { list-style: none; padding-left: 0; }
ul.clean li {
  padding: 8px 0 8px 28px;
  position: relative;
}
ul.clean li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Questions block (coaching-individuale) */
.questions-block { margin: 2em 0; }
.question {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.question:last-child { border-bottom: none; }
.question q {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  font-style: italic;
  quotes: "“" "”";
  display: block;
  margin-bottom: 12px;
}
.question p { margin: 0; color: var(--muted); }

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq details summary::-webkit-details-marker { display: none; }
.faq details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details > p,
.faq details > div { margin-top: 12px; color: var(--body); }

/* Three-dots motif */
.dots {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 24px 0;
}
.dots span {
  display: inline-block;
  background: var(--ink);
  border-radius: 50%;
  height: 8px;
}
.dots span:nth-child(1) { width: 8px; }
.dots span:nth-child(2) { width: 16px; }
.dots span:nth-child(3) { width: 28px; }

/* Contact info box */
.contact-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
  margin: 24px 0;
}
.contact-box a { color: var(--ink); }
.contact-box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.contact-box dt { font-weight: 600; color: var(--muted); }
.contact-box dd { margin: 0; }

/* Form */
form.lead {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
  margin: 24px 0;
}
form.lead label { display: block; font-weight: 600; margin: 12px 0 6px; font-size: 0.95rem; }
form.lead input, form.lead textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
}
form.lead textarea { min-height: 100px; resize: vertical; }
form.lead button { margin-top: 16px; }

/* Pillars (consulenza-squadre) */
.pillars {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin: 24px 0;
}
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar {
  padding: 24px;
  background: var(--bg);
  border-top: 4px solid var(--accent);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.pillar h3 { margin-top: 0; color: var(--accent-dark); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #c7c5bf;
  padding: 48px 0 24px;
  margin-top: 48px;
}
.site-footer a { color: #fff; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid nav a { display: block; padding: 4px 0; text-decoration: none; }
.footer-grid nav a:hover { text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 32px;
  padding-top: 16px;
  font-size: 0.85rem;
  color: #888;
  text-align: center;
}

/* Accessibility */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Print */
@media print {
  .site-header, .site-footer, .btn-row, form.lead { display: none; }
}
