@charset "UTF-8";
/* ============================================================
   IOT-SPECTRUM — Maquette
   Charte : Montserrat 500 · #000 / #FFF
            Dégradé signature : #00B5E2 → #001489
            Accent : #DC4405 · Complémentaire : #0c2340
   ============================================================ */
:root {
  --brand-cyan: #00B5E2;
  --brand-blue: #001489;
  --accent: #DC4405;
  --danger: #C0392B;
  --deep: #0c2340;
  --gradient: linear-gradient(135deg, #00B5E2 0%, #001489 100%);
  --radius: 18px;
  --font: Montserrat, system-ui, -apple-system, Segoe UI, sans-serif;
}

:root[data-theme=light] {
  --bg: #FFFFFF;
  --bg-soft: #F3F7FC;
  --surface: #FFFFFF;
  --text: #000000;
  --text-soft: #46536E;
  --line: #DDE6F2;
  --header-bg: rgba(255, 255, 255, 0.85);
  --shadow: 0 14px 34px rgba(0, 20, 80, 0.1);
  --glow-1: rgba(0, 181, 226, 0.14);
  --glow-2: rgba(0, 20, 137, 0.08);
  color-scheme: light;
}

:root[data-theme=dark] {
  --bg: #0c2340;
  --bg-soft: #0A1C33;
  --surface: #10294B;
  --text: #FFFFFF;
  --text-soft: #AFC0D8;
  --line: #23426C;
  --header-bg: rgba(12, 35, 64, 0.85);
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  --glow-1: rgba(0, 181, 226, 0.16);
  --glow-2: rgba(0, 20, 137, 0.3);
  color-scheme: dark;
}

[data-theme=light] .logo-light,
[data-theme=light] .icon-sun {
  display: none;
}
[data-theme=light] .logo-dark,
[data-theme=light] .icon-moon {
  display: block;
}

[data-theme=dark] .logo-light,
[data-theme=dark] .icon-sun {
  display: block;
}
[data-theme=dark] .logo-dark,
[data-theme=dark] .icon-moon {
  display: none;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

::selection {
  background: var(--brand-cyan);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--brand-cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

section {
  padding: 96px 0;
}

.bg-soft {
  background: var(--bg-soft);
}

h1, h2, h3 {
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.kicker {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-head {
  max-width: 660px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 14px;
}
.section-head p {
  color: var(--text-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 90, 180, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 90, 180, 0.38);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: var(--surface);
}
.btn-ghost:hover {
  border-color: var(--brand-cyan);
  transform: translateY(-2px);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(220, 68, 5, 0.3);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 78px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 46px;
  width: auto;
  aspect-ratio: 2718/1666;
}

.main-nav {
  margin-left: auto;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-size: 14.5px;
  color: var(--text-soft);
  font-weight: 600;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:hover {
  color: var(--text);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.25s;
}
.main-nav a:hover::after {
  width: 100%;
}

.header-cta {
  padding: 11px 20px;
  font-size: 14px;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s, transform 0.2s;
}
.theme-toggle:hover {
  border-color: var(--brand-cyan);
  transform: rotate(15deg);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 88px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(620px 420px at 88% 12%, var(--glow-1), transparent 65%), radial-gradient(720px 520px at 6% 92%, var(--glow-2), transparent 65%);
}
.hero .badge {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.hero .badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(220, 68, 5, 0.15);
}
.hero h1 {
  font-size: clamp(34px, 4.8vw, 54px);
  margin: 22px 0 18px;
}
.hero .lead {
  font-size: 17.5px;
  color: var(--text-soft);
  max-width: 56ch;
}
.hero .hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 56px;
  align-items: center;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 52px;
}

.stat b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
}
.stat span {
  font-size: 13.5px;
  color: var(--text-soft);
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient);
}
.hero-card {
  position: relative;
  overflow: hidden;
  padding: 26px 26px 28px;
}
.hero-card .hero-card-top {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
}
.hero-card .hc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.hero-card .hc-title {
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-left: 10px;
}
.hero-card .scope-list {
  display: grid;
  gap: 14px;
}
.hero-card .scope-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
}
.hero-card .scope-list em {
  font-style: normal;
  font-size: 12px;
  color: var(--text-soft);
  font-weight: 600;
}
.hero-card .check {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--gradient);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero-card .scope-progress {
  margin-top: 24px;
}
.hero-card .sp-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-soft);
  font-weight: 600;
  margin-bottom: 8px;
}
.hero-card .sp-bar {
  height: 10px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.hero-card .sp-bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gradient);
  border-radius: 999px;
}
.hero-card .sp-caption {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--text-soft);
}
.hero-card .chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
}

.float-badge {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  position: absolute;
  right: -14px;
  bottom: -20px;
  box-shadow: var(--shadow);
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
}
.float-badge b {
  color: var(--accent);
}

.tech-strip {
  border-block: 1px solid var(--line);
  padding: 20px 0;
}
.tech-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.tech-strip li {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.25s;
}
.card:hover::before {
  opacity: 1;
}
.card {
  position: relative;
  overflow: hidden;
  padding: 30px;
}
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.card p {
  font-size: 14.5px;
  color: var(--text-soft);
}
.card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.project:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.project {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.project.featured {
  grid-column: span 2;
}
.project {
  /* Visuel de projet (placeholder) — remplacez ce bloc par une vraie image :
     <img src="projets/module-rp2350.jpg" alt="Module sécurisé RP2350"> */
}
.project .project-media {
  position: relative;
  aspect-ratio: 21/9;
  display: grid;
  place-items: center;
  background: radial-gradient(420px 220px at 82% 15%, rgba(255, 255, 255, 0.2), transparent 60%), repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 16px), var(--gradient);
  color: rgba(255, 255, 255, 0.92);
}
.project .project-media .pm-icon {
  width: 62px;
  height: 62px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.3));
}
.project.featured .project-media {
  aspect-ratio: 21/8;
}
.project .project-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 28px 28px;
}
.project .project-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 14px;
}
.project .project-meta .chip {
  background: transparent;
}
.project h3 {
  font-size: 20px;
  margin-bottom: 6px;
}
.project .ctx {
  font-weight: 700;
  color: var(--accent);
  font-size: 13px;
  margin-bottom: 10px;
}
.project p.desc {
  font-size: 14.5px;
  color: var(--text-soft);
}
.project .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.project .case-link {
  font-weight: 700;
  color: var(--accent);
  font-size: 14px;
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}
.project .case-link:hover {
  gap: 13px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
}
.step .step-num {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--text-soft);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.post:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.post {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.post .post-media {
  height: 150px;
  display: grid;
  place-items: center;
  background: radial-gradient(240px 120px at 50% 0%, var(--glow-1), transparent 70%), var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.post .icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gradient);
  color: #fff;
  display: grid;
  place-items: center;
}
.post .post-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 26px 26px;
}
.post .post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 12px;
}
.post .post-cat {
  font-weight: 700;
  color: var(--accent);
}
.post h3 {
  font-size: 17px;
  margin-bottom: 10px;
}
.post h3 a:hover {
  color: var(--brand-cyan);
}
.post p {
  font-size: 14px;
  color: var(--text-soft);
  flex: 1;
}
.post .read-more {
  font-weight: 700;
  color: var(--accent);
  font-size: 14px;
  margin-top: 18px;
}
.post .read-more:hover {
  text-decoration: underline;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

/* Photo — remplacez ce bloc par : <img src="portrait.jpg" alt="Aurélien Valade"> */
.portrait {
  aspect-ratio: 4/5;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(300px 200px at 80% 10%, var(--glow-1), transparent 65%), repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 16px), var(--gradient);
}
.portrait span {
  font-size: 72px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.04em;
}

.about-copy p {
  color: var(--text-soft);
  margin-bottom: 16px;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 6px;
}

.timeline {
  border-left: 2px solid var(--line);
  padding-left: 26px;
  margin-top: 26px;
  display: grid;
  gap: 18px;
}
.timeline li {
  position: relative;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient);
}
.timeline li b {
  display: block;
  font-size: 15px;
}
.timeline li span {
  font-size: 13px;
  color: var(--text-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}
.contact-item .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand-blue);
  display: grid;
  place-items: center;
}
[data-theme=dark] .contact-item .icon {
  color: var(--brand-cyan);
}
.contact-item b {
  display: block;
  font-size: 15px;
}
.contact-item span,
.contact-item a {
  font-size: 14px;
  color: var(--text-soft);
}
.contact-item a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 34px;
}

.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
  /* The required-field star is a purely visual signal; the native
     `required` attribute stays the only semantic one. */
}
.field label .req-star {
  color: var(--danger);
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  font: inherit;
  font-size: 15px;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--brand-cyan);
  outline-offset: 1px;
  border-color: transparent;
}

.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-soft);
}

/* The asterisk legend, now sitting above the submit button. Only it is bolded:
   the other notes (the "no JavaScript" reminder) share `.form-note`. */
.form-note.form-legend {
  margin-top: 0;
  margin-bottom: 14px;
  font-weight: 700;
}

/* Contact form: the states `assets/js/contact-form.js` drives. */
.field.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
}
.field.consent input {
  /* The box has to read as a checkbox: 20 px, aligned with the label's
     first line (13 px × 1.55 ≈ 20 px of leading). */
  width: 20px;
  height: 20px;
  padding: 0;
  margin-top: 0;
  accent-color: var(--brand-blue);
}
.field.consent label {
  font-weight: 400;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 0;
}
.field.consent {
  /* The starred lead-in names the field; the notice text stays light. */
}
.field.consent label b {
  font-weight: 700;
}
.field.consent a {
  color: var(--accent);
  text-decoration: underline;
}

.field input[aria-invalid=true],
.field textarea[aria-invalid=true] {
  border-color: var(--danger);
}

/* The honeypot is hidden by the markup; this keeps it hidden even if a
   stylesheet rule later reveals `.field` children. */
.honeypot {
  display: none !important;
}

altcha-widget {
  display: block;
  margin-bottom: 18px;
}

.form-status {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
}
.form-status:empty {
  margin-top: 0;
}
.form-status {
  /* Red reliably means "not sent"; the accent means the request left the
     browser. Both reuse the existing tokens — no new colors in either
     theme (they are set once on `:root`, shared by light and dark). */
}
.form-status.status-error {
  color: var(--danger);
}
.form-status.status-success {
  color: var(--accent);
}

.single-page a {
  color: var(--accent);
  text-decoration: underline;
}
.single-page p {
  margin-top: 18px;
}
.single-page h2 {
  margin-top: 32px;
  margin-bottom: 18px;
  font-size: clamp(24px, 3vw, 32px);
}
.single-page h3 {
  margin-top: 28px;
  margin-bottom: 16px;
}
.single-page .post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 12px;
}
.single-page .post-cat {
  font-weight: 700;
  color: var(--accent);
}
.single-page ul {
  padding-top: 0.6em;
  list-style-type: "→ ";
  list-style-position: inside;
}
.single-page li {
  padding-left: 1em;
}
.single-page .floating {
  position: relative;
  float: right;
}

.site-footer {
  background: var(--deep);
  color: #fff;
  padding: 64px 0 30px;
}
[data-theme=dark] .site-footer {
  background: #050F1E;
}
.site-footer h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.65);
}
.site-footer p,
.site-footer a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.site-footer .footer-list {
  display: grid;
  gap: 10px;
}
.site-footer .footer-brand .tag {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}
.site-footer {
  /* Le footer est toujours sombre → on force toujours le logo clair */
}
.site-footer .logo-dark {
  display: none !important;
}
.site-footer .logo-light {
  display: block !important;
}
.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 1024px) {
  .cards-grid,
  .posts-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 72px 0 64px;
  }
  .hero-visual {
    max-width: 540px;
    margin-inline: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .burger {
    display: grid;
  }
  .header-cta {
    display: none;
  }
  .main-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 5% 24px;
  }
  .main-nav a {
    display: block;
    padding: 10px 0;
    font-size: 16px;
  }
}
@media (max-width: 640px) {
  section {
    padding: 72px 0;
  }
  .cards-grid,
  .posts-grid,
  .projects-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .project.featured {
    grid-column: span 1;
  }
  .hero-stats {
    gap: 26px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .float-badge {
    right: 8px;
    bottom: -18px;
  }
}

/*# sourceMappingURL=style.css.map */