:root {
  --edms-orange: #F58634;
  --edms-orange-dark: #d96f24;
  --edms-text: #1f2933;
  --edms-muted: #5f6b78;
  --edms-border: #e5e8ec;
  --edms-soft: #f5f7fa;
  --edms-soft-blue: #eef3f8;
  --edms-dark: #111827;
  --edms-radius: 16px;
  --edms-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --edms-shadow-hover: 0 24px 60px rgba(15, 23, 42, 0.14);
}

html {
  scroll-behavior: smooth;
}

#sobre,
#produto,
#blog,
#servico,
#projeto {
  scroll-margin-top: 90px;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  color: var(--edms-text);
  font-size: 16px;
  line-height: 1.7;
  background-color: #fff;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

input,
textarea,
button {
  font-family: 'Open Sans', sans-serif;
}

input::placeholder,
textarea::placeholder {
  color: #83602f;
  padding-left: 10px;
  padding-right: 10px;
}

p {
  color: var(--edms-muted);
  font-weight: 400;
  letter-spacing: 0.1px;
  margin-top: 0;
  margin-bottom: 1.2em;
}

a {
  color: #c35709;
  font-weight: 700;
}

a:hover {
  color: var(--edms-orange);
}

a.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: color 0.3s;
  color: #c35709;
  font-weight: 700;
}

a.link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 100%;
  height: 2px;
  background-color: var(--edms-orange);
  transition: transform 0.3s ease;
}

a.link:hover {
  color: var(--edms-orange);
}

a.link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

h1,
h2,
h3 {
  font-family: 'Montserrat', sans-serif;
  color: var(--edms-text);
  letter-spacing: -0.03em;
}

h1 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.12;
  margin: 5px 0;
}

h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin: 5px 0 14px;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.28;
  margin: 5px 0 12px;
}

@media only screen and (min-width: 1000px) {
  h1 { font-size: 48px; }
  h2 { font-size: 36px; }
  h3 { font-size: 21px; }
}

@media only screen and (min-width: 1600px) {
  h1 { font-size: 56px; }
  h2 { font-size: 40px; }
  h3 { font-size: 22px; }
}

/* estrutura padrão para as seções da home */
.home-section {
  padding: 64px 20px;
  position: relative;
}

.home-section:nth-of-type(even) {
  background-color: var(--edms-soft);
}

.home-section-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.home-section-header {
  max-width: 820px;
  margin-bottom: 28px;
}

.home-section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.home-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--edms-orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-section-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background-color: var(--edms-orange);
}

.home-section-header.center .home-section-kicker::after {
  content: "";
  width: 28px;
  height: 2px;
  background-color: var(--edms-orange);
}

.home-section-title {
  margin-bottom: 12px;
}

.home-section-subtitle {
  max-width: 780px;
  font-size: 17px;
  color: var(--edms-muted);
}

.home-card {
  background: #fff;
  border: 1px solid var(--edms-border);
  border-radius: var(--edms-radius);
  box-shadow: var(--edms-shadow);
}

.home-card:hover {
  box-shadow: var(--edms-shadow-hover);
}

/* formulário */
.form-group {
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.form-control:focus-visible {
  outline: 1px solid var(--edms-text);
  background-color: #f7f7f7;
}

/* botões */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
  font-weight: 700;
  text-decoration: none;
}

.botao:hover {
  transform: translateY(-1px);
}

.botao i {
  margin-right: 0;
}

.fundo-laranja {
  border: 1px solid var(--edms-orange-dark);
  background-color: var(--edms-orange);
  color: #fff;
}

.fundo-laranja:hover {
  background-color: var(--edms-orange-dark);
  color: #fff;
}

/* ckeditor */
.ck-content {
  font-size: 16px;
  line-height: 1.7;
}

.ck-content h2,
.ck-content h3,
.ck-content h4,
.ck-content p {
  margin-bottom: 1.2em;
}

.ck-content strong,
.ck-content b {
  font-weight: 700;
}

.ck-content a {
  color: var(--edms-orange);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ck-content a:hover {
  color: #c35709;
}

.ck-content em,
.ck-content i {
  font-style: italic;
}

.ck-content img {
  max-width: 100%;
  height: auto;
}

.ck-content figure {
  margin: 1em 0;
  text-align: center;
}

.ck-content figure.image-style-align-left {
  float: left;
  margin-right: 1em;
  max-width: 50%;
}

.ck-content figure.image-style-align-right {
  float: right;
  margin-left: 1em;
  max-width: 50%;
}

.ck-content figure.image-style-align-left img,
.ck-content figure.image-style-align-right img {
  width: 100%;
  height: auto;
  display: block;
}

.ck-content figcaption {
  font-size: 0.875em;
  color: #666;
  margin-top: 0.5em;
}
