:root {
  /* Font */
  --font-base: "Inter", "Roboto", "Oswald", Arial, sans-serif;

  /* Cores texto */
  --color-text-primary: #222;
  --color-text-secondary: #555;
  --color-text-muted: #666;
  --color-text-light: #888;

  /* Backgrounds */
  --color-bg-page: #f2f2f2;
  --color-bg-card: #ffffff;

  /* Brand */
  --color-accent: #3797d7;

  /* TimeLine*/
  --color-timeline: #778899;

  /* Sombra */
  --shadow-card: 0 6px 18px rgba(0, 0, 0, 0.06);

  /* Radius */
  --radius-card: 10px;
}


body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg-page);
}


h1 {
  font-size: 2.4rem;          /* 38px */
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  margin: 0 0 1rem 0;
  font-family: "Oswald";
}

section > h1:not(.different) {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 0 30px;
}

section > h1 + p {
  font-size: 1.1rem; /* 17–18px */
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-text-muted);
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
  padding-bottom: 30px;
}

h2 {
  font-size: 1.2rem;          /* 17–18px */
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-text-primary);
  margin: 0 0 0.25rem 0;
  font-family: 'Roboto';
}

h3 {
  font-size: 1rem;            /* 16px */
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text-primary);
}


p {
  font-size: 0.95rem;         /* 15px */
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-text-secondary);
  margin: 0;
}











/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Header fixo */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1000;
  border-bottom: 1px solid #ddd;
}

/* Logotipo à esquerda */
.logo img {
  height: 45px;
  position: relative;
  top: 3px;
}

/* Menu principal */
nav {
  display: flex;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
}

nav ul li {
  position: relative;
}

nav ul li a {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: #333;
}

nav > ul > li:last-child > a {
    padding-right: 0;
}

/* Dropdown para Serviços */
nav ul li ul {
  position: absolute;
  top: 58px;
  left: 0;
  background: white;
  display: none;
  flex-direction: column;
  min-width: 150px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

nav ul li:hover > ul {
  display: flex;
}

nav ul li ul li a {
  padding: 10px 20px;
}

/* Burger menu - hidden desktop */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.burger span {
  width: 25px;
  height: 3px;
  background-color: #333;
}


/*SECTIONS */
section {
  padding: 0 20px;
}

/* FOOTER */
footer {
 padding: 0 20px;
}


/* 1400px centering rule */
@media (min-width: 1401px) {
  header {
    left: calc(50% - 700px);
	  width: 1400px;
  }

  header::before {
    content: '';
    background-color: white;
    width: 100%;
    height: 80px;
    top: 0;
    left: 0;
    position: fixed;
    z-index: -1;
  }

  section,
  footer {
    max-width: 1400px;
    left: calc(50% - 700px);
    position: relative;
  }
}


/* Mobile Styles */
@media (max-width: 1000px) {
  nav {
    position: fixed;
    top: 80px;
    right: 0;
    background: white;
    height: calc(100vh - 80px);
    width: 250px;
    flex-direction: column;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  nav.open {
    transform: translateX(0);
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul li ul {
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    top: 0;
    left: 20px;
  }

  nav ul li:hover > ul {
    display: flex; /* Ignorado no mobile */
  }

  .burger {
    display: flex;
  }

  nav ul li a {
    padding: 15px 20px;
  }
}


/* BODY etc */

  header + section {
  	margin-top: 80px;
  }

