/* =========================================
   ODONTOCLÍNICA - CUSTOM STYLES
   ========================================= */

   :root {
    --primary: #0077b6;
    --primary-dark: #023e8a;
    --secondary: #00b4d8;
    --accent: #48cae4;
    --light: #f0f9ff;
    --dark: #03045e;
    --text-muted: #6c757d;
    --white: #ffffff;
  }
  
  /* GLOBAL */
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
  }
  
  .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
  }
  
  .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin: 10px auto 0;
  }
  
  .section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto;
  }
  
  .btn-primary-custom {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
  }
  
  .btn-primary-custom:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,119,182,0.35);
  }
  
  .btn-outline-custom {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 11px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
  }
  
  .btn-outline-custom:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
  }
  
  /* =========================================
     NAVBAR
     ========================================= */
  #navbar {
    transition: all 0.4s ease;
    padding: 20px 0;
    top: 37px;
  }
  
  #navbar.scrolled {
    background: var(--white) !important;
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }
  
  #navbar.scrolled .nav-link {
    color: var(--dark) !important;
  }
  
  #navbar.scrolled .navbar-brand span {
    color: var(--dark) !important;
  }
  
  .navbar-brand i {
    color: var(--accent);
  }
  
  .nav-link {
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0.3px;
    padding: 6px 14px !important;
    border-radius: 6px;
    transition: all 0.2s;
  }
  
  .nav-link:hover {
    color: var(--accent) !important;
    background: rgba(255,255,255,0.12);
  }
  
  .nav-cta {
    background: var(--white);
    color: var(--primary) !important;
    border-radius: 50px !important;
    padding: 8px 22px !important;
    font-weight: 700 !important;
    margin-left: 8px;
    transition: all 0.3s;
  }
  
  .nav-cta:hover {
    background: var(--accent) !important;
    color: var(--white) !important;
  }
  
  #navbar.scrolled .nav-cta {
    background: var(--primary);
    color: var(--white) !important;
  }
  
  /* =========================================
     HERO
     ========================================= */
  #hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 60%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
  }
  
  #hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
  }
  
  #hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    bottom: -80px;
    left: -80px;
    animation: float 6s ease-in-out infinite reverse;
  }
  
  @keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
  }
  
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
  }
  
  .hero-badge i {
    color: var(--accent);
    font-size: 1rem;
  }
  
  .hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 20px;
  }
  
  .hero-title span {
    color: var(--accent);
  }
  
  .hero-text {
    color: rgba(255,255,255,0.82);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 500px;
    margin-bottom: 36px;
  }
  
  .hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.15);
  }
  
  .stat-item {
    text-align: center;
  }
  
  .stat-item .num {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
  }
  
  .stat-item .label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
  }
  
  .hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .hero-image-bg {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .hero-image-bg i {
    font-size: 14rem;
    color: rgba(255,255,255,0.15);
  }
  
  .hero-float-card {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatCard 4s ease-in-out infinite;
  }
  
  .hero-float-card.card-1 {
    bottom: 30px;
    left: -20px;
    animation-delay: 0s;
  }
  
  .hero-float-card.card-2 {
    top: 30px;
    right: -20px;
    animation-delay: 2s;
  }
  
  @keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  
  .hero-float-card .card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    flex-shrink: 0;
  }
  
  .hero-float-card .card-text h6 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
  }
  
  .hero-float-card .card-text p {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin: 0;
  }
  
  /* =========================================
     SERVICES
     ========================================= */
  #servicos {
    background: var(--light);
  }
  
  .service-card {
    background: white;
    border-radius: 20px;
    padding: 36px 28px;
    border: none;
    transition: all 0.35s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
  }
  
  .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.35s ease;
    transform-origin: left;
  }
  
  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,119,182,0.15);
  }
  
  .service-card:hover::before {
    transform: scaleX(1);
  }
  
  .service-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s;
  }
  
  .service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: rotateY(360deg);
  }
  
  .service-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
  }
  
  .service-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
  }
  
  /* =========================================
     SOBRE
     ========================================= */
  #sobre {
    background: white;
  }
  
  .about-img-wrapper {
    position: relative;
  }
  
  .about-img-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,119,182,0.18);
  }
  
  .about-img-main img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
  }
  
  .about-img-placeholder {
    width: 100%;
    height: 460px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 8rem;
    gap: 12px;
  }
  
  .about-img-placeholder span {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.85;
  }
  
  .about-badge-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    border-radius: 20px;
    padding: 20px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    text-align: center;
    min-width: 140px;
  }
  
  .about-badge-card .big-num {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
  }
  
  .about-badge-card .small-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
  }
  
  .check-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
  }
  
  .check-item .check-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 2px;
  }
  
  .check-item h6 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 4px;
  }
  
  .check-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
  }
  
  /* =========================================
     EQUIPE
     ========================================= */
  #equipe {
    background: var(--light);
  }
  
  .team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    height: 100%;
  }
  
  .team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,119,182,0.15);
  }
  
  .team-img {
    height: 260px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: rgba(255,255,255,0.5);
    position: relative;
    overflow: hidden;
  }
  
  .team-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(2,62,138,0.6), transparent);
  }
  
  .team-body {
    padding: 22px;
  }
  
  .team-body h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
  }
  
  .team-body .role {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
  }
  
  .team-body p {
    font-size: 0.83rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
  }
  
  .team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--light);
    color: var(--primary);
    font-size: 0.85rem;
    margin-right: 6px;
    transition: all 0.2s;
    text-decoration: none;
  }
  
  .team-social a:hover {
    background: var(--primary);
    color: white;
  }
  
  /* =========================================
     DEPOIMENTOS
     ========================================= */
  #depoimentos {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
  }
  
  #depoimentos::before {
    content: '\201C';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 25rem;
    color: rgba(255,255,255,0.04);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
  }
  
  .testimonial-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(10px);
    height: 100%;
    transition: all 0.3s;
  }
  
  .testimonial-card:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-4px);
  }
  
  .testimonial-stars {
    color: #ffd60a;
    font-size: 0.9rem;
    margin-bottom: 16px;
  }
  
  .testimonial-card p {
    color: rgba(255,255,255,0.88);
    font-size: 0.92rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 22px;
  }
  
  .testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  
  .author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: rgba(255,255,255,0.7);
    flex-shrink: 0;
  }
  
  .author-info h6 {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    margin: 0;
  }
  
  .author-info span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
  }
  
  /* =========================================
     AGENDAMENTO
     ========================================= */
  #agendamento {
    background: white;
  }
  
  .form-control-custom {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.92rem;
    transition: all 0.2s;
    background: #f8f9fa;
  }
  
  .form-control-custom:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0,119,182,0.1);
    background: white;
    outline: none;
  }
  
  .form-label-custom {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark);
    margin-bottom: 6px;
  }
  
  .schedule-info-card {
    background: var(--light);
    border-radius: 20px;
    padding: 36px;
  }
  
  .info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }
  
  .info-item:last-child {
    margin-bottom: 0;
  }
  
  .info-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
  }
  
  .info-item h6 {
    font-weight: 700;
    color: var(--dark);
    font-size: 0.9rem;
    margin: 0 0 4px;
  }
  
  .info-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
  }
  
  /* =========================================
     FOOTER
     ========================================= */
  #footer {
    background: var(--dark);
    color: rgba(255,255,255,0.75);
  }
  
  #footer h6 {
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
  }
  
  #footer p, #footer li {
    font-size: 0.85rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.65);
  }
  
  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-links li a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 0;
  }
  
  .footer-links li a:hover {
    color: var(--accent);
  }
  
  .footer-links li a i {
    font-size: 0.7rem;
    color: var(--accent);
  }
  
  .footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 32px 0 24px;
  }
  
  .footer-bottom {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
  }
  
  .social-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-right: 8px;
    transition: all 0.2s;
    text-decoration: none;
  }
  
  .social-footer a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
  }
  
  /* =========================================
     WHATSAPP FLOAT BUTTON
     ========================================= */
  .whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 58px;
    height: 58px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 6px 20px rgba(37,211,102,0.45);
    text-decoration: none;
    transition: all 0.3s;
    animation: pulse-green 2.5s infinite;
  }
  
  .whatsapp-float:hover {
    background: #1ebe5d;
    color: white;
    transform: scale(1.1);
    animation: none;
  }
  
  @keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
  }
  
  /* =========================================
     BACK TO TOP
     ========================================= */
  #backToTop {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 9998;
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(0,119,182,0.4);
    text-decoration: none;
    transition: all 0.3s;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
  }
  
  #backToTop.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }
  
  #backToTop:hover {
    background: var(--primary-dark);
    color: white;
  }
  
  /* =========================================
     ANIMATIONS
     ========================================= */
  .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* DELAYS */
  .delay-1 { transition-delay: 0.1s; }
  .delay-2 { transition-delay: 0.2s; }
  .delay-3 { transition-delay: 0.3s; }
  .delay-4 { transition-delay: 0.4s; }
  .delay-5 { transition-delay: 0.5s; }
  
  /* =========================================
     RESPONSIVE
     ========================================= */
  @media (max-width: 991.98px) {
    .hero-stats { gap: 20px; }
    .hero-image-bg { width: 320px; height: 320px; }
    .hero-float-card { display: none; }
  }
  
  @media (max-width: 767.98px) {
    .section-title { font-size: 1.6rem; }
    .hero-title { font-size: 2rem; }
    .about-badge-card { right: 0; bottom: -10px; }
  }
