/* ============================================
   DAZAX  - Design System "Warm Expert"
   Direction B : bleu nuit + cuivre chaud
   ============================================ */

/* --- Variables & Design Tokens --- */
:root {
  --color-primary: #1B3A5C;
  --color-primary-light: #2A5480;
  --color-primary-dark: #0F2440;

  --color-accent: #C47F2A;
  --color-accent-light: #D4963E;
  --color-accent-dark: #A06820;

  --color-bg: #F8F7F4;
  --color-surface: #FFFFFF;
  --color-text: #1C1C28;
  --color-text-muted: #5A6577;
  --color-text-light: #8892A4;
  --color-border: #E4E2DC;

  --color-dark: #0F1923;
  --color-dark-surface: #1A2836;
  --color-dark-text: #E8E6E1;
  --color-dark-muted: #9CA8B8;

  --color-success: #3D8B5F;

  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06), 0 0 1px rgba(0, 0, 0, 0.1);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;

  --container-width: 1120px;
  --nav-height: 72px;
}

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

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

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

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

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

.icon {
  width: 1.2em;
  height: 1.2em;
  vertical-align: -0.15em;
  fill: none;
  stroke: currentColor;
}

/* --- Layout --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-dark {
  background-color: var(--color-dark);
  color: var(--color-dark-text);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-dark-text);
}

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

.section-alt {
  background-color: var(--color-surface);
}

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-accent); }

.section-header {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-header p {
  margin-top: 1rem;
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.section-dark .section-header p {
  color: var(--color-dark-muted);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

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

.btn-primary:hover {
  background: var(--color-primary-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--color-accent-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline-dark:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn .icon {
  width: 1em;
  height: 1em;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 0;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 44px;
  width: auto;
  transition: filter var(--transition);
  filter: brightness(0) invert(1);
}

.site-header.scrolled .logo-img {
  filter: none;
}

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

.nav-main a {
  display: block;
  padding: 0.5rem 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-main a:hover,
.nav-main a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.site-header.scrolled .nav-main a {
  color: var(--color-text-muted);
}

.site-header.scrolled .nav-main a:hover,
.site-header.scrolled .nav-main a.active {
  color: var(--color-primary);
  background: rgba(27, 58, 92, 0.06);
}

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

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

.site-header.scrolled .nav-toggle span {
  background: var(--color-text);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(196, 127, 42, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 720px;
  padding-top: var(--nav-height);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: var(--color-accent-light);
}

.hero .hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero .btn-group {
  margin-top: 0.5rem;
}

/* Hero mini  - pour pages internes */
.hero-mini {
  min-height: auto;
  padding: 8rem 0 4rem;
}

.hero-mini h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.hero-mini .hero-subtitle {
  margin-bottom: 0;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  border: 1px solid var(--color-border);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(27, 58, 92, 0.08);
  color: var(--color-primary);
}

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

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Card accent variant */
.card-accent .card-icon {
  background: rgba(196, 127, 42, 0.1);
  color: var(--color-accent);
}

/* Dark section cards */
.section-dark .card {
  background: var(--color-dark-surface);
  border-color: rgba(255, 255, 255, 0.08);
}

.section-dark .card p {
  color: var(--color-dark-muted);
}

.section-dark .card-icon {
  background: rgba(196, 127, 42, 0.15);
  color: var(--color-accent-light);
}

/* --- Feature Showcase --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 58, 92, 0.08);
  color: var(--color-primary);
}

.feature-icon .icon {
  width: 22px;
  height: 22px;
}

.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.feature-item p {
  color: var(--color-text-muted);
  font-size: 0.93rem;
}

/* --- Image cards (hébergement screenshots) --- */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.showcase-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.showcase-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.showcase-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  cursor: pointer;
}

.showcase-card-body {
  padding: 1.5rem;
}

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

.showcase-card p {
  color: var(--color-text-muted);
  font-size: 0.93rem;
}

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.comparison-table thead th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.comparison-table thead th:first-child {
  text-align: left;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--color-text);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover {
  background: rgba(27, 58, 92, 0.02);
}

.comparison-table .highlight-col {
  background: rgba(196, 127, 42, 0.06);
  font-weight: 600;
}

.comparison-table thead .highlight-col {
  background: var(--color-accent);
}

.table-yes {
  color: var(--color-success);
  font-weight: 600;
}

.table-no {
  color: var(--color-text-light);
}

.table-partial {
  color: var(--color-accent);
  font-weight: 500;
}

/* --- Trust Grid --- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-item .icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--color-accent-light);
}

.trust-item h4 {
  color: var(--color-dark-text);
  margin-bottom: 0.35rem;
}

.trust-item p {
  color: var(--color-dark-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* --- Pentest approaches --- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.approach-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  position: relative;
}

.approach-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.approach-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.approach-card h3 .icon {
  color: var(--color-accent);
  width: 22px;
  height: 22px;
}

.approach-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* --- About section --- */
.about-intro {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: start;
}

.about-photo {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.about-text h2 {
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* --- Blockquote --- */
blockquote {
  border-left: 3px solid var(--color-accent);
  padding: 1.25rem 1.5rem;
  margin: 0;
  background: rgba(196, 127, 42, 0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}

blockquote p {
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

blockquote p:last-of-type {
  margin-bottom: 0.5rem;
}

blockquote footer {
  font-style: normal;
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

blockquote footer::before {
  content: '- ';
}

/* --- Timeline --- */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
  padding-left: 1.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-bg);
  transform: translateX(-5px);
}

.timeline-year {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
  font-family: var(--font-mono);
}

.timeline-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.timeline-item p {
  color: var(--color-text-muted);
  font-size: 0.93rem;
}

/* --- Section CTA (bandeau d'appel à l'action) --- */
.section-cta {
  padding: 4rem 0;
  text-align: center;
}

.section-cta h2 {
  margin-bottom: 1rem;
}

.section-cta p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.section-dark.section-cta p {
  color: var(--color-dark-muted);
}

/* --- Contact Form --- */
.section-contact {
  padding: 5rem 0;
  background: var(--color-surface);
}

.contact-intro {
  text-align: center;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.contact-intro h2 {
  margin-bottom: 0.75rem;
}

.contact-intro p {
  color: var(--color-text-muted);
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

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

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.form-field .optional {
  font-weight: 400;
  color: var(--color-text-light);
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27, 58, 92, 0.1);
}

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

.contact-form .btn {
  width: 100%;
  justify-content: center;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-dark);
  color: var(--color-dark-muted);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-dark-muted);
}

.footer-links h4,
.footer-contact h4 {
  color: var(--color-dark-text);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--color-dark-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

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

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

.footer-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.footer-location .icon {
  width: 16px;
  height: 16px;
  color: var(--color-dark-muted);
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-dark-muted);
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
  backdrop-filter: blur(4px);
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* --- Badge / Tag --- */
.badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 100px;
  background: rgba(196, 127, 42, 0.12);
  color: var(--color-accent);
}

/* --- Scroll reveal animations --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Page-specific: Merci & 404 --- */
.page-simple {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
}

.page-simple h1 {
  margin-bottom: 1rem;
}

.page-simple p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* --- Legal pages --- */
.legal-content {
  max-width: 740px;
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.legal-content h1 {
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content p,
.legal-content ul {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.legal-content ul {
  padding-left: 1.5rem;
  list-style: disc;
}

.legal-content a {
  color: var(--color-accent);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-main {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-dark);
    padding: 1rem;
    display: none;
    box-shadow: var(--shadow-lg);
  }

  .nav-main.open {
    display: block;
  }

  .site-header.scrolled .nav-main {
    background: #fff;
    border-top: 1px solid var(--color-border);
  }

  .site-header.scrolled .nav-main a {
    color: var(--color-text);
  }

  .nav-main ul {
    flex-direction: column;
    gap: 0;
  }

  .nav-main a {
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.9);
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    min-height: auto;
    padding: 7rem 0 4rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .card-grid,
  .feature-grid,
  .showcase-grid,
  .approach-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

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

  .about-intro {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-photo {
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    justify-content: center;
  }

  .comparison-table {
    font-size: 0.85rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.7rem 0.6rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .container {
    padding: 0 1rem;
  }

  .card {
    padding: 1.5rem;
  }
}

/* --- Print --- */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .lightbox,
  .btn {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
    background: none;
    color: #000;
  }

  .hero h1,
  .section-dark h2,
  .section-dark h3 {
    color: #000;
  }
}
