/* ==========================================================================
   LUCIANA CUNHA V2 — THE SWISS GRID
   ========================================================================== */

:root {
  /* Colors - Visual ID */
  --c-black: #122C42; /* Navy Blue */
  --c-white: #ffffff;
  --c-light: #f4f4f4; /* Off-white */
  --c-accent: #4B8053; /* Forest Green */
  --c-border-light: rgba(18, 44, 66, 0.15);
  --c-border-dark: rgba(255, 255, 255, 0.15);

  /* Typography */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2.25rem;
  --text-display: clamp(2.5rem, 4vw + 1rem, 5rem);
  --text-display-sm: clamp(2rem, 3vw + 1rem, 3.5rem);

  /* Spacing & Layout */
  --grid-gap: 0px; /* Zero gap because we use borders for the grid */
  --padding-box: clamp(1rem, 2vw, 2rem);
  --padding-box-large: clamp(3rem, 6vw, 6rem);
  --padding-box-xl: clamp(4rem, 8vw, 8rem);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--c-black);
  background-color: var(--c-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Typography Classes */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.display-text {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.display-text-large {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
}

.display-text-small {
  font-family: var(--font-display);
  font-size: var(--text-display-sm);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: 700;
}

.body-large {
  font-size: var(--text-lg);
  line-height: 1.6;
}

/* Utilities */
.opacity-50 { opacity: 0.5; }
.opacity-70 { opacity: 0.7; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-6 { margin-top: 2.5rem; }
.mt-8 { margin-top: 4rem; }
.mt-auto { margin-top: auto; }
.pl-8 { padding-left: 4rem; }
.max-w-600 { max-width: 600px; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.flex-column { display: flex; flex-direction: column; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* Colors & Backgrounds */
.bg-light { background-color: var(--c-light); }
.bg-accent { background-color: var(--c-accent); }
.bg-black { background-color: var(--c-black); }
.color-white { color: var(--c-white); }
.section--dark {
  background-color: var(--c-black);
  color: var(--c-white);
}

/* ==========================================================================
   GRID SYSTEM (The Swiss Approach)
   ========================================================================== */

.grid-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  width: 100%;
}

.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

/* Inner grids */
.grid-inner-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

/* Borders */
.border-bottom { border-bottom: 1px solid var(--c-border-light); }
.border-top { border-top: 1px solid var(--c-border-light); }
.border-left { border-left: 1px solid var(--c-border-light); }
.border-right { border-right: 1px solid var(--c-border-light); }

.border-bottom-dark { border-bottom: 1px solid var(--c-border-dark); }
.border-left-dark { border-left: 1px solid var(--c-border-dark); }
.border-right-dark { border-right: 1px solid var(--c-border-dark); }

.padding-box {
  padding: var(--padding-box);
}

.padding-box-large {
  padding: var(--padding-box-large);
}

.padding-box-xl {
  padding: var(--padding-box-xl);
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* Header */
.header {
  position: sticky;
  top: 0;
  background-color: var(--c-white);
  z-index: 100;
}

.header__inner > div, .header__inner > nav {
  padding: 1.5rem var(--padding-box);
  display: flex;
  align-items: center;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
}

.header__tagline {
  color: var(--c-black);
  opacity: 0.7;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.header__nav {
  gap: 2rem;
  justify-content: center;
}

.header__nav a {
  text-decoration: none;
  color: var(--c-black);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.header__cta {
  justify-content: flex-end;
}

.header__cta a {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--c-accent);
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn--solid {
  background-color: var(--c-accent);
  color: var(--c-white);
}

.btn--solid:hover {
  background-color: var(--c-black);
}

.btn--full {
  width: 100%;
}

/* Hero */
.hero {
  min-height: calc(100vh - 80px); /* Fill screen minus header */
  display: flex;
  align-items: stretch;
}

.hero__main {
  padding: var(--padding-box-large) var(--padding-box);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__side {
  padding: var(--padding-box);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Lists */
.check-list {
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.check-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-family: var(--font-display);
}

.text-list {
  list-style: none;
  font-size: var(--text-lg);
  font-weight: 500;
}

.text-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(18, 44, 66, 0.1);
}

.bg-accent .text-list li {
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

/* Problem Items */
.problem-item {
  padding: var(--padding-box);
  display: flex;
  flex-direction: column;
}

.problem-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--c-accent);
  margin-bottom: 1rem;
}

/* Labels */
.label {
  display: inline-block;
  padding: 0.25rem 1rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 100px;
}

.label--error {
  background-color: rgba(255,0,0,0.1);
  color: #d32f2f;
}

.label--white {
  background-color: rgba(255,255,255,0.2);
  color: var(--c-white);
}

/* Services */
.service-box {
  padding: var(--padding-box);
}

.service-icon {
  margin-bottom: 2rem;
  color: var(--c-accent);
}

/* Static List */
.static-list-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.static-list-item {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.static-list-separator {
  opacity: 0.5;
}

/* Forms */
.v2-form {
  width: 100%;
}

.form-row {
  padding: 1.5rem 0;
}

.form-row input, .form-row textarea {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--c-white);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  outline: none;
}

.form-row input::placeholder, .form-row textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

/* Responsive (Basic fixes for the prototype) */
@media (max-width: 1024px) {
  .span-2, .span-3, .span-4, .span-5, .span-6, .span-8 {
    grid-column: span 12;
  }
  .border-left, .border-right, .border-left-dark, .border-right-dark {
    border-left: none;
    border-right: none;
  }
  .grid-inner-2 {
    grid-template-columns: 1fr;
  }
  .header__inner > div {
    padding: 1rem;
  }
  .header__tagline, .header__nav {
    display: none;
  }
}
