@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --custom-primary: #17c5e5;
  --custom-secundary: #002946;
  --font-family: 'Poppins', var(--bs-font-sans-serif);
}

.btn-custom-primary {
  background-color: var(--custom-secundary);
  border-color: var(--custom-secundary);
  color: #fff;
}

.btn-custom-primary:hover,
.btn-custom-primary:focus,
.btn-custom-primary:active {
  background-color: var(--custom-secundary) !important;
  border-color: var(--custom-secundary) !important;
  color: #fff !important;
  filter: brightness(0.9) !important;
}

body {
  font-family: var(--font-family);
}

h2 {
  color: var(--custom-secundary);
  font-size: 42px;
  font-weight: 600;
}

section {
  padding: 72px 0;
}

.logo {
  width: 220px;
  height: auto;
}

.hero-section {
  background-image: url('../images/banner-smart-odonto-slz-principal.jpg');
  background-repeat: no-repeat;
  background-position: center;
}

.hero {
  min-height: 100vh;
}

.hero-content h1 {
  font-size: 3.0rem;
  margin-top: 320px;
}

.formulario {
  display: grid;
  place-items: center;

}

form {
  width: 80%;
  background-color: var(--custom-primary);
  padding: 42px;
  border-radius: 12px;

}

.implantes img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.implantes h2 {
  font-weight: 600;
}

.dif {
  background: linear-gradient(to top, color-mix(in srgb, var(--custom-primary) 90%, transparent) 40%, rgba(255, 255, 255, 0) 100%);
}

.container-slz {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 15px;
}

.cards ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  list-style: none;
  padding-left: 0px !important;
}

.card {
  color: #fff;
  display: flex;
  align-items: left;
  justify-content: space-between;
  padding: 62px 24px;
  border: none;
  border-radius: 12px;
  height: 400px;
}

.cards ul li:nth-child(odd) .card {
  background-color: var(--custom-secundary);

  .bt a {
    text-decoration: none;
    color: var(--custom-primary);
    font-size: 16px;
    border: 2px solid var(--custom-primary);
    padding: 12px 14px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .bt a:hover {
    background-color: var(--custom-primary);
    color: var(--custom-secundary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(23, 197, 229, 0.3);
  }
}

.cards ul li:nth-child(even) .card {
  background-color: rgba(84, 197, 208, 0.8);

  .bt a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    border: 2px solid #fff;
    padding: 12px 14px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .bt a:hover {
    background-color: #fff;
    color: var(--custom-secundary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
  }
}

.card h3 {
  font-size: 26px;
  font-weight: 700;
}

.card p {
  font-size: 14px;
}

.amanda {
  background: linear-gradient(to bottom, var(--custom-secundary) 85%, var(--custom-primary) 15%);
  padding: 100px 0px 72px 0px;
}

.amanda .content {
  color: #fff;
}

.amanda .content h2 {
  color: #fff;
}

.img-dra {
  display: grid;
  place-items: center;
}

.img-dra img {
  width: 70%;
  height: auto;
  border-radius: 12px;
}

.amanda .bt {
  display: grid;
  place-items: center;
  margin-top: 100px;
}

.dark-blue {
  color: var(--custom-secundary);
}

.amanda .bt a {
  text-decoration: none;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 12px;
  background-color: var(--custom-primary);
  padding: 14px 72px;
}

footer {
  background-color: var(--gray) !important;
}

footer .footer-logo {
  display: flex;
  align-items: center;
}

footer h5 {
  color: var(--custom-primary);
}

footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--custom-primary) !important;
}

footer .fab {
  transition: all 0.3s ease;
}

footer .fab:hover {
  color: var(--custom-primary) !important;
  transform: translateY(-2px);
}

/* ========================================
   AJUSTES GERAIS PARA RESPONSIVIDADE
======================================== */

/* Garante que imagens não quebrem o layout */
img {
  max-width: 100%;
  height: auto;
}

/* Melhora a responsividade de containers */
.container,
.container-slz {
  width: 100%;
}

/* Ajuste para formulários em geral */
.form-control,
.form-select {
  font-size: 16px !important; /* Evita zoom no iOS */
}

/* ========================================
   MEDIA QUERIES - RESPONSIVIDADE
======================================== */

/* Mobile Extra Small - até 480px */
@media (max-width: 480px) {
  
  .hero-content h1 {
    font-size: 2.6rem !important;
    margin-top: 30px !important;
  }
  
  form {
    padding: 20px 15px !important;
  }
  
  h2 {
    font-size: 32px !important;
  }
  
  .card {
    padding: 42px 24px !important;
  }
  
  .card h3 {
    font-size: 20px !important;
  }
  
  .amanda .bt a {
    font-size: 16px !important;
    padding: 12px 30px !important;
  }
  
  .video iframe {
    height: 220px !important;
  }
}

/* Mobile First - até 767px */
@media (max-width: 767px) {
  
  /* Navegação */
  .navbar {
    padding: 10px 0;
  }
  
  .navbar .container {
    padding: 15px;
  }
  
  .logo {
    width: 150px;
  }
  
  .navbar-nav {
    text-align: center;
    margin-top: 15px;
  }
  
  .navbar-nav .nav-link {
    padding: 10px 0;
    font-size: 16px;
  }
  
  .navbar-toggler {
    border: none;
    padding: 4px 8px;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .container {
    padding: 0 15px;
  }
  
  /* Hero Section */
  .hero-section {
    background-size: cover;
    background-position: center top;
    padding: 20px 0;
  }
  
  .hero {
    min-height: calc(100vh - 80px);
    padding: 20px 0;
    align-items: flex-start;
  }
  
  .hero .col-lg-6 {
    margin-bottom: 30px;
  }
  
  .hero-content {
    padding: 20px 0;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
    margin-top: 30px;
    text-align: center;
    line-height: 1.3;
  }
  
  .formulario {
    margin-top: 20px;
    width: 100%;
  }
  
  form {
    width: 100%;
    padding: 24px 20px;
    margin: 0;
  }
  
  form .form-floating {
    margin-bottom: 15px;
  }
  
  form .form-control {
    font-size: 16px;
    padding: 12px;
  }
  
  form .btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    margin-top: 10px;
  }
  
  /* Seções gerais */
  section {
    padding: 40px 0;
  }
  
  h2 {
    font-size: 28px;
    text-align: left;
    line-height: 1.3;
  }
  
  /* Seção Implantes */
  .implantes .title {
    text-align: left;
  }
  
  .implantes p {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .video iframe {
    height: 250px;
  }
  
  /* Cards de Diferenciais */
  .dif .title {
    text-align: left;
    padding: 0 20px;
  }
  
  .dif .title p {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .container-slz {
    padding: 0 20px;
  }
  
  .cards ul {
    flex-direction: column;
    gap: 20px;
    padding: 0;
    margin: 0;
  }
  
  .cards ul li {
    width: 100%;
  }
  
  .card {
    height: auto;
    min-height: 280px;
    padding: 30px 20px;
    flex-direction: column;
    text-align: left;
    margin: 0;
  }
  
  .card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 1.2;
  }
  
  .card p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
  }
  
  .card .bt {
    align-self: flex-start;
  }
  
  /* Seção Amanda */
  .amanda {
    padding: 60px 0 40px 0;
  }
  
  .amanda .row {
    flex-direction: column-reverse;
  }
  
  .amanda .content {
    text-align: left;
    margin-bottom: 30px;
  }
  
  .amanda .content h2 {
    font-size: 28px;
  }
  
  .amanda .content p {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .img-dra img {
    width: 90%;
  }
  
  .amanda .bt {
    margin-top: 40px;
  }
  
  .amanda .bt a {
    font-size: 18px;
    padding: 12px 40px;
  }
}

/* Tablets - 768px a 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
  
  /* Navegação */
  .logo {
    width: 180px;
  }
  
  /* Hero Section */
  .hero {
    min-height: 100vh;
    align-items: center;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
    margin-top: 150px;
    line-height: 1.2;
  }
  
  .formulario {
    display: grid;
    place-items: center;
  }
  
  form {
    width: 90%;
    padding: 36px;
  }
  
  form .btn {
    padding: 12px 24px;
  }
  
  /* Seções gerais */
  section {
    padding: 60px 0;
  }
  
  h2 {
    font-size: 36px;
  }
  
  /* Video */
  .video iframe {
    height: 400px;
  }
  
  /* Cards de Diferenciais */
  .cards ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .cards ul li {
    flex: 0 1 calc(50% - 20px);
    margin-bottom: 20px;
  }
  
  .card {
    height: 350px;
    padding: 40px 20px;
  }
  
  .card h3 {
    font-size: 24px;
  }
  
  .card p {
    font-size: 14px;
  }
  
  /* Seção Amanda */
  .amanda {
    padding: 80px 0 60px 0;
  }
  
  .amanda .row {
    align-items: center;
  }
  
  .amanda .content {
    padding: 20px;
  }
  
  .amanda .content h2 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 20px;
  }
  
  .amanda .content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  
  .img-dra img {
    width: 80%;
  }
  
  .amanda .bt {
    margin-top: 60px;
  }
  
  .amanda .bt a {
    font-size: 20px;
    padding: 14px 60px;
  }
}

/* Desktop pequeno - 1024px a 1199px */
@media (min-width: 1024px) and (max-width: 1199px) {
  
  .hero-content h1 {
    font-size: 2.6rem;
    margin-top: 280px;
  }
  
  form {
    width: 85%;
  }
  
  h2 {
    font-size: 38px;
  }
  
  .cards ul {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .cards ul li {
    flex: 0 1 calc(33.333% - 15px);
  }
  
  .card {
    height: 380px;
    padding: 50px 20px;
  }
}

/* Desktop grande - 1200px em diante */
@media (min-width: 1200px) {
  
  .hero-content h1 {
    font-size: 3.0rem;
  }
  
  /* Cards em linha para telas grandes */
  .cards ul li {
    flex: 1;
  }
  
  .card {
    height: 400px;
  }
}

/* ========================================
   AJUSTES ADICIONAIS PARA MELHOR UX
======================================== */

/* Suaviza transições em elementos interativos */
.navbar-toggler,
.btn,
.card,
.nav-link {
  transition: all 0.3s ease;
}

/* Melhora a acessibilidade em elementos focáveis */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--custom-primary);
  outline-offset: 2px;
}

/* Garante que vídeos sejam responsivos */
.video {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90%;
}

/* Ajuste específico para telas muito largas */
@media (min-width: 1600px) {
  .container-slz {
    max-width: 1500px;
  }
  
  .hero-content h1 {
    font-size: 3.2rem;
  }
}

/* Ajustes para landscape em mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 10px 0;
  }
  
  .hero-content h1 {
    margin-top: 20px;
    font-size: 1.8rem;
  }
  
  .navbar {
    padding: 5px 0;
  }
}