:root {
  --primary: #c0543a;
  --primary-dark: #9f3f2a;
  --primary-deep: #743020;
  --primary-soft: #f7ece8;
  --ink: #202124;
  --muted: #62656a;
  --line: #ebe3df;
  --paper: #fffdfb;
  --white: #ffffff;
  --cream: #faf6f3;
  --sand: #f6ebe5;
  --shadow: 0 18px 45px rgba(66, 39, 28, 0.12);
  --radius: 22px;
  --radius-small: 14px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(192, 84, 58, 0.07), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(43, 38, 35, 0.045), transparent 34%),
    linear-gradient(180deg, #fffdfb 0%, #fbf8f5 42%, #fffdfb 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(192, 84, 58, 0.32);
  outline-offset: 3px;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.65rem);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 3rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  letter-spacing: -0.02em;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 1000;
}

.skip-link:focus {
  left: 8px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 248, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(192, 84, 58, 0.16);
  box-shadow: 0 8px 24px rgba(74, 38, 28, 0.06);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 280px;
  color: var(--ink);
  text-decoration: none;
}

.brand-partner {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: 168px;
  height: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 16px;
  border-left: 1px solid rgba(192, 84, 58, 0.22);
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.brand-text small {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
}

/* Compatibilité avec l’ancien logo si certaines pages ne sont pas encore modifiées */

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--primary);
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(192, 84, 58, 0.26);
}

.logo small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0;
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 1;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.main-nav a:hover {
  background: rgba(192, 84, 58, 0.09);
  color: var(--primary-dark);
}

.main-nav a[aria-current="page"] {
  background: rgba(192, 84, 58, 0.13);
  color: var(--primary-dark);
  border-color: rgba(192, 84, 58, 0.28);
  box-shadow: inset 0 0 0 1px rgba(192, 84, 58, 0.08);
}

.main-nav .header-cta {
  margin-left: 6px;
  padding-inline: 20px;
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 10px 22px rgba(192, 84, 58, 0.22);
}

.main-nav .header-cta:hover,
.main-nav .header-cta[aria-current="page"] {
  background: var(--primary-dark);
  color: var(--white);
  border-color: var(--primary-dark);
}

.mobile-nav-toggle {
  display: none;
}

/* Hero */

.hero {
  position: relative;
  padding: 72px 0 54px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(192, 84, 58, 0.055), transparent 36%),
    radial-gradient(circle at 80% 18%, rgba(192, 84, 58, 0.10), transparent 28%);
}

.hero-grid > div,
.page-hero .container {
  position: relative;
  z-index: 1;
}

.hero h1,
.page-hero h1 {
  max-width: 900px;
}

.hero h1::after {
  content: "";
  display: block;
  width: 92px;
  height: 6px;
  margin-top: 22px;
  border-radius: 999px;
  background: var(--primary);
}

.hero::after {
  content: "";
  position: absolute;
  left: max(20px, calc((100% - var(--container)) / 2));
  bottom: 22px;
  width: min(360px, 34vw);
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), rgba(192, 84, 58, 0.08));
  opacity: 0.38;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border: 1px solid rgba(192, 84, 58, 0.16);
  padding: 8px 13px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 18px;
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  color: #514842;
  max-width: 720px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(192, 84, 58, 0.22);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  box-shadow: var(--shadow);
}

.btn-light {
  background: var(--white);
  color: var(--primary-dark);
}

.hero-card {
  background: var(--white);
  border: 1px solid rgba(192, 84, 58, 0.14);
  border-radius: 32px;
  padding: 28px;
  box-shadow: 0 16px 38px rgba(66, 39, 28, 0.08);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -36px -28px auto auto;
  width: 150px;
  height: 150px;
  background: var(--primary-soft);
  border-radius: 50%;
  z-index: -1;
}

.hero-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 5px;
  background: var(--primary);
  border-radius: 0 0 999px 999px;
}

.portrait-placeholder {
  min-height: 280px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 70% 30%, rgba(192, 84, 58, 0.24), transparent 32%),
    linear-gradient(135deg, #f5ded4, #fff8f4 62%);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  color: #6c4538;
  font-weight: 800;
}

.portrait-image {
  width: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
  border-radius: 26px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.card-note {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: var(--cream);
  border: 1px solid var(--line);
}

/* Bénéfices */

.proof-strip,
.proof-item {
  display: none;
}

.benefit-strip {
  margin-top: 36px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-left: 0;
}

.benefit-strip li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: #3b302c;
  font-weight: 850;
  background: transparent;
  border: 0;
}

.benefit-strip .mini-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary-dark);
  border: 1px solid rgba(192, 84, 58, 0.22);
  box-shadow: 0 5px 14px rgba(66, 39, 28, 0.07);
}

.benefit-strip .mini-icon svg {
  width: 15px;
  height: 15px;
}

/* Sections */

.section {
  padding: 72px 0;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.18)),
    #f9f4f0;
}

.section-primary {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
}

.section-primary .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
}

.section-header {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-primary .section-header p {
  color: rgba(255, 255, 255, 0.86);
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 16px 38px rgba(66, 39, 28, 0.08);
}

.card,
.panel,
.hero-card,
.local-band,
.network-card {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.82) inset,
    0 18px 50px rgba(66, 39, 28, 0.09);
}

.card.highlight {
  border-color: rgba(192, 84, 58, 0.28);
  background: linear-gradient(180deg, #fff, #fffaf7);
}

.card p,
.feature p,
.step p,
.faq-answer {
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--primary-dark);
  font-weight: 900;
  border: 1px solid rgba(192, 84, 58, 0.32);
  background: #fffaf7;
  border-radius: 999px;
  padding: 10px 14px;
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(192, 84, 58, 0.08);
}

.card-link::after {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  opacity: 0.55;
}

.card-link:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Icônes inline SVG */

.bi-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: currentColor;
}

.bi-icon svg {
  width: 1em;
  height: 1em;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 16px;
  border: 1px solid rgba(192, 84, 58, 0.16);
}

.icon .bi-icon,
.icon > .bi-icon {
  font-size: 1.55rem;
}

.icon-small {
  width: 44px;
  height: 44px;
  border-radius: 16px;
}

.icon-small .bi-icon,
.icon.icon-small > .bi-icon {
  font-size: 1.32rem;
}

.mini-icon {
  flex: 0 0 auto;
  border-radius: 50%;
  font-size: 1.05rem;
}

.section-icon {
  font-size: 1.15rem;
}

.panel-title,
.title-with-icon {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-title h2,
.panel-title h3,
.title-with-icon h2 {
  margin-bottom: 0;
}

.panel-title .mini-icon,
.title-with-icon .section-icon,
.step-icon {
  color: var(--primary-dark);
  background: var(--primary-soft);
  border: 1px solid rgba(192, 84, 58, 0.18);
  width: 42px;
  height: 42px;
  border-radius: 16px;
  padding: 10px;
}

.title-with-icon .section-icon {
  border-radius: 50%;
}

.step-icon .bi-icon {
  font-size: 1.2rem;
}

/* Cartes */

.service-card,
.feature-card {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.service-card:hover,
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(192, 84, 58, 0.24);
}

.card.service-card,
.card.feature-card {
  position: relative;
  overflow: hidden;
}

.card.service-card::before,
.card.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), rgba(192, 84, 58, 0.18));
}

.card.service-card:nth-child(2)::before,
.card.feature-card:nth-child(2)::before {
  opacity: 0.65;
}

.card.service-card:nth-child(3)::before,
.card.feature-card:nth-child(3)::before {
  opacity: 0.45;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.78fr);
  gap: 42px;
  align-items: start;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 16px 38px rgba(66, 39, 28, 0.08);
}

.check-list,
.clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li,
.clean-list li {
  padding: 11px 0 11px 30px;
  position: relative;
  border-bottom: 1px solid rgba(232, 223, 218, 0.7);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 11px;
  color: var(--primary);
  font-weight: 900;
}

.clean-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  top: 11px;
  color: var(--primary);
  font-weight: 900;
}

/* Étapes */

.steps {
  counter-reset: steps;
  display: grid;
  gap: 16px;
}

.step {
  counter-increment: steps;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 24px 86px;
  position: relative;
}

.step::before {
  content: counter(steps);
  position: absolute;
  left: 24px;
  top: 24px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--white);
  font-weight: 900;
}

.step-icon {
  position: absolute;
  right: 24px;
  top: 24px;
  display: grid;
  place-items: center;
}

/* Bande locale */

.local-band {
  background:
    linear-gradient(120deg, rgba(192, 84, 58, 0.05), rgba(255, 255, 255, 0.88)),
    var(--white);
  border: 1px solid rgba(192, 84, 58, 0.16);
  border-radius: 30px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  box-shadow: 0 16px 38px rgba(66, 39, 28, 0.08);
}

.quote {
  font-size: 1.25rem;
  color: #3b302c;
  border-left: 4px solid var(--primary);
  padding-left: 18px;
  margin: 0;
}

/* Réseau Meilleurtaux */

.network-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.14), transparent 25%),
    linear-gradient(135deg, var(--primary-deep), var(--primary) 62%, #d8785e);
}

.network-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.68fr) minmax(0, 1.32fr);
  gap: 52px;
  align-items: center;
  padding: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 34px;
  background: rgba(78, 30, 20, 0.22);
  backdrop-filter: blur(8px);
}

.network-mark {
  padding: 34px;
  border-radius: 26px;
  background: var(--white);
  transform: rotate(-2deg);
  box-shadow: 0 22px 50px rgba(65, 24, 16, 0.2);
}

.network-mark img {
  width: 100%;
  height: auto;
}

.network-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.network-copy .eyebrow {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
}

.network-copy p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.06rem;
}

.network-note {
  margin: 24px 0 0;
  padding-left: 18px;
  border-left: 3px solid rgba(255, 255, 255, 0.65);
  font-weight: 800;
}

/* Formulaire */

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
  color: #3b302c;
}

.required-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.required-mark,
.required-note span {
  color: var(--primary);
  font-weight: 900;
}

.turnstile-field {
  overflow: hidden;
}

.turnstile-field iframe {
  max-width: 100%;
}

.consent {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  gap: 10px !important;
  font-size: 0.82rem;
  font-weight: 600 !important;
  color: var(--muted) !important;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--primary);
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.form-status.is-success {
  color: #287044;
  font-weight: 800;
}

.form-status.is-error {
  color: #9b2f25;
  font-weight: 800;
}

.form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form .btn:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  transform: none;
}

.form .btn.is-loading:disabled {
  cursor: wait;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: grid;
  gap: 3px;
  width: min(380px, calc(100vw - 32px));
  padding: 17px 20px;
  border: 1px solid rgba(40, 112, 68, 0.24);
  border-radius: 16px;
  background: #fff;
  color: #3b302c;
  box-shadow: 0 18px 50px rgba(45, 32, 27, 0.2);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast[hidden] {
  display: none;
}

.toast::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: 16px 0 0 16px;
  background: #287044;
}

.toast strong {
  color: #287044;
}

.toast span {
  color: var(--muted);
  font-size: 0.9rem;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .toast {
    right: 16px;
    bottom: 16px;
  }
}

.text-link {
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(192, 84, 58, 0.35);
  text-underline-offset: 3px;
}

.credit-warning {
  padding-block: 28px;
  background: #fff4ed;
  border-block: 1px solid rgba(192, 84, 58, 0.2);
  color: #5e2e23;
}

.credit-warning p {
  margin: 0;
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.legal-summary {
  position: sticky;
  top: 108px;
}

.legal-summary h2 {
  font-size: 1.35rem;
}

.legal-summary a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-weight: 700;
}

.legal-summary a:hover {
  color: var(--primary-dark);
}

.legal-sections {
  display: grid;
  gap: 18px;
}

.legal-sections .panel {
  scroll-margin-top: 110px;
}

.legal-warning {
  margin-top: 4px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(192, 84, 58, 0.22);
  border-color: var(--primary);
}

/* FAQ */

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq-question {
  font-weight: 900;
  margin-bottom: 6px;
}

/* Pages internes */

.page-hero {
  padding: 70px 0 44px;
  background:
    radial-gradient(circle at 82% 20%, rgba(192, 84, 58, 0.10), transparent 30%),
    linear-gradient(135deg, #fffdfb, #f9f3ef);
  border-bottom: 1px solid rgba(192, 84, 58, 0.10);
}

.breadcrumb {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

/* Page secteur */

.sector-hero {
  background:
    linear-gradient(90deg, rgba(255, 253, 251, 0.98), rgba(255, 253, 251, 0.76)),
    url("images/carte-secteur.jpg") center 46% / cover;
}

.sector-hero .lead {
  max-width: 780px;
}

.map-layout {
  display: grid;
  gap: 34px;
}

.sector-map {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(192, 84, 58, 0.18);
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.sector-map img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.sector-map figcaption {
  padding: 12px 8px 4px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.map-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 42px;
  align-items: start;
}

.map-intro .check-list {
  padding: 8px 24px;
  border-left: 1px solid rgba(192, 84, 58, 0.18);
}

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

.area-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(66, 39, 28, 0.07);
}

.area-number {
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(192, 84, 58, 0.13);
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1;
}

.area-card h3,
.area-card p,
.town-list {
  position: relative;
  z-index: 1;
}

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

.town-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.town-list li {
  padding: 7px 11px;
  border: 1px solid rgba(192, 84, 58, 0.18);
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.agency-section {
  background:
    radial-gradient(circle at 86% 10%, rgba(192, 84, 58, 0.11), transparent 26%),
    var(--paper);
}

.agency-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 46px;
  align-items: center;
  padding: 44px;
  border: 1px solid rgba(192, 84, 58, 0.16);
  border-radius: 32px;
  background: var(--white);
}

.agency-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.agency-details div {
  padding: 18px;
  border-radius: 18px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.agency-details strong,
.agency-details span {
  display: block;
}

.agency-details strong {
  margin-bottom: 5px;
  color: var(--primary-dark);
}

.agency-brand {
  padding: 38px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 236, 232, 0.92));
  border: 1px solid rgba(192, 84, 58, 0.2);
  text-align: center;
  transform: rotate(1.5deg);
}

.agency-brand span {
  display: block;
  margin-bottom: 24px;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.agency-brand p {
  margin: 22px 0 0;
  color: var(--muted);
  font-weight: 800;
}

/* Footer */

.site-footer {
  background: #211b18;
  color: rgba(255, 255, 255, 0.86);
  padding: 54px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}

.footer-grid h3,
.footer-grid h4 {
  color: var(--white);
}

.footer-grid a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.notice {
  font-size: 0.88rem;
  color: var(--muted);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

/* Responsive */

@media (max-width: 1080px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 16px;
    padding-block: 14px;
  }

  .brand {
    min-width: auto;
    flex: 1;
  }

  .brand-logo {
    width: 150px;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .main-nav a {
    flex: 0 0 auto;
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .split,
  .local-band,
  .map-intro,
  .agency-card {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-2,
  .benefit-strip {
    grid-template-columns: 1fr 1fr;
  }

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

  .agency-brand {
    max-width: 480px;
  }

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

  .legal-summary {
    position: static;
  }

  .network-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .network-mark {
    max-width: 420px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: auto;
  }

  .brand {
    gap: 12px;
  }

  .brand-logo {
    width: 132px;
  }

  .brand-text {
    padding-left: 12px;
  }

  .brand-text strong {
    font-size: 0.92rem;
  }

  .brand-text small {
    font-size: 0.72rem;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(192, 84, 58, 0.24);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font-weight: 800;
    cursor: pointer;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    padding: 10px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 16px 36px rgba(74, 38, 28, 0.1);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    justify-content: flex-start;
    width: 100%;
    padding-inline: 16px;
  }

  .main-nav .header-cta {
    margin-left: 0;
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero,
  .section,
  .page-hero {
    padding: 46px 0;
  }

  .grid-3,
  .grid-2,
  .benefit-strip,
  .area-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .benefit-strip {
    margin-top: 24px;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-card,
  .panel,
  .card,
  .local-band,
  .network-card,
  .agency-card,
  .area-card {
    padding: 22px;
    border-radius: 20px;
  }

  .agency-details {
    grid-template-columns: 1fr;
  }

  .sector-map {
    padding: 8px;
    border-radius: 20px;
  }

  .map-intro .check-list {
    padding: 0;
    border-left: 0;
  }

  .network-mark {
    padding: 24px;
  }

  .step {
    padding: 82px 22px 22px;
  }

  .step::before {
    left: 22px;
    top: 22px;
  }

  .step-icon {
    right: 22px;
    top: 22px;
  }

  .brand-text {
    display: none;
  }

  .brand-logo {
    width: 145px;
  }

  .hero::after {
    display: none;
  }

  .logo small {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-grid > div,
  .hero-card,
  .page-hero .container {
    animation: reveal-up 0.65s cubic-bezier(.2, .75, .25, 1) both;
  }

  .hero-card {
    animation-delay: 0.12s;
  }

  @keyframes reveal-up {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
