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

:root {
  --black: #050505;
  --dark: #111111;
  --graphite: #1a1a1a;
  --graphite-2: #242424;
  --white: #ffffff;
  --muted: #a7a7a7;
  --soft: #e8e8e8;
  --accent: #e50914;
  --accent-dark: #8e050d;
  --line: rgba(255, 255, 255, 0.11);
  --glass: rgba(255, 255, 255, 0.055);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.45);
  --display: "Syne", sans-serif;
  --body: "Inter", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --scroll-progress: 0%;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
  overflow-x: hidden;
  width: 100%;
}

body {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(229, 9, 20, 0.16),
      transparent 32rem
    ),
    radial-gradient(
      circle at 10% 38%,
      rgba(255, 255, 255, 0.07),
      transparent 24rem
    ),
    linear-gradient(180deg, #050505 0%, #0b0b0b 48%, #050505 100%);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  height: 2px;
  width: var(--scroll-progress);
  background: linear-gradient(90deg, transparent, var(--accent), #ff6b72);
  box-shadow: 0 0 24px rgba(229, 9, 20, 0.85);
}

/* ===========================
   NAVBAR
   =========================== */
nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 100;
  width: min(1120px, calc(100% - 2rem));
  max-width: calc(100vw - 2rem);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 0.85rem 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.62);
  backdrop-filter: blur(24px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  transition:
    border-color 0.35s var(--ease),
    background 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

nav.scrolled {
  background: rgba(5, 5, 5, 0.82);
  border-color: rgba(229, 9, 20, 0.3);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.44);
}

.nav-logo,
.nav-logo img,
.footer-logo,
.footer-logo img {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  overflow: hidden;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(229, 9, 20, 0.34);
  border-radius: 50%;
  color: var(--white);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(
    145deg,
    rgba(229, 9, 20, 0.34),
    rgba(255, 255, 255, 0.04)
  );
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.08),
    0 0 24px rgba(229, 9, 20, 0.14);
}

.nav-logo img,
.footer-logo img {
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 1rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    color 0.25s var(--ease),
    background 0.25s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.35rem;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(229, 9, 20, 0.75);
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  color: var(--white) !important;
  background: rgba(229, 9, 20, 0.18) !important;
  border: 1px solid rgba(229, 9, 20, 0.35);
}

.nav-menu-btn {
  display: none;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 9rem 0 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 8rem -12vw 0;
  opacity: calc(0.32 + (var(--scroll-progress-num, 0) * 0.001));
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 55% 40%, black, transparent 68%);
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 28px rgba(229, 9, 20, 0.9);
  animation: floatParticle 8s ease-in-out infinite;
}

.particle-a {
  top: 24%;
  left: 9%;
}
.particle-b {
  top: 18%;
  right: 16%;
  animation-delay: -2s;
}
.particle-c {
  bottom: 20%;
  left: 45%;
  animation-delay: -4s;
}

.grid-orbit {
  position: absolute;
  right: 6%;
  top: 18%;
  width: min(36vw, 440px);
  aspect-ratio: 1;
  border: 1px solid rgba(229, 9, 20, 0.16);
  border-radius: 50%;
  animation: spin 22s linear infinite;
}

.grid-orbit::before,
.grid-orbit::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
}

.grid-orbit::after {
  inset: 30%;
  border-color: rgba(229, 9, 20, 0.2);
}

.hero-eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.05rem;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-eyebrow span,
.section-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.75);
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.96;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

h1 {
  max-width: 740px;
  margin-bottom: 1.4rem;
  font-size: clamp(3.15rem, 7vw, 6.8rem);
}

h2 {
  max-width: 760px;
  margin-bottom: 2.5rem;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
}

.hero-desc {
  max-width: 610px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.35rem;
  overflow: hidden;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--line);
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transition: transform 0.6s var(--ease);
}

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

.btn:hover::before {
  transform: translateX(120%) skewX(-18deg);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-color: rgba(229, 9, 20, 0.58);
  box-shadow: 0 18px 42px rgba(229, 9, 20, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 22px 62px rgba(229, 9, 20, 0.34);
}

.btn-ghost,
.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
}

.btn-ghost:hover,
.btn-outline:hover {
  border-color: rgba(229, 9, 20, 0.44);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.hero-indicators {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 560px;
  margin-top: 2.2rem;
}

.hero-indicators div,
.about-stats div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px);
}

.hero-indicators strong,
.about-stats strong {
  display: block;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1;
}

.hero-indicators span,
.about-stats span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.portrait-shell {
  position: relative;
  width: min(100%, 470px);
  min-height: 620px;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.025)
    ),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    var(--shadow),
    0 0 70px rgba(229, 9, 20, 0.13);
  transform-style: preserve-3d;
  will-change: transform;
}

.portrait-shell::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    140deg,
    rgba(229, 9, 20, 0.8),
    rgba(255, 255, 255, 0.14),
    transparent 58%
  );
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.portrait-glow {
  position: absolute;
  inset: auto -8% -6% 16%;
  height: 170px;
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.35);
  filter: blur(60px);
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 590px;
  border-radius: 26px;
  object-fit: cover;
  object-position: 58% 42%;
  filter: saturate(0.92) contrast(1.08) brightness(0.88);
  transition:
    filter 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.portrait-shell:hover .hero-photo {
  filter: saturate(1.04) contrast(1.12) brightness(0.95);
  transform: scale(1.018);
}

.availability-pill,
.floating-card {
  position: absolute;
  z-index: 2;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.66);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.availability-pill {
  top: 1.8rem;
  left: 1.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.availability-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(229, 9, 20, 0.9);
}

.floating-card {
  max-width: 220px;
  padding: 0.85rem 1rem;
  border-radius: 18px;
}

.floating-card small {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.floating-card strong {
  color: var(--white);
  font-size: 0.85rem;
}

.floating-card-top {
  top: 24%;
  right: -2.4rem;
}

.floating-card-bottom {
  left: -2rem;
  bottom: 3rem;
}

/* ===========================
   MARQUEE
   =========================== */
.marquee-section {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  padding: 1rem 0;
  animation: marquee 22s linear infinite;
}

.marquee-track span {
  color: rgba(255, 255, 255, 0.44);
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 800;
  text-transform: uppercase;
}

.marquee-track i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(229, 9, 20, 0.9);
}

/* ===========================
   SECTIONS
   =========================== */
.section,
.projects-section,
.contact-section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.skills-grid,
.projects-grid {
  display: grid;
  gap: 1rem;
}

.skills-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.skill-card,
.project-card,
.timeline-item,
.contact-form {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.075),
    rgba(255, 255, 255, 0.03)
  );
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.skill-card::before,
.project-card::before,
.contact-form::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(229, 9, 20, 0.18),
    transparent 34%
  );
  transition: opacity 0.28s var(--ease);
  pointer-events: none;
}

.skill-card:hover::before,
.project-card:hover::before,
.contact-form:hover::before {
  opacity: 1;
}

.skill-card {
  min-height: 280px;
  padding: 1.4rem;
  border-radius: 24px;
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.skill-card:hover {
  transform: translateY(-8px);
  border-color: rgba(229, 9, 20, 0.38);
}

.skill-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.skill-icon {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  height: 48px;
  padding: 0 0.6rem;
  border: 1px solid rgba(229, 9, 20, 0.35);
  border-radius: 14px;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
  background: rgba(229, 9, 20, 0.12);
}

.skill-top strong {
  color: var(--accent);
  font-family: var(--display);
  font-size: 1.3rem;
}

.skill-card h3,
.project-info h3,
.timeline-content h4 {
  color: var(--white);
  font-family: var(--display);
  font-weight: 800;
}

.skill-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.28rem;
}

.skill-card p,
.project-info p,
.timeline-content p,
.about-text p,
.contact-copy p {
  color: var(--muted);
}

.skill-card p {
  margin-bottom: 1.35rem;
  font-size: 0.91rem;
}

.skill-bar {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.35rem;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.skill-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #ff7a81);
  box-shadow: 0 0 18px rgba(229, 9, 20, 0.72);
  transition: width 1.2s var(--ease);
}

.skill-bar.filled span {
  width: var(--level);
}

/* ===========================
   PROJECTS
   =========================== */
.projects-section {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(229, 9, 20, 0.14),
      transparent 32rem
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}

.projects-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  color: inherit;
  text-decoration: none;
  transform-style: preserve-3d;
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.project-card:hover {
  border-color: rgba(229, 9, 20, 0.42);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.42),
    0 0 60px rgba(229, 9, 20, 0.12);
}

.project-thumb {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(229, 9, 20, 0.24), transparent),
    linear-gradient(145deg, #171717, #0a0a0a);
}

.project-thumb::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.13),
    transparent
  );
  transform: rotate(18deg) translateX(-40%);
  transition: transform 0.75s var(--ease);
}

.project-card:hover .project-thumb::before {
  transform: rotate(18deg) translateX(40%);
}

/* .igreja-texto {
  font-size: 40px;
} */

.project-thumb span {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  /* font-size: clamp(3rem, 8vw, 6rem); */
  font-size: 50px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--white);
  text-shadow: 0 0 42px rgba(229, 9, 20, 0.28);
}

.featured-project .project-thumb {
  background:
    radial-gradient(circle at 70% 25%, rgba(229, 9, 20, 0.55), transparent 28%),
    linear-gradient(135deg, #2a0508, #0a0a0a 60%);
}

.project-info {
  flex: 1;
  padding: 1.35rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project-tags span {
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.045);
}

.project-info h3 {
  margin-bottom: 0.55rem;
  font-size: 1.55rem;
}

.project-info p {
  font-size: 0.94rem;
}

.project-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.2rem;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
}

.project-arrow::after {
  content: "↗";
  color: var(--accent);
  transition: transform 0.25s var(--ease);
}

.project-card:hover .project-arrow::after {
  transform: translate(4px, -4px);
}

/* ===========================
   ABOUT
   =========================== */
.about-section {
  display: grid;
  gap: clamp(3rem, 7vw, 5rem);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.about-photo-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--glass);
  box-shadow: var(--shadow);
}

.about-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(5, 5, 5, 0.62)),
    radial-gradient(circle at 35% 20%, rgba(229, 9, 20, 0.24), transparent 36%);
  pointer-events: none;
}

.about-photo {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: 58% 42%;
  filter: saturate(0.9) contrast(1.08) brightness(0.82);
  transition:
    transform 0.55s var(--ease),
    filter 0.55s var(--ease);
}

.about-photo-wrap:hover .about-photo {
  transform: scale(1.04);
  filter: saturate(1) contrast(1.12) brightness(0.9);
}

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

.about-text p {
  max-width: 680px;
  margin-bottom: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.7rem 0;
}

.about-list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--soft);
  font-size: 0.94rem;
}

.about-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 0 18px rgba(229, 9, 20, 0.5);
}

.timeline-wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.timeline-item {
  min-height: 210px;
  padding: 1.25rem;
  border-radius: 24px;
}

.timeline-item::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  top: 4.2rem;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: transform 0.9s var(--ease);
}

.timeline-item.visible::after {
  transform: scaleX(1);
}

.timeline-year {
  display: inline-flex;
  margin-bottom: 2rem;
  color: var(--accent);
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 800;
}

.timeline-content h4 {
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
}

.timeline-content p {
  font-size: 0.88rem;
}

/* ===========================
   CONTACT
   =========================== */
.contact-section {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100vw - 1180px) / 2));
}

.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid rgba(229, 9, 20, 0.22);
  border-radius: 34px;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(229, 9, 20, 0.22),
      transparent 32rem
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.075),
      rgba(255, 255, 255, 0.025)
    );
  box-shadow: var(--shadow);
}

.contact-copy h2 {
  margin-bottom: 1.25rem;
}

.contact-copy p {
  max-width: 500px;
  margin-bottom: 1.7rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 24px;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form span {
  color: var(--soft);
  font-size: 0.8rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
  color: var(--white);
  background: rgba(5, 5, 5, 0.44);
  padding: 0.9rem 1rem;
  resize: vertical;
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(229, 9, 20, 0.65);
  background: rgba(5, 5, 5, 0.7);
  box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.1);
}

.form-feedback {
  min-height: 1.2rem;
  color: var(--muted);
  font-size: 0.82rem;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease),
    color 0.25s var(--ease);
}

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

.form-feedback.is-success {
  color: #4ade80;
  animation: feedbackPop 0.45s var(--ease);
}

.form-feedback.is-error {
  color: #f87171;
  animation: feedbackShake 0.45s var(--ease);
}

@keyframes feedbackPop {
  0% {
    transform: scale(0.85) translateY(6px);
    opacity: 0;
  }
  60% {
    transform: scale(1.05) translateY(0);
    opacity: 1;
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

@keyframes feedbackShake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-6px);
  }
  40% {
    transform: translateX(6px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
}

/* ===========================
   FOOTER
   =========================== */
footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
  border-top: 1px solid var(--line);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 300px;
}

.footer-brand .footer-logo {
  margin: 0;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-col h4 {
  margin-bottom: 1.1rem;
  color: var(--white);
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 800;
}

footer p {
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-links {
  display: grid;
  gap: 0.65rem;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    color 0.25s var(--ease),
    text-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.footer-links a:hover {
  color: var(--white);
  text-shadow: 0 0 18px rgba(229, 9, 20, 0.6);
  transform: translateX(3px);
}

.footer-social {
  display: flex;
  gap: 0.65rem;
}

.footer-social a {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.footer-social a:hover {
  border-color: rgba(229, 9, 20, 0.5);
  background: rgba(229, 9, 20, 0.14);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.6rem 0 2.2rem;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  font-size: 0.78rem;
}

/* ===========================
   HERO BROWSER MOCKUP (substitui foto pessoal)
   =========================== */
.browser-mock {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 590px;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(165deg, #141414, #0a0a0a 70%);
  display: flex;
  flex-direction: column;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.browser-bar .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.dot-r {
  background: #ff5f57;
}
.dot-y {
  background: #febc2e;
}
.dot-g {
  background: #28c840;
}

.browser-url {
  margin-left: 0.6rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
}

.browser-body {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.mock-nav {
  display: flex;
  gap: 0.5rem;
}

.mock-nav span {
  height: 8px;
  width: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.mock-nav span:first-child {
  width: 58px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
}

.mock-hero {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mock-line {
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.mock-line.w-70 {
  width: 78%;
}
.mock-line.w-50 {
  width: 55%;
  background: rgba(255, 255, 255, 0.08);
}

.mock-btn {
  margin-top: 0.5rem;
  width: 130px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 12px 30px rgba(229, 9, 20, 0.32);
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: auto;
}

.mock-grid span {
  height: 92px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.015)
  );
}

.mock-grid span:nth-child(2) {
  border-color: rgba(229, 9, 20, 0.3);
  background: linear-gradient(
    150deg,
    rgba(229, 9, 20, 0.16),
    rgba(255, 255, 255, 0.015)
  );
}

/* ===========================
   ABOUT VISUAL PANEL (substitui foto pessoal)
   =========================== */
.about-visual {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(229, 9, 20, 0.16),
      transparent 60%
    ),
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.015)
    );
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-height: 560px;
}

.about-panel-row {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.1rem 0.4rem;
  border-bottom: 1px solid var(--line);
}

.about-panel-row:last-child {
  border-bottom: none;
}

.about-panel-num {
  flex-shrink: 0;
  color: var(--accent);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
}

.about-panel-row h4 {
  margin-bottom: 0.35rem;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 800;
}

.about-panel-row p {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ===========================
   PLANOS - CTA na home
   =========================== */
.plans-cta {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 4.5rem);
  border: 1px solid rgba(229, 9, 20, 0.24);
  border-radius: 34px;
  text-align: center;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(229, 9, 20, 0.2),
      transparent 55%
    ),
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.02)
    );
  box-shadow: var(--shadow);
}

.plans-cta .section-label {
  justify-content: center;
}

.plans-cta h2 {
  max-width: 720px;
  margin: 0 auto 1rem;
}

.plans-cta > p {
  max-width: 560px;
  margin: 0 auto 2rem;
  color: var(--muted);
}

.plans-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.plans-preview div {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.plans-preview strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.1rem;
}

.plans-preview span {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
}

/* ===========================
   BOTÃO FLUTUANTE WHATSAPP
   =========================== */
.whatsapp-float {
  position: fixed;
  right: clamp(1.1rem, 3vw, 2rem);
  bottom: clamp(1.1rem, 3vw, 2rem);
  z-index: 150;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow:
    0 18px 42px rgba(229, 9, 20, 0.4),
    0 0 0 rgba(229, 9, 20, 0.5);
  animation: pulseWhats 2.6s ease-in-out infinite;
  transition: transform 0.25s var(--ease);
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
}

@keyframes pulseWhats {
  0%,
  100% {
    box-shadow:
      0 18px 42px rgba(229, 9, 20, 0.4),
      0 0 0 0 rgba(229, 9, 20, 0.4);
  }
  50% {
    box-shadow:
      0 18px 42px rgba(229, 9, 20, 0.4),
      0 0 0 12px rgba(229, 9, 20, 0);
  }
}

/* ===========================
   TRANSIÇÃO ENTRE PÁGINAS
   =========================== */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, #0a0a0a, #1a0304 120%);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.55s var(--ease),
    visibility 0.55s var(--ease);
}

.page-transition-overlay::after {
  content: "";
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-top-color: var(--accent);
  animation: spin 0.85s linear infinite;
}

.page-transition-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .page-transition-overlay {
    transition: none;
  }
}

/* ===========================
   PÁGINA DE PLANOS
   =========================== */
.page-header {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 10.5rem 0 3rem;
  text-align: center;
}

.page-header .section-label {
  justify-content: center;
}

.page-header h1 {
  max-width: 780px;
  margin: 0 auto 1.1rem;
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.page-header p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 clamp(4rem, 8vw, 6rem);
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.1rem 1.9rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.015)
  );
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: rgba(229, 9, 20, 0.4);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.4),
    0 0 50px rgba(229, 9, 20, 0.1);
}

.plan-featured {
  border-color: rgba(229, 9, 20, 0.55);
  background: linear-gradient(
    150deg,
    rgba(229, 9, 20, 0.14),
    rgba(255, 255, 255, 0.02)
  );
  transform: translateY(-10px) scale(1.015);
}

.plan-featured:hover {
  transform: translateY(-16px) scale(1.015);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.4rem 1.05rem;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 12px 30px rgba(229, 9, 20, 0.4);
  white-space: nowrap;
}

.plan-name {
  color: var(--white);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
}

.plan-tagline {
  margin: 0.5rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  min-height: 42px;
}

.plan-price {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.4rem;
}

.plan-price-old {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: line-through;
  text-decoration-color: rgba(229, 9, 20, 0.75);
}

.plan-price-new {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(2.1rem, 3vw, 2.5rem);
  font-weight: 800;
}

.plan-price-new small {
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 700;
}

.plan-promo-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.6rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  color: #4ade80;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.28);
}

.plan-features {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
  list-style: none;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--soft);
  font-size: 0.88rem;
  line-height: 1.45;
}

.plan-features li::before {
  content: "";
  flex-shrink: 0;
  margin-top: 0.4rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 0 14px rgba(229, 9, 20, 0.5);
}

.plan-features li.is-note {
  color: var(--muted);
}

.plan-features li.is-note::before {
  background: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.plan-card .btn {
  margin-top: auto;
  width: 100%;
}

.plans-note {
  width: min(1180px, calc(100% - 2rem));
  margin: -1.5rem auto 0;
  padding-bottom: clamp(3rem, 6vw, 4rem);
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* FAQ */
.faq-section {
  width: min(880px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  padding: 0.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  color: var(--white);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 800;
  transition: transform 0.25s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding-bottom: 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ===========================
   ANIMATIONS
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(14px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease),
    filter 0.8s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal-left {
  transform: translateX(-34px);
}

.reveal-right {
  transform: translateX(34px);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
  filter: blur(0);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes floatParticle {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.65;
  }
  50% {
    transform: translate3d(18px, -28px, 0) scale(1.4);
    opacity: 1;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1020px) {
  .hero,
  .about-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 8rem;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .portrait-shell {
    width: min(100%, 560px);
  }

  .skills-grid,
  .timeline-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plans-grid,
  .plans-preview {
    grid-template-columns: 1fr;
  }

  .plan-featured {
    transform: none;
  }

  .plan-featured:hover {
    transform: translateY(-8px);
  }

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

@media (max-width: 760px) {
  nav {
    top: 0.75rem;
    width: calc(100% - 1rem);
    border-radius: 24px;
  }

  .nav-menu-btn {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    max-width: 100%;
    box-sizing: border-box;
    display: grid;
    gap: 0.35rem;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transition:
      opacity 0.25s var(--ease),
      transform 0.25s var(--ease),
      visibility 0.25s var(--ease);
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .nav-links a {
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding-bottom: 3.5rem;
  }

  .hero-indicators,
  .about-stats,
  .skills-grid,
  .projects-grid,
  .timeline-wrap,
  footer {
    grid-template-columns: 1fr;
  }

  .portrait-shell {
    min-height: auto;
    border-radius: 26px;
  }

  .hero-photo {
    height: min(118vw, 570px);
    border-radius: 20px;
  }

  .floating-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    max-width: none;
    margin-top: 0.75rem;
  }

  .availability-pill {
    top: 1.45rem;
    left: 1.45rem;
  }

  .about-photo {
    height: min(118vw, 560px);
  }

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

  .footer-brand {
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-header {
    padding-top: 8.5rem;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 460px) {
  body {
    font-size: 15px;
  }

  .section,
  .projects-section,
  .contact-section,
  footer,
  .hero {
    width: min(100% - 1rem, 1180px);
  }

  h1 {
    font-size: clamp(2.4rem, 11vw, 4rem);
    overflow-wrap: break-word;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .contact-inner {
    border-radius: 26px;
  }

  .plans-grid {
    width: min(100% - 1rem, 1180px);
  }

  .plan-card {
    padding: 1.8rem 1.4rem;
  }

  .plans-cta {
    padding: 2.2rem 1.4rem;
  }
}
