@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap');

/* ===== Variables ===== */
:root {
  --navy: #002C43;
  --cyanmarine: #0D73A6;
  --civic: #F8FAFC;
  --slate: #475569;
  --white: #ffffff;

  --font-heading: 'Sora', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius: 0.25rem;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--civic);
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

::selection {
  background-color: rgba(13, 115, 166, 0.2);
  color: var(--navy);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cyanmarine);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ===== Icons ===== */
.icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  display: block;
}

.icon-lg {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-xs {
  width: 0.75rem;
  height: 0.75rem;
}

/* ===== Helpers ===== */
.title-display {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em; /* Remplacé 0.15em par 0.05em */
  font-weight: 700;
}

.rule-geo-x {
  border-top: 1px solid rgba(1, 2, 2, 0.2);
}

.kicker {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.4;
}

.kicker-cyan {
  color: var(--cyanmarine);
}

.kicker-white {
  color: rgba(255, 255, 255, 0.7);
}

.kicker-rule .rule {
  display: block;
  width: 2.5rem;
  height: 1px;
}

.rule-cyan {
  background-color: var(--cyanmarine);
}

.rule-white {
  background-color: rgba(255, 255, 255, 0.7);
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ===== Layout ===== */
.main {
  min-height: 100vh;
  background-color: var(--civic);
}

@media (min-width: 1024px) {
  .main {
    padding-left: 18rem; /* w-72 */
  }
}

/* ===== Sidebar (desktop) ===== */
.sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .sidebar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 18rem;
    z-index: 50;
    flex-direction: column;
    background-color: var(--navy);
    color: var(--white);
    padding: 2.5rem 2rem;
  }

  .sidebar-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
  }

  .head-text {
    line-height: 1.2;
  }

  .head-kicker {
    font-family: var(--font-heading);
    font-size: 0.625rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--cyanmarine);
    display: block;
    margin-bottom: 0.375rem;
  }

  .sidebar .nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 1rem;
  }

  .nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease, background-color 0.2s ease;
    text-align: left;
    position: relative;
    line-height: 1.4;
  }

  .nav-link::after {
    content: "";
    margin-left: auto;
    height: 1px;
    width: 0;
    background-color: var(--cyanmarine);
    transition: width 0.2s ease;
  }

  .nav-link:hover {
    color: var(--white);
  }

  .nav-link:hover::after {
    width: 1rem;
  }

  .nav-link.active {
    color: var(--cyanmarine);
    background-color: rgba(255, 255, 255, 0.05);
  }

  .nav-link.active::after {
    width: 1.5rem;
  }

  .nav-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1.4;
  }

  .sidebar-foot {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .foot-kicker {
    font-family: var(--font-heading);
    font-size: 0.625rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.5rem;
    line-height: 1.4;
  }

  .foot-sub {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
  }
}

.blason {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.blason-sm {
  width: 2.25rem;
  height: 2.25rem;
}

.logo {
  height: 1.5rem;
  width: auto;
  filter: brightness(0) invert(1);
}

/* ===== Mobile bar ===== */
.mobile-bar {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--navy);
  color: var(--white);
  padding: 1rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.mobile-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.4;
}

.menu-btn {
  padding: 0.5rem;
  margin-right: -0.5rem;
  color: var(--white);
  display: flex;
}

@media (min-width: 1024px) {
  .mobile-bar {
    display: none;
  }
}

/* Mobile offset so content isn't hidden under fixed bar */
@media (max-width: 1023px) {
  .main {
    padding-top: 4rem; /* approx mobile-bar height */
  }
}

/* ===== Mobile menu ===== */
.mobile-menu {
  position: fixed;
  inset: 4rem 0 0 0;
  z-index: 40;
  background-color: var(--navy);
  color: var(--white);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  overflow-y: auto;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  line-height: 1.4;
}

.mobile-link-label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 640px;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay-1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 44, 67, 0.9), rgba(0, 44, 67, 0.55), rgba(0, 44, 67, 0.2));
}

.hero-overlay-2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--navy), transparent, rgba(0, 44, 67, 0.4));
}

.hero-blason {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10rem;
  opacity: 0.3;
  object-fit: contain;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .hero-blason {
    width: 14rem;
  }
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
  max-width: 48rem;
}

@media (min-width: 640px) {
  .hero-content {
    padding: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 5rem;
  }
}

.hero-title {
  color: var(--white);
  font-size: 2.25rem;
  line-height: 1.1;
  overflow-wrap: break-word;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 6rem;
  }
}

.hero-lead {
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 36rem;
}

@media (min-width: 1024px) {
  .hero-lead {
    font-size: 1.125rem;
    line-height: 1.6;
  }
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  line-height: 1.4;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary:hover {
  background-color: rgba(13, 115, 166, 0.9);
}

.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  border-color: var(--cyanmarine);
}

.btn-discord {
  background-color: var(--navy);
  color: var(--white);
  padding: 1.25rem 2rem;
}

.btn-discord:hover {
  background-color: rgba(0, 44, 67, 0.9);
}

.btn-discord .icon {
  color: var(--cyanmarine);
  width: 1.25rem;
  height: 1.25rem;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
  display: flex;
  animation: bounce 2s infinite;
}

.scroll-cue:hover {
  color: var(--white);
}

.scroll-cue .icon {
  width: 1.5rem;
  height: 1.5rem;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(0.5rem); }
}

/* ===== Sections ===== */
.section {
  padding: 6rem 1.5rem;
}

@media (min-width: 640px) {
  .section {
    padding: 6rem 2.5rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 8rem 5rem;
  }
}

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

.section-navy {
  background-color: var(--navy);
  color: var(--white);
}

.section-marine {
  position: relative;
  background-color: var(--cyanmarine);
  color: var(--white);
  overflow: hidden;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-intro {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 1.875rem;
  line-height: 1.2;
  max-width: 42rem;
  overflow-wrap: break-word;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3.75rem;
  }
}

.section-title-navy {
  color: var(--navy);
}

.section-title-white {
  color: var(--white);
}

/* ===== Cadastre gallery ===== */
.gallery-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.arrow-btn {
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(0, 44, 67, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
  color: var(--navy);
}

.arrow-btn:hover {
  background-color: var(--navy);
  color: var(--white);
}

.arrow-btn .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.gallery-wrap {
  position: relative;
}

.gallery {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}

.gallery::-webkit-scrollbar {
  display: none;
}

.gallery {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.card {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 80vw;
  position: relative;
}

@media (min-width: 640px) {
  .card {
    width: 56vw;
  }
}

@media (min-width: 1024px) {
  .card {
    width: 42vw;
  }
}

@media (min-width: 1280px) {
  .card {
    width: 36vw;
  }
}

.card-img-wrap {
  position: relative;
  height: 440px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.card:hover .card-img {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(13, 115, 166, 0);
  transition: background-color 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card:hover .card-overlay {
  background-color: rgba(13, 115, 166, 0.4);
}

.card-overlay-text {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.card:hover .card-overlay-text {
  opacity: 1;
  transform: translateY(0);
}

.card-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background-color: rgba(0, 44, 67, 0.9);
  color: var(--cyanmarine);
  font-family: var(--font-heading);
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.4;
}

.card-body {
  margin-top: 1.5rem;
}

.card-title {
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.card-desc {
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 28rem;
  margin-bottom: 1.25rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.25rem;
}

.stat-icon {
  width: 1rem;
  height: 1rem;
  color: var(--cyanmarine);
  margin-bottom: 0.5rem;
}

.stat-value {
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.2;
}

.stat-label {
  color: var(--slate);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.375rem;
  line-height: 1.4;
}

/* Edge fades */
.fade {
  position: absolute;
  top: 0;
  bottom: 1rem;
  width: 4rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

@media (min-width: 640px) {
  .fade {
    width: 6rem;
  }
}

.fade-left {
  left: 0;
  background: linear-gradient(to right, var(--civic), transparent);
}

.fade-right {
  right: 0;
  background: linear-gradient(to left, var(--civic), transparent);
}

.fade.visible {
  opacity: 1;
}

/* ===== Journal ===== */
.decree-list {
  display: flex;
  flex-direction: column;
}

.decree-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s ease;
}

.decree-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.decree-item:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

@media (min-width: 640px) {
  .decree-item {
    grid-template-columns: 3fr 2fr 7fr;
    gap: 2rem 2rem;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .decree-item {
    grid-template-columns: 2fr 2fr 8fr;
    padding: 2.5rem 0;
  }
}

.decree-date span {
  color: var(--cyanmarine);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.375rem 0.75rem;
  line-height: 1.4;
}

.decree-title {
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.decree-item:hover .decree-title {
  color: var(--cyanmarine);
}

@media (min-width: 1024px) {
  .decree-title {
    font-size: 1.5rem;
  }
}

.decree-excerpt {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  line-height: 1.6;
}

/* ===== Conseil Municipal ===== */
.official-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 2.5rem;
  margin-bottom: 4rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .official-featured {
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
    padding-top: 2.5rem;
  }
}

.official-id {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.monogram {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--navy);
  color: var(--cyanmarine);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1rem;
  border: 1px solid rgba(13, 115, 166, 0.3);
}

.monogram-lg {
  width: 5rem;
  height: 5rem;
  font-size: 1.5rem;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 0.375rem 0.75rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.role-cyan {
  color: var(--cyanmarine);
  border: 1px solid rgba(13, 115, 166, 0.4);
}

.role-navy {
  color: var(--navy);
  border: 1px solid rgba(0, 44, 67, 0.2);
}

.official-name {
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 0.375rem;
}

@media (min-width: 1024px) {
  .official-name {
    font-size: 1.875rem;
  }
}

.official-sub {
  color: var(--slate);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.official-bio p {
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .official-bio {
    padding-top: 0.5rem;
  }
}

.conseillers {
  padding-top: 2.5rem;
}

.conseillers-title {
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  line-height: 1.4;
}

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

@media (min-width: 640px) {
  .conseiller-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2.5rem;
  }
}

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

.conseiller {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s ease;
}

.conseiller-name {
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.conseiller:hover .conseiller-name {
  color: var(--cyanmarine);
}

.conseiller-deleg {
  color: var(--slate);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-top: 0.375rem;
}

.conseiller-role {
  color: var(--cyanmarine);
  font-family: var(--font-heading);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.375rem;
  line-height: 1.4;
}

/* ===== Portail Citoyen ===== */
.portail-watermark {
  display: none;
  position: absolute;
  right: -2.5rem;
  bottom: 0;
  height: 420px;
  width: auto;
  object-fit: contain;
  opacity: 0.07;
  filter: brightness(0) invert(1);
  pointer-events: none;
  user-select: none;
}

@media (min-width: 1024px) {
  .portail-watermark {
    display: block;
  }
}

.portail-inner {
  position: relative;
  max-width: 48rem;
}

.portail-lead {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 36rem;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .portail-lead {
    font-size: 1.125rem;
    line-height: 1.6;
  }
}

.portail-cta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .portail-cta {
    flex-direction: row;
  }
}

.portail-ip {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.ip-kicker {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.ip-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.ip-code {
  font-family: var(--font-mono);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

@media (min-width: 1024px) {
  .ip-code {
    font-size: 1.875rem;
  }
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 0.625rem 1.25rem;
  transition: background-color 0.2s ease;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.4;
}

.copy-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.copy-btn .icon {
  width: 1rem;
  height: 1rem;
}

.ip-status {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.5;
}

.status-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #4ade80;
}

/* ===== Footer ===== */
.footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 3.5rem 1.5rem;
}

@media (min-width: 640px) {
  .footer {
    padding: 3.5rem 2.5rem;
  }
}

@media (min-width: 1024px) {
  .footer {
    padding: 3.5rem 5rem;
  }
}

.footer-grid {
  padding-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 20rem;
}

.footer-heading {
  color: var(--cyanmarine);
  font-family: var(--font-heading);
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a {
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--cyanmarine);
}

.footer-bottom {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-sign {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-heading);
}
