:root {
  --bg-color: #FAF6F3;
  --text-main: #422818;      /* Marrom bem escuro (café) */
  --text-muted: #85573D;     /* Marrom médio */
  --card-bg: #FFFFFF;
  --primary: #6E3F20;        /* Marrom "chocolate" */
  --secondary: #E3D0C5;      /* Marrom claro/nude */
  --accent: #9A5A30;         /* Marrom claro/queimado */
  --border-color: #E3D0C5;
  --radius: 20px;
  --shadow-sm: 0 4px 15px rgba(110, 63, 32, 0.15);
  --shadow-md: 0 8px 25px rgba(110, 63, 32, 0.3);
  --shadow-glow: 0 0 20px rgba(154, 90, 48, 0.4);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(at 0% 0%, rgba(244, 228, 212, 0.8) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(201, 122, 62, 0.1) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.bio-page {
  max-width: 500px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header & Banner */
.profile-header {
  position: relative;
  width: 100%;
  height: 55vh;
  max-height: 55vh;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 30px;
}

@media (min-width: 769px) {
  .profile-header {
    height: 70vh;
    max-height: 70vh;
  }
}

.banner-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  box-shadow: var(--shadow-sm);
  background: linear-gradient(135deg, var(--secondary), var(--accent));
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.banner-slide.active {
  opacity: 1;
}

.banner-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, var(--bg-color) 0%, transparent 100%);
}

.banner-logo-container {
  position: relative;
  z-index: 10;
  transform: translateY(50%);
}

.profile-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--bg-color);
  position: relative;
  z-index: 10;
}

/* Titles */
.team-banner {
  text-align: center;
  margin-top: 65px;
  padding: 0 20px;
}

.team-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

.team-subtitle {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.team-experience {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* Links Section */
.links {
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Accordions */
.accordion-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.5);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.accordion-header {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.accordion-header::-webkit-details-marker {
  display: none;
}

.accordion-card[open] .accordion-toggle svg {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border-color);
  margin-top: 10px;
  padding-top: 15px;
  animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.service-link {
  display: block;
  padding: 14px 18px;
  background: var(--bg-color);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
  text-align: center;
  border: 1px solid transparent;
  transition: var(--transition);
  letter-spacing: 1px;
}

.service-link:hover {
  background: var(--secondary);
  color: #fff;
  border-color: var(--accent);
  transform: scale(1.02);
}

/* Cards */
.action-card {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  background: linear-gradient(145deg, #ffffff, #fffdfa);
  border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(184, 107, 45, 0.15), inset 0 0 10px rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(201, 122, 62, 0.2);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.action-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 10px 25px rgba(184, 107, 45, 0.3), inset 0 0 15px rgba(255, 255, 255, 1);
  border: 1px solid rgba(201, 122, 62, 0.4);
}

/* Google review styles */

.action-card.highlight {
  background: var(--primary);
  color: white;
  border: none;
}

.action-card.highlight .action-icon svg {
  color: white;
}

.action-card.highlight .action-content strong {
  color: white;
}

.action-card.highlight .action-content span {
  color: rgba(255, 255, 255, 0.9);
}

.action-card.highlight:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.animated-border {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: var(--radius);
  z-index: 0;
  pointer-events: none;
}
.action-card.highlight .animated-border::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent 0 340deg, white 360deg);
  animation: rotate 4s linear infinite;
  opacity: 0.3;
}
@keyframes rotate {
  100% { transform: rotate(360deg); }
}

.action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-color);
  margin-right: 15px;
  position: relative;
  z-index: 1;
}

.action-card.highlight .action-icon {
  background: rgba(255, 255, 255, 0.2);
}

.action-icon svg {
  width: 30px;
  height: 30px;
  color: var(--accent);
}

.action-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.action-content strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 2px;
}

.action-content span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  transition: var(--transition);
}

.accordion-toggle svg {
  width: 20px;
  height: 20px;
}

.spacer {
  height: 10px;
}

.links-separator {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
  margin: 10px 0;
}

/* Footer */
.footer {
  margin-top: auto;
  padding: 30px 20px;
  text-align: center;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.footer-icon:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-md);
}

.copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.developer-credit {
  font-size: 0.70rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.developer-credit a {
  color: var(--text-main);
  transition: var(--transition);
}

.developer-credit a:hover {
  color: var(--accent);
}

/* Utilities */
.fade-in {
  /* Controlled by JS intersection observer */
}

/* Feedbacks */
.feedbacks {
  padding: 30px 20px;
  margin-top: 10px;
}

.feedbacks-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 20px;
}

.feedbacks-container {
  position: relative;
  min-height: 200px;
  overflow: visible;
}

.feedback-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  background: linear-gradient(145deg, #ffffff, #fffdfa);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.feedback-card.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.feedback-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.google-feedback-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
}

.google-logo {
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
}

.google-author-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.google-author {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.2;
}

.google-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-top: 5px;
}

.google-star {
  width: 14px;
  height: 14px;
  fill: #fbbc04; /* Google star yellow */
}

.google-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 6px;
}

.feedback-card p {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-top: 10px;
  line-height: 1.4;
  text-align: center;
}
