/* ============================================================
   Nuvexa Studio — Landing page styles
   Flat / architectural design system: zero border-radius,
   strong 2px navy rules, Archivo for display, IBM Plex Sans
   for body copy.
   ============================================================ */

:root {
  --bg: #F5F3F0;
  --navy: #0D1E30;
  --orange: #F4593C;
  --orange-hover: #D8441F;
  --orange-active: #B93816;
  --teal: #17A8A0;
  --text-secondary: #5C6672;
  --text-meta: #7C8794;
  --border: #C9CED5;
  --border-2: #DCD8D3;

  --font-heading: 'Archivo', sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;

  --nav-breakpoint: 960px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img { max-width: 100%; }

a {
  color: var(--navy);
  text-decoration: none;
}
a:hover { color: var(--orange); }

*:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

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

h1, h2, h3 { font-family: var(--font-heading); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 48px);
  padding-right: clamp(20px, 5vw, 48px);
}

.section {
  scroll-margin-top: 74px;
}
.section .container {
  padding-top: clamp(48px, 6vw, 76px);
  padding-bottom: clamp(52px, 7vw, 84px);
}

.section--bb { border-bottom: 2px solid var(--navy); }
.section--bt { border-top: 2px solid var(--navy); }

.section--navy { background: var(--navy); color: #fff; }
.section--navy h2 { color: #fff; }

/* Reveal-on-scroll (JS toggles opacity/transform) */
[data-reveal] { transition: opacity .55s ease, transform .55s ease; }

/* ---------------- Section head / labels ---------------- */

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section-head--tight { margin-bottom: 26px; }

.section-head h2,
h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

.section-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-meta);
}
.section-label--light { color: rgba(255,255,255,0.5); }

.section-intro {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 clamp(36px, 5vw, 56px);
  max-width: 66ch;
}

/* ---------------- Buttons / links ---------------- */

.btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 17px 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--orange); color: #fff; }

.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-hover); color: #fff; }
.btn-orange:active { background: var(--orange-active); }

.btn-outline-navy {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
  padding: 15px 24px;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

.btn-sm {
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 12px 14px;
}

.arrow { font-family: var(--font-heading); }

.text-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 3px;
  transition: color .18s ease, border-color .18s ease;
}
.text-link:hover { color: var(--navy); border-color: var(--navy); }

.text-link--navy {
  color: var(--navy);
  border-bottom: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.text-link--navy:hover { color: var(--orange); border-color: var(--orange); }

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 2px solid var(--navy);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo { display: flex; align-items: center; flex: 0 0 auto; }
.header-logo img { display: block; height: 34px; width: auto; }

.nav-desktop {
  display: none;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
  transition: color .18s ease, border-color .18s ease;
}
.nav-link:hover { color: var(--navy); }
.nav-link.is-active { color: var(--navy); border-bottom-color: var(--orange); }

.nav-mobile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburger {
  width: 44px;
  height: 44px;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background .18s ease, color .18s ease;
}
.hamburger:hover { background: var(--navy); color: #fff; }

.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 2px solid var(--navy);
  background: var(--bg);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  padding: 18px clamp(20px, 5vw, 48px);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-2);
  transition: background .18s ease, color .18s ease;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { background: var(--navy); color: #fff; }

@media (min-width: 960px) {
  .nav-desktop { display: flex; }
  .nav-mobile { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------------- Hero ---------------- */

.hero .container { padding-bottom: clamp(56px, 8vw, 96px); padding-top: clamp(52px, 8vw, 92px); }

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(26px, 3vw, 34px);
}
.kicker-line { width: 42px; height: 2px; background: var(--orange); display: block; }
.kicker-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.hero-title {
  font-weight: 800;
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 16ch;
  text-wrap: pretty;
}

.hero-text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 26px 0 0;
  max-width: 46ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-card {
  border: 2px solid var(--navy);
  display: flex;
  flex-direction: column;
}
.hero-card-row { padding: 20px 24px 22px; border-bottom: 2px solid var(--navy); }
.hero-card-row--navy { background: var(--navy); border-bottom: none; padding-bottom: 24px; }
.hero-card-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-meta);
  margin-bottom: 8px;
}
.hero-card-label--light { color: rgba(255,255,255,0.55); }
.hero-card-value {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
}
.hero-card-value--accent { font-weight: 700; color: var(--orange); }

/* ---------------- Grid-line tile layouts (Services / Studio / Méthode) ---------------- */

.grid-lines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2px;
  background: var(--border);
}
.grid-lines--dark { background: rgba(255,255,255,0.22); }

.studio-grid { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }

.tile {
  background: var(--bg);
  padding: 28px 26px 32px;
  border-top: 2px solid var(--navy);
  transition: box-shadow .18s ease, background .18s ease;
}
.tile:hover { box-shadow: inset 0 0 0 2px var(--orange); background: #fff; }

.tile-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  margin: 22px 0 10px;
}
.studio-grid .tile-title { margin: 0 0 12px; font-size: 19px; }

.tile-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* ---------------- Réalisations ---------------- */

.realisations-divider {
  border-top: 2px solid var(--navy);
  padding-top: 22px;
  margin-bottom: clamp(28px, 3.5vw, 40px);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.work-card {
  border: 2px solid var(--navy);
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--orange); }

.work-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-bottom: 2px solid var(--navy);
  background: var(--bg);
}
.image-placeholder {
  position: absolute;
  inset: 10px;
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-meta);
}

.work-body { padding: 22px 22px 26px; }
.work-kicker {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.work-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 10px;
}
.work-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 18px;
}
.work-meta {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-meta);
}
.work-meta-year { color: var(--navy); }

.work-footnote {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-meta);
  margin: 24px 0 0;
  max-width: 60ch;
}

/* ---------------- Offres ---------------- */

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.offer-card {
  border: 2px solid var(--navy);
  background: var(--bg);
  padding: 30px 28px 32px;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.offer-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--orange); }

.offer-card--featured {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.offer-card--featured .offer-text { color: rgba(255,255,255,0.72); }

.offer-kicker {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.offer-kicker--orange { color: var(--orange); }
.offer-kicker--teal { color: var(--teal); }

.offer-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 26px;
  margin: 14px 0 12px;
}

.offer-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 24px;
}

.offer-list {
  border-top: 2px solid var(--navy);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 15px;
  line-height: 1.5;
}
.offer-list > div { display: flex; gap: 10px; }
.offer-list--orange { border-top-color: var(--orange); }

.bullet { font-family: var(--font-heading); font-weight: 800; }
.bullet--orange { color: var(--orange); }
.bullet--teal { color: var(--teal); }

.offer-footer { margin-top: auto; padding-top: 28px; }
.offer-footer-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-meta);
  margin-bottom: 6px;
}
.offer-footer-label--light { color: rgba(255,255,255,0.55); }
.offer-footer-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
}

/* ---------------- Méthode ---------------- */

.methode-grid .step {
  background: var(--navy);
  padding: 26px 24px 30px;
  border-top: 2px solid rgba(255,255,255,0.35);
  transition: background .18s ease;
}
.methode-grid .step:hover { background: #16293D; }
.methode-grid .step--orange { border-top-color: var(--orange); }

.step-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  color: #fff;
}
.step-number--orange { color: var(--orange); }

.step-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  margin: 16px 0 10px;
}

.step-text {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  margin: 0 0 18px;
}

.step-meta {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ---------------- FAQ ---------------- */

.section--faq .container.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.section--faq h2 { margin: 0 0 18px; }

.faq-intro {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 22px;
  max-width: 38ch;
}

.accordion {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--navy);
}

.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item--last { border-bottom: none; }

.accordion-summary {
  cursor: pointer;
  padding: 20px 4px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  list-style: none;
}
.accordion-summary::-webkit-details-marker { display: none; }
.accordion-summary::marker { content: ''; }

.nx-q {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  transition: color .18s ease;
}
.nx-sign {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: var(--orange);
  transition: transform .2s ease;
  flex: 0 0 auto;
}

details[open] .nx-sign { transform: rotate(45deg); }
details[open] .nx-q { color: var(--orange); }

.accordion-answer {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
  padding: 0 40px 22px 4px;
}

/* ---------------- CTA band ---------------- */

.section--cta {
  background: var(--orange);
}
.section--cta .container { padding-top: clamp(44px, 6vw, 68px); padding-bottom: clamp(44px, 6vw, 68px); }

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.cta-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 20ch;
  text-wrap: pretty;
}

.cta-text {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
  margin: 0 0 26px;
  max-width: 42ch;
}

.section--cta .btn-navy:hover { background: #fff; color: var(--navy); }

/* ---------------- Contact ---------------- */

.contact-intro {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: -18px 0 clamp(32px, 4vw, 44px);
  max-width: 60ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.contact-form {
  border: 2px solid var(--navy);
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-meta);
}

.nx-field {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--navy);
  background: #fff;
  border: 2px solid var(--border);
  padding: 12px 14px;
  width: 100%;
  border-radius: 0;
}
.nx-field:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--navy); }
textarea.nx-field { resize: vertical; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  border-top: 2px solid var(--navy);
  padding-top: 20px;
}

.form-error {
  font-size: 14px;
  line-height: 1.5;
  color: var(--orange-active);
  font-weight: 500;
}

.contact-success {
  border: 2px solid var(--navy);
  background: #fff;
  padding: 30px 28px 32px;
}
.success-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 23px;
  margin: 18px 0 10px;
}
.success-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 22px;
  max-width: 40ch;
}

.contact-info {
  background: var(--navy);
  color: #fff;
  padding: 32px 30px 34px;
  width: 100%;
  max-width: 494px;
}
.contact-info-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
}
.contact-email {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(17px, 1.8vw, 22px);
  color: var(--orange);
  word-break: break-all;
  transition: color .18s ease;
}
.contact-email:hover { color: #fff; }

.contact-info-block {
  border-top: 1px solid rgba(255,255,255,0.22);
  margin-top: 22px;
  padding-top: 22px;
}
.contact-info-value {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  color: #fff;
  transition: color .18s ease;
}
.contact-info-value--link:hover { color: var(--orange); }

/* ---------------- Footer ---------------- */

.site-footer { background: var(--navy); color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
  padding-top: clamp(40px, 5vw, 60px);
  padding-bottom: clamp(28px, 3vw, 36px);
}

.footer-logo { display: block; margin-bottom: 20px; }
.footer-text {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.68);
  margin: 0;
  max-width: 40ch;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.footer-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  transition: color .18s ease;
}
.footer-nav a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  padding-bottom: clamp(32px, 4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.footer-domain {
  font-family: var(--font-heading);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
}
