/* ========================================
   SAM COSTA ESTÉTICA
   Versão Desktop
   ======================================== */

@media (min-width: 601px) {
  /* ========================================
     CONFIGURAÇÕES GERAIS
     ======================================== */

  body {
    font-size: 18px;
  }

  .wrapper {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  section {
    padding: 80px 0;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
  }

  /* ========================================
     HEADER / NAVEGAÇÃO
     ======================================== */
  #main_header {
    position: relative;
  }

  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 5%;
  }
  .logo {
    order: 1;
  }

  /* No desktop não precisamos do hambúrguer */
  #hamburger-menu {
    display: none;
  }

  /* Menu deixa de ser lateral/oculto */
  #mobile-nav {
    order: 2;
    position: static;
    width: auto;
    height: auto;
    display: block;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  #mobile-nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #mobile-nav a {
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
  }

  #mobile-nav a:hover {
    opacity: 0.7;
  }

  /* ========================================
     Carousel
     ======================================== */

  #main_img {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  #main_img .wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
  }

  #main_img h1 {
    max-width: 650px;
  }

  #main_img p {
    max-width: 600px;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-top: 20px;
  }

  .desktop-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    border-radius: 35px;
    overflow: hidden;
    margin: 40px;
    padding: 0;
    gap: 40px;
  }

  #excelencia {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    border-radius: 0;
  }

  #porque {
    width: 100%;
    margin: 0;
    padding: 0;
    justify-self: end;
  }

  #porque img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 35px;
  }

  /* ========================================
     SOBRE
     ======================================== */

  #sobre .wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
  }

  #sobre img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
  }

  #sobre p {
    line-height: 1.8;
  }

  /* ========================================
     SERVIÇOS
     ======================================== */

  #servicos {
    background-color: white;
    padding: 40px;
  }

  #servicos ul {
    /* No desktop os serviços ficam sempre visíveis */
    max-height: none;
    overflow: visible;
    opacity: 1;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    margin-top: 30px;
  }

  #servicos li {
    background: #f0cd97;

    padding: 25px 20px;

    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 100px;

    text-align: center;

    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease;
  }

  #servicos li:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }

  /* Botão "Ver serviços" só faz sentido no mobile */
  #toggle-servicos {
    display: none;
  }

  /* ========================================
     CAROUSEL
     ======================================== */

  .carousel-wrapper {
    /* max-width: 900px; */
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .carousel-container {
    width: 100%;
    max-width: none;
    height: clamp(400px, 35vw, 700px);
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    position: relative;
  }

  .carousel {
    height: 100%;
  }

  .carousel picture {
    width: 33.3333%;
    height: 100%;
    flex-shrink: 0;
  }

  .carousel picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* ========================================
    Apresentação
   ========================================*/

  #presentation {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 80px;
    padding: 70px 0px;
  }

  #presentation img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  #presentation p {
    position: relative;
    font-style: italic;
    margin: 0;
    line-height: 1.8;
    padding: 30px 10px;
  }
  #presentation p::before {
    content: "“";

    position: absolute;
    top: -20px;
    left: 0;

    font-size: 6rem;
    line-height: 1;

    opacity: 0.2;
  }

  #presentation p::after {
    content: "”";

    position: absolute;
    bottom: -55px;
    right: 0;

    font-size: 6rem;
    line-height: 1;

    opacity: 0.2;
  }

  /* ========================================
     CONTATO
     ======================================== */

  #contato {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    padding: 60px 60px;
    align-items: start;
  }
  #contato h2 {
    grid-column: 1 / -1;
  }
  .map-container {
    width: 100%;
  }
  #contato ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    list-style: none;
    height: 100%;
    justify-self: center;
  }

  /* ========================================
     BOTÕES
     ======================================== */

  button,
  .btn {
    cursor: pointer;

    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }

  button:hover,
  .btn:hover {
    transform: translateY(-2px);

    opacity: 0.9;
  }

  /* ========================================
     FOOTER
     ======================================== */

  footer {
    padding: 40px 5%;
  }

  footer .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
  }
  #back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;

    width: 50px;
    height: 50px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #6b4f3f;
    color: white;
    font-size: 26px;
    text-decoration: none;

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);

    transition: all 0.3s ease;
  }

  #back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
