/* ==========================================================================
   FV ADVOCACIA — FIGUEREDO & VIEIRA ADVOGADOS ASSOCIADOS
   Stylesheet Principal
   https://fvadvocacia.site
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --primary: #1a1a1a;
  --secondary: #2c2c2c;
  --accent: #b8963e;
  --accent-light: #d4af60;
  --accent-dark: #9a7c2f;
  --bg: #f5f4f0;
  --bg-white: #ffffff;
  --bg-section: #f0ede7;
  --text: #1a1a1a;
  --text-light: #555555;
  --text-muted: #888888;
  --border: #e0ddd6;
  --border-light: #ede9e3;
  --footer-bg: #111111;
  --footer-text: #cccccc;
  --footer-link: #e0ddd6;

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Layout */
  --container-max: 1200px;
  --container-padding: 1.25rem;
  --header-height: 80px;

  /* Transitions */
  --transition: 0.3s ease;
  --transition-fast: 0.15s ease;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

address {
  font-style: normal;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 400; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 400; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

p { margin-bottom: var(--space-sm); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   4. Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.section {
  padding-block: var(--space-xl);
}

.section--light {
  background-color: var(--bg);
}

.section--white {
  background-color: var(--bg-white);
}

.section--dark {
  background-color: var(--primary);
  color: #ffffff;
}

.section--dark h2, .section--dark h3 {
  color: #ffffff;
}

.section--accent-bg {
  background-color: var(--bg-section);
}

.section-header {
  margin-bottom: var(--space-lg);
  text-align: center;
}

.section-header .eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-xs);
  display: block;
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header .divider {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin-inline: auto;
  margin-top: var(--space-sm);
}

/* Grid Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border: 2px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #ffffff;
}

.btn-dark {
  background: var(--primary);
  color: #ffffff;
  border: 2px solid var(--primary);
}

.btn-dark:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-ghost:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.1);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  background: #25D366;
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  transition: background var(--transition-fast);
}

.btn-whatsapp:hover {
  background: #1ebe5c;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   6. Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(245, 244, 240, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--space-sm);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 42px;
  height: 42px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-fv {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--primary);
  line-height: 1;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  line-height: 1;
}

/* Navigation */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.875rem;
  right: 0.875rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition-fast);
  transform-origin: center;
}

/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--primary);
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, rgba(184,150,62,0.08) 0%, transparent 60%),
    linear-gradient(225deg, rgba(184,150,62,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.04;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.3) 2px,
    rgba(255,255,255,0.3) 4px
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  color: #ffffff;
  margin-bottom: var(--space-md);
  font-weight: 300;
  line-height: 1.15;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-light);
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-lg);
  line-height: 1.75;
  max-width: 540px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

.hero-contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-contact-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

.hero-contact-value {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
}

.hero-contact-value a {
  color: inherit;
  transition: color var(--transition-fast);
}

.hero-contact-value a:hover {
  color: var(--accent-light);
}

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-section);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  color: var(--accent);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Service Cards */
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-md) var(--space-md) var(--space-lg);
  position: relative;
  transition: all var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}

/* --------------------------------------------------------------------------
   9. Info / Stats Bar
   -------------------------------------------------------------------------- */
.info-bar {
  background: var(--primary);
  color: #ffffff;
  padding-block: var(--space-lg);
}

.info-bar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  text-align: center;
}

.info-bar-item {
  padding: var(--space-sm);
}

.info-bar-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-bottom: 0.35rem;
}

.info-bar-value {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--accent-light);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   10. Contact Section / Form
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-section);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-item-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
}

.contact-item-value {
  font-size: 0.95rem;
  color: var(--text);
}

.contact-item-value a {
  color: var(--text);
  transition: color var(--transition-fast);
}

.contact-item-value a:hover {
  color: var(--accent);
}

/* Form */
.contact-form {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184,150,62,0.12);
  background: #ffffff;
}

.form-group input.error,
.form-group textarea.error {
  border-color: #c0392b;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}

.form-consent input[type="checkbox"] {
  width: auto;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.form-consent label {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.form-consent a {
  color: var(--accent);
  text-decoration: underline;
}

.form-error-msg {
  font-size: 0.78rem;
  color: #c0392b;
  margin-top: 4px;
  display: none;
}

.form-error-msg.visible {
  display: block;
}

.form-success {
  display: none;
  background: #f0faf4;
  border: 1px solid #27ae60;
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  text-align: center;
  color: #1e7e34;
}

.form-success.visible {
  display: block;
}

/* --------------------------------------------------------------------------
   11. Map Section
   -------------------------------------------------------------------------- */
.map-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   12. WhatsApp Float Button
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: all var(--transition);
}

.whatsapp-float:hover {
  background: #1ebe5c;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

.whatsapp-float svg {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding-top: var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}

.logo-fv-footer {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(255,255,255,0.05);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.footer-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #ffffff;
  line-height: 1.2;
}

.footer-sub-name {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  line-height: 1.2;
  margin-top: 2px;
}

.footer-cnpj {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

.site-footer h3 {
  font-size: 0.7rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: var(--space-sm);
}

.footer-contact address p {
  font-size: 0.875rem;
  color: var(--footer-link);
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

.footer-contact address a {
  color: var(--footer-link);
  transition: color var(--transition-fast);
}

.footer-contact address a:hover {
  color: var(--accent-light);
}

.footer-links ul,
.footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links li a,
.footer-legal li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition-fast);
}

.footer-links li a:hover,
.footer-legal li a:hover {
  color: var(--accent-light);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.6;
  margin-top: var(--space-sm);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--space-sm);
}

.footer-bottom {
  padding-block: var(--space-md);
  border-top: 0;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  margin: 0;
}

.footer-bottom strong {
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   14. Breadcrumb
   -------------------------------------------------------------------------- */
.breadcrumb {
  padding: 0.75rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.breadcrumb-list li + li::before {
  content: '/';
  color: var(--border);
}

.breadcrumb-list a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.breadcrumb-list a:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   15. Page Hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--primary);
  color: #ffffff;
  padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-xl);
}

.page-hero .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}

.page-hero h1 {
  color: #ffffff;
  font-weight: 300;
  margin-bottom: var(--space-sm);
}

.page-hero .lead {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   16. Accordion / FAQ
   -------------------------------------------------------------------------- */
.accordion {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--border-light);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md);
  background: var(--bg-white);
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  gap: var(--space-sm);
  transition: background var(--transition-fast);
}

.accordion-trigger:hover {
  background: var(--bg);
}

.accordion-trigger[aria-expanded="true"] {
  color: var(--accent);
  background: var(--bg);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--accent);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  display: none;
  padding: 0 var(--space-md) var(--space-md);
  background: var(--bg);
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.75;
}

.accordion-content.open {
  display: block;
}

/* --------------------------------------------------------------------------
   17. Legal Pages
   -------------------------------------------------------------------------- */
.legal-content {
  max-width: 800px;
  margin-inline: auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border-light);
}

.legal-content h2:first-child {
  border-top: none;
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: var(--space-md);
  margin-bottom: 0.75rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }

.legal-content li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
}

.legal-update {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-light);
}

/* --------------------------------------------------------------------------
   18. Article Cards
   -------------------------------------------------------------------------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
}

.article-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}

.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.article-card-body {
  padding: var(--space-md);
}

.article-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.article-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.article-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
}

.article-placeholder {
  text-align: center;
  padding: var(--space-2xl) var(--space-sm);
  color: var(--text-muted);
  background: var(--bg-white);
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
}

.article-placeholder-icon {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
  opacity: 0.3;
}

/* --------------------------------------------------------------------------
   19. Notification / Alert banners
   -------------------------------------------------------------------------- */
.alert {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  border-left: 4px solid;
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
}

.alert-info {
  background: #f0f4ff;
  border-color: #4a90e2;
  color: #2c5282;
}

.alert-warning {
  background: #fffbf0;
  border-color: var(--accent);
  color: #7a5c1a;
}

.alert-disclaimer {
  background: var(--bg-section);
  border-color: var(--border);
  color: var(--text-light);
  font-size: 0.82rem;
}

/* --------------------------------------------------------------------------
   20. Cookie Banner
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #ffffff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
  padding: var(--space-md) 0;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  justify-content: space-between;
}

.cookie-banner p {
  font-size: 0.875rem;
  color: var(--text-light);
  max-width: 600px;
  flex: 1;
}

.cookie-banner p a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn-accept {
  padding: 0.6rem 1.25rem;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.cookie-btn-accept:hover {
  background: var(--accent-dark);
}

.cookie-btn-refuse {
  padding: 0.6rem 1.25rem;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cookie-btn-refuse:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

/* --------------------------------------------------------------------------
   21. Responsive — Mobile First
   -------------------------------------------------------------------------- */

/* Small phones (320px+) */
@media (max-width: 479px) {
  :root {
    --container-padding: 1rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
  }

  .hero { min-height: 100svh; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-contact-info { flex-direction: column; gap: var(--space-sm); }

  .form-row { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .header-actions .btn-whatsapp { display: none; }

  .logo-text { display: none; }
}

/* Phones (480px–767px) */
@media (max-width: 767px) {
  .hamburger { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    justify-content: flex-start;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
    padding: var(--space-sm) 0;
  }

  .main-nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-link {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-light);
    display: block;
    width: 100%;
  }

  .nav-link::after { display: none; }

  .contact-grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .hero-contact-info { 
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-md);
  }
}

/* Tablets (768px–1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .hamburger { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    justify-content: flex-start;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
    padding: var(--space-sm) 0;
  }

  .main-nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-link {
    padding: 0.875rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    display: block;
    width: 100%;
  }

  .nav-link::after { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .hamburger { display: none; }
  .main-nav {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }
}

/* Large desktops */
@media (min-width: 1600px) {
  :root {
    --container-max: 1400px;
  }
}

/* --------------------------------------------------------------------------
   22. Utility Classes
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-small { font-size: 0.85rem; }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  z-index: 99999;
  border-radius: 0 0 var(--radius-sm) 0;
  transition: top 0.1s;
}

.skip-link:focus {
  top: 0;
}

/* Print styles */
@media print {
  .site-header,
  .whatsapp-float,
  .cookie-banner,
  .hamburger,
  .hero-actions,
  .site-footer .footer-bottom {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  a { color: #000; text-decoration: underline; }
  .hero { min-height: auto; padding: 1rem 0; }
}

