﻿:root {
  --color-primary: #00263A;
  --color-primary-light: #003B71;
  --color-light: #0071CE;
  --color-secondary: #DB6015;
  --color-text: #0e0e0e;
  --color-muted: #898A8D;
  --color-white: #FFFFFF;
  --color-off: #F0F0F0;

  --container-width: 1120px;
  --header-height: 90px;

  --transition: 0.25s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Spline Sans", Arial, sans-serif;
  color: var(--color-text);
  background-color: var(--color-white);
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 65px, var(--container-width));
  margin: 0 auto;
}

/* ==============================
   LINHAS DECORATIVAS PADRÃƒO
============================== */

:root {
  --line-title-width: 180px;
  --line-section-width: 520px;
  --line-thickness: 2px;
}

.section-line-horizontal {
  display: block;
  width: min(var(--line-title-width), 100%);
  height: var(--line-thickness);
  margin: 0 0 18px;
  background-color: var(--color-secondary);
}

.section-line-horizontal-section {
  display: block;
  width: min(var(--line-section-width), 100%);
  height: var(--line-thickness);
  margin: 24px 0;
  background-color: var(--color-secondary);
}

.section-line-vertical {
  display: block;
  width: var(--line-thickness);
  height: 80%;
  align-self: center;
  justify-self: center;
  background-color: var(--color-secondary);
}

.section-line-center {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .section-line-vertical {
    width: 100%;
    height: var(--line-thickness);
  }
}

@media (max-width: 760px) {
  .section-line-horizontal {
    width: min(var(--line-title-width), 62vw);
    margin-bottom: 14px;
  }

  .section-line-horizontal-section {
    width: 100%;
    max-width: none;
    margin: 20px 0;
  }
}


/* Escala tipogrÃ¡fica base */

h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.15;
}

h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
}

h4 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}

p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;
  padding: 0 20px;

  border-radius: 8px;
  border: 1px solid transparent;

  font-size: 20px;
  font-weight: 500;
  line-height: 1;

  transition: 
    transform var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(7, 26, 40, 0.18);
  background-color: var(--color-light);
  color:white;
  border-color: transparent;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 4px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-text);
  border-color: var(--color-muted);
}

@media (min-width: 1440px) {
  :root {
    --container-width: 1280px;
  }
}

@media (min-width: 1680px) {
  :root {
    --container-width: 1400px;
  }
}

/* */

@media (max-width: 900px) {
  :root {
    --header-height: 76px;
  }

  .container {
    width: min(100% - 32px, var(--container-width));
  }

  h1 {
    font-size: 42px;
  }

  h3 {
    font-size: 20px;
  }

  .btn {
    font-size: 18px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 18px;
  }
}

/* ==============================
   RESPONSIVO REFINADO - MOBILE
============================== */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

main {
  max-width: 100%;
  overflow-x: hidden;
}

video,
iframe {
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: min(100% - 28px, var(--container-width));
  }

  h1 {
    font-size: clamp(30px, 8vw, 38px);
    line-height: 1.08;
    letter-spacing: 0;
  }

  h2 {
    font-size: clamp(25px, 6.8vw, 30px);
    line-height: 1.14;
  }

  h3 {
    font-size: clamp(18px, 5vw, 21px);
  }

  h4 {
    font-size: 18px;
  }

  p {
    font-size: 15px;
    line-height: 1.55;
  }

  .btn {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 7px;
    font-size: 15px;
  }
}

@media (max-width: 430px) {
  :root {
    --header-height: 64px;
  }

  .container {
    width: min(100% - 24px, var(--container-width));
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 25px;
  }

  h3 {
    font-size: 18px;
  }

  p {
    font-size: 14.5px;
  }
}

/* ==============================
   RESPONSIVO FINAL - CONTAINER
============================== */

@media (max-width: 560px) {
  .container {
    width: min(100% - 36px, var(--container-width));
  }
}

@media (min-width: 561px) and (max-width: 1180px) {
  .container {
    width: min(100% - 80px, var(--container-width));
  }
}

