/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */

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

*::before,
*::after {
  box-sizing: border-box;
}

/* Reset de elementos HTML */
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: #F6F6F2;
}

.container {
  width: 90%;
  max-width: 1200px;
}

.container-full {
  width: 100%;
  padding: 0 24px;
}

.flex {
  display: flex;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.justify-center {
  justify-content: center;
}

.align-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-10 {
  gap: 10px;
}

.gap-20 {
  gap: 20px;
}

.gap-30 {
  gap: 30px;
}

.gap-40 {
  gap: 40px
}

.margin-center {
  margin: 0 auto;
}

/* Reset de listas */
ul,
ol {
  list-style: none;
}

/* Reset de links */
a {
  text-decoration: none;
  color: inherit;
}

/* Reset de imagens */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Reset de formulários */
input,
button,
textarea,
select {
  border: none;
  font: inherit;
  color: inherit;
  outline: none;
}

a {
  transition: all 0.3s ease-in-out;
}

a:hover {
  transform: scale(1.05);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.2s ease-in-out;
  font-family: "Nunito";
}

button:hover {
  transform: scale(1.02);
}

/* Reset de tabelas */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

.button-primary {
  background-color: white;
  padding: 15px 20px;
  border-radius: 50px;
  border: 1px solid #A9D6E5;
  font-weight: 700;
  width: fit-content;
}

/* ============================================
   CSS VARIABLES (ROOT)
   ============================================ */

:root {
  /* Font Family */
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;

  /* Font Sizes */
  --font-size-h1: 3.875rem;
  /* 62px */
  --font-size-h2: 2.5rem;
  /* 40px */
  --font-size-h3: 1.75rem;
  /* 28px */
  --font-size-h4: 1.375rem;
  /* 22px */
  --font-size-h5: 1rem;
  /* 16px */
  --font-size-base: 1rem;
  /* 16px */

  /* Font Weights */
  --font-regular: 400;
  --font-bold: 700;

  /* Colors - Brand */
  --color-primary: #2A5D9E;
  --color-secondary: #7AB4AD;
  --color-text: #2A5D9E;

  /* Colors - Additional */
  --color-accent-1: #C1F1E9;
  --color-accent-2: #55A38B;
  --color-accent-3: #008D8C;
  --color-accent-4: #007863;
  --color-white: #FFFFFF;
  --color-footer-bg: #3C3C3B;

  /* Gradients */
  --gradient-1: linear-gradient(135deg, #A9D6E5 0%, #014F86 100%);
  --gradient-2: linear-gradient(135deg, #007863 0%, #FFFFFF 100%);
  --gradient-3: linear-gradient(135deg, #55A38B 0%, #FFFFFF 100%);
  --gradient-4: linear-gradient(135deg, #008D8C 0%, #FFFFFF 100%);

  /* Spacing Scale */
  --spacing-xs: 0.5rem;
  /* 8px */
  --spacing-sm: 1rem;
  /* 16px */
  --spacing-md: 1.5rem;
  /* 24px */
  --spacing-lg: 2rem;
  /* 32px */
  --spacing-xl: 3rem;
  /* 48px */
  --spacing-2xl: 4rem;
  /* 64px */
  --spacing-3xl: 6rem;
  /* 96px */

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;

  /* Container */
  --container-max-width: 1200px;
  --container-padding: var(--spacing-md);
}

/* ============================================
   TYPOGRAPHY STYLES
   ============================================ */

h1,
.h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-bold);
  line-height: 1.2;
}

h2,
.h2 {
  font-size: var(--font-size-h2);
  font-weight: var(--font-bold);
  line-height: 1.3;
}

h3,
.h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-bold);
  line-height: 1.4;
}

h4,
.h4 {
  font-size: var(--font-size-h4);
  font-weight: var(--font-regular);
  line-height: 1.5;
}

h5,
.h5 {
  font-size: var(--font-size-h5);
  font-weight: var(--font-bold);
  line-height: 1.5;
}

p {
  font-size: var(--font-size-base);
  font-weight: var(--font-regular);
  line-height: 1.6;

}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Background Colors */
.bg-primary {
  background-color: var(--color-primary);
}

.bg-secondary {
  background-color: var(--color-secondary);
}

.bg-accent-1 {
  background-color: var(--color-accent-1);
}

.bg-accent-2 {
  background-color: var(--color-accent-2);
}

.bg-accent-3 {
  background-color: var(--color-accent-3);
}

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

.bg-footer {
  background-color: var(--color-footer-bg);
}

/* Background Gradients */
.bg-gradient-1 {
  background: var(--gradient-1);
}

.bg-gradient-2 {
  background: var(--gradient-2);
}

.bg-gradient-3 {
  background: var(--gradient-3);
}

.bg-gradient-4 {
  background: var(--gradient-4);
}

/* Text Colors */
.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}

.text-white {
  color: var(--color-white);
}

/* ============================================
   RESPONSIVE TYPOGRAPHY
   ============================================ */

@media (max-width: 768px) {
  :root {
    --font-size-h1: 2.5rem;
    /* 40px */
    --font-size-h2: 2rem;
    /* 32px */
    --font-size-h3: 1.5rem;
    /* 24px */
    --font-size-h4: 1.25rem;
    /* 20px */
  }
}

@media (max-width: 480px) {
  :root {
    --font-size-h1: 2rem;
    /* 32px */
    --font-size-h2: 1.75rem;
    /* 28px */
    --font-size-h3: 1.375rem;
    /* 22px */
    --font-size-h4: 1.125rem;
    /* 18px */
    --container-padding: var(--spacing-sm);
  }
}

/* CONTATO */

.contato__content {
  display: flex;
  gap: 40px;
}


.contato__titulo {
  color: white;
  margin-left: 20%;
  margin-top: 10%;
}

.contato__banner {
  background: url("../images/image-contato.png") no-repeat;
  background-size: cover;
  background-position: 120%;
  width: 75%;
  display: flex;
  align-items: flex-start;
}

.contato__form {
  padding: 80px 0;
  position: relative;
  width: 30%;
  margin-right: 19%;
}

.form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin-top: 30px;
}


.form input,
.form textarea {
  padding: 15px 20px;
  border: 1px solid #B5B5B5;
  border-radius: 6px;
}

.form input::placeholder,
.form textarea::placeholder {
  color: #B5B5B5;
}

.form__button {
  margin: 0 auto;
}

.form__assunto {
  margin-bottom: 20px;
}

.contato__form--titulo {
  color: #0C96C7;
  text-align: center;
}

.contato__form--detalhes {
  color: #5D5D5D;
  font-size: 12px;
  text-align: center;
  padding-top: 80px;
  margin: 0 auto;
  width: 75%;
}

@media (min-width: 768px) and (max-width: 1199px) {
	.contato__content {
		flex-direction: column;
	}
	
	.contato__banner {
		width: 100%;
		height: 585px;
		background-size: contain;
        background-position: 0%;
	}
	
	.contato__form {
		width: 70%;
		padding: 30px 0;
		margin: 0 auto;
	}
}

@media (min-width: 1200px) and (max-width: 1600px) {
	.contato__titulo {
		color: white;
		margin-left: 10%;
		margin-top: 20%;
		font-size: 48px;
		width: 350px;
	}
}

@media (min-width: 400px) and (max-width: 550px) {
	.button-primary {
		width: 80%;
		
	} 
}

/* RESPONSIVIDADE CONTATOS */

@media (max-width: 768px) {
	
  .contato__content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-right: 20px;
    padding-top: 40px;
  }

  .contato__banner {
    width: 100%;
    background-position: left;
    background-size: cover;
    aspect-ratio: 1072 / 742;
  }

  .contato__titulo {
    margin-top: 10%;
	margin-left: 5%;
  }

  .contato__form {
    width: 100%;
    margin: 0;
    padding: 40px 20px;
  }
}

.nucleo__descricao {
  /* Parágrafos */
  p {
    margin-bottom: 1em;
    line-height: 1.6;
  }

  /* Textos formatados */
  strong, b { font-weight: 700; }
  em, i { font-style: italic; }
  u { text-decoration: underline; }
  
  /* Links */
  a {
    color: #0073aa;
    text-decoration: underline;
    transition: color 0.2s;
    
    &:hover {
      color: #005177;
    }
  }
  
  /* Listas não ordenadas (bullets) */
  ul {
    margin: 1.5em 0;
    padding-left: 2em;
    list-style-type: disc;
  }
  
  /* Listas ordenadas (números) */
  ol {
    margin: 1.5em 0;
    padding-left: 2em;
    list-style-type: decimal;
  }
  
  ul li,
  ol li {
    margin-bottom: 1em;
    line-height: 1.6;
  }
  
  /* Listas aninhadas */
  ul ul,
  ol ol,
  ul ol,
  ol ul {
    margin: 0.5em 0;
  }
  
  /* Negrito nos itens de lista */
  li strong {
    font-weight: 700;
  }
  
  /* Tabelas */
  table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
  }
  
  th, td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
  }
  
  th {
    background-color: #f5f5f5;
    font-weight: 600;
  }
  
  /* Blockquote */
  blockquote {
    margin: 1.5em 0;
    padding: 1em 1.5em;
    border-left: 4px solid #0073aa;
    background-color: #f9f9f9;
    font-style: italic;
  }
  
  /* Código inline */
  code {
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
  }
  
  /* Bloco de código */
  pre {
    background-color: #f5f5f5;
    padding: 1em;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1.5em 0;
    
    code {
      background: none;
      padding: 0;
    }
  }
  
  /* Linha horizontal */
  hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 2em 0;
  }
  
  /* Imagens */
  img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1em 0;
  }
}