/* Caroline Ribeiro - portfolio
   Cores e espacos: acento lilas e tipografia com leitura facil.
   Foco em acessibilidade (contraste, foco visivel, layout responsivo). */

:root {
  /* Escala de espaco (8px) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 56px;
  --space-8: 64px;
  --space-9: 72px;
  --space-10: 80px;
  --space-12: 96px;

  --btn-py: var(--space-1);
  --btn-px: var(--space-2);

  --bg: #ffffff;
  --bg-subtle: #f4f4f6;
  --surface: #ffffff;
  --text: #1e1b2e;
  --text-muted: #3d3755;

  --accent: #5b21b6;
  --accent-hover: #4c1d95;
  --accent-soft: #ede9fe;
  --accent-border: #c4b5fd;

  --border: #e4e4e8;
  --radius: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(30, 27, 46, 0.05);
  --shadow-md: 0 8px 32px rgba(30, 27, 46, 0.08);
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;

  --max: 1120px;
  --content-column: 56rem;

  --focus-ring: 2px solid var(--accent);
  --focus-offset: var(--space-1);
}

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

html {
  scroll-behavior: smooth;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
}

h1,
h2,
h3,
.eyebrow,
.tags li,
.btn,
.brand-pill,
.date,
.logo,
.brands-title {
  font-family: var(--font-display);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: var(--space-2) var(--space-3);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 0 0 var(--space-1) 0;
}

.skip-link:focus {
  left: 0;
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.wrap {
  width: min(calc(100% - var(--space-4)), var(--max));
  margin-inline: auto;
}

@media (max-width: 1024px) {
  /* Margem lateral mobile/tablet = 24px */
  .wrap {
    width: min(calc(100% - var(--space-3) - var(--space-3)), var(--max));
  }
}

.content-align {
  max-width: var(--content-column);
  margin-inline: auto;
  text-align: left;
}

/* ============== Header ============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(var(--space-1), 2vw, var(--space-3));
  row-gap: 0;
  padding: var(--space-1) 0;
  min-height: var(--space-7);
}

.logo {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.logo:hover {
  color: var(--accent);
}

.logo:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
  border-radius: var(--space-1);
}

.nav {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}

.nav-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-1) clamp(var(--space-2), 1.5vw, var(--space-3));
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.875rem;
  padding: var(--space-1);
  border-radius: var(--space-1);
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--accent);
}

.nav-list a:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

/* Botao CTA no header */
.btn-header-cta {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  min-height: var(--space-6);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: var(--space-6);
  height: var(--space-6);
  font-family: var(--font-display);
  font-weight: 600;
  border: 0;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.nav-toggle-lines {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  box-shadow: 0 -5px 0 var(--text), 0 5px 0 var(--text);
}

.nav-toggle-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tiny-cta-wrap {
  display: none;
}

@media (min-width: 900px) {
  .nav-list a {
    font-size: 0.9375rem;
  }

  .btn-header-cta {
    font-size: 0.9375rem;
  }
}

@media (max-width: 899px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-rows: auto auto;
    column-gap: var(--space-1);
    padding-top: var(--space-1);
    padding-bottom: var(--space-1);
    min-height: 0;
  }

  .logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: center;
    white-space: normal;
    overflow: visible;
    max-width: none;
    line-height: 1.2;
    hyphens: none;
  }

  .btn-header-cta {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    font-size: 0.75rem;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    display: grid;
    grid-template-rows: 0fr;
    margin-top: 0;
    padding-top: 0;
    border-top: 1px solid transparent;
    overflow: hidden;
    transition: grid-template-rows 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      border-top-color 0.35s ease,
      padding-top 0.45s ease;
  }

  .header-inner.is-open .nav {
    grid-template-rows: 1fr;
    margin-top: var(--space-1);
    border-top-color: var(--border);
    padding-top: var(--space-1);
  }

  .nav-panel {
    min-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(calc(-1 * var(--space-2)));
    transition: opacity 0.42s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .header-inner.is-open .nav-panel {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    padding-bottom: var(--space-1);
  }

  .nav-list a {
    padding: var(--space-2);
    font-size: 1rem;
  }
}

@media (max-width: 369px) {
  .btn-header-cta {
    display: none !important;
  }

  .tiny-cta-wrap {
    display: block;
    padding: var(--space-1) 0 var(--space-2);
  }

  .tiny-cta-inner {
    display: flex;
    justify-content: center;
  }

  .tiny-cta-btn {
    width: 100%;
    min-height: 44px;
  }
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--space-6);
  padding: var(--btn-py) var(--btn-px);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

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

.btn-small {
  padding: var(--btn-py) var(--btn-px);
  min-height: var(--space-6);
  font-size: 0.875rem;
  margin-top: var(--space-2);
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-pill);
}

.btn-small:hover {
  background: var(--accent-hover);
  color: #fff;
}

/* ============== Hero ============== */
.hero {
  padding: var(--space-5) 0 0;
  background: linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg) 42%);
}

.hero-main {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

@media (min-width: 880px) {
  .hero-main {
    grid-template-columns: minmax(260px, 320px) 1fr;
    gap: var(--space-6);
  }
}

.hero-photo {
  position: relative;
  margin: 0 auto;
  width: min(280px, 72vw);
  aspect-ratio: 1;
  max-width: 320px;
  box-sizing: border-box;
  padding: var(--space-1);
  background: linear-gradient(
    128deg,
    #ffffff 0%,
    #faf9ff 7%,
    #f4f1ff 14%,
    #ebe6ff 20%,
    #e2dcff 28%,
    #dbd2f8 36%,
    #d4c9f5 48%,
    #cec1f2 62%,
    #c9bbf0 78%,
    #c4b5fd 100%
  );
  border-radius: 50%;
  overflow: hidden;
}

@media (min-width: 880px) {
  .hero-photo {
    margin: 0;
    width: 100%;
  }
}

.hero-photo-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 0;
  box-shadow: none;
  background: var(--bg-subtle);
}

.hero-photo-fallback {
  display: none;
  position: absolute;
  inset: var(--space-1);
  z-index: 2;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 8vw, 3.25rem);
  letter-spacing: -0.03em;
  color: var(--accent-hover);
  background: linear-gradient(145deg, var(--accent-soft), #ddd6fe);
  border: 0;
  box-shadow: none;
}

.hero-photo.is-fallback .hero-photo-fallback {
  display: flex;
}

.hero-photo.is-fallback .hero-photo-img {
  display: none;
}

.hero-copy {
  text-align: center;
}

@media (min-width: 880px) {
  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    text-align: left;
  }
}

.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin: 0 0 var(--space-2);
}

.hero h1 {
  font-size: clamp(1.65rem, 3.8vw, 2.5rem);
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-2);
  font-weight: 700;
  color: var(--text);
}

.accent {
  color: var(--accent);
  text-decoration: none;
}

.lead {
  margin: 0 0 var(--space-3);
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 880px) {
  .lead {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }
}

.lead strong {
  color: var(--text);
  font-weight: 600;
}

.hero .lead {
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: flex-start;
  margin-top: var(--space-4);
  margin-bottom: 0;
}

@media (max-width: 879px) {
  .hero-copy {
    text-align: left;
    min-width: 0;
  }

  .hero .lead {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    max-width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 100%;
  }
}

/* ============== Marcas ============== */
.brands {
  margin-top: 120px;
  text-align: center;
}

@media (max-width: 899px) {
  .brands {
    margin-top: 40px;
  }

  #projetos.section {
    padding-top: 40px;
  }
}

.brands-text {
  text-align: center;
}

.brands-title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0;
}

.logos-strip {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 0;
  padding: var(--space-3) clamp(var(--space-3), 8vw, var(--space-6));
  background: transparent;
  border: none;
  box-sizing: border-box;
}

.logos-strip-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-4) var(--space-6);
  max-width: 100%;
}

.logos-strip-list li {
  margin: 0;
  padding: 0;
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logos-strip-list img {
  display: block;
  height: 2.25rem;
  width: auto;
  max-width: min(11rem, 40vw);
  object-fit: contain;
  object-position: center;
  filter: grayscale(1);
  opacity: 0.72;
}

@media (max-width: 1024px) {
  .logos-strip {
    width: 100%;
    margin-left: 0;
    padding-inline: var(--space-3);
  }
}

.hero-scroll-hint {
  display: flex;
  justify-content: center;
  margin-top: var(--space-6);
}

@media (max-width: 899px) {
  .hero-scroll-hint {
    display: none;
  }
}

.hero-scroll-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  opacity: 0.72;
  text-decoration: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.hero-scroll-link:hover {
  opacity: 1;
  transform: translateY(3px);
}

.hero-scroll-link:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
  border-radius: var(--space-1);
}

.hero-scroll-icon {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-link {
    transition: opacity 0.15s ease;
  }

  .hero-scroll-link:hover {
    transform: none;
  }
}

/* ============== Secoes ============== */
.section {
  padding: var(--space-8) 0;
}

.section-alt {
  background: var(--bg-subtle);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-2);
  color: var(--text);
}

.section-intro {
  margin: 0 auto var(--space-4);
  color: var(--text-muted);
  max-width: 100%;
  font-size: 1.0625rem;
}

.section-footnote {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: var(--space-3);
}

.section-skills {
  padding-top: var(--space-7);
}

.skills-group + .skills-group {
  margin-top: var(--space-5);
}

.skills-group-title {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.skills-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.skills-item {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border);
}

.skills-item-title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.skills-item-values {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (min-width: 900px) {
  .skills-item {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr;
    align-items: start;
    column-gap: var(--space-3);
  }

  .skills-item-title {
    margin: 0;
  }
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}

.timeline li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.timeline h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 var(--space-1);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: var(--space-1);
  color: var(--text);
}

.date {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.timeline p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
}

.timeline strong {
  color: var(--text);
  font-weight: 600;
}

/* ============== Projetos (carousel) ============== */
.section-projects-head {
  margin-bottom: var(--space-3);
}

.carousel-outer {
  position: relative;
}

.carousel-shell {
  position: relative;
  width: 100%;
  padding: 0 clamp(var(--space-4), 6vw, var(--space-6));
}

@media (max-width: 899px) {
  .carousel-shell {
    padding-inline: var(--space-3);
  }
}

@media (max-width: 1024px) {
  .carousel-shell {
    padding-inline: var(--space-3);
  }
}

.projects-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: none;
  scroll-padding-inline: var(--space-2);
  padding-top: 104px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  outline: none;
  cursor: grab;
  user-select: none;
  touch-action: pan-x pan-y;
}

.projects-carousel::-webkit-scrollbar {
  display: none;
}

.projects-carousel.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.projects-carousel:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--space-1);
  border-radius: var(--radius);
}

.projects-track {
  display: flex;
  gap: var(--space-2);
  padding: 0 var(--space-1) var(--space-2);
}

.project-card {
  flex: 0 0 min(88vw, 420px);
  scroll-snap-align: none;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
  border: 1px solid #e8e1f7;
  border-radius: calc(var(--radius) + var(--space-1));
  padding: 152px var(--space-3) var(--space-3);
  display: flex;
  flex-direction: column;
  box-shadow: none;
  text-align: left;
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.project-media {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
  width: calc(100% - (var(--space-3) * 2));
  pointer-events: none;
  z-index: 3;
}

.project-media-image-only {
  width: 100%;
  justify-content: center;
}

.project-media-image {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin-inline: auto;
}

#projeto-oli .project-media,
#projeto-booking .project-media {
  width: fit-content;
  max-width: calc(100% - (var(--space-3) * 2));
}

#projeto-oli .project-media-image,
#projeto-booking .project-media-image {
  width: auto;
  max-width: 340px;
}

.project-card:hover {
  transform: translateY(-2px);
  border-color: #d8cbf3;
  box-shadow: 0 14px 34px rgba(91, 33, 182, 0.1);
}

@media (min-width: 900px) {
  .project-card {
    flex-basis: 400px;
    scroll-snap-align: start;
  }
}

.project-card header {
  margin-bottom: var(--space-3);
}

.project-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 var(--space-2);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tags li {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 0;
  color: var(--accent);
}

.tags li:not(:last-child)::after {
  content: "•";
  margin-inline: 0.4em;
  color: var(--accent);
}

.project-card p {
  margin: 0 0 var(--space-2);
  font-size: 0.96875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.project-context {
  margin-bottom: var(--space-3);
}

.project-card p strong {
  color: var(--text);
  font-weight: 600;
}

.project-card .btn-small {
  width: 100%;
  align-self: stretch;
  margin-top: auto;
  text-align: center;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: var(--space-6);
  height: var(--space-6);
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 10;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.carousel-btn:hover:not(:disabled) {
  background: var(--accent);
  color: #fff;
}

.carousel-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn-icon svg {
  display: block;
}

.carousel-btn:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--space-1);
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.carousel-btn-prev {
  left: 0;
}

.carousel-btn-next {
  right: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: var(--space-2);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: #d4c9f5;
  padding: 0;
  cursor: pointer;
  transition: width 0.28s ease, background-color 0.28s ease, transform 0.28s ease;
}

.carousel-dot:hover {
  background: #bca8ee;
}

.carousel-dot.is-active {
  width: 20px;
  background: var(--accent);
  transform: scale(1);
}

.carousel-dot:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .carousel-btn {
    width: var(--space-6);
    height: var(--space-6);
    font-size: 1.5rem;
  }
}

/* ============== Frase final ============== */
.closing-quote {
  padding: var(--space-6) 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.closing-quote-text {
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 600;
  text-align: center;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  line-height: 1.45;
  color: var(--text);
  max-width: 56rem;
}

/* ============== Contato ============== */
.section-cta {
  background: var(--accent-hover);
  color: #f5f3ff;
}

.section-cta h2 {
  color: #ffffff;
  margin-bottom: var(--space-3);
}

.section-cta strong {
  color: #fff;
  font-weight: 600;
}

.contact-email {
  margin: 0;
}

.contact-email a {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
}

.contact-email a:hover {
  color: #e9d5ff;
}

.contact-email a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: var(--space-1);
  border-radius: var(--space-1);
}

.contact-list {
  list-style: none;
  margin: var(--space-2) 0 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.contact-icon-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.contact-icon-link:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.75);
  transform: translateY(-1px);
}

.contact-icon-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: var(--space-1);
  border-radius: 50%;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: block;
}

.contact-icon-whatsapp {
  width: 40px;
  height: 40px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============== Footer ============== */
.site-footer {
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
}

.footer-inner {
  text-align: left;
}

.footer-inner p {
  margin: var(--space-1) 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.footer-note {
  font-size: 0.875rem !important;
}

