/* ==========================================================================
   Axiom Seguros — folha de estilos compartilhada
   ========================================================================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  background: #FFFFFF;
  color: #3A4D60;
  -webkit-font-smoothing: antialiased;
}
a { color: #C9A84C; text-decoration: none; }
a:hover { color: #0D1B2A; }
button { font-family: inherit; }
img { max-width: 100%; }

.axm-section { max-width: 1320px; margin: 0 auto; padding: 0 40px; }

.axm-eyebrow { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #C9A84C; margin-bottom: 16px; }
.axm-eyebrow-lt { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(201,168,76,.7); margin-bottom: 16px; }

.axm-h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 300; font-size: 38px; color: #0D1B2A; line-height: 1.15; margin: 0 0 16px; }
.axm-h2-lt { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 300; font-size: 34px; color: #F8F6F1; line-height: 1.2; margin: 0 0 16px; }

.axm-desc { font-size: 15px; line-height: 1.8; color: #5C7086; max-width: 620px; }
.axm-desc-lt { font-size: 15px; line-height: 1.85; color: #9AAAB8; max-width: 600px; }

.axm-btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #0D1B2A;
  background: #C9A84C; border: 1px solid #C9A84C; border-radius: 2px; padding: 16px 28px;
  cursor: pointer; transition: all .15s ease;
}
.axm-btn-primary:hover { background: #0D1B2A; color: #F8F6F1; border-color: #0D1B2A; }

.axm-btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #F8F6F1;
  background: transparent; border: 1px solid rgba(248,246,241,.35); border-radius: 2px; padding: 16px 28px;
  cursor: pointer; transition: all .15s ease;
}
.axm-btn-secondary:hover { border-color: #C9A84C; color: #C9A84C; }

.axm-btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #0D1B2A;
  background: transparent; border: 1px solid rgba(13,27,42,.25); border-radius: 2px; padding: 14px 24px;
  cursor: pointer; transition: all .15s ease;
}
.axm-btn-outline:hover { border-color: #0D1B2A; }

.axm-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.axm-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }

.axm-card { background: #FFFFFF; border: 1px solid rgba(13,27,42,.08); border-radius: 3px; padding: 32px 28px; transition: box-shadow .2s ease, transform .2s ease; }
.axm-card:hover { box-shadow: 0 16px 40px rgba(13,27,42,.08); transform: translateY(-3px); }
.axm-card-sm { background: #FFFFFF; border: 1px solid rgba(13,27,42,.08); border-radius: 3px; padding: 30px 26px; }

.axm-segcard:hover .axm-seglink { color: #C9A84C; }

/* ---------- HEADER ---------- */
.axm-header {
  font-family: 'DM Sans', system-ui, sans-serif;
  position: sticky; top: 0; z-index: 50; width: 100%;
}
.axm-header[data-theme="light"] { background: #F8F6F1; border-bottom: 1px solid rgba(201,168,76,.18); }
.axm-header[data-theme="dark"]  { background: #0D1B2A; border-bottom: 1px solid rgba(201,168,76,.16); }

.axm-header-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 40px; height: 108px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.axm-logo-link { display: flex; align-items: center; flex-shrink: 0; }
.axm-header[data-theme="light"] .axm-logo-dark { display: none; }
.axm-header[data-theme="light"] .axm-logo-light { display: block; height: 72px; width: auto; }
.axm-header[data-theme="dark"] .axm-logo-light { display: none; }
.axm-header[data-theme="dark"] .axm-logo-dark { display: block; height: 56px; width: auto; }

.axm-nav-desktop { display: flex; align-items: center; gap: 36px; }
.axm-nav-link { text-decoration: none; transition: color .15s ease; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.axm-header[data-theme="light"] .axm-nav-link { color: #3A4D60; }
.axm-header[data-theme="dark"] .axm-nav-link { color: #9AAAB8; }
.axm-nav-link:hover { color: #C9A84C !important; }
.axm-nav-link.is-active { color: #C9A84C !important; }

.axm-header-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.axm-cta-btn {
  font-family: 'DM Sans', sans-serif; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: #0D1B2A; background: #C9A84C; border: 1px solid #C9A84C; border-radius: 2px; padding: 12px 20px;
  cursor: pointer; white-space: nowrap; transition: background .15s ease, color .15s ease;
}
.axm-cta-btn:hover { background: #0D1B2A; color: #F8F6F1; border-color: #0D1B2A; }

.axm-burger {
  display: none; align-items: center; justify-content: center; width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 0;
}
.axm-burger span { width: 22px; height: 1px; display: block; }
.axm-header[data-theme="light"] .axm-burger span { background: #0D1B2A; }
.axm-header[data-theme="dark"] .axm-burger span { background: #F8F6F1; }

.axm-mobile-menu {
  display: none; padding: 8px 40px 28px; flex-direction: column; gap: 18px;
}
.axm-header[data-theme="light"] .axm-mobile-menu { border-top: 1px solid rgba(201,168,76,.14); }
.axm-header[data-theme="dark"] .axm-mobile-menu { border-top: 1px solid rgba(201,168,76,.16); }
.axm-mobile-menu.is-open { display: flex; }

@media (max-width: 900px) {
  .axm-nav-desktop { display: none !important; }
  .axm-header-actions .axm-cta-btn { display: none; }
  .axm-burger { display: flex !important; }
  .axm-grid4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .axm-grid3 { grid-template-columns: 1fr; }
  .axm-hero-title { font-size: 44px !important; }
  .axm-founder { grid-template-columns: 1fr !important; }
  .axm-values { grid-template-columns: 1fr !important; }
  .axm-checklist { grid-template-columns: 1fr !important; }
  .axm-nr01 { grid-template-columns: 1fr !important; }
  .axm-contact-grid { grid-template-columns: 1fr !important; }
  .axm-fgrid { grid-template-columns: 1fr 1fr !important; }
}

/* ---------- FOOTER ---------- */
.axm-footer { font-family: 'DM Sans', system-ui, sans-serif; background: #0D1B2A; width: 100%; }
.axm-footer-inner { max-width: 1320px; margin: 0 auto; padding: 72px 40px 32px; }
.axm-fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.axm-flink { text-decoration: none; transition: color .15s ease; font-size: 13px; color: #9AAAB8; }
.axm-flink:hover { color: #C9A84C !important; }
.axm-fsocial-row { display: flex; gap: 10px; margin-top: 24px; }
.axm-social {
  width: 36px; height: 36px; border: 1.5px solid rgba(201,168,76,.55); border-radius: 2px;
  display: flex; align-items: center; justify-content: center; transition: border-color .15s ease;
}
.axm-social:hover { border-color: #E8D49A !important; }
.axm-social:hover svg { stroke: #E8D49A !important; }
.axm-ftitle {
  font-size: 10px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(201,168,76,.8); margin-bottom: 20px;
}
.axm-flinklist { display: flex; flex-direction: column; gap: 14px; }
.axm-fmaplink { font-size: 11px; font-weight: 700; letter-spacing: .05em; color: #C9A84C; }
.axm-fdivider { height: 1px; background: rgba(201,168,76,.12); margin: 56px 0 24px; }
.axm-fbottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.axm-fcopy { font-size: 11.5px; color: rgba(138,155,176,.4); }

/* ---------- SOBRE ---------- */
.axm-founder { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; }
.axm-values { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }

/* ---------- PLANOS ---------- */
.axm-tab {
  font-family: 'DM Sans', sans-serif; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  padding: 16px 4px; background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; margin-right: 40px;
  color: #9AAAB8;
}
.axm-tab.is-active { border-bottom-color: #C9A84C; color: #0D1B2A; }
.axm-checklist { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px 32px; }
.axm-check-item { display: flex; gap: 12px; align-items: flex-start; }
.axm-faq-q { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 24px 0; }
.axm-faq-item { border-top: 1px solid rgba(13,27,42,.1); }
.axm-faq-icon { display: inline-flex; flex-shrink: 0; transition: transform .15s ease; }
.axm-faq-item.is-open .axm-faq-icon { transform: rotate(45deg); }
.axm-faq-a { font-size: 14px; line-height: 1.8; color: #5C7086; padding-bottom: 24px; max-width: 640px; display: none; }
.axm-faq-item.is-open .axm-faq-a { display: block; }
.axm-tabpanel { display: none; }
.axm-tabpanel.is-active { display: block; }

/* ---------- CONTATO ---------- */
.axm-contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; }
.axm-field label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8A9BB0; display: block; margin-bottom: 8px; }
.axm-input {
  width: 100%; font-family: 'DM Sans', sans-serif; font-size: 14px; color: #0D1B2A; background: #FFFFFF;
  border: 1px solid rgba(13,27,42,.15); border-radius: 2px; padding: 13px 14px; outline: none; transition: border-color .15s ease;
}
.axm-input:focus { border-color: #C9A84C; }
.axm-pill {
  font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: .04em; border-radius: 2px; padding: 10px 16px;
  cursor: pointer; transition: all .15s ease; background: transparent; color: #5C7086; border: 1px solid rgba(13,27,42,.18);
}
.axm-pill.is-selected { background: #C9A84C; color: #0D1B2A; border: 1px solid #C9A84C; }
.axm-info-row { display: flex; gap: 16px; align-items: flex-start; }
.axm-info-row:hover .axm-info-link { color: #C9A84C; }
.axm-info-link { font-size: 15px; color: #F8F6F1; transition: color .15s ease; }
.axm-form-error { font-size: 12.5px; color: #B5453E; display: none; }
.axm-form-error.is-visible { display: block; }
.axm-form-fields.is-hidden { display: none; }
.axm-form-success { display: none; }
.axm-form-success.is-visible { display: flex; }
