/* 
   Main Stylesheet for domain.com
   Author: domain
   Version: 1.0
*/

/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1c1c1c;
  background-color: #fafafa;
}

section[id] {
  scroll-margin-top: 40px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #3f51b5;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ff4081;
}

ul,
ol {
  list-style-position: inside;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  color: #283593;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 16px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #ff4081;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: #3f51b5;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background-color: #283593;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-submit {
  display: inline-block;
  background-color: #3f51b5;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  width: 100%;
}

.btn-submit:hover {
  background-color: #283593;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Header & Navigation */
.header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: #3f51b5;
  text-transform: lowercase;
  letter-spacing: -1px;
}

.nav-list {
  display: flex;
  list-style-type: none;
}

.nav-list li {
  margin-left: 30px;
}

.nav-list a {
  color: #1c1c1c;
  font-weight: 500;
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ff4081;
  transition: width 0.3s ease;
}

.nav-list a:hover {
  color: #ff4081;
}

.nav-list a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 21px;
  position: relative;
  z-index: 100;
}

.menu-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #3f51b5;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.3s ease-in-out;
}

.menu-icon span:nth-child(1) {
  top: 0px;
}

.menu-icon span:nth-child(2) {
  top: 9px;
}

.menu-icon span:nth-child(3) {
  top: 18px;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  text-align: center;
  background: url("img/P59wn.jpg") no-repeat center center/cover;
  position: relative;
  color: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(40, 53, 147, 0.7);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #ffffff;
  font-weight: 400;
}

/* About Section */
.sobre-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Services Section */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-img {
  height: 200px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  margin-bottom: 10px;
  color: #283593;
}

/* Advantages Section */
.vantagens {
  background-color: #f0f2ff;
}

.vantagens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.vantagem-item {
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.vantagem-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.vantagem-item h3 {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.numero {
  color: #ff4081;
  font-size: 1.2em;
  margin-right: 10px;
  font-weight: 700;
}

/* Testimonials Section */
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.depoimento {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.depoimento::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: #f0f0f0;
  line-height: 1;
  font-family: serif;
}

.depoimento-conteudo {
  position: relative;
  z-index: 1;
}

.depoimento-autor {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
}

.depoimento-autor strong {
  color: #283593;
}

.depoimento-autor span {
  font-size: 0.9rem;
  color: #666;
}

/* FAQ Section */
.faq {
  background-color: #f0f2ff;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-toggle {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.faq-question {
  display: block;
  padding: 15px 50px 15px 20px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #3f51b5;
  transition: transform 0.3s ease;
}

.faq-toggle:checked + .faq-question {
  background-color: #3f51b5;
  color: #ffffff;
}

.faq-toggle:checked + .faq-question::after {
  content: "-";
  transform: translateY(-50%) rotate(180deg);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
  padding: 0 20px 20px;
}

/* Contact Section */
.contato {
  background-color: #ffffff;
}

.contato-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 30px;
}

.contato-info h3 {
  margin-bottom: 20px;
}

.contato-info p {
  margin-bottom: 10px;
}

.contato-form {
  background: linear-gradient(135deg, #3f51b5 0%, #283593 100%);
  padding: 30px;
  border-radius: 8px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(40, 53, 147, 0.2);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.95);
}

.form-group select {
  cursor: pointer;
}

/* Customize select options styling */
.form-group select option {
  background-color: #ffffff;
  color: #1c1c1c;
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-group.checkbox input {
  width: auto;
  margin-top: 5px;
}

.form-group.checkbox label {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.form-group.checkbox a {
  color: #ffffff;
  text-decoration: underline;
}

.form-group.checkbox a:hover {
  color: #ff4081;
}

/* Footer */
.footer {
  background-color: #283593;
  color: #ffffff;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-info {
  max-width: 400px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  text-transform: lowercase;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.footer-section h4 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: #ff4081;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #c5cae9;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #ff4081;
}

.footer-contact address {
  font-style: normal;
  margin-top: 10px;
}

.footer-contact p {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #c5cae9;
}

/* Policy Pages */
.policy {
  margin: 8rem auto 3rem;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-box {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.policy-box h2 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.policy-box ul,
.policy-box ol {
  margin-bottom: 20px;
  margin-left: 20px;
}

.policy-box li {
  margin-bottom: 8px;
}

/* Thank You Page */
.obrigado {
  margin: 8rem auto 3rem;
  text-align: center;
}

.obrigado-content {
  max-width: 600px;
  margin: 0 auto;
}

.message-box {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin: 30px 0;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: #283593;
  color: #ffffff;
  padding: 15px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  opacity: 0;
  transition: bottom 0.5s ease, opacity 0.5s ease;
}

.cookie-consent.show {
  bottom: 0;
  opacity: 1;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  margin-bottom: 0;
  flex: 1;
}

.cookie-content a {
  color: #ff4081;
  text-decoration: underline;
}

#cookie-accept {
  background-color: #ff4081;
  color: #ffffff;
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

#cookie-accept:hover {
  background-color: #f50057;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .section {
    padding: 60px 0;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .section {
    padding: 50px 0;
  }

  .menu-icon {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #ffffff;
    z-index: 99;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .menu-toggle:checked ~ .nav {
    right: 0;
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .nav-list li {
    margin: 10px 0;
    width: 100%;
    text-align: center;
  }

  .nav-list a {
    display: block;
    padding: 10px 20px;
    font-size: 1.1rem;
  }

  .hero {
    min-height: 500px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero h2 {
    font-size: 1.4rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .policy {
    margin: 6rem auto 2rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 40px 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero {
    min-height: 450px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero h2 {
    font-size: 1.2rem;
  }

  .btn-primary {
    padding: 10px 20px;
  }

  .policy {
    margin: 5rem auto 2rem;
  }

  .policy-box {
    padding: 20px;
  }
}
