/* =========================================
   RESET & BASE
   ========================================= */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote,
a, abbr, em, img, small, strong, sub, sup, b, u, i,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, figure, figcaption, footer, header,
hgroup, menu, nav, output, section, summary, time, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
* { outline: none; box-sizing: border-box; }
a { text-decoration: none; }
article, aside, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
table { border-collapse: collapse; border-spacing: 0; }

/* =========================================
   GOOGLE FONTS
   ========================================= */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap");

/* =========================================
   VARIABLES
   ========================================= */
:root {
    --gold: #e8ba66;
    --gold-light: #fae0b0;
    --gold-mid: #f0c87f;
    --gold-accent: #f3bc29;
    --dark: #272525;
    --dark-gray: #292929;
    --medium-gray: #535353;
    --light-gray: #f1f1f1;
    --white: #ffffff;
    --whatsapp: #25d366;
    --transition: all 0.4s ease;
}

/* =========================================
   GLOBAL BASE
   ========================================= */
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    color: var(--dark-gray);
    background: var(--white);
    line-height: 1.5;
}

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #ddd; }
::-webkit-scrollbar-thumb { background: var(--gold); }

h1, h2, h3, h4, p, a, li, input, button, textarea {
    transition: var(--transition);
}

/* =========================================
   MODAL
   ========================================= */
#modal {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100000;
    display: none;
    justify-content: center;
    align-items: center;
}

#modal.active { display: flex; }

#modal .wrapmodal {
    position: relative;
    width: 450px;
    max-width: 90vw;
    padding: 60px 70px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: modalIn 0.35s ease;
}

@keyframes modalIn {
    from { transform: translateY(-40px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

#modal .wrapmodal .closemodal {
    position: absolute;
    right: 20px;
    top: 20px;
    color: var(--gold);
    font-size: 1.8em;
    line-height: 1;
}

#modal .wrapmodal .closemodal:hover { color: var(--dark); }

#modal .wrapmodal h2 {
    font-weight: 700;
    color: var(--medium-gray);
    font-size: 3em;
    margin-bottom: 35px;
    line-height: 1.2;
}

#modal .wrapmodal h2 span { color: var(--gold); }

#modal .wrapmodal ul li { display: block; }

#modal .wrapmodal ul li a {
    display: block;
    color: var(--white);
    width: 100%;
    padding: 20px 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1.1em;
    text-align: center;
}

#modal .wrapmodal ul li.bt1 a { background: var(--gold); }
#modal .wrapmodal ul li.bt2 a { background: var(--whatsapp); }
#modal .wrapmodal ul li.bt3 a { background: var(--gold-accent); color: #000; }
#modal .wrapmodal ul li:last-child a { margin-bottom: 0; }
#modal .wrapmodal ul li a:hover { background: #000 !important; color: var(--gold) !important; }

/* =========================================
   MOBILE NAV SIDEBAR
   ========================================= */
#nav {
    width: 300px;
    height: 100vh;
    position: fixed;
    top: 0;
    right: -350px;
    z-index: 99999;
    background: var(--light-gray);
    padding: 70px 35px 40px;
    overflow-y: auto;
    transition: right 0.45s ease;
    box-shadow: -5px 0 20px rgba(0,0,0,0.15);
}

#nav.roll { right: 0; }

#nav .close {
    position: absolute;
    right: 18px;
    top: 18px;
    color: var(--gold);
    font-size: 1.8em;
    line-height: 1;
}

#nav ul.anchor { margin-bottom: 35px; }

#nav ul.anchor li a {
    display: block;
    color: var(--dark-gray);
    padding: 12px 0;
    font-size: 1.4em;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

#nav ul.anchor li a i {
    color: var(--gold);
    float: right;
    margin-top: 4px;
}

#nav ol {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

#nav ol li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    height: 42px;
    padding: 0 14px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 1.05em;
}

#nav ol li.bt1 a { background: var(--gold); color: #000; }
#nav ol li.bt2 a { background: var(--whatsapp); }
#nav ol li.bt3 a { background: #277f5d; justify-content: center; }
#nav ol li:hover a { background: #555 !important; color: #fff !important; }

#nav ul.social {
    display: flex;
    gap: 18px;
    margin-top: 25px;
}

#nav ul.social li a {
    font-size: 1.7em;
    color: #7d7d7d;
}

#nav ul.social li a:hover { color: var(--gold); }

/* =========================================
   GENERAL PAGE WRAPPER
   ========================================= */
#general {
    width: 100%;
    overflow-x: hidden;
}

.wrapper {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* =========================================
   HEADER
   ========================================= */
#general header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 25px 0;
    transition: var(--transition);
}

#general header .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

#general header a.logo {
    display: grid;
    align-items: center;
    flex-shrink: 0;
}

#general header a.logo img {
    width: 300px;
    height: auto;
    transition: width 0.3s ease;
}

/* Two logo variants stacked on top of each other: a white-text version
   for while the header sits over the hero video (busy background, dark
   text loses contrast), and the standard dark-text version everywhere
   else — including on mobile, where the plain gold background already
   gives the dark text plenty of contrast. */
#general header a.logo .logo-img {
    grid-area: 1 / 1;
    transition: opacity 0.3s ease;
}

#general header a.logo .logo-img-light { opacity: 0; }
#general header a.logo .logo-img-dark { opacity: 1; }

@media screen and (min-width: 1025px) {
    #general header:not(.roll) a.logo .logo-img-light { opacity: 1; }
    #general header:not(.roll) a.logo .logo-img-dark { opacity: 0; }
}

#general header a.menu {
    font-size: 2em;
    color: var(--white);
    display: none;
    line-height: 1;
}

#general header nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

#general header nav ul {
    display: flex;
    align-items: center;
    gap: 18px;
}

#general header nav ul li a {
    color: var(--white);
    font-size: 1.05em;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

#general header nav ul li a i {
    color: var(--gold);
    transition: transform 0.3s ease;
    font-size: 0.85em;
}

#general header nav ul li a:hover { color: var(--gold); }
#general header nav ul li a:hover i { transform: rotate(90deg); }

#general header nav ol {
    display: grid;
    align-items: center;
}

#general header nav ol li {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

#general header nav ol li.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#general header nav ol li a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    height: 38px;
    padding: 0 14px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 1em;
    white-space: nowrap;
}

#general header nav ol li.bt1 a { background: var(--gold); color: #000; }
#general header nav ol li.bt2 a { background: var(--whatsapp); }
#general header nav ol li.bt3 a { background: var(--gold-accent); color: #000; }
#general header nav ol li:hover a { background: #000 !important; color: var(--gold) !important; }

/* Scrolled header */
#general header.roll {
    background: var(--white);
    height: 84px;
    padding: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

#general header.roll a.logo img { width: 160px; }
#general header.roll a.menu { color: var(--dark-gray); }
#general header.roll nav ul li a { color: var(--dark-gray); }
#general header.roll nav ul li a:hover { color: var(--gold); }

/* =========================================
   HERO / DESTAQUE
   ========================================= */
#destaque {
    min-height: 100vh;
    background: url(../img/gradient2.webp) no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 195px;
    overflow: hidden;
}

#destaque .wrapper {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 195px);
    position: relative;
    z-index: 2;
}

/* Video background (desktop) */
#destaque .hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

#destaque .hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#destaque .hero-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(20,15,5,0.78) 0%, rgba(20,15,5,0.5) 42%, rgba(20,15,5,0.18) 72%);
}

.hero-sound-control {
    position: absolute;
    right: 5%;
    bottom: 140px; /* clears the fixed WhatsApp bubble + sonar pulse in the bottom-right corner */
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-sound-label {
    position: relative;
    background: var(--gold-accent);
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95em;
    padding: 9px 18px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
    animation: heroSoundLabelPulse 1.8s ease-in-out infinite;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.hero-sound-label::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid var(--gold-accent);
}

@keyframes heroSoundLabelPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.hero-sound-control.dismissed .hero-sound-label {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.85);
    pointer-events: none;
    animation: none;
}

.hero-sound-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    border: 2px solid rgba(255,255,255,0.6);
    color: #fff;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.hero-sound-btn:hover {
    background: rgba(0,0,0,0.65);
    border-color: var(--gold);
    transform: scale(1.06);
}

/* Doctor photo shown only on mobile, right under the hero text */
.hero-mobile-photo {
    display: none;
}

/* "Tap to play" video section shown only on mobile, right below the hero */
.video-mobile-section {
    display: none;
}

#destaque hgroup {
    position: relative;
    max-width: 580px;
    z-index: 2;
    padding: 60px 0;
}

#destaque hgroup h1 {
    font-weight: 700;
    color: var(--white);
    font-size: 4.5em;
    margin-bottom: 25px;
    line-height: 1.1;
}

#destaque hgroup h1 span { color: var(--gold-accent); }

#destaque hgroup h2 {
    color: var(--white);
    font-size: 1.45em;
    line-height: 1.5;
    margin-bottom: 35px;
    font-weight: 300;
    max-width: 500px;
}

#destaque hgroup ul {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

#destaque hgroup ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    width: 195px;
    height: 58px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1.1em;
    line-height: 1.3;
    border: 3px solid rgba(255,255,255,0.5);
    padding: 0 10px;
}

#destaque hgroup ul li a:hover {
    background: #000;
    color: var(--gold);
    border-color: #000;
}

#destaque hgroup ul li a.active {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
}

#destaque hgroup ul li a.active:hover {
    background: #000;
    color: var(--gold);
    border-color: #000;
}

/* =========================================
   SERVICES / SPECIALTIES
   ========================================= */
#servicos {
    position: relative;
    z-index: 3;
    margin-top: -80px;
    padding-bottom: 120px;
}

#servicos .wrapper { max-width: 100%; width: 100%; padding: 0; }

#servicos ul {
    display: flex;
    width: 100%;
}

#servicos ul li {
    flex: 1;
    text-align: center;
    padding: 50px 25px 65px;
    cursor: default;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

#servicos ul li div { width: 100%; }

#servicos ul li div img {
    height: 58px;
    margin-bottom: 22px;
    display: inline-block;
}

#servicos ul li div h2 {
    font-weight: 500;
    font-size: 1.45em;
    margin-bottom: 14px;
    color: var(--dark-gray);
    line-height: 1.2;
}

#servicos ul li div p {
    font-size: 1.15em;
    line-height: 1.35;
    color: var(--dark-gray);
}

#servicos ul li:nth-child(1) { background: var(--gold-light); }
#servicos ul li:nth-child(2) { background: var(--gold-mid); }
#servicos ul li:nth-child(3) { background: var(--gold); }
#servicos ul li:nth-child(4) { background: var(--dark); }
#servicos ul li:nth-child(4) div h2,
#servicos ul li:nth-child(4) div p { color: var(--gold); }

#servicos ul li:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    transform: translateY(-8px);
    z-index: 2;
}

/* =========================================
   ABOUT / SOBREMIM
   ========================================= */
#sobremim {
    padding: 80px 0 100px;
}

#sobremim .wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

#sobremim .left {
    flex: 1;
    min-width: 0;
}

#sobremim .left h2 {
    font-weight: 700;
    color: var(--medium-gray);
    font-size: 3.5em;
    margin-bottom: 28px;
    line-height: 1.1;
}

#sobremim .left h2 span { color: var(--gold); }

#sobremim .left p {
    color: var(--dark-gray);
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 18px;
}

#sobremim .left p strong { font-weight: 700; }

#sobremim .left ul {
    display: flex;
    gap: 30px;
    margin: 25px 0 35px;
    flex-wrap: wrap;
}

#sobremim .left ul li.count p {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.3em;
    line-height: 1.3;
}

#sobremim .left ul li.count p span {
    font-size: 2em;
    display: block;
    margin-bottom: 5px;
}

#sobremim .left a.bt {
    display: inline-block;
    color: #000;
    padding: 20px 40px;
    background: var(--gold-mid);
    text-align: center;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1.2em;
}

#sobremim .left a.bt:hover {
    background: #000;
    color: var(--gold-mid);
}

#sobremim img {
    width: 45%;
    flex-shrink: 0;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

/* =========================================
   VISION PROBLEMS / OQUEFACO
   ========================================= */
#oquefaco {
    padding: 100px 0;
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url(../img/olho.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

#oquefaco .wrapper {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

#oquefaco .left {
    width: 32%;
    flex-shrink: 0;
}

#oquefaco .left h2 {
    font-weight: 700;
    color: var(--gold);
    font-size: 3em;
    margin-bottom: 25px;
    line-height: 1.15;
}

#oquefaco .left h2 span { color: var(--white); }

#oquefaco .left p {
    color: rgba(255,255,255,0.88);
    font-size: 1.2em;
    line-height: 1.55;
    margin-bottom: 22px;
}

#oquefaco .left a.bt {
    display: inline-block;
    color: #000;
    padding: 20px 38px;
    background: var(--gold-mid);
    border-radius: 6px;
    font-weight: 500;
    font-size: 1.2em;
    margin-top: 10px;
}

#oquefaco .left a.bt:hover {
    background: #000;
    color: var(--gold-mid);
}

#oquefaco .right {
    flex: 1;
    background: var(--white);
    padding: 45px 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

#oquefaco .right ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px 30px;
}

#oquefaco .right ul li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

#oquefaco .right ul li img {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    object-fit: contain;
}

#oquefaco .right ul li hgroup h3 {
    font-weight: 600;
    font-size: 1.3em;
    color: var(--dark-gray);
    margin-bottom: 10px;
    line-height: 1.2;
}

#oquefaco .right ul li hgroup h4 {
    font-weight: 400;
    font-size: 1.1em;
    line-height: 1.45;
    color: #555;
}

#oquefaco .right ul li hgroup h4 strong { font-weight: 700; }

/* =========================================
   CORNEA SECTION
   ========================================= */
#cornea {
    padding: 100px 0;
}

#cornea .wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

#cornea .left {
    width: 42%;
    flex-shrink: 0;
}

#cornea .left .img {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

#cornea .left .img img {
    width: 100%;
    display: block;
}

#cornea .right { flex: 1; min-width: 0; }

#cornea .right h2 {
    font-weight: 700;
    color: var(--medium-gray);
    font-size: 3em;
    margin-bottom: 22px;
    line-height: 1.1;
}

#cornea .right h2 span { color: var(--gold); }

#cornea .right small {
    display: block;
    color: var(--dark-gray);
    font-size: 1.2em;
    line-height: 1.55;
    margin-bottom: 28px;
}

#cornea .right small strong { font-weight: 700; }

#cornea .right ul {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 35px;
}

#cornea .right ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--dark-gray);
    font-size: 1.15em;
    line-height: 1.45;
}

#cornea .right ul li i {
    color: var(--gold-accent);
    font-size: 1.1em;
    margin-top: 3px;
    flex-shrink: 0;
}

#cornea .right ul li div strong { font-weight: 700; }

#cornea .right a.bt {
    display: inline-block;
    color: #000;
    padding: 20px 40px;
    background: var(--gold-mid);
    border-radius: 6px;
    font-weight: 500;
    font-size: 1.2em;
}

#cornea .right a.bt:hover {
    background: #000;
    color: var(--gold-mid);
}

/* =========================================
   INSURANCE PLANS
   ========================================= */
#planos {
    padding: 80px 0;
    text-align: center;
    background: var(--white);
    border-top: 1px solid #ebebeb;
}

#planos h2 {
    font-weight: 700;
    font-size: 3em;
    color: var(--gold);
    margin-bottom: 14px;
}

#planos p {
    color: var(--dark-gray);
    font-size: 1.2em;
    line-height: 1.4;
    margin-bottom: 0;
}

#planos ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px 50px;
    margin-top: 50px;
}

#planos ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 calc(20% - 40px);
    max-width: calc(20% - 40px);
}

#planos ul li img {
    max-width: 150px;
    max-height: 75px;
    width: auto;
    height: auto;
    mix-blend-mode: multiply;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition);
    object-fit: contain;
}

#planos ul li:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* =========================================
   BLOCKS - TECHNOLOGY / FAQ / CONTACT
   ========================================= */
#blocks {
    display: flex;
    width: 100%;
}

#blocks > div {
    flex: 1;
    padding: 80px 60px;
}

#blocks .tec {
    background: var(--gold-light);
}

#blocks .tec h2 {
    font-weight: 700;
    font-size: 2.8em;
    color: var(--dark-gray);
    margin-bottom: 35px;
    line-height: 1.15;
}

#blocks .tec p {
    color: var(--dark-gray);
    font-size: 1.2em;
    line-height: 1.55;
    margin-bottom: 35px;
}

#blocks .tec p strong {
    font-weight: 700;
    display: block;
    font-size: 1.05em;
    margin-bottom: 8px;
}

#blocks .tec a {
    display: inline-block;
    color: var(--dark-gray);
    padding: 18px 32px;
    text-align: center;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1.2em;
    border: 3px solid var(--dark-gray);
}

#blocks .tec a:hover {
    background: #000;
    color: var(--gold-mid);
    border-color: #000;
}

#blocks #duvidas {
    background: var(--gold);
}

#blocks #duvidas ul {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#blocks #duvidas ul li {
    color: var(--dark-gray);
    font-size: 1.15em;
    line-height: 1.45;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    padding-bottom: 22px;
    margin-bottom: 22px;
}

#blocks #duvidas ul li:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

#blocks #duvidas ul li strong {
    font-weight: 700;
    font-size: 1.1em;
    display: block;
    margin-bottom: 8px;
}

#blocks #contato {
    background: var(--medium-gray);
    color: var(--white);
}

#blocks #contato h2 {
    font-weight: 700;
    font-size: 2.5em;
    color: var(--white);
    margin-bottom: 18px;
    line-height: 1.1;
}

#blocks #contato p {
    color: var(--gold-light);
    font-size: 1.1em;
    line-height: 1.45;
    margin-bottom: 35px;
}

#blocks #contato form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#blocks #contato input[type="text"],
#blocks #contato input[type="tel"],
#blocks #contato textarea {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 2px solid rgba(255,255,255,0.4);
    font-size: 1.15em;
    color: var(--white);
    padding: 12px 0;
    font-family: "Roboto", sans-serif;
    margin-bottom: 22px;
}

#blocks #contato textarea {
    height: 80px;
    resize: none;
}

#blocks #contato input::placeholder,
#blocks #contato textarea::placeholder {
    color: rgba(255,255,255,0.65);
}

#blocks #contato button[type="submit"] {
    align-self: flex-start;
    color: var(--white);
    padding: 14px 55px;
    background: transparent;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1.2em;
    border: 3px solid var(--gold);
    cursor: pointer;
    font-family: "Roboto", sans-serif;
    margin-top: 10px;
}

#blocks #contato button[type="submit"]:hover {
    background: #000;
    color: var(--gold-light);
    border-color: #000;
}

#form-response {
    margin-top: 18px;
    font-size: 1.1em;
    font-weight: 500;
    line-height: 1.4;
}

/* =========================================
   MAP
   ========================================= */
#map {
    width: 100%;
    line-height: 0;
    display: block;
}

#map iframe { display: block; }

/* =========================================
   FOOTER - ADDRESS BAR
   ========================================= */
#address {
    padding: 50px 0;
    background: var(--gold);
}

#address .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

#address .wrapper > div {
    display: flex;
    align-items: center;
    gap: 14px;
}

#address .wrapper div:nth-child(1) { flex: 1.5; }
#address .wrapper div:nth-child(2) { flex: 1; }
#address .wrapper div:nth-child(3) { flex: 0 0 auto; }

#address .wrapper div i {
    color: var(--white);
    font-size: 2.5em;
    flex-shrink: 0;
}

#address .wrapper div p {
    color: var(--dark-gray);
    font-size: 1.15em;
    line-height: 1.4;
}

#address .wrapper div p strong { font-weight: 700; }

#address .wrapper div a.bt {
    display: inline-block;
    color: var(--dark-gray);
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1.15em;
    border: 3px solid var(--dark-gray);
    white-space: nowrap;
}

#address .wrapper div a.bt:hover {
    background: #000;
    border-color: #000;
    color: var(--gold-accent);
}

/* =========================================
   FOOTER - MAIN INFO
   ========================================= */
#footer {
    background: #e4e4e4;
    padding: 75px 0;
}

#footer .wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

#footer .logo {
    width: 35%;
    flex-shrink: 0;
}

#footer .logo .logoft {
    display: block;
    margin-bottom: 22px;
}

#footer .logo .logoft img {
    max-width: 200px;
    height: auto;
}

#footer .logo hgroup {
    color: var(--dark-gray);
    font-size: 1.1em;
    line-height: 1.4;
    margin-bottom: 22px;
}

#footer .logo hgroup h2 {
    margin-bottom: 10px;
    font-weight: 400;
}

#footer .logo hgroup h3 { font-weight: 700; }

#footer .logo ul {
    display: flex;
    gap: 18px;
}

#footer .logo ul li a {
    font-size: 1.7em;
    color: #7d7d7d;
}

#footer .logo ul li a:hover { color: var(--gold); }

#footer ul.oquefazemos {
    flex: 1;
}

#footer ul.oquefazemos li {
    font-size: 1.05em;
    color: var(--dark-gray);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 10px;
    margin-bottom: 14px;
    font-weight: 300;
}

#footer ul.oquefazemos li strong {
    font-weight: 600;
    font-size: 1.05em;
}

#footer ul.horarios {
    flex: 0 0 auto;
    min-width: 180px;
}

#footer ul.horarios li {
    font-size: 1.05em;
    color: var(--dark-gray);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 10px;
    margin-bottom: 14px;
    font-weight: 300;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

#footer ul.horarios li strong {
    font-weight: 600;
    font-size: 1.05em;
}

#footer ul.horarios li span {
    font-weight: 400;
}

/* =========================================
   STAMINA SIGNATURE
   ========================================= */
.stamina-signature {
    background: #151622;
    padding: 20px 0;
    text-align: center;
    width: 100%;
    display: block;
}

.stamina-signature img {
    max-width: 100px;
    height: auto;
}

/* =========================================
   WHATSAPP FLOATING BUTTON
   ========================================= */
#ht-ctc-chat {
    position: fixed;
    bottom: 18px;
    right: 18px;
    z-index: 99999;
}

.whatsapp-bubble {
    display: flex;
    align-items: center;
}

.bubble-icon-wrap {
    position: relative;
    background: var(--whatsapp);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: box-shadow 0.3s ease;
}

.bubble-icon-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--whatsapp);
    animation: sonarPulse 2s ease-out infinite;
    z-index: 0;
}

.bubble-icon-wrap i {
    position: relative;
    z-index: 1;
    color: var(--white);
    font-size: 32px;
    line-height: 1;
}

@keyframes sonarPulse {
    0% { transform: scale(1); opacity: 0.55; }
    100% { transform: scale(1.9); opacity: 0; }
}

.whatsapp-bubble:hover .bubble-icon-wrap {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.7);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media screen and (max-width: 1280px) {
    #general header nav ul {
        gap: 12px;
    }
    #general header nav ul li a {
        font-size: 0.95em;
    }
    #general header nav ol li a {
        font-size: 0.9em;
        padding: 0 10px;
    }
}

@media screen and (max-width: 1024px) {
    #general header nav { display: none; }
    #general header a.menu { display: block; }
    #general header a.logo img { width: 270px; }

    /* Hero: drop the video entirely, go back to a static background,
       and swap in the doctor's photo (cropped at the waist) right
       under the text, flush with the bottom of the section. */
    #destaque .hero-media,
    .hero-sound-control {
        display: none;
    }

    #destaque {
        background: url(../img/gradient.webp) no-repeat center center;
        background-size: cover;
        display: block;
        min-height: 0;
        position: relative;
        overflow: hidden;
    }

    #destaque .wrapper {
        display: block;
        min-height: 0;
    }

    #destaque hgroup { max-width: 100%; padding: 55px 0 30px; }

    .hero-mobile-photo {
        display: block;
        width: 66%;
        max-width: 360px;
        margin: 0 auto;
        overflow: hidden;
        aspect-ratio: 608 / 815; /* crops the image at the waist, hides the legs */
    }

    .hero-mobile-photo img {
        display: block;
        width: 100%;
        height: auto;
    }

    /* "Tap to play" video section under the hero */
    .video-mobile-section {
        display: block;
        padding: 70px 0;
        background: var(--dark);
    }

    .video-mobile-section h2 {
        color: var(--white);
        font-weight: 700;
        font-size: 2em;
        text-align: center;
        margin-bottom: 30px;
        line-height: 1.2;
    }

    .video-mobile-section h2 span { color: var(--gold); }

    .video-mobile-frame {
        position: relative;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 12px 28px rgba(0,0,0,0.35);
        background: #000;
    }

    .video-mobile-frame video {
        width: 100%;
        display: block;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    .video-mobile-play {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 74px;
        height: 74px;
        border-radius: 50%;
        background: rgba(255,255,255,0.95);
        border: 0;
        color: var(--dark);
        font-size: 1.5em;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: transform 0.25s ease, background 0.25s ease;
    }

    .video-mobile-play:hover { transform: translate(-50%, -50%) scale(1.08); }

    .video-mobile-frame.playing .video-mobile-play { display: none; }

    #sobremim .wrapper { flex-direction: column; gap: 40px; }
    #sobremim img { width: 100%; }

    #oquefaco .wrapper { flex-direction: column; gap: 40px; }
    #oquefaco .left { width: 100%; }

    #cornea .wrapper { flex-direction: column; gap: 40px; }
    #cornea .left { width: 100%; }
    #cornea .right { width: 100%; }

    #planos ul li img { max-width: 125px; }

    #blocks {
        flex-direction: column;
    }
    #blocks > div {
        padding: 60px 50px;
    }

    #address .wrapper { flex-direction: column; align-items: flex-start; }
    #address .wrapper > div { width: 100%; }
}

@media screen and (max-width: 768px) {
    .wrapper { width: 92%; }
    #general header .wrapper { width: 92%; }
    #general header a.logo img { width: 245px; }

    #destaque hgroup h1 { font-size: 3em; }
    #destaque hgroup h2 { font-size: 1.2em; }
    #destaque hgroup ul { flex-direction: column; gap: 12px; }
    #destaque hgroup ul li a { width: 100%; }

    #servicos { margin-top: -40px; padding-bottom: 60px; }
    #servicos ul { flex-direction: column; }
    #servicos ul li { padding: 40px 20px; }

    #sobremim .left h2,
    #cornea .right h2,
    #oquefaco .left h2 { font-size: 2.5em; }

    #sobremim .left ul { flex-direction: column; gap: 20px; }
    #sobremim .left a.bt { width: 100%; text-align: center; }

    #oquefaco .right ul { grid-template-columns: 1fr; }
    #oquefaco .right { padding: 35px 25px; }

    #planos ul li { flex: 0 1 auto; max-width: none; }
    #planos ul li img { max-width: 100px; }

    #blocks > div { padding: 50px 30px; }

    #footer .wrapper { flex-direction: column; gap: 40px; }
    #footer .logo { width: 100%; }
    #footer ul.oquefazemos,
    #footer ul.horarios { width: 100%; }
}

@media screen and (max-width: 480px) {
    #destaque hgroup h1 { font-size: 2.5em; }
    #general header a.logo img { width: 210px; }
}
