/* ============================================================
   ACORN ADVISORY — Estilos do site
   Paleta e fontes extraídas do site original
   ============================================================ */

:root {
  --coral:      #ff6e6e;   /* destaque da marca */
  --coral-dark: #e85c5c;   /* hover do coral */
  --wine:       #45262d;   /* texto escuro / fundo vinho */
  --wine-deep:  #2e181e;   /* vinho mais profundo */
  --cream:      #f1ede8;   /* fundo claro creme */
  --cream-dark: #e7e1d8;   /* borda / creme escuro */
  --white:      #ffffff;
  --text:       #45262d;
  --text-soft:  rgba(69,38,45,.65);
  --text-light: #f5efe8;
  --text-light-soft: rgba(245,239,232,.7);

  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Lato', Helvetica, Arial, sans-serif;

  --maxw: 1200px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Utilitários ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.serif { font-family: var(--serif); }
.coral { color: var(--coral); }
.section { padding: 90px 0; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--wine);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; max-width: var(--maxw); margin: 0 auto;
  padding: 0 24px;
}
.nav-logo img { height: 38px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-menu a {
  color: var(--text-light); font-size: .95rem; font-weight: 400;
  transition: color .18s;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--coral); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-cta {
  background: var(--coral); color: #fff; font-weight: 600;
  padding: 11px 26px; border-radius: 40px; font-size: .92rem;
  transition: background .18s, transform .18s;
}
.nav-cta:hover { background: var(--coral-dark); transform: translateY(-1px); color:#fff; }
.nav-langs { display: flex; gap: 8px; align-items: center; }
.nav-langs img { height: 18px; width: 26px; object-fit: cover; border-radius: 2px; opacity: .6; transition: opacity .18s; }
.nav-langs a.active img, .nav-langs img:hover { opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--text-light); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  background-image: url(../img/hero-fundo.jpg);
  background-size: cover;
  background-position: center top 20%;
  color: var(--wine);
  padding: 160px 0 140px;
  position: relative;
  overflow: hidden;
}
.hero-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; text-align: right; }
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.05;
  margin-bottom: 22px; color: var(--wine); text-shadow: 0 1px 2px rgba(255,255,255,.4);
}
.hero h1 .coral { color: var(--coral); }
.hero p.lead {
  font-size: 1.1rem; color: var(--wine); opacity: .85;
  max-width: 480px; line-height: 1.7; margin-left: auto; text-align: left;
}

/* mapa mundi (M&A worldwide) */
.worldwide {
  background-color: var(--coral);
  background-image: url(../img/ma-worldwide.png);
  background-size: cover; background-position: center;
  color: #fff; padding: 90px 0;
}
.worldwide-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: center;
}
.worldwide .eyebrow { color: #fff; font-weight: 700; letter-spacing: .1em; font-size: .8rem; margin-bottom: 12px; text-transform: uppercase; }
.worldwide h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500; line-height: 1.15; margin-bottom: 20px; }
.worldwide .btn-outline {
  display: inline-block; margin-top: 18px; border: 1.5px solid #fff;
  color: #fff; padding: 11px 28px; border-radius: 40px; font-weight: 600;
  transition: background .18s, color .18s;
}
.worldwide .btn-outline:hover { background: #fff; color: var(--coral); }

/* ---------- Stats ---------- */
.stats { background: var(--wine); padding: 60px 0; border-top: 1px solid rgba(255,255,255,.08); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; color: var(--text-light); }
.stat-num { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 600; color: var(--coral); line-height: 1; }
.stat-label { font-size: .95rem; color: var(--text-light-soft); margin-top: 10px; max-width: 260px; margin-left: auto; margin-right: auto; }
.stat-note { text-align: center; color: rgba(245,239,232,.4); font-size: .78rem; margin-top: 30px; }

/* ---------- Serviços ---------- */
.services { background: var(--cream); }
.services h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; text-align: center; margin-bottom: 50px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border: 1px solid var(--cream-dark); border-radius: 10px;
  padding: 36px 26px; text-align: center; transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(69,38,45,.1); }
.service-icon {
  width: 84px; height: 84px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--coral);
  display: flex; align-items: center; justify-content: center;
}
.service-icon img { height: 44px; width: 44px; filter: brightness(0) invert(1); }
.service-card h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; margin-bottom: 14px; }
.service-card a { color: var(--coral); font-weight: 600; font-size: .9rem; }
.service-card a:hover { color: var(--coral-dark); }

/* ---------- Faixa "cada negócio é único" ---------- */
.unique {
  background-color: var(--coral);
  background-image: url(../img/negocio-unico.png);
  background-size: cover; background-position: center;
  color: #fff; text-align: center;
}
.unique h2 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; margin-bottom: 18px; }
.unique h2 .coral { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.unique p { max-width: 620px; margin: 0 auto; color: rgba(255,255,255,.9); font-size: 1.1rem; }

/* ---------- Cases ---------- */
.cases { background: var(--cream); text-align: center; }
.cases h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; margin-bottom: 12px; }
.cases .sub { color: var(--text-soft); max-width: 560px; margin: 0 auto 46px; }
.cases-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.case-logo {
  border-radius: 12px; overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.case-logo:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(69,38,45,.15); }
.case-logo img { width: 100%; height: auto; display: block; }
.cases .btn-coral {
  display: inline-block; margin-top: 44px; background: var(--coral); color: #fff;
  padding: 13px 32px; border-radius: 40px; font-weight: 600; transition: background .18s, transform .18s;
}
.cases .btn-coral:hover { background: var(--coral-dark); transform: translateY(-1px); }

/* ---------- Depoimentos ---------- */
.testimonials { background: var(--wine); color: var(--text-light); }
.testimonials h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; text-align: center; margin-bottom: 50px; }
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testi-card {
  background: var(--wine-deep); border: 1px solid rgba(255,255,255,.08);
  border-left: 3px solid var(--coral); border-radius: 8px; padding: 30px 32px;
}
.testi-quote { font-style: italic; font-size: 1.02rem; line-height: 1.7; color: var(--text-light-soft); margin-bottom: 20px; }
.testi-name { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.testi-role { color: var(--coral); font-size: .85rem; }

/* ---------- Vídeo Segware ---------- */
.video-story { background: var(--cream); }
.video-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.video-inner h2 { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; line-height: 1.2; margin-bottom: 20px; }
.video-inner p { color: var(--text-soft); margin-bottom: 16px; }
.video-frame { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; box-shadow: 0 20px 50px rgba(69,38,45,.2); }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wine-deep); color: var(--text-light); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-col h4 { font-family: var(--serif); font-size: 1.05rem; margin-bottom: 18px; color: var(--coral); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-light-soft); font-size: .92rem; transition: color .18s; }
.footer-col a:hover { color: var(--coral); }
.footer-logo img { height: 40px; margin-bottom: 18px; }
.footer-addr { color: var(--text-light-soft); font-size: .9rem; line-height: 1.8; }
.footer-social { display: flex; gap: 14px; margin-top: 18px; }
.footer-social a { color: var(--text-light-soft); font-size: 1.3rem; transition: color .18s; }
.footer-social a:hover { color: var(--coral); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding-top: 24px; text-align: center; color: rgba(245,239,232,.4); font-size: .82rem; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(3, 1fr); }
  .worldwide-inner, .video-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-menu { display: none; }
  .nav-toggle { display: block; }
  .nav-menu.open {
    display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--wine); padding: 20px 24px; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .stats-grid { grid-template-columns: 1fr; gap: 30px; }
  .testi-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto; }
}


/* ---------- Faixa grafismo (divisória decorativa) ---------- */
.grafismo {
  height: 70px;
  background-image: url(../img/grafismo.png);
  background-size: auto 100%;
  background-repeat: repeat-x;
  background-position: center;
}

/* ---------- Aspas nos depoimentos ---------- */
.testi-card { position: relative; }
.testi-card::before {
  content: ""; position: absolute; top: -14px; left: 24px;
  width: 46px; height: 38px;
  background-image: url(../img/aspas.png);
  background-size: contain; background-repeat: no-repeat;
  opacity: .9;
}
