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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    color: #374151;
    text-decoration: none;
}

a:hover {
    color: #009FAE; 
}

/* Social links */
.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
}
.social-links a {
    font-size: 2rem;   /* tamanho dos ícones */
    color: #000000;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: #009FAE; /* cor ao passar o mouse */
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
}

/* Header */
.header {
background: #fff;                  /* fundo branco inicial */
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
padding: 1rem 0;
position: sticky;
top: 0;
z-index: 50;
transition: all 0.3s ease;        /* suaviza a transição */
}

/* Estado quando a página rolar */
.header.scrolled {
background: rgba(255, 255, 255, 0.2);  /* transparente */
backdrop-filter: blur(10px);           /* blur do fundo */
box-shadow: none;                      /* remove sombra */
}

/* Conteúdo do header */
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
}

.logo img {
height: 3rem;
width: auto;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    background: none;
    border: none;
    color: #374151;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    font-family: "Tahoma", "Roboto", "Varela Round", sans-serif;
}

.nav-link:hover {
    color: #009FAE; /* cor ao passar o mouse */
}

.nav-mobile {
    display: none;
}

.mobile-menu-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('/images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.sorrisos-container {
  width: 80%;
  display: flex;
  justify-content: center;
}

.sorrisos-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    margin-top: -100px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.about-content {
    display: flex;
    justify-content: center;
}

/* About Section - Texto sobre imagem */
.about-image-container {
    position: relative;
    width: 100%;
    display: block;
}

.sobre-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.about-overlay-text {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 45%;
    text-align: right;
    background: rgba(0, 159, 174, 0.8);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.about-overlay-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.about-overlay-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.about-overlay-text .btn {
    background-color: #fff;
    color: #009FAE;
    margin-top: 1rem;
}

.about-overlay-text .btn:hover {
    background-color: #333;
    color: #fff;
}

/* Treatments Section */
.treatments-section {
    padding: 2rem 0;
    background: #fff;
}

.treatments-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    color: #111827;
    margin-bottom: 3rem;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.treatment-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.treatment-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.treatment-image {
    width: 12rem;
    height: 12rem;
    margin: 0 auto 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.treatment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.treatment-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.treatment-description {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Gallery Section */
.gallery-section {
    position: relative;
    width: 100%;
    display: block;
}

.dicas-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Texto e botão sobre a imagem */
.overlay-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 40%;
}

.overlay-text h2 {
    font-size: 38px;
    margin-bottom: 10px;
}

.overlay-text p {
    font-size: 26px;
    margin-bottom: 15px;
}

.overlay-text .btn {
    background-color: #009FAE;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
}

.overlay-text .btn:hover {
    background-color: #717070;
}

/* Botão geral */
.btn {
    background-color: #009FAE;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn:hover {
    background-color: #717070;
    color: #fff;
}

.conteudo-blur {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 1100px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.map-section {
  padding: 4rem 0;
  background-color: #f9fafb;
}

.map-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  color: #111827;
  margin-bottom: 1rem;
}

.map-subtitle {
  text-align: center;
  color: #4b5563;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.map-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background: #F3F4F6;
    color: #000;
    padding: 3rem 0;
    text-align: center;
}

.footer-logo img {
    max-width: 200px;
    margin-bottom: 2rem;
}

.footer-divider {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 2rem auto;
    width: 80%;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.footer-section:first-child {
    text-align: left;
}

.footer-section:nth-child(2) {
    text-align: center;
    flex: 1;
}

.footer-section:last-child {
    text-align: left;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.contact-info, .schedule-info, .social-links {
    font-size: 14px;
    line-height: 1.6;
}

/* Copyright */
.copyright {
    border-top: 1px solid #374151;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    background: #333641;
    color: #fff;
}

.copyright p {
    color: #fff;
    font-size: 12px;
}



/* Responsive Design */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .nav-mobile {
        display: block;
    }
    
    .sorrisos-container {
        width: 100%;
    }
    
    .treatments-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .treatment-image {
        width: 10rem;
        height: 10rem;
    }
    
    .treatments-title {
        font-size: 1.5rem;
    }

    /* Footer Mobile */
    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-section:first-child,
    .footer-section:nth-child(2),
    .footer-section:last-child {
        text-align: center;
        width: 100%;
    }

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

    /* Gallery Section Mobile */
    .overlay-text {
        position: absolute;
        top: 50%;
        left: 5%;
        transform: translateY(-50%);
        max-width: 90%;
        text-align: left;
    }

    .overlay-text h2 {
        font-size: 24px;
        margin-bottom: 8px;
        line-height: 1.2;
    }

    .overlay-text p {
        font-size: 16px;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .overlay-text .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    /* About Section Mobile */
    .sobre-img {
        transform: scale(1.8); /* 30% de zoom */
        transform-origin: center center;
    }
    
    .about-overlay-text {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        max-width: 100%;
        text-align: center;
        margin-top: -70px;
        background: rgba(0, 159, 174, 0.95);
        z-index: 2;
    }

    .about-overlay-text h2 {
        font-size: 1.8rem;
    }

    .about-overlay-text p {
        font-size: 1rem;
    }
    /* Copyright Mobile */
    .copyright p {
        font-size: 11px;
        line-height: 1.4;
    }
}




/* TELAS PEQUENAS MOBILE */
@media (max-width: 553px) {
    .hero-section {
        height: 70vh;
    }
    
    .about-section {
        padding: 3rem 0;
    }
    
    .treatments-section {
        padding: 3rem 0;
    }
    
    .treatment-image {
        width: 8rem;
        height: 8rem;
    }

    /* Ajustes para telas muito pequenas */
    .overlay-text {
        left: 3%;
        max-width: 94%;
    }

    .overlay-text h2 {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .overlay-text p {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .overlay-text .btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* About Section Mobile - Telas pequenas */
    .sobre-img {
        transform: scale(2.0); /* 40% de zoom */
    }
    
    .about-overlay-text {
        margin-top: -60px;
        padding: 1.2rem;
    }

    .about-overlay-text h2 {
        font-size: 1.5rem;
    }

    .about-overlay-text p {
        font-size: 0.9rem;
    }
    /* Copyright Mobile - Telas pequenas */
    .copyright p {
        font-size: 7px;
        line-height: 1.1;
    }
    
    .copyright {
        padding: 1.5rem 1rem 1rem;
    }
}
