/**
 * @file
 * Variables CSS y reset base para CasaEditora.
 */

:root {
  --color-primary: #1a3a5c;
  --color-accent-red: #e63946;
  --color-accent-blue: #007bda;
  --color-dark: #1a1a2e;
  --color-dark-navy: #0c1445;
  --color-light: #f5f5f5;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-border: #e0e0e0;


  --font-primary: 'Poppins', sans-serif;
  --font-heading: 'Playfair Display', serif;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --transition: 0.3s ease;
  --container-width: 1200px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body.casaeditora-page {
  font-family: var(--font-primary);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--color-white);
  margin: 0;
  padding: 0;
}

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

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

ul {
  list-style: none;
}

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

.section {
  padding: 100px 0;
  overflow: hidden;
}

.section-subtitle {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0670b2;;
  margin-bottom: 12px;
  position: relative;
  padding-left: 30px;
}

.section-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  background: #0670b2;;
}

.section-title {
  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 20px;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
