/* styles.css - Código CSS Base com Novas Fontes */

/* Variáveis CSS para cores e fontes */
:root {
    --h1-color: #f5f5f5;
    --primary-color: #e3a04a;
    --secondary-color: #f5f5f5;
    --text-color: #555;
    --title-color: #e3a04a;
    /* --subtitle-color: #ffffff; /* Default set below */
    --title-font: 'Ubuntu', sans-serif;
    --h2-font: 'Ubuntu';
    --subtitle-font: 'Montserrat', sans-serif;
    --body-font: 'Lato', sans-serif;
    --google-blue: #4285F4;
    --google-blue-hover: #357ae8;
    --color-white: #fff;
    /* Adicionado para evitar conflitos nos cards de depoimentos */
    --color-light-gray: #f9f9f9; /* Cor de fundo para cards de depoimento */
    --color-dark: #333; /* Cor de texto para cards de depoimento */
    --color-gold: #e3a04a; /* Reafirmando cor primária como gold */
}

/* Reset básico e tipografia */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 12px; /* width of the vertical scrollbar */
}

::-webkit-scrollbar-track {
    background: #f1f1f1; /* color of the track */
}

::-webkit-scrollbar-thumb {
    background: #e3a04a; /* color of the scroll thumb (orange) */
    border-radius: 6px; /* roundness of the scroll thumb */
    border: 3px solid #f1f1f1; /* creates a padding around the thumb */
}

::-webkit-scrollbar-thumb:hover {
    background: #d4903b; /* darker orange on hover */
}

/* For Firefox */
body {
    scrollbar-width: thin; /* "auto" or "thin" */
    scrollbar-color: #e3a04a #f1f1f1; /* thumb and track color */
    font-family: var(--body-font); line-height: 1.6; color: var(--text-color);
    background-color: var(--color-white); overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s; /* Add transition for accessibility mode */
}
body.no-scroll { overflow: hidden; }
a { text-decoration: none; color: var(--primary-color); transition: color 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Títulos */
h1, h3, h4, h5, h6 {
    font-family: var(--title-font); margin-bottom: 15px; line-height: 1.3; font-weight: 700;
    color: var(--title-color);
}
h2 {
    font-family: var(--h2-font); font-weight: 400; font-style: normal; line-height: 1.3;
    margin-bottom: 20px; color: var(--title-color);
}
h2.section-title {
    text-align: center; font-size: 2.8em; margin-bottom: 25px;
}
 .about-section .content-text h2.section-title { text-align: left; }
 .process-section .process-content h2.section-title { text-align: left; }

/* Hero H2 Description override */
h2.hero-description {
    font-family: var(--body-font); /* Use Lato */
    font-weight: 400; /* Normal weight */
    font-size: 1.2rem; /* Use rem */
    color: var(--h1-color); margin-bottom: 30px; line-height: 1.6;
    text-shadow: none; text-align: justify; width: 100%;
}
h1.hero-title {
     font-family: var(--title-font); font-size: 3rem; color: var(--h1-color);
     font-weight: 700; margin-bottom: 15px; line-height: 1.2;
     text-align: left; width: 100%;
 }

.container { width: 90%; width: 100%; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; position: relative; }

/* Subtítulo */
.subtitle {
    font-size: 1.1em; color: var(--primary-color);
    text-transform: uppercase; display: block; margin-bottom: 8px;
    font-family: var(--subtitle-font); font-weight: 300; letter-spacing: 0.5px;
}

/* Botões */
.btn-primary, .cta-button, .footer-cta-custom, .newsletter-submit, .button-google { /* Adicionado .button-google */
    display: inline-block; background-color: var(--primary-color); color: var(--color-white);
    padding: 12px 25px; border-radius: 10px; transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease, border-color 0.3s ease;
    border: none; cursor: pointer; font-size: 1em; font-family: var(--body-font);
    text-align: center; font-weight: 700;
    text-decoration: none;
}
.btn-primary:hover, .cta-button:hover, .footer-cta-custom:hover, .newsletter-submit:hover, .button-google:hover { /* Adicionado :hover para .button-google */
    background-color: #555; transform: translateY(-2px);
}

/* Google Review Button - Estilo específico se necessário */
.google-review-button { /* Pode manter este se houver outros botões google */
    background-color: var(--google-blue); color: var(--color-white);
    padding: 10px 18px; font-size: 0.9em; font-weight: 500;
    border-radius: 5px; display: inline-flex; align-items: center; gap: 8px;
}
.google-review-button i { font-size: 1.1em; }
.google-review-button:hover { background-color: var(--google-blue-hover); }


.sr-only, .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); border: 0; white-space: nowrap; }

/* Header Styling */
.header {
    background-color: var(--color-white); padding: 15px 0; box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky; top: 0; z-index: 1000;
}
.header .container { display: flex; justify-content: space-between; align-items: center; }
.header .logo img, .mobile-logo img { height: 8ch; width: auto; display: block; vertical-align: middle; }
.mobile-logo { display: none; }
.header nav ul { display: flex; gap: 20px; }
.header nav ul li a {
    color: var(--text-color); font-weight: 700; transition: color 0.3s ease;
     font-family: var(--body-font); padding-bottom: 5px;
     border-bottom: 2px solid transparent;
}
.header nav ul li a:hover { color: var(--primary-color); border-bottom-color: var(--primary-color); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.8rem; color: var(--title-color); cursor: pointer; padding: 5px; }

/* Header Controls Container */
.header-controls {
    display: flex; align-items: center; gap: 8px; margin-left: 10px;
}
.control-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    color: var(--text-color);
}
.control-btn:hover, .control-btn:focus {
    background-color: rgba(0, 0, 0, 0.05); outline: none;
     box-shadow: 0 0 0 2px var(--primary-color);
 }
.accessibility-btn i { font-size: 1.4rem; line-height: 1; vertical-align: middle; }
.accessibility-btn.active { background-color: var(--primary-color); color: var(--color-white); box-shadow: 0 0 0 2px var(--primary-color); }
.lang-flag { padding: 2px; line-height: 0; }
.lang-flag img {
    width: 24px; height: auto; display: block; vertical-align: middle;
    border: 2px solid transparent; border-radius: 3px;
    transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
}
.lang-flag:hover img, .lang-flag:focus img { transform: scale(1.1); opacity: 1; }
.lang-flag.active img { border-color: var(--color-white); opacity: 1; box-shadow: 0 0 4px rgba(0, 0, 0, 0.2); }

/* WhatsApp Button Styles */
.whatsapp-btn {
    color: #25D366;
    font-size: 2rem;
    line-height: 1;
    vertical-align: middle;
    transition: transform 0.2s ease, color 0.3s ease;
    width: 48px !important;
    height: 48px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}
.whatsapp-btn:hover {
    transform: scale(1.1);
    color: #128C7E;
}

/* Hero Section Styling */
.hero-section {
    position: relative; background: url('images/remoção_de_sinais-banner.jpg') no-repeat center center/cover;
    min-height: 600px; height: 70vh; max-height: 750px;
    display: flex; align-items: center;
    color: var(--color-white); text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
 .hero-section .container { margin-left: 10%; padding: 60px 0; display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; max-width: 500px; }
 .hero-text { flex: 1 1 100%; z-index: 2; padding-right: 10px; text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
 .hero-text .subtitle { color: var(--color-white); text-shadow: none; font-weight: 300; }
 .hero-text .cta-button { margin-top: 20px; }
 .hero-image-container { display: none; }

/* Backgrounds & Flex */
.procedures-section, .process-section, .blog-section, .copyright { background-color: var(--secondary-color); } /* Footer removed from here */
.flex-container { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }

/* About Section */
.about-section .container.flex-container { flex-direction: row-reverse; gap: 40px; max-width: 1200px; justify-content: center; }
.about-section .content-text, .about-section .content-image { flex: 1; min-width: 300px; }
.about-section .content-image { display: flex; justify-content: center; align-items: center; }
.about-section .content-image img { width: 70%; max-width: 400px; border-radius: 15px; box-shadow: 0 8px 20px rgba(0,0,0,0.1); aspect-ratio: 1123 / 1685; object-fit: cover; }
.about-section .content-text { text-align: left; padding-left: 15px; }
.about-section .content-text p.subtitle { font-weight: 300; text-align: left;}
.about-section .content-text p { color: var(--text-color); font-family: var(--body-font); margin-bottom: 1em; }

/* Process Section */
.process-section .container.flex-container {
    gap: 40px;
    align-items: flex-start;
    max-width: 1200px;
    justify-content: center;
    flex-direction: row-reverse;
}
.process-content {
    flex: 1; min-width: 55%; max-width: 600px; padding-right: 20px;
}
.process-image {
    flex-basis: 40%; min-width: 300px; max-width: 450px; display: flex; justify-content: center; align-items: center;
}
.process-image img {
    max-width: 100%; height: auto; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.process-steps-list { list-style: none; padding-left: 0; margin-top: 30px; }
.step-item { margin-bottom: 25px; padding-left: 30px; position: relative; }
.step-item h4::before { display: none !important; content: none !important; }
.step-item h4 { margin-bottom: 8px; color: var(--title-color); font-size: 1.2em; }
.step-item p { color: var(--text-color); font-size: 0.95em; line-height: 1.6; }


/* Location Section */
.location-section .container.flex-container { flex-direction: row; gap: 40px; justify-content: center; max-width: 1200px;}
.location-info, .location-image { flex: 1; min-width: 300px; }
.location-info { display: flex; flex-direction: column; gap: 20px; }
.location-info .map-address { display: flex; flex-direction: column; gap: 5px; }
.location-info .map-address .subtitle { font-weight: 300; }
.location-info .map-address h4 { color: var(--title-color); font-family: var(--title-font); font-weight: 700; }
.location-info .map-address p { color: var(--text-color); font-family: var(--body-font); }
.location-info .map-address div a { color: var(--primary-color); font-weight: 200; font-size: 0.95em; font-family: var(--body-font); }
.location-info .map-address div a span { vertical-align: middle; }
.location-info .map-address div a i { margin-right: 5px; vertical-align: middle; }

.location-info .map-embed { flex-grow: 1; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.location-info .map-embed iframe { display: block; width: 100%; min-height: 400px; height: 100%; border: 0; }
.location-image { display: flex; justify-content: center; align-items: center; }
.location-image img { border-radius: 60px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); max-width: 100%; }


/* --- TESTIMONIALS SECTION --- */
.testimonials-section { background-color: var(--color-white); }
.testimonials-section .container { position: relative; }

/* Google Rating Summary (Dentro da Seção Testimonials) - ATUALIZADO */
.google-rating-summary.testimonials-rating {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px 20px; /* Espaço entre itens */
    margin-top: -10px; /* Aproxima do título */
    margin-bottom: 35px; /* Espaço antes do slider */
    font-family: var(--body-font);
    text-align: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #fdfdfd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.google-logo-img {
    height: 30px; width: auto; flex-shrink: 0;
}
.rating-details-block {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza os itens flex (os spans) */
    text-align: center; /* Centraliza o texto dentro de cada span */
    gap: 2px;
}
.google-rating-summary.testimonials-rating .rating-text {
    font-size: 1.05em; font-weight: 500; line-height: 1.2;
    color: #333;
}
.google-rating-summary.testimonials-rating .rating-text strong {
    font-weight: 700; color: #222; margin-right: 5px;
}
.google-rating-summary.testimonials-rating .stars {
    color: #FFC107; font-size: 1em; line-height: 1;
}
.google-rating-summary.testimonials-rating .stars i { margin: 0 1px; }

.google-rating-summary.testimonials-rating .review-count {
    font-size: 0.9em; color: #555; line-height: 1.2;
}
/* Estilizando o botão 'Avalie-nos' dentro do sumário */
.google-rating-summary.testimonials-rating .button-google {
    background-color: var(--google-blue); /* Cor do Google */
    color: var(--color-white);
    padding: 10px 18px;
    font-size: 0.9em;
    font-weight: 500;
    border-radius: 5px;
    margin-left: auto; /* Empurra para a direita se houver espaço */
}
.google-rating-summary.testimonials-rating .button-google:hover {
    background-color: var(--google-blue-hover);
    transform: translateY(-1px); /* Leve elevação */
}

/* --- SLIDER STYLES (Comum para Treatments e Testimonials) --- */
.slider-wrapper {
    overflow: hidden; position: relative; cursor: grab; margin: 40px auto 20px auto; max-width: 100%;
    /* Removidos margins laterais - controle via container */
}
.slider-wrapper:active { cursor: grabbing; }

.slider-carousel {
    display: flex; gap: 20px; /* Espaçamento entre cards */
    overflow-x: auto; /* Habilita scroll horizontal */
    scroll-snap-type: x mandatory; /* Faz os cards "pararem" alinhados */
    scroll-behavior: smooth; /* Scroll suave com JS/botões */
    -webkit-overflow-scrolling: touch; /* Scroll suave em iOS */
    padding-bottom: 25px; /* Espaço para sombra ou scrollbar (se visível) */
    user-select: none; /* Impede seleção de texto durante o drag */
    scrollbar-width: none; /* Esconde scrollbar no Firefox */
    -ms-overflow-style: none; /* Esconde scrollbar no IE/Edge */
    padding-left: 15px; /* Garante espaço no início */
    padding-right: 15px; /* Garante espaço no fim */
    scroll-padding-left: 15px; /* Define área de "snap" inicial */
    scroll-padding-right: 15px; /* Define área de "snap" final */
}
.slider-carousel::-webkit-scrollbar { display: none; } /* Esconde scrollbar no Chrome/Safari */

/* Slider Navigation Buttons (Comum) */
.slider-nav {
    position: absolute;
    top: 50%;
    left: 0px; /* Mantém esticado */
    right: 0px; /* Mantém esticado */
    transform: translateY(-50%);
    z-index: 10;
    height: 0; /* Para não ocupar espaço vertical */
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* Permite clicar através da div */
    /* AJUSTE: Aumenta o padding para afastar mais das bordas */
    padding: 0 15px; /* Ex: 15px de cada lado (era 5px) */
}
.slider-nav button {
    background-color: rgba(255, 255, 255, 0.8); /* Fundo semi-transparente */
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: all; /* Habilita clique nos botões */
    /* AJUSTE: Remove margens que podem ser herdadas ou causar conflito */
    margin: 0;
}
 /* Cor específica para botões de Treatments */
.treatments-nav button { color: var(--primary-color); }
.treatments-nav button:hover { background-color: var(--primary-color); color: var(--color-white); }

/* Cor específica para botões de Testimonials */
.testimonials-nav button { color: var(--google-blue); } /* Usando azul Google como exemplo */
.testimonials-nav button:hover { background-color: var(--google-blue); color: var(--color-white); }

/* MANTIDO: Ajuste para o clique */
.slider-nav button:active {
    /* AJUSTE: Remove translateY, pois já está no .slider-nav */
    transform: scale(0.95); /* Mantém o feedback visual no clique */
}


/* --- Testimonial Card Styles --- */
.testimonial-card {
    background-color: var(--color-light-gray);
    border: 1px solid #ddd; /* Borda sutil */
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 0 0 auto; /* Não encolhe, não cresce, base auto */
    scroll-snap-align: start; /* Alinha o início do card com o início do container */
    box-shadow: 0 4px 10px rgba(0,0,0, 0.08); /* Sombra suave */
    /* Definição da largura do card */
    width: calc((100% / 3) - (20px * 2 / 3)); /* 3 cards visíveis com gap de 20px */
    max-width: 400px; /* Largura máxima */
    min-width: 280px; /* Largura mínima */
}
.testimonial-card p {
    font-style: italic; margin-bottom: 20px; color: var(--color-dark);
    line-height: 1.5; flex-grow: 1; font-family: var(--body-font);
    font-size: 0.95em;
}
.author-info { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 15px; border-top: 1px solid #eee; }
.author-avatar img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-color); }
.author-name { font-weight: 700; color: var(--color-dark); font-family: var(--body-font); font-size: 0.9em; }
.author-rating { color: var(--primary-color); font-size: 0.9rem; margin-left: auto; }

/* --- Treatment Card Styles --- */
.treatment-card {
    background-color: var(--color-white); border-radius: 15px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07); text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 0 0 auto; display: flex; flex-direction: column;
    scroll-snap-align: start;
    /* Definição da largura do card */
    width: calc((100% / 3) - (20px * 2 / 3)); /* 3 cards visíveis com gap de 20px */
    max-width: 350px; /* Largura máxima */
    min-width: 280px; /* Largura mínima */
}
.treatment-card img { width: 100%; height: 220px; object-fit: cover; }
.treatment-card h3 { font-size: 1.25em; margin: 15px 10px 10px 10px; color: var(--title-color); font-family: var(--title-font); font-weight: 700; }
.treatment-card p { font-size: 0.95em; color: var(--text-color); margin: 0 15px 20px 15px; flex-grow: 1; font-family: var(--body-font); }
.treatment-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }

/* === END SLIDER STYLES === */


/* Clinic Photos Section */
.clinic-photos-section .intro-text { text-align: center; margin: 0 auto 40px auto; color: var(--text-color); font-family: var(--body-font); max-width: 700px; }
.carousel-placeholder { background-color: #eee; padding: 50px 20px; text-align: center; color: #777; border-radius: 8px; margin-top: 40px; border: 1px dashed #ccc; }
.carousel-placeholder p { font-family: var(--body-font); }
.carousel-placeholder .photo-grid { display: flex; justify-content: center; gap: 15px; margin-top: 20px; flex-wrap: wrap;}
.carousel-placeholder .photo-grid > div { width: 200px; height: 150px; background-color: #ccc; display: flex; justify-content: center; align-items: center; border-radius: 4px; font-size: 0.9em; font-family: var(--body-font); }
.carousel-placeholder .dots { text-align: center; margin-top: 20px; font-size: 1.5em; color: var(--primary-color); }
.carousel-placeholder .dots span { margin: 0 3px; cursor: pointer; opacity: 0.5; transition: opacity 0.3s ease; }
.carousel-placeholder .dots span.active { opacity: 1; }

/* Contact Form Section */
.contact-form-section .container { max-width: 700px; }
.contact-form-section form { display: grid; gap: 15px; }
.contact-form-section .form-group label.sr-only + input,
.contact-form-section .form-group label.sr-only + select,
.contact-form-section .form-group label.sr-only + textarea { margin-top: 0; }
.contact-form-section .form-group input, .contact-form-section .form-group select, .contact-form-section .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 5px; font-family: var(--body-font); font-size: 1em; color: var(--text-color); transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.contact-form-section .form-group input:focus, .contact-form-section .form-group select:focus, .contact-form-section .form-group textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 2px rgba(227, 160, 74, 0.2); }
.contact-form-section .form-group textarea { min-height: 150px; resize: vertical; }
.contact-form-section .form-group select {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22%23e3a04a%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M5.293%207.293a1%201%200%20011.414%200L10%2010.586l3.293-3.293a1%201%200%20111.414%201.414l-4%204a1%201%200%2001-1.414%200l-4-4a1%201%200%20010-1.414z%22%20clip-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat; background-position: right 12px center; background-size: 1em auto;
    padding-right: 35px; cursor: pointer;
 }
.contact-form-section button[type="submit"] { width: auto; margin-top: 10px; justify-self: start; font-weight: 700; }
.contact-form-section button[type="submit"] span { font-family: var(--body-font); }

/* Blog Section */
.blog-posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.blog-post { background-color: var(--color-white); border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.07); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.blog-post:hover { transform: translateY(-5px); box-shadow: 0 6px 15px rgba(0,0,0,0.1); }
.blog-post img { width: 100%; height: 220px; object-fit: cover; display: block; }
.blog-post > div { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-post h3 { font-size: 1.2em; margin-top: 0; margin-bottom: 10px; line-height: 1.4; color: var(--title-color); font-family: var(--title-font); font-weight: 700; }
.blog-post h3 a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
.blog-post h3 a:hover { color: var(--primary-color); }
.blog-post p { font-size: 0.95em; margin: 0 0 15px 0; color: var(--text-color); flex-grow: 1; font-family: var(--body-font); line-height: 1.5; }
.blog-post .read-more { display: inline-block; color: var(--primary-color); font-weight: 700; margin-top: auto; font-family: var(--body-font); align-self: flex-start; }
.blog-post .read-more:hover { text-decoration: underline; }

/* Footer Styling */
/* TODO: Removido bloco duplicado de estilos do footer. O CSS do footer está apenas em style.css */

/* Copyright Bar */
.copyright { padding: 15px 0; font-size: 0.9em; color: #473c2e; border-top: 1px solid ; text-align: center; font-family: var(--body-font); background-color: var(--primary-color); /* Garante que mantenha o fundo original se não for alterado pelo footer */ }
.copyright .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 20px; }
.copyright p { margin: 0; }
.copyright a { color: var(--color-dark); text-decoration: underline; transition: color 0.3s ease; font-family: var(--body-font); }
.copyright a:hover { color: #357ae8; }
.copyright .developer { margin-left: auto; }

/* WhatsApp Floating Button - Apenas o ícone, sem fundo, sombra ou borda, com pulsação */
.whatsapp-float {
    position: fixed;
    width: 90px;
    height: 90px;
    bottom: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0;
    transition: width 0.2s, height 0.2s, bottom 0.2s, right 0.2s;
}
.whatsapp-float img {
    width: 100%;
    height: 100%;
    min-width: 40px;
    min-height: 40px;
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
    aspect-ratio: 1/1;
    display: block;
    border-radius: 0;
    box-shadow: none;
    background: none;
    animation: whatsapp-pulse 1.6s infinite cubic-bezier(0.66,0,0,1);
}
@keyframes whatsapp-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.008); }
    100% { transform: scale(1.009); }
}

/* --- Accessibility Mode Styles --- */
body.accessibility-mode-active {
    font-size: 110%;
    --text-color: #000000;
    --title-color: #000000;
    --primary-color: #000000;
    --h1-color: #000000;
    --color-white: #ffffff;
    --secondary-color: #dddddd;
    --google-blue: #0000ff; /* Google blue accessible */
    background-color: var(--color-white);
    color: var(--text-color);
}
body.accessibility-mode-active a {
    color: #0000ff;
    text-decoration: underline !important;
}
body.accessibility-mode-active a:hover,
body.accessibility-mode-active a:focus {
    color: #ff00ff;
}
body.accessibility-mode-active .btn-primary,
body.accessibility-mode-active .cta-button,
body.accessibility-mode-active .footer-cta-custom,
body.accessibility-mode-active .google-review-button,
body.accessibility-mode-active .button-google, /* Botão google do sumário */
body.accessibility-mode-active .newsletter-submit {
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #ffffff;
 }

body.accessibility-mode-active .header { background-color: #ffffff; box-shadow: 0 2px 5px rgba(0,0,0,0.3); }
body.accessibility-mode-active .hero-section { background: #ffffff; color: #000000; text-shadow: none; }
body.accessibility-mode-active .hero-text .subtitle { color: #2c2a26; }
body.accessibility-mode-active .social-links a { background-color: #000; border: 1px solid #fff; }
body.accessibility-mode-active .social-links a:hover { background-color: #333; }
body.accessibility-mode-active .slider-nav button { background-color: #fff; color: #000; border: 1px solid #000; }
body.accessibility-mode-active .slider-nav button:hover { background-color: #000; color: #fff; }
body.accessibility-mode-active .testimonial-card { border-color: #000; background-color: #eee; }
body.accessibility-mode-active .treatment-card { box-shadow: 0 0 0 1px #000; }

/* Accessibility for new footer background */
body.accessibility-mode-active .footer {
    background-color: #000000 !important; /* Added !important because of inline style in HTML */
    color: #ffffff !important;
}
body.accessibility-mode-active .footer .footer-col h4 {
    color: #ffffff !important; /* White heading on black bg */
}
body.accessibility-mode-active .footer .footer-col ul li i {
    color: #ffffff !important; /* White icon on black bg */
}
body.accessibility-mode-active .footer .footer-col ul li a {
    color: #ffff00 !important; /* Yellow link on black bg */
    text-decoration: underline !important;
}
body.accessibility-mode-active .footer .footer-col ul li a:hover {
    color: #ff00ff !important; /* Magenta hover */
}
body.accessibility-mode-active .footer-col.map iframe {
     border: 1px solid #fff !important; /* White border for map in accessibility mode */
}
 body.accessibility-mode-active .copyright {
    background-color: #dddddd !important; /* Keep copyright distinct */
    color: #000000 !important;
 }
  body.accessibility-mode-active .copyright a {
    color: #0000ff !important; /* Blue link for copyright */
 }
 body.accessibility-mode-active .copyright a:hover {
     color: #ff00ff !important; /* Magenta hover */
 }
 body.accessibility-mode-active .footer-col p,
 body.accessibility-mode-active .footer-col span,
 body.accessibility-mode-active .footer-col div,
 body.accessibility-mode-active .footer-col .developer a {
    color: #ffffff !important; /* Ensure text in footer columns is white */
 }
 body.accessibility-mode-active .footer-col .developer a {
    color: #ffff00 !important; /* Developer link to yellow */
 }
 body.accessibility-mode-active .footer-col .developer a:hover {
    color: #ff00ff !important;
 }

 body.accessibility-mode-active *:focus {
    outline: 3px solid #0000ff !important;
    outline-offset: 2px;
    box-shadow: none !important;
}
/* --- END Accessibility Mode Styles --- */


/* --- Responsividade --- */
@media (max-width: 992px) { /* Tablet */
    h1.hero-title { font-size: 2.5rem; }
    h2.section-title { font-size: 2.5em; }
    h2.hero-description { font-size: 1.1rem; text-align: center; max-width: 600px; margin-left: auto; margin-right: auto;}
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1em; }
    .container { max-width: 90%; padding: 0 15px; }
    .section { padding: 60px 0; }
    /* Header */
    .header nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--color-white); border-top: 1px solid #eee; box-shadow: 0 5px 10px rgba(0,0,0,0.1); z-index: 999; }
    .header nav.active { display: block; }
    .header nav ul { flex-direction: column; padding: 10px 0; gap: 0; }
    .header nav ul li { margin-left: 0; text-align: center; }
    .header nav ul li a { display: block; padding: 12px 20px; border-bottom: 1px solid #f5f5f5; }
    .header nav ul li:last-child a { border-bottom: none; }
    .mobile-logo { display: block; margin-left: 0; }
    .header .logo { display: none; }
    .menu-toggle { display: block; margin-left: auto; }
    .header-controls { margin-left: 10px; }
    /* Hero */
    .hero-section { height: auto; min-height: 500px; padding: 100px 0 60px 0; text-align: center; background-position: center top; }
    .hero-section .container { margin-left: auto; margin-right: auto; flex-direction: column; align-items: center; text-align: center; padding-top: 0; padding-bottom: 0; gap: 20px; max-width: 90%; }
    .hero-text { max-width: 100%; order: 1; margin-top: 0; flex-basis: auto; padding-right: 0; text-align: center; align-items: center; }
    .hero-text .cta-button { margin-top: 15px; }

    /* About */
    .about-section .container.flex-container { 
        flex-direction: column !important; 
        gap: 30px; 
        justify-content: center; 
        padding: 0 15px; 
    }
    .about-section .content-image, .about-section .content-text { 
        max-width: 100%; 
        margin: 0 auto; 
        flex-basis: auto; 
        padding-left: 0; 
        text-align: center; 
    }
    .about-section .content-image { 
        display: flex; 
        justify-content: center; 
        order: 2; /* Alterado de -1 para 2 */
    }
    .about-section .content-text { 
        order: 1; /* Adicionado order: 1 */
    }
    .about-section .content-image img { 
        width: 70%; 
        max-width: 400px; 
        margin: 0 auto; 
    }
    .about-section .content-text h2.section-title { 
        text-align: center; 
    }
    .about-section .content-text p.subtitle, .about-section .content-text p { 
        text-align: center; 
    }

    /* Process Section - Responsivo */
    .process-section .container.flex-container {
        flex-direction: column !important;
        gap: 30px;
        justify-content: center;
        padding: 0 15px;
    }
    .process-content { 
        min-width: 100%; 
        text-align: center; 
        padding-right: 0; 
        order: 1; /* Adicionado order: 1 */
    }
    .process-content .section-title, .process-content .subtitle { 
        text-align: center; 
    }
    .step-item { 
        padding-left: 0; 
        text-align: left; 
    }
    .step-item h4::before { 
        display: none; 
    }
    .process-image { 
        order: 2; /* Alterado de -1 para 2 */
        flex-basis: auto; 
        width: 70%; 
        max-width: 400px; 
        margin: 0 auto 20px auto; 
    }

    /* === SLIDERS (TABLET) === */
    .slider-wrapper { margin-left: 0; margin-right: 0; } /* Remove margens laterais */
    .slider-carousel { gap: 15px; padding-left: 15px; padding-right: 15px; scroll-padding-left: 15px; scroll-padding-right: 15px; }

    /* Cards do Slider (Tablet) - 2 por linha */
    .treatment-card,
    .testimonial-card {
        width: calc(50% - (15px / 2)); /* 2 cards + gap */
        max-width: none; /* Remove max-width */
        min-width: 250px; /* Ajuste mínimo */
    }

    /* Ajustes de botões do slider para tablet */
    .slider-nav {
        /* AJUSTE: Mantém o padding de 15px ou ajusta se necessário */
         padding: 0 15px;
    }
    .slider-nav button {
        width: 35px;
        height: 35px;
    font-size: 1rem;
    }
    /* AJUSTE: Removidas as margens negativas */
    /* .slider-nav .prev-btn { margin-left: -5px; } */ /* REMOVIDO */
    /* .slider-nav .next-btn { margin-right: -5px; } */ /* REMOVIDO */
    .section-cta { margin-top: 35px; }
    /* === END SLIDERS (TABLET) === */

    /* Contact Form */
    .contact-form-section .container { max-width: 90%; padding: 0 15px;}
    .contact-form-section h2.section-title { font-size: 2.2em; }
    .contact-form-section button[type="submit"] { justify-self: center; }
    /* Blog */
    .blog-section .container { padding: 0 15px;}
    .blog-posts-grid { gap: 20px; margin-top: 30px; }
    /* Location */
    .location-section .container.flex-container { flex-direction: column !important; gap: 30px; justify-content: center; padding: 0 15px;}
    .location-info, .location-image { flex-basis: auto; max-width: 100%; margin: 0 auto; }
    .location-info { gap: 20px; text-align: center; order: 1; }
    .location-info .map-address { gap: 8px; align-items: center; }
    .location-info .map-address h4 { text-align: center; font-size: 1.1em; }
    .location-info .map-address p { text-align: center; }
    .location-info .map-address div { justify-content: center; }
    .location-info .map-embed { margin-top: 0; max-width: 100%; margin-left: auto; margin-right: auto; order: -1; height: 350px; }
    .location-image { order: -1; }
    .google-review-cta { text-align: center; }
    .google-review-cta .section-cta { text-align: center; }
    /* Footer */
    .footer { padding: 40px 0 15px 0; }
    /* Footer Grid specific adjustments for tablet */
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important; /* Allow more flexible fitting */
        gap: 2rem !important;
        padding: 0 15px !important;
        text-align: center !important; /* Ensure text-align for all columns */
    }
    .footer-col {
        min-width: unset !important; /* Reset min-width from inline style */
        width: 100% !important; /* Allow full width within grid cell */
        max-width: 400px !important; /* Limit max width for better stacking */
        margin: 0 auto !important; /* Center columns if grid leaves space */
        text-align: center !important;
    }
    .footer-col h4 { text-align: center !important; }
    .footer-col ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .footer-col ul li {
        display: flex !important;
        justify-content: center !important;
        margin-bottom: 0.5rem !important;
        text-align: center !important;
        max-width: 280px !important; /* Limit width of list items */
    }
     .footer-col ul li i { margin-right: 8px !important; }
     .footer-col ul li a { text-align: left !important; } /* Keep text left aligned within centered li */

    .social-links { justify-content: center !important; margin-top: 10px !important; margin-bottom: 15px !important; }
    .footer-col.col-location iframe { height: 180px !important; margin-right: 0 !important; } /* Remove right margin */
    .footer .container:last-of-type { /* Target the copyright/social links container */
        flex-direction: column !important;
        gap: 1rem !important;
        text-align: center !important;
    }
    .footer .developer { margin-left: 0 !important; }


    /* Copyright */
    .copyright { padding: 12px 0; }
    .copyright .container { flex-direction: column; gap: 8px; text-align: center; padding: 0 15px; }
    .copyright .developer { margin-left: 0; }
    /* Floats */
    .whatsapp-float {
        right: 0;
    }
    .whatsapp-float img {
        min-width: 50px;
        min-height: 50px;
        max-width: 120px;
        max-height: 120px;
    }
   /* .newsletter-popup { bottom: 15px; right: 15px; left: 15px; width: auto; max-width: 400px; margin: 0 auto; padding: 25px 20px; transform: translateY(20px) scale(0.98); }*/
}

@media (max-width: 576px) {
    body, .container, .section, .hero-text, .about-section .content-text, .section-title, .subtitle, p, h1, h2, h3, h4, h5, h6 {
        text-align: center !important;
    }
    .cta-button, .btn-primary, .primary-cta {
        display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .accessibility-btn.active {
        background-color: var(--primary-color);
        color: var(--color-white);
        box-shadow: 0 0 0 2px var(--primary-color);
    }
    .footer-logo {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .footer-logo img {
        margin: 0 auto;
        display: block;
    }
    .header-controls { display: none !important; }
    .mobile-menu-icons {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 16px;
        margin: 18px 0 10px 0;
    }
    .mobile-menu-icons .whatsapp-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 1.3rem !important;
    }
}

@media (min-width: 993px) {
    .mobile-menu-icons { display: none !important; }
}

html {
    scroll-behavior: smooth;
}
