/* ==========================================================================
   VET DO PET — STYLESHEET ÚNICO
   Paleta canônica (roxo primary + magenta secondary + azul-petróleo action)
   Cobre: index + sobre + contato + faq + servicos + 8 páginas de serviço
   ========================================================================== */


/* --------------------------------------------------------------------------
   VARIÁVEIS + RESET + BASE
   -------------------------------------------------------------------------- */

:root {
    --primary-color: #550b37;
    --secondary-color: #a70148;
    --action-color: #006e80;
    --light-color: #ffffff;
    --dark-color: #161616;
    --text-color: #161616;
    --light-gray: #f2f2f2;
    --footer-bg: #000000;
    --pink-bg: #F4C0C2;
    --divi-dark-blue: #013953;
    --whatsapp-green: #25D366;

    --font-primary: 'Mulish', Helvetica, Arial, sans-serif;
    --font-headings: 'Abhaya Libre', Georgia, "Times New Roman", serif;
    --font-nav: 'Actor', Helvetica, Arial, sans-serif;

    --container-width: 1080px;
    --default-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: bold;
    line-height: 1.2;
    color: #000000;
}

h1 {
    font-size: clamp(1.75rem, 5vw, 3.75rem);
    line-height: 1.15;
    margin-bottom: 15px;
}
h2 { font-size: clamp(1.875rem, 4vw, 3.1875rem); }
h3 { font-size: clamp(1.75rem, 3.5vw, 2.6875rem); }
h4 { font-size: clamp(1.5rem, 3vw, 2.25rem); }

a {
    color: var(--action-color);
    text-decoration: none;
    transition: var(--default-transition);
}

a:hover {
    opacity: 0.8;
}

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

ul {
    list-style: none;
}

p {
    padding-bottom: 1em;
}

p:last-child {
    padding-bottom: 0;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -999;
}

.skip-link:focus {
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    overflow: auto;
    z-index: 100000;
    background: #000;
    color: #fff;
    padding: 1em;
}

#main-content {
    flex-grow: 1;
}


/* --------------------------------------------------------------------------
   ANIMAÇÕES DE ENTRADA (Intersection Observer)
   -------------------------------------------------------------------------- */

.mission,
.services,
.team-section,
.testimonials .testimonial-card,
.intro-section,
.intro-section-faq,
.services-grid-section,
.dentistry-services-section,
.all-services-section,
.faq-list,
.contact-serving-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.mission.visible,
.services.visible,
.team-section.visible,
.testimonials .testimonial-card.visible,
.intro-section.visible,
.intro-section-faq.visible,
.services-grid-section.visible,
.dentistry-services-section.visible,
.all-services-section.visible,
.faq-list.visible,
.contact-serving-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.mission,
.services,
.team-section,
.testimonials {
    padding: clamp(3rem, 6vw, 5rem) 0;
}


/* --------------------------------------------------------------------------
   BOTÕES
   -------------------------------------------------------------------------- */

.cta-button,
.cta-button-secondary,
.button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 0;
    font-weight: bold;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--default-transition);
    cursor: pointer;
    text-align: center;
}

.cta-button,
.button {
    background-color: var(--action-color);
    color: var(--light-color);
    border: 2px solid var(--action-color);
}

.cta-button:hover,
.button:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-color);
    transform: scale(1.03);
    box-shadow: 0 4px 15px -5px rgba(0, 110, 128, 0.7);
    opacity: 1;
}

.cta-button-secondary {
    background-color: transparent;
    color: var(--action-color);
    border: 2px solid var(--action-color);
}

.cta-button-secondary:hover {
    background-color: var(--action-color);
    color: var(--light-color);
    transform: scale(1.03);
}


/* --------------------------------------------------------------------------
   HEADER — TOP-BAR + MAIN-HEADER + NAV
   -------------------------------------------------------------------------- */

.top-bar {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 0.75em 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info a {
    color: var(--light-color);
    margin: 0 15px;
    font-size: 1rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
}

.contact-info a svg {
    margin-right: 5px;
    width: 16px;
    height: 16px;
}

.social-links {
    display: block;
}

.top-bar .social-links a {
    margin-left: 10px;
    color: var(--light-color);
}

.top-bar .social-links a svg {
    width: 16px;
    height: 16px;
}

.main-header {
    background-color: var(--light-color);
    padding: 15px 0;
    position: static;
    box-shadow: none;
}

.main-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 87px;
    width: auto;
}

.main-nav {
    display: block;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 22px;
}

.main-nav a {
    font-family: var(--font-nav);
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: #000000;
    padding-top: 30px;
    padding-bottom: 30px;
    position: relative;
    display: block;
}

.main-nav li.current-menu-item > a {
    color: var(--secondary-color);
}

.main-nav .cta-button {
    padding: 18px !important;
    color: var(--light-color) !important;
}

.main-nav .cta-button:hover {
    background-color: var(--primary-color);
}

.main-nav .menu-item-has-children {
    position: relative;
}

.main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-color);
    list-style: none;
    padding: 10px 0;
    width: 220px;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    flex-direction: column;
    gap: 0;
}

.main-nav .menu-item-has-children:hover > .sub-menu {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.main-nav .sub-menu li {
    width: 100%;
}

.main-nav .sub-menu a {
    color: var(--light-color) !important;
    padding: 12px 20px !important;
    font-size: 15px;
    text-transform: none;
    font-weight: bold;
    display: block;
    text-align: left;
}

.main-nav .sub-menu a:hover {
    background-color: rgba(255,255,255,0.1);
    opacity: 1;
}

.main-nav .menu-item-has-children > a {
    padding-right: 18px !important;
}

.main-nav .menu-item-has-children > a::after {
    content: '▾';
    font-size: 16px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-weight: normal;
    transition: transform 0.2s ease-in-out;
}

.main-nav .menu-item-has-children:hover > a::after {
    transform: translateY(-50%) rotate(180deg);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 32px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(20px); }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg); }


/* --------------------------------------------------------------------------
   HERO — INDEX (vídeo de fundo)
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    overflow: hidden;
    background-image: none;
    background-size: cover;
    background-position: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -2;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
    z-index: 1;
    padding: 20px;
    background-color: rgba(0,0,0,0.18);
    border-radius: 0;
    max-width: 90%;
}

.hero .hero-content p:first-of-type {
    font-size: 25px;
    text-shadow: 0em 0.1em 0.1em rgba(0,0,0,0.4);
    margin-top: 12px;
}

.hero .hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero .hero-content h1 {
    margin: 10px 0 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    color: var(--light-color);
}


/* --------------------------------------------------------------------------
   HERO — PÁGINAS INTERNAS (background-image inline)
   -------------------------------------------------------------------------- */

.hero-section {
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    text-align: left;
    padding: 140px 0;
    transition: padding 0.3s ease-out;
}

.hero-section .container {
    display: flex;
    align-items: center;
}

.hero-section .hero-content {
    background-color: rgba(0,0,0,0.35);
    max-width: 42%;
    padding: 40px 35px;
    margin-left: 10%;
    border-radius: 5px;
}

.hero-section .hero-content p:first-child {
    font-size: 25px;
    margin-bottom: 5px;
}

.hero-section .hero-content h1 {
    color: var(--light-color);
}

.hero-section .hero-content p {
    font-size: 20px;
}

.hero-section .hero-content a {
    color: var(--light-color);
}

.hero-section .hero-content .cta-button {
    margin-top: 1em;
    background-color: transparent;
    color: var(--light-color);
    border-color: var(--light-color);
}

.hero-section .hero-content .cta-button:hover {
    background-color: rgba(255,255,255,0.2);
    color: var(--light-color);
    border-color: var(--light-color);
    transform: scale(1.03);
    box-shadow: none;
}


/* --------------------------------------------------------------------------
   INDEX — MISSION
   -------------------------------------------------------------------------- */

.mission {
    background-image: linear-gradient(90deg, #ffffff 85%, var(--action-color) 85%, var(--action-color) 91%, #ffffff 91%);
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 2px;
}

.mission-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.mission-text {
    flex: 1;
}

.mission-text img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.mission-text h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.mission-text h2 {
    color: var(--divi-dark-blue);
    margin-bottom: 20px;
}

.mission-text p {
    margin-bottom: 30px;
}

.mission-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.mission-image img {
    border-radius: 360px 0 0 360px;
    border: 10px solid var(--light-color);
    box-shadow: 1px 0px 0px 2px var(--action-color);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.peeking-dog-container {
    display: none;
}


/* --------------------------------------------------------------------------
   INDEX — SERVICES (com bg-image lateral)
   -------------------------------------------------------------------------- */

.services {
    background-color: var(--primary-color);
    color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.services-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 33.33%;
    height: 100%;
    background-image: url('../Images/main_page/main-page-chat-1200w.webp');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.services-content-wrapper {
    width: 66.67%;
    margin-left: 33.33%;
    padding: clamp(2rem, 5vw, 4rem);
    position: relative;
    z-index: 1;
}

.services-content-wrapper h4 {
    color: var(--pink-bg);
}

.services-content-wrapper h2 {
    color: var(--light-color);
    margin-bottom: 20px;
}

.services-content-wrapper p {
    margin-bottom: 30px;
}

.service-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    text-align: center;
}

.services .service-item {
    transition: var(--default-transition);
}

.services .service-item:hover {
    transform: translateY(-8px);
}

.services .service-item img {
    background: var(--light-color);
    border-radius: 50%;
    padding: 10px;
    border: 2px solid var(--light-color);
    margin: 0 auto 15px;
    width: clamp(80px, 15vw, 128px);
    height: auto;
    aspect-ratio: 1 / 1;
}

.services .service-item h4 {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--light-color);
}


/* --------------------------------------------------------------------------
   INDEX — TEAM (carrossel com fade)
   -------------------------------------------------------------------------- */

.team-section {
    background-image: linear-gradient(90deg, #ffffff 21%, var(--action-color) 21%, var(--action-color) 26%, #ffffff 26%);
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.team-carousel-container {
    flex: 1;
    padding: 20px;
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-carousel {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1 / 1;
}

.team-carousel img {
    border-radius: 50%;
    border: 10px solid var(--light-color);
    box-shadow: 0px 0px 0px 1px var(--action-color);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.team-carousel img.active {
    opacity: 1;
    z-index: 1;
}

.team-text-content {
    flex: 1;
    padding: clamp(1.5rem, 4vw, 3rem);
    background-size: contain;
}

.team-text-content h4 {
    color: var(--primary-color);
}

.team-text-content h2 {
    color: var(--divi-dark-blue);
}


/* --------------------------------------------------------------------------
   INDEX — TESTIMONIALS
   -------------------------------------------------------------------------- */

.testimonials {
    background-color: var(--light-gray);
    text-align: center;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--divi-dark-blue);
}

.testimonials h4 {
    color: var(--secondary-color);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.testimonial-card {
    background-color: var(--light-color);
    padding: 30px;
    text-align: left;
    box-shadow: 0px 12px 18px -6px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 16px 24px -8px rgba(0,0,0,0.15);
}

.testimonial-card::before {
    content: '“';
    font-family: 'Georgia', serif;
    font-size: 100px;
    color: var(--pink-bg);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
    z-index: 1;
}

.testimonial-card blockquote {
    position: relative;
    z-index: 2;
}

.testimonial-card cite {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    font-style: normal;
}


/* --------------------------------------------------------------------------
   PÁGINAS DE SERVIÇO — DENTISTRY-SERVICES-SECTION (texto + imagem)
   -------------------------------------------------------------------------- */

.dentistry-services-section {
    padding: 27px 0;
    background-image: linear-gradient(90deg, #ffffff 85%, var(--action-color) 85%, var(--action-color) 91%, #ffffff 91%);
}

.dentistry-services-section .container.two-columns {
    display: flex;
    align-items: center;
    padding: 0;
    width: 100%;
    max-width: 100%;
}

.dentistry-services-section .column-text {
    flex: 0 1 58%;
    padding-left: 7%;
    padding-right: 4%;
}

.dentistry-services-section .column-text h2 {
    color: var(--divi-dark-blue);
    margin-bottom: 25px;
}

.dentistry-services-section .column-text p:first-of-type {
    font-size: 1.1em;
    color: #555;
}

.dentistry-services-section ul {
    list-style-type: '✓ ';
    color: var(--action-color);
    margin: 2.5em 0;
    padding-left: 1.5em;
}

.dentistry-services-section ul li {
    padding-left: 0.5em;
    margin-bottom: 1.2em;
    color: var(--text-color);
}

.dentistry-services-section p:last-of-type a {
    font-weight: bold;
    color: var(--action-color);
}

.dentistry-services-section .column-image {
    flex: 0 1 42%;
}

.about-founder-title {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-founder-label {
    display: inline-block;
    font-size: 0.75em;
    font-weight: 400;
    color: var(--text-color);
    opacity: 0.8;
    white-space: nowrap;
}

.about-founder-heading {
    margin-bottom: 5px;
}

.dentistry-services-section .column-image img {
    width: 100%;
    border-radius: 360px 0 0 360px;
    border: 10px solid var(--light-color);
    box-shadow: 1px 0px 0px 2px var(--action-color);
    float: right;
}


/* --------------------------------------------------------------------------
   PÁGINAS DE SERVIÇO — ALL-SERVICES-SECTION (grid de outros serviços)
   -------------------------------------------------------------------------- */

.all-services-section {
    padding: 30px 0 50px 0;
    background-color: var(--light-gray);
    text-align: center;
}

.all-services-section h2 {
    color: var(--divi-dark-blue);
    font-weight: bold;
}

.all-services-section p {
    margin: 0 auto 1.2em auto;
    line-height: 1.7;
    max-width: 800px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 20px;
}

.all-services-section .service-item {
    padding: 10px;
    color: var(--action-color);
    text-decoration: underline;
    text-decoration-color: rgba(0, 110, 128, 0.3);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 4.5em;
    transition: text-decoration-color 0.3s ease;
}

.all-services-section .service-item:hover {
    text-decoration-color: var(--action-color);
}


/* --------------------------------------------------------------------------
   SERVICOS PAGE — INTRO-SECTION + SERVICE-CARDS
   -------------------------------------------------------------------------- */

.intro-section {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.intro-section .container {
    max-width: 900px;
    text-align: center;
}

.intro-section h2 {
    color: var(--light-color);
    margin-bottom: 20px;
}

.intro-section a {
    color: var(--light-color);
    text-decoration: underline;
}

.services-grid-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.services-grid-section .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    text-align: center;
}

.service-card img {
    border-radius: 20px;
    border-top: 5px solid var(--action-color);
    border-bottom: 5px solid var(--action-color);
    box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    display: inline-block;
}

.service-card h3 {
    font-size: 24px;
    text-transform: uppercase;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.service-card a {
    color: var(--action-color);
    font-weight: bold;
}


/* --------------------------------------------------------------------------
   FAQ PAGE — INTRO + ACCORDION
   -------------------------------------------------------------------------- */

.intro-section-faq {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: clamp(2.5rem, 5vw, 3.5rem) 0;
    text-align: center;
}

.intro-section-faq .container {
    max-width: 900px;
}

.intro-section-faq h2 {
    color: var(--light-color);
    margin-bottom: 1em;
}

.intro-section-faq p {
    font-size: 1.1rem;
    padding-bottom: 0;
}

.intro-section-faq a {
    color: var(--light-color);
    text-decoration: underline;
}

.faq-list {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.faq-list details {
    border: 3px solid var(--action-color);
    margin-bottom: 1em;
    background-color: var(--light-color);
}

.faq-list summary {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 1.25em;
    cursor: pointer;
    position: relative;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: '+';
    font-size: 2rem;
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease-in-out;
}

.faq-list details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-content {
    padding: 0 1.25em 1.25em;
    border-top: 1px solid #eee;
}

.faq-content p {
    padding-top: 1em;
    padding-bottom: 0;
}


/* --------------------------------------------------------------------------
   CONTATO PAGE — SERVING-SECTION + DIVIDER COM ÍCONE
   -------------------------------------------------------------------------- */

.contact-serving-section {
    padding: clamp(3rem, 6vw, 4rem) 0;
    text-align: center;
    background-color: var(--light-color);
}

.contact-serving-section p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 1em;
}

.contact-serving-section p:last-child {
    padding-bottom: 0;
}

.icon-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    max-width: 800px;
}

.divider-line {
    flex-grow: 1;
    height: 1px;
    background-color: var(--secondary-color);
}

.divider-icon {
    display: block;
    width: 25px;
    height: 25px;
    margin: 0 20px;
    font-size: 0;
    color: var(--secondary-color);
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M226.5 92.9c14.3 42.9-.3 86.2-32.6 96.8s-70.1-15.6-84.4-58.5.3-86.2 32.6-96.8 70.1 15.6 84.4 58.5zM100.4 198.6c18.9 32.4 14.3 70.1-10.2 84.1s-59.7-1-78.5-33.4S-2.6 179.2 21.9 165.2s59.7 1 78.5 33.4zM69.2 401.2C121.6 259.9 214.7 224 256 224s134.4 35.9 186.8 177.2c3.6 9.7 5.2 20.1 5.2 30.5v1.6c0 25.8-20.9 46.7-46.7 46.7c-11.5 0-22.9-1.4-34-4.2l-88-22c-15.3-3.8-31.3-3.8-46.6 0l-88 22c-11.1 2.8-22.5 4.2-34 4.2C84.9 480 64 459.1 64 433.3v-1.6c0-10.4 1.6-20.8 5.2-30.5zM421.8 282.7c-24.5-14-29.1-51.7-10.2-84.1s54-47.4 78.5-33.4 29.1 51.7 10.2 84.1s-54 47.4-78.5 33.4zM310.1 189.7c-32.3-10.6-46.9-53.9-32.6-96.8s52.1-69.1 84.4-58.5 46.9 53.9 32.6 96.8-52.1 69.1-84.4 58.5z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M226.5 92.9c14.3 42.9-.3 86.2-32.6 96.8s-70.1-15.6-84.4-58.5.3-86.2 32.6-96.8 70.1 15.6 84.4 58.5zM100.4 198.6c18.9 32.4 14.3 70.1-10.2 84.1s-59.7-1-78.5-33.4S-2.6 179.2 21.9 165.2s59.7 1 78.5 33.4zM69.2 401.2C121.6 259.9 214.7 224 256 224s134.4 35.9 186.8 177.2c3.6 9.7 5.2 20.1 5.2 30.5v1.6c0 25.8-20.9 46.7-46.7 46.7c-11.5 0-22.9-1.4-34-4.2l-88-22c-15.3-3.8-31.3-3.8-46.6 0l-88 22c-11.1 2.8-22.5 4.2-34 4.2C84.9 480 64 459.1 64 433.3v-1.6c0-10.4 1.6-20.8 5.2-30.5zM421.8 282.7c-24.5-14-29.1-51.7-10.2-84.1s54-47.4 78.5-33.4 29.1 51.7 10.2 84.1s-54 47.4-78.5 33.4zM310.1 189.7c-32.3-10.6-46.9-53.9-32.6-96.8s52.1-69.1 84.4-58.5 46.9 53.9 32.6 96.8-52.1 69.1-84.4 58.5z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}


/* --------------------------------------------------------------------------
   FOOTER (CTA + DETAILS + MAP + BOTTOM)
   -------------------------------------------------------------------------- */

.main-footer {
    padding-top: 0;
}

.footer-cta-section {
    background-color: var(--pink-bg);
    padding-top: 54px;
}

.footer-cta-container {
    display: flex;
    align-items: stretch;
    background-color: var(--light-color);
    border-radius: 250px 0 0 250px;
    border-top: 10px solid var(--pink-bg);
    border-bottom: 10px solid var(--pink-bg);
    border-left: 10px solid var(--pink-bg);
    box-shadow: -2px 0px 0px 1px var(--light-color);
    margin-left: auto;
    margin-right: 0;
    width: 90%;
    max-width: 1200px;
}

.footer-cta-content {
    flex: 2;
    padding: 40px 60px;
}

.footer-cta-content h2 {
    color: var(--divi-dark-blue);
}

.footer-cta-image {
    flex: 1;
    display: flex;
    align-items: flex-end;
}

.footer-cta-image img {
    max-width: 100%;
}

.footer-details {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 60px 0;
}

.footer-details-content {
    display: flex;
    align-items: stretch;
    gap: 40px;
}

.footer-contact-info,
.footer-map {
    flex: 1;
}

.footer-contact-info h3 {
    margin-bottom: 2.5rem;
    font-size: clamp(1.8rem, 3.5vw, 2.2rem);
    color: var(--light-color);
}

.footer-contact-info h4 {
    color: var(--light-color);
}

.info-item {
    margin-bottom: 2rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item h4 {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.info-item h4 svg {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    flex-shrink: 0;
}

.info-item a {
    color: var(--light-color);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
}

.info-item a:hover {
    text-decoration-color: var(--light-color);
    opacity: 1;
}

.footer-map {
    position: relative;
    min-height: 350px;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 1;
    transition: var(--default-transition);
}

.map-overlay:hover {
    background-color: rgba(0,0,0,0);
}

.footer-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.footer-bottom {
    background-color: var(--footer-bg);
    color: var(--light-color);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom .container.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom a {
    color: var(--light-color);
}

.footer-bottom .social-links a {
    font-size: 21px;
    color: var(--light-color);
}

.footer-bottom .social-links a svg {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.technical-responsibility {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: var(--light-color);
    opacity: 0.7;
    margin-top: 8px;
    font-weight: normal;
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
}

/* --------------------------------------------------------------------------
   WHATSAPP — BOTÃO FLUTUANTE + ÍCONE INLINE NO FOOTER
   -------------------------------------------------------------------------- */

.whatsapp-float-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--whatsapp-green);
    color: var(--light-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    opacity: 1;
}

.footer-contact-info .info-item p a[href*="wa.me"] {
    display: inline-flex;
    align-items: center;
    font-weight: bold;
}

.footer-contact-info .info-item p a[href*="wa.me"]::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' fill='%23ffffff'%3E%3Cpath d='M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157.1zM223.9 439.6c-38.2 0-73.7-11.8-103.6-32.5L38.8 454.4l29.9-78.4c-21.4-32.3-34.1-70-34.1-110.1 0-108.5 88.4-197 197-197 52.8 0 101.6 20.2 138.6 57.2 36.3 36.3 56.1 84.4 56.1 138.5-.1 108.6-88.4 197.1-197 197.1zm112.5-177.5c-5.9-3-35.1-17.4-40.6-19.3s-9.6-3-13.6 3c-4 6-15.3 19.3-18.8 23.2s-7.1 4.5-13.1 1.5c-29.5-14.8-54.8-26.6-79.8-59.5-11.7-15.4-1.3-15.4 7.2-27.1 2.1-2.9 4.2-6 6.3-8.9 2.1-2.9 4.2-6 6.3-8.9.9-1.2 1.8-2.4.9-4.5-4.5-10.3-9.1-21.6-12.5-29.5s-7.1-6.8-9.9-7.1c-2.9-.3-6.2-.3-9.6-.3s-8.1 1.2-12.5 5.9c-4.5 4.7-17.5 17.1-17.5 41.8s17.9 48.4 20.4 51.9c2.5 3.5 35.1 56.2 87.5 77.6 52.4 21.4 52.4 14.2 61.8 13.3 9.4-1.2 29.5-12.1 33.7-23.7 4.2-11.6 4.2-21.6 2.9-23.7s-5.1-3.5-11-6.5z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


/* --------------------------------------------------------------------------
   RESPONSIVE — ≤980px (tablets)
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {

    .hero-section {
        padding: 80px 0;
    }

    .cta-button,
    .cta-button-secondary,
    .button {
        padding: 14px 28px;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--light-color);
        box-shadow: 0 4px 5px rgba(0,0,0,0.1);
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        overflow-y: auto;
    }

    .main-nav.active {
        display: block;
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        padding: 140px 20px 40px;
        gap: 1rem;
        height: 100%;
        justify-content: flex-start;
    }

    .main-nav ul li {
        width: 100%;
        text-align: center;
    }

    .main-nav a {
        padding: 15px;
        display: block;
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
        font-size: 1.25rem;
    }

    .main-nav .cta-button {
        padding: 15px !important;
        text-align: center;
        margin-top: 20px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav .sub-menu {
        position: static;
        display: none;
        width: 100%;
        background-color: #f7f7f7;
        box-shadow: none;
        padding: 0;
        border-top: none;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    .main-nav .menu-item-has-children.submenu-open > .sub-menu {
        display: block;
    }

    .main-nav .sub-menu a {
        padding: 12px 20px !important;
        font-size: 1rem;
        color: var(--dark-color) !important;
        border-bottom: 1px solid #eee;
    }

    .main-nav .sub-menu li:last-child a {
        border-bottom: none;
    }

    .main-nav .menu-item-has-children > a::after {
        display: none;
    }

    .submenu-toggle {
        position: absolute;
        right: 15px;
        top: 0;
        height: 100%;
        width: 50px;
        cursor: pointer;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .submenu-toggle::after {
        content: '+';
        font-size: 24px;
        color: var(--secondary-color);
        transition: transform 0.3s ease;
    }

    .menu-item-has-children.submenu-open .submenu-toggle::after {
        transform: rotate(45deg);
    }

    .mission-content {
        flex-direction: column;
        text-align: center;
    }

    .mission,
    .team-section {
        background-image: none !important;
    }

    .mission-text {
        order: 1;
    }

    .mission-image {
        order: 2;
        overflow: hidden;
        border: 10px solid var(--light-color);
        box-shadow: 0 0 0 2px var(--action-color);
        width: 100%;
        display: block;
    }

    .mission-image img {
        border-radius: 0;
        border: none;
        box-shadow: none;
        width: 100%;
    }

    .mission-text img {
        margin: 0 auto 20px;
    }

    .peeking-dog-container {
        display: block;
        order: 3;
        margin-top: 2.5rem;
        background-color: var(--light-color);
        position: relative;
        height: 180px;
        overflow: hidden;
        width: 100%;
    }

    .peeking-dog-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 20%;
    }

    .services-background-image {
        display: none;
    }

    .services-content-wrapper {
        width: 100%;
        margin-left: 0;
        padding: clamp(2rem, 5vw, 4rem);
        text-align: center;
    }

    .team-section {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .team-carousel-container {
        min-height: 350px;
        width: 100%;
        max-width: 350px;
    }

    .team-text-content {
        padding: 20px;
        background-image: none;
        text-align: center;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .hero-section .container {
        flex-direction: column;
    }

    .hero-section .hero-content {
        flex-basis: 100%;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .dentistry-services-section {
        background-image: none;
        padding: 50px 0;
        margin-top: 0;
    }

    .all-services-section {
        padding: 50px 0;
    }

    .dentistry-services-section .container.two-columns {
        flex-direction: column;
        padding: 0;
    }

    .dentistry-services-section .column-text {
        padding: 0;
        margin-bottom: 30px;
    }

    .dentistry-services-section .column-image img {
        width: 100%;
        border-radius: 10px;
        float: none;
        border: 0;
        box-shadow: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid-section .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-cta-section {
        padding-top: 0;
    }

    .footer-cta-container {
        flex-direction: column;
        width: 90%;
        max-width: 90%;
        margin: 30px auto;
        border-radius: 0;
        border: 10px solid var(--pink-bg);
        box-shadow: none;
    }

    .footer-cta-content {
        padding: clamp(2.5rem, 6vw, 4rem);
    }

    .footer-cta-image {
        width: 67%;
        align-self: center;
        margin-top: -30px;
    }

    .footer-details-content {
        flex-direction: column;
        padding: 0;
        text-align: center;
    }

    .info-item h4 {
        justify-content: center;
    }

    .footer-contact-info,
    .footer-map {
        padding: 0;
    }

    .footer-bottom .container.footer-bottom-content {
        flex-direction: column;
        gap: 15px;
    }
}


/* --------------------------------------------------------------------------
   RESPONSIVE — ≤767px (mobile)
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {

    .hero {
        min-height: 60vh;
        height: auto;
        background-position: center 30%;
        background-size: cover;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 5vh;
        padding-bottom: 5vh;
    }

    .hero .hero-content {
        margin-top: 0;
        margin-bottom: 0;
        max-width: 95%;
        padding: 20px 15px;
        background-color: rgba(0,0,0,0.45);
    }

    .hero .hero-content h1 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .hero-section {
        background-position: center 30%;
    }

    .hero-section .hero-content {
        max-width: 95%;
        padding: 30px 20px;
        background-color: rgba(0, 0, 0, 0.6) !important;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-section .hero-content h1 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .top-bar-content {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .contact-info {
        text-align: center;
        width: 100%;
        margin: 0;
    }

    .contact-info a {
        display: block;
        margin: 5px 0;
        justify-content: center;
    }

    .contact-info a[href^="mailto:"] {
        display: none;
    }

    .top-bar .social-links {
        display: none;
    }

    .footer-bottom .social-links {
        display: block;
    }

    .services-grid,
    .services-grid-section .container {
        grid-template-columns: 1fr;
    }

    .service-card img {
        max-width: 100%;
    }
}


/* --------------------------------------------------------------------------
   RESPONSIVE — ≤360px (telas muito pequenas)
   -------------------------------------------------------------------------- */

@media (max-width: 360px) {

    .hero .hero-content {
        max-width: 90%;
        padding: 20px;
        background-color: rgba(0,0,0,0.3);
    }
}
