
/* ==========================================================
   ATLAS - GLOBAL.CSS
   Identidade corporativa | Versão 1.0
   HTML5 + CSS3 + JavaScript
   ========================================================== */

/* 1. VARIÁVEIS */

:root {
  --navy-950: #091321;
  --navy-900: #101d32;
  --navy-800: #172a45;
  --navy-700: #223b59;

  --gold-600: #ad8545;
  --gold-500: #c6a36a;
  --gold-400: #e0c18c;
  --gold-light: #f5e9d5;

  --white: #ffffff;
  --surface: #f6f8fb;
  --surface-alt: #edf1f5;

  --text: #17263a;
  --text-muted: #627083;
  --border: #e1e6ed;

  --shadow-sm: 0 5px 20px rgba(9, 19, 33, .05);
  --shadow-md: 0 14px 38px rgba(9, 19, 33, .10);
  --shadow-lg: 0 25px 65px rgba(9, 19, 33, .17);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --container: 1200px;
  --header-height: 88px;

  --transition: .25s ease;
}

/* 2. RESET */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

img {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
}

h1,
h2,
h3 {
  letter-spacing: -.025em;
}

p {
  margin-bottom: 0;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

/* 3. ACESSIBILIDADE */

.skip-link {
  position: fixed;
  z-index: 9999;
  top: -100px;
  left: 20px;
  padding: 12px 20px;
  background: var(--gold-500);
  color: var(--navy-950);
  font-weight: 700;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

/* 4. BOTÕES */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: .91rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-950);
  border-color: var(--gold-500);
}

.btn-primary:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  box-shadow: 0 10px 25px rgba(198, 163, 106, .22);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .65);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy-900);
}

.btn-dark {
  background: var(--navy-900);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-700);
}

/* 5. CABEÇALHO */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 3px 20px rgba(9, 19, 33, .04);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 55px;
  height: 57px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: .09em;
  color: var(--navy-900);
}

.brand-text small {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .025em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
}

.desktop-nav a {
  position: relative;
  padding: 10px 0;
  color: var(--navy-800);
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--transition);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 2px;
  background: var(--gold-600);
  transition: width var(--transition);
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--gold-600);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  width: 100%;
}

.header-cta {
  flex-shrink: 0;
  font-size: .82rem;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

/* 6. HERO */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 650px;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--white);
}

.hero-background,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(6, 16, 29, .96) 0%,
      rgba(9, 23, 41, .88) 37%,
      rgba(9, 23, 41, .52) 72%,
      rgba(9, 23, 41, .35) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 105px;
  padding-bottom: 110px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 23px;
  color: var(--gold-400);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.hero h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5vw, 4.9rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.045em;
}

.hero h1 span {
  display: block;
  color: var(--gold-400);
}

.hero-content > p {
  max-width: 650px;
  color: rgba(255, 255, 255, .88);
  font-size: 1.1rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 34px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 42px;
  color: rgba(255, 255, 255, .9);
  font-size: .85rem;
  font-weight: 600;
}

.hero-highlights span {
  white-space: nowrap;
}

.image-disclaimer {
  position: absolute;
  right: 18px;
  bottom: 15px;
  z-index: 3;
  color: rgba(255, 255, 255, .8);
  font-size: .7rem;
}

/* 7. SEÇÕES */

.section {
  padding: 100px 0;
}

.section-light {
  background: var(--surface);
}

.section-heading {
  max-width: 770px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold-600);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.section-heading h2 {
  margin-bottom: 18px;
  color: var(--navy-900);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800;
}

.section-heading p {
  max-width: 670px;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.section-action {
  margin-top: 45px;
  text-align: center;
}

/* 8. DIFERENCIAIS */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  padding: 35px 27px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(198, 163, 106, .55);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  margin-bottom: 25px;
  border-radius: 14px;
  background: var(--gold-light);
  color: var(--gold-600);
  font-size: 1.1rem;
  font-weight: 800;
}

.feature-card h3 {
  margin-bottom: 13px;
  color: var(--navy-900);
  font-size: 1.12rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.75;
}

/* 9. SERVIÇOS */

.services-section {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-image {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--surface-alt);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.06);
}

.service-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 27px 24px 30px;
}

.service-number {
  margin-bottom: 12px;
  color: var(--gold-600);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.service-content h3 {
  margin-bottom: 12px;
  color: var(--navy-900);
  font-size: 1.2rem;
}

.service-content p {
  margin-bottom: 25px;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.75;
}

.service-more {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  color: var(--gold-600);
  font-size: .87rem;
  font-weight: 800;
}

.service-more span {
  transition: transform var(--transition);
}

.service-card:hover .service-more span {
  transform: translateX(5px);
}

/* 10. SEGMENTOS */

.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.segment-card {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--navy-900);
  color: var(--white);
  isolation: isolate;
}

.segment-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(7, 17, 31, .08) 5%,
    rgba(7, 17, 31, .45) 40%,
    rgba(7, 17, 31, .97) 100%
  );
}

.segment-card > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.segment-card:hover > img {
  transform: scale(1.07);
}

.segment-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 32px;
}

.segment-content > span {
  display: block;
  margin-bottom: 11px;
  color: var(--gold-400);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.segment-content h3 {
  margin-bottom: 12px;
  font-size: 1.65rem;
}

.segment-content p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, .85);
  font-size: .91rem;
  line-height: 1.7;
}

.segment-content a {
  color: var(--gold-400);
  font-size: .87rem;
  font-weight: 800;
}

.segment-content a:hover {
  color: var(--white);
}

/* 11. PROCESSO */

.process-section {
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.process-card {
  position: relative;
  padding: 38px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.process-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  width: 55px;
  height: 3px;
  background: var(--gold-500);
}

.process-number {
  display: block;
  margin-bottom: 23px;
  color: var(--gold-600);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.process-card h3 {
  margin-bottom: 13px;
  color: var(--navy-900);
  font-size: 1.2rem;
}

.process-card p {
  color: var(--text-muted);
  font-size: .94rem;
  line-height: 1.75;
}

/* 12. CHAMADA COMERCIAL */

.cta-section {
  padding: 80px 0;
  background:
    radial-gradient(
      circle at 95% 15%,
      rgba(198, 163, 106, .13),
      transparent 40%
    ),
    var(--navy-900);
  color: var(--white);
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.cta-content > div:first-child {
  max-width: 680px;
}

.cta-content h2 {
  margin-bottom: 17px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.cta-content p {
  color: rgba(255, 255, 255, .78);
  font-size: 1rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 240px;
}

.cta-actions .btn {
  width: 100%;
}

/* 13. RODAPÉ */

.site-footer {
  background: var(--navy-950);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr 1fr;
  gap: 70px;
  padding-top: 75px;
  padding-bottom: 65px;
}

.footer-about img {
  width: 125px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.footer-about p {
  max-width: 330px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, .7);
  font-size: .91rem;
}

.site-footer h3 {
  margin-bottom: 25px;
  color: var(--white);
  font-size: 1.08rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-links h3 {
  margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, .72);
  font-size: .9rem;
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold-400);
}

.footer-contact p {
  margin-bottom: 20px;
}

.footer-contact strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-400);
  font-size: .81rem;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 23px;
  padding-bottom: 25px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-bottom p {
  color: rgba(255, 255, 255, .55);
  font-size: .78rem;
}

/* 14. WHATSAPP FLUTUANTE */

.whatsapp-float {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 8px 30px rgba(37, 211, 102, .3);
  transition:
    transform var(--transition),
    background var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-5px);
  background: #1eaf54;
}

.whatsapp-float svg {
  width: 31px;
  height: 31px;
}

/* 15. RESPONSIVIDADE - NOTEBOOK */

@media (max-width: 1150px) {
  .desktop-nav {
    gap: 15px;
  }

  .desktop-nav a {
    font-size: .83rem;
  }

  .header-cta {
    padding-inline: 14px;
  }

  .features-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-image {
    height: 240px;
  }
}

/* 16. RESPONSIVIDADE - TABLET */

@media (max-width: 950px) {
  :root {
    --header-height: 76px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 45px;
    height: 45px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--white);
  }

  .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--navy-900);
    transition: transform var(--transition), opacity var(--transition);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .mobile-nav:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    padding: 15px 24px 25px;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .mobile-nav a {
    padding: 14px 5px;
    border-bottom: 1px solid var(--border);
    color: var(--navy-900);
    font-weight: 600;
  }

  .mobile-nav a[aria-current="page"] {
    color: var(--gold-600);
  }

  .mobile-nav .mobile-cta {
    margin-top: 15px;
    padding: 15px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--gold-500);
    color: var(--navy-950);
    text-align: center;
    font-weight: 800;
  }

  .hero {
    min-height: 590px;
  }

  .hero-content {
    padding-top: 90px;
    padding-bottom: 95px;
  }

  .segments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    gap: 16px;
  }

  .process-card {
    padding: 30px 24px;
  }

  .cta-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .cta-actions {
    flex-direction: row;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 45px;
  }
}

/* 17. RESPONSIVIDADE - CELULAR */

@media (max-width: 650px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .brand img {
    width: 46px;
    height: 48px;
  }

  .brand-text strong {
    font-size: 1.35rem;
  }

  .brand-text small {
    font-size: .57rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(6, 16, 29, .94),
      rgba(6, 16, 29, .77)
    );
  }

  .hero-content {
    padding-top: 82px;
    padding-bottom: 90px;
  }

  .eyebrow {
    font-size: .65rem;
    letter-spacing: .12em;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10vw, 3.4rem);
  }

  .hero-content > p {
    font-size: .96rem;
    line-height: 1.75;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-highlights {
    gap: 12px;
    margin-top: 30px;
    font-size: .77rem;
  }

  .section {
    padding: 70px 0;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .section-heading p {
    font-size: .94rem;
  }

  .features-grid,
  .services-grid,
  .segments-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 28px;
  }

  .service-image {
    height: 230px;
  }

  .segment-card {
    min-height: 380px;
  }

  .segment-content {
    padding: 27px;
  }

  .process-card {
    padding: 30px;
  }

  .cta-section {
    padding: 65px 0;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-actions {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 60px;
    padding-bottom: 45px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
}

/* 18. TELAS MUITO PEQUENAS */

@media (max-width: 360px) {
  .brand {
    gap: 7px;
  }

  .brand-text strong {
    font-size: 1.15rem;
  }

  .brand-text small {
    font-size: .51rem;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .hero-highlights span {
    white-space: normal;
  }
}

/* 19. ACESSIBILIDADE - MOVIMENTO REDUZIDO */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Correção do botão de orçamento no menu mobile */
.mobile-nav .mobile-cta,
.mobile-nav .mobile-cta:visited,
.mobile-nav .mobile-cta:hover,
.mobile-nav .mobile-cta:focus {
  background-color: #c6a36a;
  color: #101d32;
  font-weight: 700;
  text-decoration: none;
}
