/* ═══════════════════════════════════════════════════════════════════
   CAROLINA BIM — Elegant minimalist, centered layout
   Ref: ingriddetalha.com.br
   Palette: White + Earthy bronze + Dark sections
   ═══════════════════════════════════════════════════════════════════ */

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

:root {
  --white: #ffffff;
  --cream: #f8f8f7;
  --warm-100: #f0f1ef;
  --warm-200: #e2e4e0;
  --warm-300: #C4C8C0;
  --warm-400: #a8aca4;
  --bronze: #7B2FBE;
  --bronze-dark: #6a28a3;
  --text: #2D2D2D;
  --text-light: #5a5a5a;
  --dark: #2D2D2D;
  --dark-section: #1a1a1a;

  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Montserrat', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--bronze); color: white; }

.grain {
  position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: 0.015;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 256px;
}

strong { color: var(--dark); font-weight: 500; }

/* ═══════════════════════════════════════════════════════════════════
   HERO — Centered, photo + title together
   ═══════════════════════════════════════════════════════════════════ */
.hero {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 4rem 2rem 3rem;
  background: var(--white);
  min-height: 100dvh;
}

.hero-photo {
  width: 380px; height: 380px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: 0 12px 40px rgba(26, 23, 20, 0.1);
  border: 3px solid var(--warm-300);
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
  transform: scale(1.55);
}

.hero-welcome {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1.25rem;
}

.hero-name {
  font-family: var(--display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 0.95;
  color: var(--dark);
  margin-bottom: 1.25rem;
}
.hero-bim {
  font-style: normal;
  color: var(--bronze-dark);
}

.hero-role {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-light);
}

.hero-divider {
  width: 40px;
  height: 1px;
  background: var(--warm-300);
  margin: 2.5rem 0;
}

.hero-bio {
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 2;
  color: var(--text-light);
  max-width: 520px;
  margin-bottom: 0.75rem;
  text-align: justify;
}
.hero-bio:last-child { margin-bottom: 0; }
.hero-bio strong {
  color: var(--dark);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════
   PRODUCTS — Cards as full clickable links
   ═══════════════════════════════════════════════════════════════════ */
.section-products {
  background: var(--cream);
  padding: 4rem 2rem;
  text-align: center;
}

.products-title {
  font-family: var(--display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--bronze);
  margin-bottom: 3.5rem;
  line-height: 1;
}

.products-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.product-card {
  display: flex; flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--warm-200);
  transition: all 0.4s var(--ease);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(26, 23, 20, 0.1);
  border-color: var(--bronze);
}

.product-mockup {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--warm-100);
}
.product-mockup img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-mockup img {
  transform: scale(1.04);
}

.product-body {
  padding: 1.5rem;
  display: flex; flex-direction: column;
  flex: 1;
  text-align: left;
}

.product-tag {
  display: inline-block;
  width: fit-content;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze-dark);
  background: var(--warm-100);
  padding: 0.2rem 0.65rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}

.product-name {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.product-desc {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  flex: 1;
}

.product-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--bronze-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: gap 0.3s var(--ease), color 0.3s;
}
.product-card:hover .product-link {
  gap: 0.7rem;
  color: var(--dark);
}

/* ═══════════════════════════════════════════════════════════════════
   CTA — Orcamento
   ═══════════════════════════════════════════════════════════════════ */
.section-cta {
  background: var(--white);
  padding: 3.5rem 2rem;
  text-align: center;
}

.cta-title {
  font-family: var(--display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--bronze);
  margin-bottom: 2rem;
  line-height: 1.1;
}

.cta-button {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.75rem;
  text-decoration: none;
  padding: 1rem 2.25rem 1rem 1.75rem;
  border-radius: 100px;
  background: var(--bronze);
  color: var(--white);
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.35s var(--ease);
  box-shadow: 0 4px 24px rgba(123, 47, 190, 0.3);
  animation: cta-pulse 2.5s ease-in-out infinite;
}
.cta-button svg { color: var(--white); flex-shrink: 0; }
.cta-button::before {
  content: '';
  position: absolute; inset: -4px;
  border-radius: inherit;
  background: var(--bronze);
  opacity: 0;
  z-index: -1;
  animation: cta-ring 2.5s ease-in-out infinite;
}
.cta-button:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 36px rgba(123, 47, 190, 0.45);
  animation: none;
}
.cta-button:hover::before { animation: none; opacity: 0; }
.cta-button:active { transform: scale(0.97); }

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(123, 47, 190, 0.3); }
  50% { box-shadow: 0 4px 36px rgba(123, 47, 190, 0.55); }
}

@keyframes cta-ring {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.15; transform: scale(1.08); }
}

.product-cta-text { letter-spacing: 0.01em; }

/* ═══════════════════════════════════════════════════════════════════
   CONTACT — Duvidas
   ═══════════════════════════════════════════════════════════════════ */
.section-contact {
  background: var(--white);
  padding: 3.5rem 2rem;
  text-align: center;
}

.contact-title {
  font-family: var(--display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--bronze);
  margin-bottom: 1rem;
}

.contact-email {
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}
.contact-email:hover { color: var(--bronze-dark); }

/* ═══════════════════════════════════════════════════════════════════
   FOOTER — Minimal centered
   ═══════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--dark-section);
  padding: 3rem 2rem 2rem;
  text-align: center;
}

.footer-brand {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--warm-300);
  margin-bottom: 0.35rem;
}
.footer-brand em {
  font-style: normal;
  color: var(--bronze);
}

.footer-role {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.footer-social {
  margin-bottom: 2rem;
}
.footer-social a {
  color: var(--warm-400);
  transition: color 0.3s;
}
.footer-social a:hover { color: var(--bronze); }

.footer-copy {
  font-size: 0.7rem;
  color: var(--white);
  opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════════════════
   WHATSAPP FLOAT
   ═══════════════════════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 45;
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1.25rem 0.7rem 0.85rem;
  border-radius: 100px;
  background: var(--dark);
  color: var(--white);
  text-decoration: none;
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.35s var(--ease);
}
.whatsapp-float svg { flex-shrink: 0; color: #25D366; }
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  background: var(--bronze);
}
.whatsapp-float:active { transform: scale(0.97); }

/* ═══════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--d, 0) * 0.15s + 0.2s);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.sr {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.1s);
}
.sr.vis {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 1.5rem;
  }
  .hero-photo { width: 340px; height: 340px; }
  .hero-bio { font-size: 0.84rem; max-width: 90%; line-height: 1.9; }
  .hero-role { letter-spacing: 0.2em; }
  .about-text { font-size: 0.88rem; line-height: 1.85; }
  .product-desc { font-size: 0.78rem; line-height: 1.7; }
  .section-about { padding: 3.5rem 1.5rem; }
  .section-products { padding: 3.5rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .hero-name { font-size: 2.25rem; }
  .hero-photo { width: 280px; height: 280px; }
  .hero-welcome { font-size: 0.65rem; margin-bottom: 0.75rem; }
  .hero-role { font-size: 0.6rem; letter-spacing: 0.15em; }
  .hero-divider { margin: 1.75rem 0; }
  .hero-bio { font-size: 0.8rem; max-width: 100%; line-height: 1.85; padding: 0 0.25rem; }
  .about-title, .products-title { font-size: 2.25rem; }
  .about-text { font-size: 0.82rem; padding: 0 0.25rem; }
  .about-inner { max-width: 100%; }
  .product-body { padding: 1.25rem; }
  .product-name { font-size: 1.25rem; }
  .product-desc { font-size: 0.76rem; }
  .cta-title { font-size: 2rem; }
  .footer-brand { font-size: 1.5rem; }
}
