/*
Theme Name: A&M Serviços - Child
Theme URI: https://amsrv.com.br
Description: Tema filho do Hello Elementor com a identidade visual da A&M (paleta quente, lettering luxuoso serifado) e landing page completa.
Author: A&M
Template: hello-elementor
Version: 1.0.0
Text Domain: amsrv-child
*/

:root {
  --am-wine: #23100c;
  --am-bg: #1b0c09;
  --am-card: #271410;
  --am-gold: #e8a53a;
  --am-gold-light: #f3c877;
  --am-coral: #ff6b35;
  --am-cream: #f8efe3;
  --am-muted: #b9a596;
  --am-border: rgba(232, 165, 58, 0.18);
  --am-gradient-luxo: linear-gradient(135deg, var(--am-gold) 0%, var(--am-coral) 100%);
  --am-gradient-shine: linear-gradient(135deg, var(--am-gold-light) 0%, var(--am-gold) 50%, var(--am-coral) 100%);
  --am-gradient-hero: radial-gradient(ellipse at top, #4a2216 0%, #170a07 60%);
  --am-shadow-gold: 0 20px 60px -15px rgba(255, 107, 53, 0.5);
}

body.amsrv-landing {
  margin: 0;
  background: var(--am-bg);
  color: var(--am-cream);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.amsrv-landing h1,
.amsrv-landing h2,
.amsrv-landing h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0;
}

.am-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.am-gold-text {
  font-style: italic;
  background: var(--am-gradient-shine);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.am-eyebrow { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--am-gold); }
.am-muted { color: var(--am-muted); }

/* Header */
.am-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(27, 12, 9, .72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--am-border);
}
.am-header .am-wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.am-nav { display: none; gap: 32px; font-size: 14px; }
.am-nav a { color: var(--am-muted); text-decoration: none; }
.am-nav a:hover { color: var(--am-cream); }
.am-logo img { height: 40px; width: auto; display: block; }

/* Buttons */
.am-btn {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 999px; padding: 14px 28px; font-size: 14px; font-weight: 500;
  text-decoration: none; transition: transform .2s, opacity .2s, background-color .2s;
}
.am-btn-primary { background: var(--am-gradient-luxo); color: #1b0c09; box-shadow: var(--am-shadow-gold); }
.am-btn-primary:hover { transform: scale(1.02); color: #1b0c09; }
.am-btn-ghost { border: 1px solid var(--am-border); color: var(--am-cream); }
.am-btn-ghost:hover { background: var(--am-card); color: var(--am-cream); }
.am-btn-sm { padding: 9px 20px; }

/* WhatsApp float */
.am-whats {
  position: fixed; right: 20px; top: 80px; z-index: 60;
  height: 48px; width: 48px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .2s;
}
.am-whats:hover { transform: scale(1.1); }
.am-whats svg { width: 26px; height: 26px; fill: currentColor; }

/* Hero */
.am-hero { position: relative; overflow: hidden; background: var(--am-gradient-hero); padding: 128px 0 96px; text-align: center; }
.am-hero .am-wrap { display: flex; flex-direction: column; align-items: center; }
.am-hero-logo { height: 160px; width: auto; filter: drop-shadow(0 20px 60px rgba(232,165,58,.35)); }
.am-badge {
  margin-top: 40px; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--am-border); border-radius: 999px; padding: 6px 16px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--am-muted);
  background: rgba(39,20,16,.5);
}
.am-hero h1 { margin-top: 24px; font-size: 44px; line-height: 1.05; }
.am-hero p { margin-top: 24px; max-width: 640px; color: var(--am-muted); font-size: 17px; }
.am-hero-actions { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }

/* Sections */
.am-section { border-top: 1px solid var(--am-border); padding: 96px 0; }
.am-section-alt { background: rgba(39,20,16,.4); }
.am-head { max-width: 640px; margin: 0 auto; text-align: center; }
.am-head h2 { margin-top: 16px; font-size: 36px; }
.am-head p { margin-top: 16px; color: var(--am-muted); }

.am-grid { margin-top: 64px; display: grid; gap: 24px; grid-template-columns: 1fr; }
.am-card {
  position: relative; overflow: hidden; border: 1px solid var(--am-border);
  border-radius: 18px; background: var(--am-card); padding: 32px; transition: border-color .25s;
}
.am-card:hover { border-color: rgba(232,165,58,.5); }
.am-icon {
  height: 48px; width: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--am-gradient-luxo); box-shadow: var(--am-shadow-gold); margin-bottom: 24px;
}
.am-icon svg { width: 24px; height: 24px; stroke: #1b0c09; fill: none; stroke-width: 1.8; }
.am-card h3 { font-size: 20px; }
.am-card p { margin: 12px 0 0; font-size: 14px; line-height: 1.7; color: var(--am-muted); }

/* Diferenciais */
.am-split { display: grid; gap: 56px; grid-template-columns: 1fr; align-items: center; }
.am-split h2 { margin-top: 16px; font-size: 36px; }
.am-split > div > p { margin-top: 24px; color: var(--am-muted); }
.am-item { display: flex; gap: 24px; border: 1px solid var(--am-border); border-radius: 18px; background: rgba(27,12,9,.5); padding: 24px; margin-bottom: 16px; }
.am-item span.n { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 30px; background: var(--am-gradient-shine); -webkit-background-clip: text; background-clip: text; color: transparent; }
.am-item h3 { font-size: 20px; }
.am-item p { margin: 8px 0 0; font-size: 14px; color: var(--am-muted); }

/* Contato */
.am-cta { text-align: center; }
.am-cta h2 { font-size: 40px; }
.am-cta > p { margin-top: 24px; color: var(--am-muted); }
.am-cta-actions { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* Footer */
.am-footer { border-top: 1px solid var(--am-border); padding: 40px 0; }
.am-footer .am-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.am-footer img { height: 32px; width: auto; }
.am-footer small { color: var(--am-muted); font-size: 13px; }
.am-footer .tag { font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--am-muted); }

/* Reveal animation */
.am-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.am-reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 768px) {
  .am-nav { display: flex; }
  .am-header-cta { display: inline-flex; }
  .am-hero { padding: 190px 0 160px; }
  .am-hero-logo { height: 224px; }
  .am-hero h1 { font-size: 68px; }
  .am-hero-actions { flex-direction: row; }
  .am-section { padding: 128px 0; }
  .am-head h2 { font-size: 46px; }
  .am-grid { grid-template-columns: repeat(2, 1fr); }
  .am-split { grid-template-columns: 1fr 1.2fr; }
  .am-split h2, .am-head h2 { font-size: 46px; }
  .am-cta h2 { font-size: 58px; }
  .am-cta-actions { flex-direction: row; justify-content: center; }
  .am-footer .am-wrap { flex-direction: row; justify-content: space-between; text-align: left; }
}
@media (min-width: 1024px) {
  .am-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .am-header-cta { display: none; }
}
