/* ---------------------------------------------------------
   3 Pontos — Consultoria & Gestão
   Landing temporária — paleta extraída da identidade visual
--------------------------------------------------------- */

:root{
  /* paleta extraída da logo (marrom profundo -> bronze -> areia) */
  --color-espresso:      #3A2415;
  --color-espresso-deep: #2A1A10;
  --color-coffee:        #6B4830;
  --color-bronze:        #9C7A52;
  --color-bronze-light:  #B99B71;
  --color-sand:          #E9DEC9;

  --color-bg:            #FBF8F3;
  --color-bg-panel:      #F3EBDD;
  --color-surface:       #FFFFFF;
  --color-border:        #E2D3BB;

  --color-whatsapp:      #25D366;

  --font-serif: Georgia, "Times New Roman", "Iowan Old Style", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --shadow-soft: 0 20px 45px -25px rgba(42, 26, 16, 0.35);
  --shadow-card: 0 10px 24px -16px rgba(42, 26, 16, 0.28);

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;

  color-scheme: light;
}

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

html{
  -webkit-text-size-adjust: 100%;
}

body{
  margin: 0;
  min-height: 100dvh;
  background: var(--color-bg);
  color: var(--color-espresso);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.page{
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ---------------------------------------------------------
   Hero (main composition)
--------------------------------------------------------- */

.hero{
  flex: 1;
  min-width: 0;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(28px, 6vh, 64px) clamp(20px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  align-content: center;
  gap: clamp(32px, 5vw, 80px);
}

.hero__brand{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}

.hero__logo{
  width: min(320px, 78vw);
  height: auto;
  margin-bottom: 6px;
  filter: drop-shadow(0 16px 30px rgba(42, 26, 16, 0.14));
}

.hero__headline{
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.85rem);
  line-height: 1.15;
  color: var(--color-espresso-deep);
  letter-spacing: 0.2px;
}

.hero__lead{
  margin: 0;
  max-width: 46ch;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--color-coffee);
  line-height: 1.6;
}

.hero__lead strong{
  color: var(--color-espresso-deep);
  font-weight: 600;
}

.hero__sub{
  margin: 4px 0 0;
  max-width: 42ch;
  font-size: 0.92rem;
  color: var(--color-bronze);
  line-height: 1.6;
}

/* three-dots signature */
.dots{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 2px;
}

.dots__item{
  width: 9px;
  height: 9px;
  border-radius: 50%;
  opacity: 0;
  transform: translateY(6px) scale(0.6);
  animation: dotIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.dots__item--1{ background: var(--color-bronze-light); animation-delay: 0.15s; }
.dots__item--2{ background: var(--color-coffee); animation-delay: 0.32s; }
.dots__item--3{ background: var(--color-espresso-deep); animation-delay: 0.49s; }

@keyframes dotIn{
  to{ opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------------------------------------------------------
   Contact panel
--------------------------------------------------------- */

.contact{
  display: flex;
  min-width: 0;
}

.contact__inner{
  width: 100%;
  background: var(--color-bg-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-soft);
}

.contact__title{
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  font-weight: 400;
  color: var(--color-espresso-deep);
}

.contact__hint{
  margin: 0 0 22px;
  font-size: 0.9rem;
  color: var(--color-coffee);
}

.contact__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact__card{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.contact__card:hover{
  border-color: var(--color-bronze);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.contact__info{
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact__name{
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-espresso-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact__role{
  font-size: 0.8rem;
  color: var(--color-bronze);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contact__button{
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--color-espresso);
  color: var(--color-bg);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.2s ease;
}

.contact__button:hover,
.contact__button:focus-visible{
  background: var(--color-espresso-deep);
  transform: translateY(-1px);
}

.contact__button:active{
  transform: translateY(0);
}

.contact__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 6px;
  border-radius: 50%;
  background: var(--color-bronze-light);
  color: var(--color-espresso-deep);
  transition: background 0.25s ease, color 0.25s ease;
}

.contact__icon svg{
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.contact__button:hover .contact__icon,
.contact__button:focus-visible .contact__icon{
  background: var(--color-whatsapp);
  color: #FFFFFF;
}

.contact__cta{
  display: inline-block;
}

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */

.footer{
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 18px 20px clamp(20px, 4vh, 32px);
}

.footer__line{
  margin: 0;
  font-size: 0.78rem;
  color: var(--color-bronze);
}

.footer__line--muted{
  margin-top: 4px;
  color: var(--color-bronze-light);
}

.footer__dot{
  margin: 0 2px;
}

.footer__credit{
  color: var(--color-coffee);
  font-weight: 600;
  letter-spacing: 0.03em;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer__credit:hover,
.footer__credit:focus-visible{
  color: var(--color-espresso-deep);
  border-color: var(--color-bronze);
}

/* ---------------------------------------------------------
   Entrance animation
--------------------------------------------------------- */

[data-reveal]{
  opacity: 0;
  transform: translateY(14px);
}

.is-ready [data-reveal]{
  animation: revealUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.is-ready .hero__brand{ animation-delay: 0.05s; }
.is-ready .contact{ animation-delay: 0.2s; }

@keyframes revealUp{
  to{ opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */

@media (max-width: 900px){
  .hero{
    grid-template-columns: 1fr;
    padding-top: clamp(28px, 5vh, 40px);
    gap: 40px;
  }

  .hero__brand{
    align-items: center;
    text-align: center;
  }

  .hero__lead,
  .hero__sub{
    max-width: 52ch;
  }

  .dots{
    justify-content: center;
  }
}

@media (max-width: 560px){
  .hero{
    padding-left: 18px;
    padding-right: 18px;
    gap: 32px;
  }

  .hero__logo{
    width: min(260px, 70vw);
  }

  .hero__headline{
    font-size: 1.6rem;
  }

  .hero__lead{
    font-size: 0.98rem;
  }

  .contact__inner{
    padding: 20px 16px;
  }

  .contact__card{
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 18px 16px;
    gap: 12px;
  }

  .contact__info{
    align-items: center;
  }

  .contact__button{
    justify-content: center;
    width: 100%;
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .contact__icon{
    width: 22px;
    height: 22px;
  }
}

@media (min-width: 1600px){
  .hero{
    max-width: 1480px;
  }
}

/* ---------------------------------------------------------
   Reduced motion
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce){
  .dots__item,
  [data-reveal],
  .is-ready [data-reveal]{
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .contact__card,
  .contact__button,
  .contact__icon{
    transition: none !important;
  }
}
