/* ═══════════════════════════════════════════════
   STUDIO LEGALE LEONARDI — Design System
   Palette: Bordeaux · Cabernet · Gold · Ivory
   Fonts:   Cormorant Garamond + Montserrat
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --rouge-noir: #251313;
  --bordeaux:   #7B1828;
  --cabernet:   #5C0F1A;
  --burgundy:   #9B1C35;
  --gold:       #C4A030;
  --gold-light: #D4B860;
  --ivory:      #FAF8F3;
  --cream:      #F0EDE6;
  --beige:      #E8E2D8;
  --charcoal:   #1C1412;
  --grey-dark:  #4A3F3A;
  --grey-mid:   #7A6E68;
  --grey-light: #B8AEA8;
  --white:      #FFFFFF;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', sans-serif;

  --nav-h: 80px;
  --max-w: 1160px;
  --section-pad: 88px 0;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--charcoal); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── CONTAINER ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ════════════════════════════════════
   NAVIGATION
════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: var(--rouge-noir);
  border-bottom: 1px solid rgba(196,160,48,.18);
  transition: background .3s, box-shadow .3s;
}
.navbar.scrolled {
  background: rgba(37,19,19,.98);
  box-shadow: 0 2px 32px rgba(0,0,0,.5);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; flex-direction: column; gap: 1px;
  text-decoration: none;
}
.nav-logo-main {
  font-family: var(--font-heading);
  font-size: 22px; font-weight: 600; letter-spacing: .08em;
  color: var(--white); line-height: 1;
  text-transform: uppercase;
}
.nav-logo-sub {
  font-family: var(--font-body);
  font-size: 8.5px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.nav-links {
  display: flex; align-items: center; gap: 0;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.65);
  padding: 10px 16px; transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 1px; background: var(--gold);
  transition: left .25s, right .25s;
}
.nav-links a:hover, .nav-links a.active { color: white; }
.nav-links a:hover::after, .nav-links a.active::after { left: 16px; right: 16px; }
.nav-cta {
  font-family: var(--font-body);
  font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cabernet) !important; background: var(--gold);
  padding: 10px 20px !important; border-radius: 2px;
  transition: background .2s, transform .2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

/* Mobile burger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 10px; background: none; border: none;
  min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
}
.nav-burger span { display: block; width: 24px; height: 1.5px; background: rgba(255,255,255,.8); transition: all .3s; }
.mobile-nav {
  display: none; position: fixed; inset: var(--nav-h) 0 0 0;
  background: var(--rouge-noir); z-index: 1001; flex-direction: column;
  padding: 32px 24px; gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.75); padding: 18px 8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color .2s; min-height: 44px; display: flex; align-items: center;
}
.mobile-nav a:hover { color: white; }
.mobile-nav .nav-cta-mob {
  background: var(--gold); color: var(--cabernet) !important;
  text-align: center; border-radius: 2px; margin-top: 20px;
  border-bottom: none !important; font-weight: 700;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 768px) {
  .nav-inner { padding: 0 20px; }
}

/* ════════════════════════════════════
   PAGE TOP PADDING
════════════════════════════════════ */
.page-top { padding-top: var(--nav-h); }

/* ════════════════════════════════════
   HERO — HOME
════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #160B0B 0%, var(--rouge-noir) 50%, var(--bordeaux) 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: var(--nav-h);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 40%, rgba(196,160,48,.08) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(155,28,53,.3) 0%, transparent 50%);
}
.hero-texture {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(196,160,48,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,160,48,.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; padding: 80px 32px;
  display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-body); font-size: 10px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); flex-shrink: 0; }
.hero-headline {
  font-family: var(--font-heading); font-size: clamp(36px, 7vw, 82px);
  font-weight: 600; line-height: 1.05; color: white;
  margin-bottom: 8px;
}
.hero-headline em { font-style: italic; color: var(--gold-light); }
.hero-divider { width: 56px; height: 1.5px; background: var(--gold); margin: 28px 0; }
.hero-text {
  font-size: 15px; line-height: 1.8; color: rgba(255,255,255,.65);
  max-width: 500px; margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  font-family: var(--font-body); font-size: 10.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  background: var(--gold); color: var(--cabernet);
  padding: 16px 32px; border-radius: 2px; border: none; cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,160,48,.3); }
.nav-links a[href="blog.html"],
.mobile-nav a[href="blog.html"],
.footer-links a[href="blog.html"],
.btn-primary[href="blog.html"] {
  display: none !important;
}
.btn-ghost {
  font-family: var(--font-body); font-size: 10.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.85);
  padding: 16px 32px; border-radius: 2px; cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
  display: inline-block; background: transparent;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.7); color: white; background: rgba(255,255,255,.06); }

.hero-card {
  background: rgba(37,19,19,.55);
  border: 1px solid rgba(196,160,48,.25);
  border-radius: 4px; padding: 40px 36px;
  backdrop-filter: blur(12px);
}
.hero-stats { display: flex; flex-direction: column; gap: 0; }
.hero-stat {
  padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; gap: 20px;
}
.hero-stat:last-child { border-bottom: none; padding-bottom: 0; }
.hero-stat:first-child { padding-top: 0; }
.stat-num {
  font-family: var(--font-heading); font-size: 44px; font-weight: 700;
  color: var(--gold); line-height: 1; min-width: 80px;
}
.stat-info {}
.stat-label {
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: white;
  margin-bottom: 2px;
}
.stat-desc { font-size: 11.5px; color: rgba(255,255,255,.45); }
.hero-quote {
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid rgba(196,160,48,.2);
}
.hero-quote-text {
  font-family: var(--font-heading); font-size: 14px; font-style: italic;
  color: rgba(255,255,255,.55); line-height: 1.7;
}
.hero-quote-attr {
  font-family: var(--font-body); font-size: 9px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); margin-top: 8px;
}

/* ════════════════════════════════════
   SECTION LABELS + TITLES
════════════════════════════════════ */
.section-label {
  font-family: var(--font-body); font-size: 9.5px; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px; display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.section-title {
  font-family: var(--font-heading); font-size: clamp(30px, 4vw, 52px);
  font-weight: 600; line-height: 1.1; color: var(--cabernet);
}
.section-title.light { color: white; }
.section-subtitle {
  font-size: 14.5px; color: var(--grey-dark); line-height: 1.75;
  max-width: 580px; margin-top: 16px;
}
.section-subtitle.light { color: rgba(255,255,255,.65); }

/* ════════════════════════════════════
   HOME — AREE PREVIEW
════════════════════════════════════ */
.aree-section { padding: var(--section-pad); background: var(--ivory); }
.aree-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin-top: 56px; background: var(--beige);
  border: 1px solid var(--beige);
}
.area-card {
  background: var(--white); padding: 36px 32px;
  position: relative; overflow: hidden;
  transition: background .3s, transform .2s;
  cursor: default;
}
.area-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--bordeaux);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.area-card:hover { background: var(--ivory); }
.area-card:hover::before { transform: scaleX(1); }
.area-icon {
  margin-bottom: 16px; display: block;
  color: var(--cabernet); opacity: .5; transition: opacity .3s, color .3s;
}
.area-icon svg { width: 28px; height: 28px; display: block; }
.area-card:hover .area-icon { opacity: 1; }
.area-title {
  font-family: var(--font-heading); font-size: 21px; font-weight: 600;
  color: var(--cabernet); margin-bottom: 10px;
}
.area-desc {
  font-size: 12.5px; color: var(--grey-dark); line-height: 1.7;
  margin-bottom: 18px;
}
.area-link {
  font-family: var(--font-body); font-size: 9.5px; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--bordeaux);
  display: flex; align-items: center; gap: 6px;
  transition: gap .2s;
}
.area-link:hover { gap: 10px; }
.area-num {
  position: absolute; top: 20px; right: 24px;
  font-family: var(--font-heading); font-size: 52px; font-weight: 700;
  color: rgba(92,15,26,.05); line-height: 1;
  pointer-events: none;
}

/* ════════════════════════════════════
   HOME — PERCHÉ NOI
════════════════════════════════════ */
.perche-section {
  padding: var(--section-pad);
  background: var(--rouge-noir);
  position: relative; overflow: hidden;
}
.perche-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 90% 50%, rgba(196,160,48,.07) 0%, transparent 55%);
}
.perche-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.perche-left {}
.perche-features { display: flex; flex-direction: column; gap: 28px; margin-top: 40px; }
.feature-item { display: flex; gap: 20px; align-items: flex-start; }
.feature-icon {
  width: 44px; height: 44px; border-radius: 2px;
  background: rgba(196,160,48,.12); border: 1px solid rgba(196,160,48,.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px; color: rgba(255,205,160,0.8);
}
.feature-icon svg { width: 18px; height: 18px;
}
.feature-title {
  font-family: var(--font-heading); font-size: 19px; font-weight: 600;
  color: white; margin-bottom: 6px;
}
.feature-desc { font-size: 12.5px; color: rgba(255,255,255,.55); line-height: 1.7; }
.perche-right {
  background: rgba(255,255,255,.035); border: 1px solid rgba(196,160,48,.18);
  border-radius: 4px; padding: 48px 40px;
  overflow: hidden;
}
.perche-photo {
  margin: -48px -40px 32px -40px;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
  max-height: 280px;
}
.perche-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.perche-photo--consulenza {
  max-height: none;
  aspect-ratio: 800 / 507;
}
.perche-photo--consulenza img {
  height: 100%;
  object-position: center;
}
@media (max-width: 1024px) {
  .perche-photo {
    margin: -48px -40px 24px -40px;
    max-height: 220px;
  }
  .perche-photo img {
    height: 220px;
  }
  .perche-photo--consulenza {
    max-height: none;
  }
  .perche-photo--consulenza img {
    height: 100%;
  }
}
@media (max-width: 768px) {
  .perche-photo {
    margin: -32px -24px 20px -24px;
    max-height: 200px;
  }
  .perche-right {
    padding: 32px 24px;
  }
  .perche-photo img {
    height: 200px;
  }
  .perche-photo--consulenza {
    max-height: none;
  }
  .perche-photo--consulenza img {
    height: 100%;
  }
}
.quote-big {
  font-family: var(--font-heading); font-size: clamp(22px, 2.5vw, 30px);
  font-style: italic; font-weight: 400; color: white;
  line-height: 1.55; margin-bottom: 28px;
}
.quote-big span { color: var(--gold); }
.quote-source {
  font-family: var(--font-body); font-size: 9.5px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px;
}
.promise-list { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.promise-item {
  display: flex; gap: 12px; align-items: center;
  font-size: 13px; color: rgba(255,255,255,.7);
}
.promise-item::before { content: '—'; color: var(--gold); flex-shrink: 0; }

/* ════════════════════════════════════
   HOME — TEAM PREVIEW
════════════════════════════════════ */
.team-preview-section { padding: var(--section-pad); background: var(--white); }
.team-preview-founder {
  display: flex; justify-content: center; margin-top: 52px; margin-bottom: 36px;
}
.team-preview-founder .team-preview-card { text-align: center; }
.tp-avatar-founder {
  border-color: var(--gold) !important;
  border-width: 3px;
}
.team-preview-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 0;
}
.team-preview-card {
  text-align: center;
}
.tp-avatar {
  width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--beige); border: 3px solid var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 42px; font-weight: 600;
  color: var(--bordeaux);
  position: relative; overflow: hidden;
  transition: border-color .3s;
}
.tp-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  display: block;
}
.team-preview-card:hover .tp-avatar { border-color: var(--gold); }
.tp-name {
  font-family: var(--font-heading); font-size: 16px; font-weight: 600;
  color: var(--cabernet); margin-bottom: 4px;
}
.tp-role {
  font-family: var(--font-body); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--grey-mid);
}
.team-preview-cta { text-align: center; margin-top: 44px; }

/* ════════════════════════════════════
   PAGE HERO (inner pages)
════════════════════════════════════ */
.page-hero {
  background: linear-gradient(160deg, var(--cabernet) 0%, var(--rouge-noir) 100%);
  padding: calc(var(--nav-h) + 72px) 0 72px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(196,160,48,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,160,48,.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
.page-hero--photo {
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.page-hero--photo::before {
  background: linear-gradient(180deg,
    rgba(22, 11, 11, 0.82) 0%,
    rgba(92, 15, 26, 0.75) 100%
  ) !important;
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero-breadcrumb {
  font-family: var(--font-body); font-size: 10px; letter-spacing: .12em;
  color: rgba(255,255,255,.4); margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,.4); transition: color .2s; }
.page-hero-breadcrumb a:hover { color: var(--gold); }
.page-hero-breadcrumb span { color: rgba(255,255,255,.2); }
.page-hero-title {
  font-family: var(--font-heading); font-size: clamp(28px, 5vw, 66px);
  font-weight: 600; color: white; line-height: 1.05; margin-bottom: 16px;
}
.page-hero-title em { font-style: italic; color: var(--gold-light); }
.page-hero-lead {
  font-size: 15px; color: rgba(255,255,255,.6); line-height: 1.75;
  max-width: 560px;
}

/* ════════════════════════════════════
   CHI SIAMO
════════════════════════════════════ */
.storia-section { padding: var(--section-pad); background: var(--white); }
.storia-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.storia-text { font-size: 15px; color: var(--grey-dark); line-height: 1.85; }
.storia-text p { margin-bottom: 20px; }
.storia-text p:last-child { margin-bottom: 0; }
.storia-text strong { color: var(--cabernet); font-weight: 600; }
.storia-side {}
.storia-photo {
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--beige);
}
.storia-photo img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.team-photo-section {
  padding: 0 0 20px 0;
  background: var(--white);
}
.team-photo-wrapper {
  overflow: hidden;
  border-radius: 2px;
  position: relative;
}
.team-photo-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}
.team-photo-caption {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey-mid);
  text-align: center;
  padding: 14px 0 0;
}
.storia-highlight {
  background: var(--rouge-noir); border-left: 3px solid var(--gold);
  padding: 32px 28px; margin-bottom: 28px;
}
.storia-highlight-text {
  font-family: var(--font-heading); font-size: 22px; font-style: italic;
  color: rgba(255,255,255,.88); line-height: 1.55;
}
.storia-dato { display: flex; flex-direction: column; gap: 0; }
.dato-row {
  display: flex; align-items: center; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--beige);
}
.dato-row:last-child { border-bottom: none; }
.dato-num {
  font-family: var(--font-heading); font-size: 38px; font-weight: 700;
  color: var(--bordeaux); min-width: 80px; line-height: 1;
}
.dato-info {}
.dato-label {
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--charcoal);
  margin-bottom: 2px;
}
.dato-desc { font-size: 12px; color: var(--grey-mid); }

/* TIMELINE */
.timeline-section { padding: var(--section-pad); background: var(--ivory); }
.timeline { position: relative; margin-top: 56px; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: var(--beige); transform: translateX(-50%);
}
.timeline-item {
  display: flex; gap: 40px; align-items: flex-start;
  margin-bottom: 48px; position: relative;
}
.timeline-item:nth-child(odd) { flex-direction: row-reverse; }
.timeline-item:nth-child(odd) .tl-content { text-align: right; }
.timeline-body { flex: 1; }
.tl-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bordeaux); border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--bordeaux);
  flex-shrink: 0; margin-top: 6px; position: relative; z-index: 2;
  align-self: flex-start; margin-top: 8px;
}
.tl-spacer { flex: 1; }
.tl-year {
  font-family: var(--font-heading); font-size: 38px; font-weight: 700;
  color: var(--bordeaux); opacity: .35; line-height: 1; margin-bottom: 8px;
}
.tl-title {
  font-family: var(--font-heading); font-size: 20px; font-weight: 600;
  color: var(--cabernet); margin-bottom: 8px;
}
.tl-desc { font-size: 13px; color: var(--grey-dark); line-height: 1.7; }

/* VALORI */
.valori-section { padding: var(--section-pad); background: var(--rouge-noir); }
.valori-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  margin-top: 56px; background: rgba(255,255,255,.06);
}
.valore-card {
  background: var(--rouge-noir); padding: 40px 28px;
  position: relative; overflow: hidden;
  transition: background .3s;
}
.valore-card:hover { background: rgba(92,15,26,.4); }
.valore-num {
  font-family: var(--font-heading); font-size: 64px; font-weight: 700;
  color: rgba(255,255,255,.05); line-height: 1; position: absolute;
  top: 16px; right: 20px;
}
.valore-icon { margin-bottom: 20px; display: block; color: rgba(255,205,160,0.8); }
.valore-icon svg { width: 28px; height: 28px; display: block; }
.valore-title {
  font-family: var(--font-heading); font-size: 24px; font-weight: 600;
  color: white; margin-bottom: 12px;
}
.valore-desc { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.75; }
.valore-rule { width: 32px; height: 1.5px; background: var(--gold); margin-bottom: 16px; }

/* ════════════════════════════════════
   AREE DI COMPETENZA
════════════════════════════════════ */
.aree-full-section { padding: var(--section-pad); background: var(--white); }
.aree-full-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px;
  background: var(--beige); margin-top: 56px;
}
.area-full-card {
  background: var(--white); padding: 48px 44px;
  position: relative; overflow: hidden;
  transition: background .3s;
}
.area-full-card:hover { background: var(--ivory); }
.area-full-num {
  font-family: var(--font-heading); font-size: 80px; font-weight: 700;
  color: rgba(92,15,26,.04); line-height: 1; position: absolute;
  top: 20px; right: 28px;
}
.area-full-badge {
  display: inline-block; font-family: var(--font-body); font-size: 9px;
  font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bordeaux); border: 1px solid var(--bordeaux);
  padding: 4px 10px; border-radius: 1px; margin-bottom: 16px;
}
.area-full-title {
  font-family: var(--font-heading); font-size: 30px; font-weight: 600;
  color: var(--cabernet); margin-bottom: 14px;
}
.area-full-desc {
  font-size: 13.5px; color: var(--grey-dark); line-height: 1.8;
  margin-bottom: 20px;
}
.area-full-items { display: flex; flex-wrap: wrap; gap: 7px; }
.area-full-tag {
  font-family: var(--font-body); font-size: 10px; letter-spacing: .06em;
  background: var(--cream); color: var(--grey-dark);
  padding: 4px 10px; border-radius: 1px;
}

/* COME LAVORIAMO */
.come-section {
  padding: var(--section-pad); background: var(--ivory);
}
.come-steps { margin-top: 56px; display: flex; flex-direction: column; gap: 0; }
.come-step {
  display: grid; grid-template-columns: 80px 1fr; gap: 32px;
  padding: 32px 0; border-bottom: 1px solid var(--beige); align-items: start;
}
.come-step:last-child { border-bottom: none; }
.come-step-num {
  font-family: var(--font-heading); font-size: 48px; font-weight: 700;
  color: var(--bordeaux); opacity: .3; line-height: 1;
}
.come-step-body {}
.come-step-title {
  font-family: var(--font-heading); font-size: 22px; font-weight: 600;
  color: var(--cabernet); margin-bottom: 8px;
}
.come-step-desc { font-size: 13.5px; color: var(--grey-dark); line-height: 1.75; }

/* ════════════════════════════════════
   TEAM
════════════════════════════════════ */
.team-section { padding: var(--section-pad); background: var(--white); }
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: var(--beige); margin-top: 56px;
}
.team-card {
  background: var(--white); padding: 40px 32px;
  transition: background .3s;
}
.team-card:hover { background: var(--ivory); }
.team-card-avatar {
  width: 150px; height: 150px; border-radius: 50%;
  background: var(--cream); border: 3px solid var(--beige);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 42px; font-weight: 600;
  color: var(--bordeaux); margin-bottom: 24px;
  transition: border-color .3s, box-shadow .3s;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.team-card-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 50%;
  display: block;
}
.team-card:hover .team-card-avatar { border-color: var(--gold); }
.team-card-name {
  font-family: var(--font-heading); font-size: 22px; font-weight: 600;
  color: var(--cabernet); margin-bottom: 6px;
}
.team-card-role {
  font-family: var(--font-body); font-size: 9.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--bordeaux);
  margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.team-card-role::after { content: ''; flex: 1; height: 1px; background: var(--beige); }
.team-card-specialita {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px;
}
.spec-tag {
  font-family: var(--font-body); font-size: 9px; letter-spacing: .06em;
  background: var(--cream); color: var(--grey-dark);
  padding: 3px 8px; border-radius: 1px;
}
.team-card-bio {
  font-size: 12.5px; color: var(--grey-dark); line-height: 1.75;
  border-top: 1px solid var(--beige); padding-top: 14px;
  /* show 3 lines */
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.team-card.featured {
  background: var(--cabernet);
  grid-column: span 1;
}
.team-card.featured:hover { background: #6B1020; }
.team-card.featured .team-card-avatar { background: rgba(255,255,255,.08); border-color: rgba(196,160,48,.3); color: var(--gold); }
.team-card.featured .team-card-name { color: white; }
.team-card.featured .team-card-role { color: var(--gold); }
.team-card.featured .team-card-role::after { background: rgba(255,255,255,.1); }
.team-card.featured .spec-tag { background: rgba(255,255,255,.08); color: rgba(255,255,255,.65); }
.team-card.featured .team-card-bio { color: rgba(255,255,255,.55); border-top-color: rgba(255,255,255,.1); }

/* ════════════════════════════════════
   CONTATTI
════════════════════════════════════ */
.contatti-section { padding: var(--section-pad); background: var(--ivory); }
.contatti-grid {
  display: grid; grid-template-columns: 1fr 440px; gap: 64px;
  align-items: start;
}
.form-card {
  background: var(--white); border: 1px solid var(--beige);
  padding: 48px 40px;
}
.form-title {
  font-family: var(--font-heading); font-size: 28px; font-weight: 600;
  color: var(--cabernet); margin-bottom: 8px;
}
.form-subtitle { font-size: 13px; color: var(--grey-mid); margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-family: var(--font-body); font-size: 9.5px;
  font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--grey-dark); margin-bottom: 7px;
}
.form-input, .form-textarea, .form-select {
  width: 100%; font-family: var(--font-body); font-size: 13px; color: var(--charcoal);
  background: var(--ivory); border: 1px solid var(--beige);
  padding: 14px 16px; min-height: 44px; border-radius: 2px; outline: none;
  transition: border-color .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--bordeaux); background: var(--white);
}
.form-textarea { min-height: 100px; resize: vertical; }
@media (max-width: 480px) { .form-textarea { resize: none; } }
.form-privacy {
  font-size: 11px; color: var(--grey-mid); line-height: 1.6;
  margin-bottom: 20px; display: flex; gap: 10px; align-items: flex-start;
}
.form-privacy input { margin-top: 2px; flex-shrink: 0; accent-color: var(--bordeaux); }
.form-submit {
  width: 100%; font-family: var(--font-body); font-size: 11px;
  font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  background: var(--bordeaux); color: white;
  padding: 16px; border: none; border-radius: 2px;
  cursor: pointer; transition: background .2s, transform .2s;
}
.form-submit:hover { background: var(--cabernet); transform: translateY(-1px); }

.contatti-info {}
.info-photo {
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 16px;
}
.info-photo img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.info-card {
  background: var(--rouge-noir); padding: 36px 32px; margin-bottom: 16px;
  border-left: 3px solid rgba(196,160,48,.3);
}
.info-card:last-child { margin-bottom: 0; }
.info-label {
  font-family: var(--font-body); font-size: 9px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px;
}
.info-value {
  font-family: var(--font-heading); font-size: 18px; color: white;
  line-height: 1.5;
}
.info-value a { color: white; transition: color .2s; }
.info-value a:hover { color: var(--gold); }
.info-orari { margin-top: 6px; font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.6; }
.map-embed {
  width: 100%; height: 200px; background: var(--beige);
  border: 1px solid var(--beige); margin-top: 16px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
footer {
  background: var(--rouge-noir);
  border-top: 1px solid rgba(196,160,48,.2);
}
.footer-main {
  padding: 64px 0 48px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
}
.footer-brand {}
.footer-logo-main {
  font-family: var(--font-heading); font-size: 24px; font-weight: 600;
  color: white; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px;
}
.footer-logo-sub {
  font-family: var(--font-body); font-size: 8px; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 18px;
}
.footer-desc { font-size: 12.5px; color: rgba(255,255,255,.4); line-height: 1.8; margin-bottom: 20px; }
.footer-gold { width: 36px; height: 1.5px; background: var(--gold); }
.footer-col-title {
  font-family: var(--font-body); font-size: 9px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 12.5px; color: rgba(255,255,255,.5); transition: color .2s;
}
.footer-links a:hover { color: rgba(255,255,255,.85); }
.footer-contact-item {
  font-size: 12.5px; color: rgba(255,255,255,.5); margin-bottom: 8px; line-height: 1.5;
}
.footer-contact-item a { color: rgba(255,255,255,.5); transition: color .2s; }
.footer-contact-item a:hover { color: rgba(255,255,255,.85); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy {
  font-size: 11px; color: rgba(255,255,255,.25);
  font-family: var(--font-body);
}
.footer-legal {
  display: flex; gap: 20px;
}
.footer-legal a {
  font-size: 11px; color: rgba(255,255,255,.25);
  transition: color .2s;
}
.footer-legal a:hover { color: rgba(255,255,255,.5); }

/* ════════════════════════════════════
   SEZIONE TESTIMONIANZE (Home)
════════════════════════════════════ */
.testi-section { padding: var(--section-pad); background: var(--ivory); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.testi-card {
  background: var(--white); border: 1px solid var(--beige);
  padding: 32px 28px;
}
.testi-stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.testi-text {
  font-family: var(--font-heading); font-size: 17px; font-style: italic;
  color: var(--charcoal); line-height: 1.65; margin-bottom: 18px;
}
.testi-author {
  font-family: var(--font-body); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--grey-mid);
  border-top: 1px solid var(--beige); padding-top: 14px;
  display: flex; align-items: center; justify-content: space-between;
}

/* ════════════════════════════════════
   CTA SECTION (generic)
════════════════════════════════════ */
.cta-section {
  padding: 88px 0;
  background: linear-gradient(135deg, var(--rouge-noir) 0%, var(--bordeaux) 60%, var(--cabernet) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(196,160,48,.07) 0%, transparent 60%);
}
.cta-eyebrow {
  font-family: var(--font-body); font-size: 9px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.cta-title {
  font-family: var(--font-heading); font-size: clamp(30px, 4vw, 52px);
  font-weight: 600; color: white; margin-bottom: 16px; position: relative; z-index: 2;
}
.cta-sub {
  font-size: 15px; color: rgba(255,255,255,.65); margin-bottom: 36px;
  position: relative; z-index: 2; max-width: 520px; margin-left: auto; margin-right: auto;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }
.btn-white {
  font-family: var(--font-body); font-size: 10.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  background: white; color: var(--bordeaux);
  padding: 16px 36px; border-radius: 2px; border: none; cursor: pointer;
  transition: background .2s, transform .2s;
  display: inline-block;
}
.btn-white:hover { background: var(--ivory); transform: translateY(-2px); }

/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 480px; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; }
  .hero-stat { flex: 1 1 45%; }
  .perche-inner { grid-template-columns: 1fr; gap: 48px; }
  .storia-inner { grid-template-columns: 1fr; gap: 48px; }
  .contatti-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  :root { --section-pad: 48px 0; --nav-h: 66px; }
  .hero { min-height: auto; padding-bottom: 48px; }
  .aree-grid { grid-template-columns: repeat(2, 1fr); }
  .aree-full-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .team-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .valori-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 32px 24px; }
  .info-card { padding: 24px 20px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card-img { height: 150px; }
  .map-embed { height: 240px; }
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(odd) { flex-direction: column; gap: 12px; }
  .timeline-item:nth-child(odd) .tl-content { text-align: left; }
  .tl-spacer { display: none; }
  .tl-dot { position: absolute; left: 14px; }
  .timeline-item { padding-left: 48px; }
  .hero-inner { padding: 40px 20px; }
  .come-step { grid-template-columns: 56px 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  .aree-grid { grid-template-columns: 1fr; }
  .valori-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-img { height: 200px; }
  .hero-card { max-width: 100%; }
  .contatti-grid { gap: 24px; }
  .feature-item { gap: 14px; }
}
@media (max-width: 480px) {
  :root { --section-pad: 40px 0; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; }
  .team-preview-grid { grid-template-columns: 1fr 1fr; }
  .valori-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 16px; }
  .newsletter-form { flex-direction: column; gap: 12px; }
  .blog-card-img { height: 180px; }
}
@media (max-width: 375px) {
  :root { --section-pad: 32px 0; --nav-h: 60px; }
  .page-hero-title { font-size: clamp(24px, 7vw, 32px); }
  .hero-inner { padding: 24px 16px; }
  .team-preview-grid { grid-template-columns: 1fr; }
  .valori-grid { grid-template-columns: 1fr; }
}
@media (max-width: 320px) {
  :root { --section-pad: 28px 0; }
  .container { padding: 0 12px; }
}

/* ════════════════════════════════════
   UTILITIES
════════════════════════════════════ */
.text-center { text-align: center; }
.text-center .section-label { justify-content: center; }
.text-center .section-label::before { display: none; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }

/* ════════════════════════════════════
   BLOG HUB + PREVIEW
════════════════════════════════════ */
.blog-section { padding: var(--section-pad); background: var(--white); }
.blog-preview-section { padding: var(--section-pad); background: var(--white); }
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: var(--beige); margin-top: 56px;
}
.blog-card {
  background: var(--white); overflow: hidden;
  transition: background .3s;
}
.blog-card:hover { background: var(--ivory); }
.blog-card-img {
  height: 180px; background: var(--beige);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}
.blog-card-img-icon {
  opacity: .3; color: var(--cabernet);
}
.blog-card-img-icon svg { width: 36px; height: 36px; display: block; }
.blog-card-body { padding: 28px 24px; }
.blog-card-cat {
  font-family: var(--font-body); font-size: 9px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--bordeaux); margin-bottom: 10px;
  display: inline-block;
}
.blog-card-title {
  font-family: var(--font-heading); font-size: 20px; font-weight: 600;
  color: var(--cabernet); line-height: 1.3; margin-bottom: 10px;
}
.blog-card-excerpt {
  font-size: 12.5px; color: var(--grey-dark); line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--beige); padding-top: 14px;
  font-family: var(--font-body); font-size: 10px; color: var(--grey-mid);
  letter-spacing: .06em;
}
.blog-card-author { font-weight: 600; color: var(--grey-dark); }
.blog-card-link {
  font-family: var(--font-body); font-size: 9.5px; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--bordeaux);
  display: flex; align-items: center; gap: 6px; transition: gap .2s;
}
.blog-card-link:hover { gap: 10px; }
.blog-empty {
  text-align: center; padding: 80px 32px;
  background: var(--ivory); border: 1px solid var(--beige);
}
.blog-empty-icon { font-size: 48px; opacity: .3; margin-bottom: 20px; }
.blog-empty-title {
  font-family: var(--font-heading); font-size: 24px; font-weight: 600;
  color: var(--cabernet); margin-bottom: 10px;
}
.blog-empty-text { font-size: 13px; color: var(--grey-mid); line-height: 1.7; }

/* ════════════════════════════════════
   FAQ PAGE
════════════════════════════════════ */
.faq-page-section { padding: var(--section-pad); background: var(--ivory); }
.faq-page-grid { margin-top: 56px; display: flex; flex-direction: column; gap: 0; }
.faq-accordion-item {
  border-bottom: 1px solid var(--beige);
}
.faq-accordion-item:first-child { border-top: 1px solid var(--beige); }
.faq-question-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 0; background: none; border: none; cursor: pointer;
  text-align: left; transition: color .2s;
}
.faq-question-btn:hover .faq-question-text { color: var(--bordeaux); }
.faq-question-text {
  font-family: var(--font-heading); font-size: 20px; font-weight: 600;
  color: var(--charcoal); transition: color .2s; line-height: 1.3;
}
.faq-toggle {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--beige);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--bordeaux); flex-shrink: 0;
  transition: transform .3s, background .2s;
}
.faq-accordion-item.open .faq-toggle { transform: rotate(45deg); background: var(--bordeaux); color: white; border-color: var(--bordeaux); }
.faq-answer-wrap {
  max-height: 0; overflow: hidden; transition: max-height .4s ease;
}
.faq-accordion-item.open .faq-answer-wrap { max-height: 300px; }
.faq-answer-content {
  padding: 0 0 24px; font-size: 14px; color: var(--grey-dark); line-height: 1.8;
  max-width: 720px;
}
.faq-contact-box {
  background: var(--rouge-noir); padding: 48px; text-align: center; margin-top: 56px;
  border-radius: 4px;
}
.faq-contact-title {
  font-family: var(--font-heading); font-size: 28px; font-weight: 600;
  color: white; margin-bottom: 12px;
}
.faq-contact-text { font-size: 14px; color: rgba(255,255,255,.55); margin-bottom: 24px; }

/* ════════════════════════════════════
   AREA DETAIL PAGES
════════════════════════════════════ */
.area-detail-section { padding: var(--section-pad); background: var(--white); }
.area-detail-inner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start;
}
.area-detail-text { font-size: 15px; color: var(--grey-dark); line-height: 1.85; }
.area-detail-text p { margin-bottom: 20px; }
.area-detail-text p:last-child { margin-bottom: 0; }
.area-detail-text strong { color: var(--cabernet); font-weight: 600; }
.area-casi-section { padding: var(--section-pad); background: var(--ivory); }
.casi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: var(--beige); margin-top: 56px;
}
.caso-card {
  background: var(--white); padding: 32px 28px;
  transition: background .3s;
}
.caso-card:hover { background: var(--ivory); }
.caso-icon { font-size: 24px; margin-bottom: 14px; display: block; filter: grayscale(1) opacity(.6); transition: filter .3s; }
.caso-card:hover .caso-icon { filter: none; }
.caso-title {
  font-family: var(--font-heading); font-size: 19px; font-weight: 600;
  color: var(--cabernet); margin-bottom: 8px;
}
.caso-desc { font-size: 12.5px; color: var(--grey-dark); line-height: 1.7; }
.area-referente-card {
  background: var(--rouge-noir); border-left: 3px solid var(--gold);
  padding: 32px 28px;
}
.area-referente-label {
  font-family: var(--font-body); font-size: 9px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
}
.area-referente-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 2px solid rgba(196,160,48,.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 20px; font-weight: 600;
  color: var(--gold); margin-bottom: 14px;
}
.area-referente-name {
  font-family: var(--font-heading); font-size: 20px; font-weight: 600;
  color: white; margin-bottom: 4px;
}
.area-referente-role {
  font-family: var(--font-body); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 14px;
}
.area-referente-bio {
  font-size: 12.5px; color: rgba(255,255,255,.5); line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px;
}
.area-tags-sidebar {
  background: var(--ivory); border: 1px solid var(--beige); padding: 28px 24px;
  margin-top: 20px;
}
.area-tags-title {
  font-family: var(--font-body); font-size: 9px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--grey-dark);
  margin-bottom: 14px;
}
.area-tags-list { display: flex; flex-wrap: wrap; gap: 7px; }
.area-faq-section { padding: var(--section-pad); background: var(--white); }

@media (max-width: 1024px) {
  .area-detail-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .casi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .casi-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════
   BLOG — FILTER BAR
════════════════════════════════════ */
.blog-filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 32px;
}
.filter-btn {
  font-family: var(--font-body); font-size: 10px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--beige); background: var(--white);
  color: var(--grey-dark); padding: 9px 18px; border-radius: 1px;
  cursor: pointer; transition: all .2s;
}
.filter-btn.active, .filter-btn:hover {
  border-color: var(--bordeaux); background: var(--bordeaux); color: white;
}
.blog-card-wrap {
  text-decoration: none; color: inherit; display: block;
}

/* ════════════════════════════════════
   ARTICLE PAGE
════════════════════════════════════ */
.article-section { padding: var(--section-pad); background: var(--white); overflow: hidden; }
.article-container { max-width: 780px; margin: 0 auto; overflow-wrap: break-word; word-wrap: break-word; }
.article-meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 32px; padding-bottom: 24px;
  border-bottom: 1px solid var(--beige);
}
.article-cat {
  font-family: var(--font-body); font-size: 9px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--white); background: var(--bordeaux);
  padding: 4px 12px; border-radius: 1px;
}
.article-date {
  font-family: var(--font-body); font-size: 11px; color: var(--grey-mid);
}
.article-reading {
  font-family: var(--font-body); font-size: 11px; color: var(--grey-light);
}
.article-body { margin-bottom: 48px; }
.article-body h2 {
  font-family: var(--font-heading); font-size: 28px; font-weight: 600;
  color: var(--cabernet); margin: 40px 0 16px; line-height: 1.2;
}
.article-body h3 {
  font-family: var(--font-heading); font-size: 22px; font-weight: 600;
  color: var(--charcoal); margin: 32px 0 12px; line-height: 1.3;
}
.article-body p {
  font-size: 15px; color: var(--grey-dark); line-height: 1.85;
  margin-bottom: 20px;
}
.article-body p:last-child { margin-bottom: 0; }
.article-body strong { color: var(--cabernet); font-weight: 600; }
.article-body ul, .article-body ol {
  margin: 16px 0 24px 24px; font-size: 15px; color: var(--grey-dark); line-height: 1.85;
}
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  border-left: 3px solid var(--gold); margin: 28px 0;
  padding: 20px 24px; background: var(--ivory);
  font-family: var(--font-heading); font-size: 18px; font-style: italic;
  color: var(--charcoal); line-height: 1.6;
}
.article-highlight {
  background: var(--ivory); border: 1px solid var(--beige);
  padding: 24px 28px; margin: 28px 0; border-radius: 2px;
}
.article-highlight-title {
  font-family: var(--font-body); font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--bordeaux); margin-bottom: 10px;
}
.article-highlight p { margin-bottom: 8px; }
.article-highlight p:last-child { margin-bottom: 0; }

/* AUTHOR BOX */
.author-box {
  display: flex; gap: 24px; align-items: flex-start;
  background: var(--ivory); border: 1px solid var(--beige);
  padding: 32px 28px; margin-top: 48px;
}
.author-box-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--beige); border: 3px solid var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 22px; font-weight: 600;
  color: var(--bordeaux); flex-shrink: 0;
}
.author-box-info { flex: 1; }
.author-box-label {
  font-family: var(--font-body); font-size: 9px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--grey-mid); margin-bottom: 6px;
}
.author-box-name {
  font-family: var(--font-heading); font-size: 20px; font-weight: 600;
  color: var(--cabernet); margin-bottom: 4px;
}
.author-box-role {
  font-family: var(--font-body); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--grey-mid); margin-bottom: 12px;
}
.author-box-bio {
  font-size: 13px; color: var(--grey-dark); line-height: 1.7; margin-bottom: 12px;
}
.author-box-link {
  font-family: var(--font-body); font-size: 9.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--bordeaux); display: inline-flex; align-items: center; gap: 6px;
}

/* NEWSLETTER CTA */
.newsletter-section {
  padding: 56px 0; background: var(--ivory);
  border-top: 1px solid var(--beige); border-bottom: 1px solid var(--beige);
}
.newsletter-inner {
  max-width: 580px; margin: 0 auto; text-align: center;
}
.newsletter-title {
  font-family: var(--font-heading); font-size: 28px; font-weight: 600;
  color: var(--cabernet); margin-bottom: 10px;
}
.newsletter-text {
  font-size: 14px; color: var(--grey-dark); line-height: 1.7; margin-bottom: 24px;
}
.newsletter-form {
  display: flex; gap: 8px; max-width: 440px; margin: 0 auto;
}
.newsletter-input {
  flex: 1; font-family: var(--font-body); font-size: 13px; color: var(--charcoal);
  background: var(--white); border: 1px solid var(--beige);
  padding: 14px 16px; border-radius: 2px; outline: none;
  transition: border-color .2s;
}
.newsletter-input:focus { border-color: var(--bordeaux); }
.newsletter-submit {
  font-family: var(--font-body); font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  background: var(--bordeaux); color: white;
  padding: 14px 24px; border: none; border-radius: 2px;
  cursor: pointer; transition: background .2s;
  white-space: nowrap;
}
.newsletter-submit:hover { background: var(--cabernet); }
.newsletter-privacy {
  font-size: 10px; color: var(--grey-light); margin-top: 12px;
}

/* RELATED ARTICLES */
.related-section { padding: var(--section-pad); background: var(--ivory); }
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: var(--beige); margin-top: 40px;
}

@media (max-width: 768px) {
  .author-box { flex-direction: column; align-items: center; text-align: center; padding: 24px 20px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-section { padding: 40px 0; }
  .related-grid { grid-template-columns: 1fr; }
  .article-section { padding: 48px 0; }
  .article-body h2 { font-size: 22px; margin-top: 32px; }
  .article-body h3 { font-size: 19px; }
  .article-body p { font-size: 14px; }
  .article-body ul, .article-body ol { margin-left: 16px; font-size: 14px; }
  .article-body blockquote { padding: 16px 18px; font-size: 16px; margin: 20px 0; }
  .article-highlight { padding: 20px 18px; margin: 20px 0; }
  .article-meta { gap: 10px; }
  .article-container { padding: 0; }
  .page-hero-title br { content: ''; }
  .page-hero-title { font-size: clamp(28px, 6vw, 42px); }
  .blog-card-img { height: 130px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .related-section { padding: 48px 0; }
}

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--rouge-noir);
  border-top: 1px solid var(--cabernet);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,.4);
  transform: translateY(100%);
  transition: transform .4s ease;
}
#cookie-banner.visible {
  transform: translateY(0);
}
#cookie-banner p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--grey-light);
  line-height: 1.6;
}
#cookie-banner p a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
#cookie-banner p a:hover {
  color: var(--gold-light);
}
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
#cookie-accept {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--charcoal);
  border: none;
  padding: 10px 22px;
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
#cookie-accept:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
#cookie-close {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: transparent;
  color: var(--grey-light);
  border: 1px solid var(--grey-dark);
  padding: 10px 22px;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
#cookie-close:hover {
  border-color: var(--grey-light);
  color: var(--white);
}
@media (max-width: 600px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px;
    gap: 14px;
  }
  .cookie-banner-actions {
    width: 100%;
  }
  #cookie-accept, #cookie-close {
    flex: 1;
    text-align: center;
  }
}
