/* ========================================
   DIANE CUNHA POERSCKE - PSICOLOGIA ONLINE
   Design System & Styles
   ======================================== */

/* ===== CSS VARIABLES ===== */
:root {
  /* Cores Primárias */
  --color-sage: #7C9A8C;
  --color-sage-light: #9BB5A7;
  --color-sage-dark: #5A7A6C;

  /* Cores Secundárias */
  --color-serene: #8BA4B4;
  --color-serene-light: #A8BCC9;
  --color-serene-dark: #6B8A9C;

  /* Accent */
  --color-rose: #D4A5A5;
  --color-rose-light: #E5C4C4;
  --color-rose-dark: #B88888;

  /* Neutras */
  --color-cream: #FBF9F7;
  --color-sand: #F5F0EB;
  --color-warm-gray: #8A8580;
  --color-dark: #3D3A37;
  --color-white: #FFFFFF;

  /* Gradientes */
  --gradient-hero: linear-gradient(135deg, #F5F0EB 0%, #E8E3DE 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
  --gradient-sage: linear-gradient(135deg, var(--color-sage) 0%, var(--color-sage-dark) 100%);

  /* Tipografia */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Tamanhos */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Espaçamento */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Bordas */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1), 0 8px 20px rgba(0, 0, 0, 0.05);

  /* Transições */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
}

/* ===== RESET MODERNO ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-cream);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

/* ===== TIPOGRAFIA ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-dark);
}

h1 {
  font-size: var(--text-5xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

p {
  margin-bottom: var(--space-md);
}

.text-sage {
  color: var(--color-sage);
}

.text-serene {
  color: var(--color-serene);
}

.text-rose {
  color: var(--color-rose);
}

.text-muted {
  color: var(--color-warm-gray);
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

section {
  padding: var(--space-4xl) 0;
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-sage);
  color: var(--color-white);
  box-shadow: var(--shadow-md), 0 4px 15px rgba(124, 154, 140, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 8px 25px rgba(124, 154, 140, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-sage);
  border: 2px solid var(--color-sage);
}

.btn-secondary:hover {
  background: var(--color-sage);
  color: var(--color-white);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-md), 0 4px 15px rgba(37, 211, 102, 0.3);
  font-size: var(--text-lg);
  padding: var(--space-lg) var(--space-2xl);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl), 0 8px 30px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp svg {
  width: 24px;
  height: 24px;
}

/* ===== CARDS ===== */
.card {
  background: var(--gradient-card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  font-size: var(--text-3xl);
}

.card-icon-sage {
  background: rgba(124, 154, 140, 0.15);
}

.card-icon-serene {
  background: rgba(139, 164, 180, 0.15);
}

.card-icon-rose {
  background: rgba(212, 165, 165, 0.15);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  background: rgba(251, 249, 247, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-base);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-sage);
}

.nav-menu {
  display: flex;
  gap: var(--space-xl);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-dark);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-sage);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--color-sage);
}

.nav-link:hover::after {
  width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(124, 154, 140, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 165, 165, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(30px, -30px);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(124, 154, 140, 0.1);
  color: var(--color-sage-dark);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease;
}

.hero-title {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease 0.1s backwards;
}

.hero-title span {
  color: var(--color-sage);
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-warm-gray);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.6s ease 0.3s backwards;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-dark);
}

.hero-feature-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-sage);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 10px;
}

.hero-cta {
  animation: fadeInUp 0.6s ease 0.4s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== DORES SECTION ===== */
.dores {
  background: var(--color-white);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

.section-eyebrow {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-sage);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-description {
  color: var(--color-warm-gray);
  font-size: var(--text-lg);
}

.dores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.dor-item {
  text-align: center;
  padding: var(--space-xl);
  background: var(--color-sand);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.dor-item:hover {
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.dor-icon {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-md);
}

.dor-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-dark);
}

/* ===== EXPATRIADOS SECTION ===== */
.expatriados {
  background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-sage-dark) 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.expatriados::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.expatriados-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.expatriados-text h2 {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.expatriados-text p {
  opacity: 0.9;
  font-size: var(--text-lg);
  margin-bottom: var(--space-xl);
}

.expatriados-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.benefit-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.benefit-text {
  font-size: var(--text-base);
}

.expatriados-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.globe-icon {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

/* ===== SERVIÇOS SECTION ===== */
.servicos {
  background: var(--color-sand);
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.servico-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.servico-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--card-accent, var(--color-sage));
}

.servico-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.servico-card.accent-sage {
  --card-accent: var(--color-sage);
}

.servico-card.accent-serene {
  --card-accent: var(--color-serene);
}

.servico-card.accent-rose {
  --card-accent: var(--color-rose);
}

.servico-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  font-size: var(--text-3xl);
}

.servico-card.accent-sage .servico-icon {
  background: rgba(124, 154, 140, 0.12);
}

.servico-card.accent-serene .servico-icon {
  background: rgba(139, 164, 180, 0.12);
}

.servico-card.accent-rose .servico-icon {
  background: rgba(212, 165, 165, 0.12);
}

.servico-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
}

.servico-description {
  color: var(--color-warm-gray);
  margin-bottom: var(--space-lg);
}

.servico-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.servico-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-dark);
}

.servico-feature::before {
  content: '✓';
  color: var(--card-accent, var(--color-sage));
  font-weight: 700;
}

/* ===== SOBRE SECTION ===== */
.sobre {
  background: var(--color-white);
}

.sobre-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.sobre-image {
  position: relative;
}

.sobre-image-wrapper {
  width: 300px;
  height: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  background: linear-gradient(135deg, var(--color-sand) 0%, var(--color-cream) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sobre-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.sobre-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-warm-gray);
  gap: var(--space-md);
}

.sobre-image-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.5;
}

.sobre-image-decoration {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  background: var(--color-sage);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.3;
}

.sobre-text h2 {
  margin-bottom: var(--space-sm);
}

.sobre-role {
  font-size: var(--text-lg);
  color: var(--color-sage);
  font-weight: 500;
  margin-bottom: var(--space-xl);
}

.sobre-bio {
  font-size: var(--text-lg);
  color: var(--color-warm-gray);
  margin-bottom: var(--space-xl);
}

.sobre-highlights {
  display: flex;
  gap: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-sand);
}

.highlight-item {
  text-align: center;
}

.highlight-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-sage);
  line-height: 1;
}

.highlight-label {
  font-size: var(--text-sm);
  color: var(--color-warm-gray);
  margin-top: var(--space-xs);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
  font-size: var(--text-2xl);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 400px;
}

.footer-contact h4 {
  font-size: var(--text-lg);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-sage-light);
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-sm);
}

/* ===== CTA FLUTUANTE ===== */
.cta-float {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 999;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.cta-float .btn-whatsapp {
  border-radius: var(--radius-full);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-xl), 0 10px 40px rgba(37, 211, 102, 0.4);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1024px) {
  .expatriados-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .expatriados-visual {
    order: -1;
    margin-bottom: var(--space-xl);
  }

  .globe-icon {
    width: 150px;
    height: 150px;
    font-size: 70px;
  }

  .sobre-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sobre-image {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-xl);
  }

  .sobre-highlights {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
    --text-3xl: 1.5rem;
  }

  section {
    padding: var(--space-3xl) 0;
  }

  .nav-menu {
    display: none;
  }

  .hero {
    text-align: center;
    padding-top: 100px;
  }

  .hero-features {
    justify-content: center;
  }

  .dores-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .servicos-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }

  .cta-float {
    bottom: var(--space-md);
    right: var(--space-md);
    left: var(--space-md);
  }

  .cta-float .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .dores-grid {
    grid-template-columns: 1fr;
  }

  .sobre-highlights {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .sobre-image-wrapper {
    width: 250px;
    height: 320px;
  }
}