/* ============================================================
   Ana Paula Carvalho — Portfolio
   Paleta pastel · Mobile-first · Playfair Display + Inter
   ============================================================ */

/* ===== COLORS ===== */
:root {
  --primary: #B76EB8;
  --primary-dark: #8A5A92;
  --primary-soft: #F0E3F1;
  --secondary: #FFB6C1;
  --secondary-soft: #FFE4E9;
  --accent: #EED9C2;
  --light: #FFF9F9;
  --lighter: #F7F2F7;
  --dark: #2A2A2A;
  --text: #5A5A5A;
  --text-light: #7A7A7A;
  --gray: #E8E4E8;
  --green-pastel: #D6F0E0;
  --green-pastel-dark: #3E7C5F;
  --blue-pastel: #DCEBF7;
  --blue-pastel-dark: #4A6E8F;
  --wa-bg: #B5EAD7;
  --wa-dark: #3E8A6B;
  --white: #FFFFFF;
  --shadow: 0 10px 30px rgba(138, 90, 146, 0.10);
  --shadow-lg: 0 20px 50px rgba(138, 90, 146, 0.14);
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 64px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  background: var(--primary);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ===== TYPOGRAPHY ===== */
.section {
  padding: 64px 0;
}

.section-light {
  background: var(--light);
}

.section-dark {
  background: linear-gradient(160deg, #3A2E4A 0%, var(--dark) 100%);
  color: var(--white);
}

.section-header {
  margin-bottom: 40px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  text-align: center;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.section-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 14px auto 0;
  border-radius: 2px;
}

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

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--text);
  margin: 12px auto 0;
  max-width: 640px;
  line-height: 1.55;
}

.section-subtitle.white {
  color: rgba(255, 255, 255, 0.85);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(138, 90, 146, 0.08);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(138, 90, 146, 0.12);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 12px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

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

.nav {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  position: relative;
  padding: 6px 2px;
  letter-spacing: 0.4px;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Language toggle (desktop dropdown) */
.lang-toggle {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--light);
  border: 1.5px solid var(--gray);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  min-height: 44px;
  letter-spacing: 0.4px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.lang-toggle:hover,
.lang-toggle.open {
  border-color: var(--primary);
  color: var(--primary);
}

.lang-toggle i {
  font-size: 0.85rem;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(var(--header-h) - 6px);
  right: 0;
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 1100;
}

.lang-dropdown.open {
  display: block;
  animation: dropdown-in 0.18s ease;
}

.lang-dropdown li {
  display: block;
}

.lang-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--dark);
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-option:hover,
.lang-option.active {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

@keyframes dropdown-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hamburger (mobile) */
.nav-toggle {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 10px;
  border: 1.5px solid var(--gray);
  background: var(--light);
  z-index: 1600;
}

.nav-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== DRAWER ===== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 42, 42, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1400;
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(320px, 88vw);
  background: var(--light);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.drawer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.5px;
}

.drawer-close {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1.5px solid var(--gray);
  background: var(--white);
  color: var(--dark);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.drawer-close:hover {
  background: var(--secondary-soft);
  color: var(--primary-dark);
}

.drawer-nav {
  flex: 1;
}

.drawer-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-link {
  display: block;
  padding: 13px 14px;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: 0.3px;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.drawer-link:hover,
.drawer-link.active {
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding-left: 20px;
}

.drawer-lang {
  border-top: 1px solid var(--gray);
  padding-top: 18px;
  margin-top: 16px;
}

.drawer-lang h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.drawer-lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.drawer-lang-grid .lang-option {
  text-align: center;
  font-size: 0.88rem;
  padding: 10px 8px;
  border: 1px solid var(--gray);
  border-radius: 10px;
  background: var(--white);
}

.drawer-cv {
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  min-height: 46px;
  letter-spacing: 0.3px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: var(--white);
  color: var(--dark);
  border: 2px solid var(--gray);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline.light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline.light:hover {
  background: var(--secondary);
  color: var(--dark);
  border-color: var(--secondary);
}

/* ===== HERO ===== */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 28px) 0 48px;
  background: linear-gradient(160deg, var(--light) 0%, var(--white) 60%, var(--primary-soft) 130%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.hero-image {
  order: -1;
}

.hero-photo {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4 / 5;
  border: 4px solid var(--white);
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.hero-text {
  font-size: 1.02rem;
  color: var(--text);
  margin-bottom: 26px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  max-width: 320px;
  margin: 0 auto;
}

/* ===== SOBRE ===== */
.sobre-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.sobre-text p {
  margin-bottom: 18px;
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.7;
}

.sobre-image img {
  border-radius: 18px;
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ===== TABS ===== */
.tabs-container {
  max-width: 980px;
  margin: 0 auto;
}

.tab-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 24px;
  background: var(--lighter);
  padding: 6px;
  border-radius: 14px;
}

.tab-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 10px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  min-height: 48px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.tab-button:hover {
  color: var(--primary-dark);
}

.tab-button.active {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 3px 10px rgba(138, 90, 146, 0.12);
}

.tab-button.active i {
  color: var(--primary);
}

.tabs-content {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: panel-in 0.3s ease;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.tab-text h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: var(--dark);
  letter-spacing: 0.3px;
}

.tab-text p {
  margin-bottom: 16px;
  color: var(--text);
  line-height: 1.7;
}

.tab-highlight {
  background: var(--light);
  border-left: 4px solid var(--secondary);
  padding: 18px;
  border-radius: 8px;
  margin: 18px 0;
}

.tab-highlight h4 {
  font-family: var(--font-display);
  color: var(--primary-dark);
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.tab-skills {
  margin-top: 8px;
}

.skill-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--dark);
  padding: 7px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin: 4px 4px 0 0;
}

.tab-image img {
  border-radius: 14px;
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ===== CONCLUSÃO ===== */
.conclusion-section {
  background: linear-gradient(150deg, var(--light) 0%, var(--white) 100%);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray);
}

.conclusion-content h3 {
  font-family: var(--font-display);
  color: var(--dark);
  font-size: 1.4rem;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.conclusion-content p {
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.7;
}

.conclusion-content strong {
  color: var(--primary-dark);
  font-weight: 700;
}

.curriculum-cta {
  text-align: center;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.curriculum-cta .btn {
  align-self: center;
}

/* ===== TIMELINE ===== */
.experiencia-timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

.experiencia-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 22px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
  padding-left: 56px;
}

.timeline-marker {
  position: absolute;
  top: 2px;
  left: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(138, 90, 146, 0.16);
}

.timeline-content {
  background: var(--white);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray);
}

.timeline-date {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
}

.timeline-category {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.edu-category {
  background: var(--green-pastel);
  color: var(--green-pastel-dark);
}

.emp-category {
  background: var(--blue-pastel);
  color: var(--blue-pastel-dark);
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: var(--dark);
  letter-spacing: 0.3px;
}

.timeline-company {
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.timeline-list li {
  padding: 5px 0 5px 18px;
  color: var(--text);
  position: relative;
  line-height: 1.6;
  font-size: 0.95rem;
}

.timeline-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

/* ===== PROJETOS ===== */
.projetos-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
}

.carousel-nav {
  display: none;
}

.projetos-wrapper {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.projetos-wrapper::-webkit-scrollbar {
  display: none;
}

.projetos-track {
  display: flex;
  gap: 18px;
}

.projeto-card {
  flex: 0 0 86%;
  scroll-snap-align: center;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projeto-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.projeto-image {
  height: 200px;
  overflow: hidden;
}

.projeto-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.projeto-content {
  padding: 24px;
}

.projeto-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--dark);
  letter-spacing: 0.3px;
}

.projeto-tag {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
}

.projeto-text {
  color: var(--text);
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.65;
}

.projeto-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--accent);
  color: var(--dark);
  letter-spacing: 0.3px;
}

/* ===== GALERIA ===== */
.galeria-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.galeria-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin: 0;
}

.galeria-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(42, 42, 42, 0.72) 100%);
  pointer-events: none;
}

.galeria-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.galeria-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  z-index: 2;
}

.galeria-item:hover .galeria-img {
  transform: scale(1.06);
}

/* ===== CONTATO ===== */
.contato-content {
  max-width: 640px;
  margin: 0 auto;
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contato-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1rem;
  text-align: center;
  flex-wrap: wrap;
}

.contato-item i {
  color: var(--secondary);
  font-size: 1.15rem;
}

.contato-item a,
.contato-item span {
  color: var(--white);
  letter-spacing: 0.3px;
  word-break: break-word;
}

.contato-item a:hover {
  color: var(--secondary);
}

.curriculo-downloads {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 48px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  text-align: center;
}

.footer-brand p {
  margin-top: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.4px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  margin-bottom: 16px;
}

.footer-nav ul,
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a,
.footer-contact-list a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-contact-list a:hover {
  color: var(--secondary);
}

.footer-contact-list {
  margin-bottom: 18px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 18px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.4px;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  background: var(--wa-bg);
  color: var(--wa-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 6px 18px rgba(62, 138, 107, 0.35);
  z-index: 1200;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.whatsapp-float:hover {
  background: #9CD9C3;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(62, 138, 107, 0.45);
}

/* ===== BREAKPOINT ≥ 700px (tablet) ===== */
@media (min-width: 700px) {
  .container {
    padding: 0 32px;
  }

  .section {
    padding: 84px 0;
  }

  .section-title {
    font-size: 2.3rem;
  }

  .hero {
    padding-top: calc(var(--header-h) + 40px);
  }

  .hero-container {
    grid-template-columns: 1fr 320px;
    gap: 48px;
  }

  .hero-image {
    order: 0;
  }

  .hero-photo {
    max-width: 320px;
  }

  .hero-content {
    text-align: left;
  }

  .hero-text {
    margin-left: 0;
  }

  .hero-btns {
    flex-direction: row;
    max-width: none;
    margin: 0;
  }

  .sobre-content {
    grid-template-columns: 1fr 300px;
    gap: 48px;
  }

  .tab-content-grid {
    grid-template-columns: 1fr 240px;
    gap: 32px;
  }

  .conclusion-section {
    padding: 36px;
  }

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

  .footer-top {
    grid-template-columns: 1.2fr 1fr 1fr;
    text-align: left;
    gap: 40px;
  }

  .social-links {
    justify-content: flex-start;
  }
}

/* ===== BREAKPOINT ≥ 1024px (desktop) ===== */
@media (min-width: 1024px) {
  .container {
    padding: 0 40px;
  }

  .nav {
    display: block;
    flex: 1;
  }

  .nav-list {
    justify-content: flex-end;
  }

  .nav-toggle {
    display: none;
  }

  .lang-toggle {
    display: flex;
  }

  .nav-controls {
    position: relative;
  }

  .hero-container {
    grid-template-columns: 1fr 400px;
    gap: 64px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-photo {
    max-width: 400px;
  }

  .sobre-content {
    grid-template-columns: 1fr 340px;
  }

  .tab-content-grid {
    grid-template-columns: 1fr 300px;
  }

  .projetos-carousel {
    grid-template-columns: 56px 1fr 56px;
  }

  .carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--gray);
    background: var(--white);
    color: var(--primary);
    font-size: 1rem;
    justify-self: center;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }

  .carousel-nav:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
  }

  .projeto-card {
    flex: 0 0 calc(50% - 9px);
  }

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

/* ===== MISC ===== */
html {
  scrollbar-color: var(--primary) transparent;
}

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