/* Reset et base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --background: #ffffff;
  --foreground: #0a0a0f;
  --primary: #1a1a2e;
  --primary-foreground: #f8fafc;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --radius: 0.5rem;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  font-size: 16px;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
header {
  border-bottom: 1px solid var(--border);
}

header nav {
  padding: 1rem 0;
}

header .nav-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

header .logo {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--primary);
  text-decoration: none;
}

header ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  font-size: 0.875rem;
}

header a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

header a:hover {
  color: var(--foreground);
}

/* Sections */
section {
  padding: 3rem 0;
}

section.bordered {
  border-top: 1px solid var(--border);
}

/* Typography */
h1 {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-muted {
  color: var(--muted-foreground);
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

strong {
  font-weight: 600;
}

/* Links */
a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn:hover {
  opacity: 0.9;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

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

.btn-outline:hover {
  background-color: var(--muted);
}

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Cards */
.card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.card-highlight {
  border-color: var(--primary);
}

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

ul.check-list li {
  margin-bottom: 0.25rem;
}

ul.bullet-list {
  list-style: none;
}

ul.bullet-list li {
  margin-bottom: 0.5rem;
}

ul.bullet-list li::before {
  content: "• ";
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--muted-foreground);
}

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

.breadcrumb span {
  margin: 0 0.5rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding: 3rem 0;
}

footer h3 {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
}

footer ul {
  list-style: none;
}

footer li {
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

footer a:hover {
  color: var(--foreground);
}

footer address {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

footer .copyright {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

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

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--background);
  font-size: 1rem;
  font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.form-group {
  margin-bottom: 1rem;
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  font-weight: 600;
}

/* Utility */
.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-4 {
  gap: 1rem;
}

.gap-8 {
  gap: 2rem;
}

.items-center {
  align-items: center;
}

.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

/* Price display */
.price-big {
  font-size: 1.875rem;
  font-weight: bold;
}

.price-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Process steps */
.step-number {
  font-size: 2.25rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Background muted */
.bg-muted {
  background-color: var(--muted);
  padding: 1.5rem;
  border-radius: var(--radius);
}

/* Tag/Badge */
.tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 767px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  section {
    padding: 2rem 0;
  }
}
