/* ============================================================
   CSS Distribuidora de Cosméticos — Estilos Globais
   Design System: Minimalismo Corporativo Verde
   Paleta: Verde Jade (#2D7A6A), Verde Menta (#E8F4F1), Branco, Cinza Charcoal
   Tipografia: Poppins (Display), Inter (Body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&family=Inter:wght@400;500;600&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary:            #2D7A6A;
  --primary-dark:       #1B5E5A;
  --primary-light:      #E8F4F1;
  --bg:                 #FFFFFF;
  --bg-alt:             #F8FFFE;
  --bg-warn:            #FFF8E8;
  --text:               #2C3E50;
  --text-muted:         #7A8A99;
  --text-light:         #FFFFFF;
  --border:             #E5E5E5;
  --footer-bg:          #2C3E50;
  --footer-text-muted:  #9CA3AF;
  --warn-border:        #F59E0B;
  --radius:             0.65rem;
  --shadow-sm:          0 1px 3px rgba(0,0,0,.08);
  --shadow-md:          0 4px 12px rgba(0,0,0,.12);
  --shadow-lg:          0 8px 24px rgba(0,0,0,.15);
  --transition:         all .2s ease-out;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

/* ── Layout helpers ── */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; max-width: 1280px; }
}

.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }

/* ── Header ── */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  animation: fadeIn .6s ease-out;
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  animation: slideInLeft .6s ease-out;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #2D7A6A, #1B5E5A);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon span {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
}

.site-nav {
  display: none;
  gap: 2rem;
  animation: slideInRight .6s ease-out;
}
@media (min-width: 768px) { .site-nav { display: flex; } }

.site-nav a {
  color: var(--text);
  font-size: .95rem;
}
.site-nav a:hover { color: var(--primary); }

/* Back button */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .375rem .875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .875rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  cursor: pointer;
  transition: var(--transition);
  animation: slideInRight .6s ease-out;
}
.btn-back:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.btn-back svg { flex-shrink: 0; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .875rem 1.75rem;
  background: var(--primary);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s ease-out, box-shadow .2s ease-out, transform .2s ease-out;
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  opacity: 1;
}

/* ── Main content stretch ── */
main { flex: 1; }

/* ── Divider ── */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary-light), transparent);
}

/* ── Hero Section ── */
.hero {
  background: var(--bg);
  padding: 4rem 0;
  animation: fadeIn .6s ease-out;
}
@media (min-width: 768px) { .hero { padding: 6rem 0; } }

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) { .hero-grid { grid-template-columns: 1fr 1fr; } }

.hero-text { display: flex; flex-direction: column; gap: 1.5rem; animation: slideInLeft .6s ease-out; }

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--text);
  animation: slideInUp .6s ease-out;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.75;
  animation: slideInUp .6s ease-out .1s both;
}

.hero-cta { padding-top: 1rem; animation: slideInUp .6s ease-out .2s both; }

.hero-image {
  display: flex;
  justify-content: center;
  animation: slideInRight .6s ease-out;
}

.hero-image img {
  width: 100%;
  max-width: 28rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: box-shadow .3s ease;
}
.hero-image img:hover { box-shadow: var(--shadow-lg); }

/* ── About Section ── */
.about {
  background: var(--bg);
  padding: 4rem 0;
  animation: fadeIn .6s ease-out;
}
@media (min-width: 768px) { .about { padding: 6rem 0; } }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text);
  margin-bottom: 2rem;
  text-align: center;
  animation: slideInUp .6s ease-out;
}

.about-text {
  font-size: 1.125rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.8;
  animation: slideInUp .6s ease-out .1s both;
}

/* ── Contact Section ── */
.contact {
  background: var(--bg-alt);
  padding: 4rem 0;
  animation: fadeIn .6s ease-out;
}
@media (min-width: 768px) { .contact { padding: 6rem 0; } }

.contact-grid {
  display: grid;
  gap: 2rem;
  max-width: 48rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  animation: slideInUp .6s ease-out;
  transition: box-shadow .3s ease;
}
.contact-card:hover { box-shadow: var(--shadow-md); }

.contact-card:nth-child(2) { animation-delay: .1s; }
.contact-card:nth-child(3) { animation-delay: .2s; }

.contact-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-label {
  font-size: .875rem;
  color: var(--text-muted);
  margin-bottom: .25rem;
  text-align: center;
}

.contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

.contact-value a {
  color: var(--text);
  font-weight: 600;
}
.contact-value a:hover { color: var(--primary); opacity: 1; }

/* ── Footer ── */
.site-footer {
  background: var(--footer-bg);
  color: var(--text-light);
  padding: 4rem 0;
  animation: fadeIn .6s ease-out;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.footer-section-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
}

.footer-item { margin-bottom: .75rem; }

.footer-item-label {
  font-size: .875rem;
  color: var(--footer-text-muted);
  margin-bottom: .125rem;
}

.footer-item-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
}

.footer-item-value a {
  color: var(--text-light);
  font-weight: 600;
}
.footer-item-value a:hover { color: var(--primary-light); opacity: 1; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

.footer-copyright {
  font-size: .875rem;
  color: var(--footer-text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: .875rem;
  color: var(--footer-text-muted);
}
.footer-links a:hover { color: var(--primary-light); opacity: 1; }

.footer-compliance {
  text-align: center;
  font-size: .75rem;
  color: #6B7280;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}

/* ── Page header (Privacy / Terms) ── */
.page-hero {
  background: linear-gradient(to bottom, var(--primary-light), var(--bg));
  padding: 3rem 0 4rem;
  animation: fadeIn .6s ease-out;
}
@media (min-width: 768px) { .page-hero { padding: 4rem 0 5rem; } }

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--text);
  margin-bottom: 1rem;
  animation: slideInUp .6s ease-out;
}

.page-hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  animation: slideInUp .6s ease-out .1s both;
}

/* ── Content pages ── */
.content-section {
  padding: 4rem 0;
  animation: fadeIn .6s ease-out;
}
@media (min-width: 768px) { .content-section { padding: 6rem 0; } }

.prose { display: flex; flex-direction: column; gap: 2rem; }

.intro-box {
  background: var(--bg-alt);
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  animation: slideInUp .6s ease-out;
}
.intro-box p { color: var(--text-muted); line-height: 1.8; margin: 0; }

.content-block { animation: slideInUp .6s ease-out; }
.content-block:nth-child(2) { animation-delay: .1s; }
.content-block:nth-child(3) { animation-delay: .2s; }
.content-block:nth-child(4) { animation-delay: .3s; }
.content-block:nth-child(5) { animation-delay: .4s; }
.content-block:nth-child(6) { animation-delay: .5s; }

.content-block h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text);
  margin-bottom: 1rem;
}

.content-block p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.content-block p:last-child { margin-bottom: 0; }

.content-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-list li {
  display: flex;
  gap: .75rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.content-list li::before {
  content: "•";
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

.warning-box {
  padding: 1rem;
  background: var(--bg-warn);
  border-left: 4px solid var(--warn-border);
  border-radius: var(--radius);
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 1rem;
}

.info-card {
  background: var(--bg-alt);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-row-label {
  font-size: .875rem;
  color: var(--text-muted);
  margin-bottom: .125rem;
}

.info-row-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.info-row-value a {
  color: var(--primary);
  font-weight: 600;
}
.info-row-value a:hover { color: var(--primary-dark); opacity: 1; }

.content-footer {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  animation: slideInUp .6s ease-out;
}
.content-footer p {
  font-size: .875rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
}

/* ── Animations ── */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Ensure animated elements with delay start invisible */
[style*="animation-delay"] { animation-fill-mode: both; }
