/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

img {
    max-width: 100%;
    display: block;
}

@font-face {
  font-family: 'Addington';
  src: url('./assets/fonts/fonte-addington.otf');
}

@font-face {
  font-family: 'Addington Light';
  src: url('./assets/fonts/fonte-addington-light.otf');
}

/* Typography */
h1 {
    font-family: 'Addington', sans-serif;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #6B5C52;
}

h2 {
    font-family: 'Addington', sans-serif;
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #6B5C52;
}

h3 {
    font-family: 'Addington', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #6B5C52;
}

p {
    margin-bottom: 1.5rem;
    color: #8B7D74;
}

/* Container */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Buttons */
.btn-primary {
    background-color: #00D563;
    color: white;
    border: none;
    padding: 0.9rem 2.8rem;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #00C056;
}

.text-center {
    text-align: center;
}

/* Logo genérica (footer) */
.logo {
    margin-bottom: 2rem;
}

.logo-text {
    color: #6B5C52;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.logo-subtitle {
    color: #6B5C52;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Fundo com a foto do médico/escritório */
.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

/* Degradê claro apenas na parte dos textos */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.96) 0%,
        rgba(255, 255, 255, 0.94) 40%,
        rgba(255, 255, 255, 0.80) 60%,
        rgba(255, 255, 255, 0.10) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 4rem 1.5rem;
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 32rem;
}

/* Logo acima dos textos */
.hero-logo {
    display: block;
    width: 150px;
    max-width: 100%;
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    color: #6B5C52;
    margin-bottom: 1rem;
    font-size: 2.4rem;
    line-height: 1.25;
}

.subheading {
    color: #8B7D74;
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.subtitle {
    color: #808080;
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* About Section */
.about-section {
    padding: 5rem 1rem;
    background-color: #F9F7F5;
}

.about-section .container {
    max-width: 56rem;
}

.about-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.about-section p {
    text-align: center;
    margin-bottom: 1.5rem;
}

.about-section .btn-primary {
    margin-top: 1rem;
}

/* Doctor Section */
.doctor-section {
    padding: 5rem 1rem;
    background-color: white;
}

.doctor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.doctor-image {
    display: flex;
    justify-content: center;
}

.doctor-image img {
    width: 100%;
    max-width: 28rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Expect Section */
.expect-section {
    padding: 5rem 1rem;
    background-color: #9B8C7E;
}

.expect-section h2 {
    color: white;
    margin-bottom: 3rem;
}

.expect-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.expect-item {
    background-color: transparent;
    font-size: 1.2rem;
    border-bottom: 1.5px solid rgb(255, 255, 255);
    padding-bottom: 0.75rem;
    color: white;
}

/* Target Section */
.target-section {
    padding: 5rem 1rem;
    background-color: #F9F7F5;
}

.target-section h2 {
    color: #8B7D74;
    margin-bottom: 3rem;
}

.target-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.target-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.target-item {
    border: 1px solid #8B7D74;
    padding: 1.5rem;
    border-radius: 0.5rem;
    color: #6B5C52;
}

.target-image {
    display: flex;
    justify-content: center;
}

.target-image img {
    width: 100%;
    max-width: 28rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: #F9F7F5;
    padding: 4rem 1rem 2rem;
}

.footer-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.footer-cta h2 {
    color: #8B7D74;
    text-align: center;
    margin: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-col p {
    color: #8B7D74;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #8B7D74;
    margin-bottom: 1.5rem;
}

.contact-item svg {
    flex-shrink: 0;
}

.contact-item a {
    color: #8B7D74;
    text-decoration: underline;
}

.contact-item a:hover {
    color: #6B5C52;
}

.map {
    width: 100%;
    height: 12rem;
    background-color: #E5E5E5;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-top: 1rem;
}

.map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-bottom {
  font-family: 'Addington', sans-serif;
  border-top: 1px solid rgba(139, 125, 116, 0.2);
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #8B7D74;
  text-align: center;
}

/* Tablet Styles */
@media (min-width: 768px) {

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .container {
        padding: 0 2rem;
    }

    .expect-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-cta {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .footer-cta h2 {
        text-align: left;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {

    h1 {
        font-size: 3.5rem;
    }

    .doctor-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .target-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .target-list {
        order: 1;
    }

    .target-image {
        order: 2;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile: garantir que todas as colunas do footer apareçam */
@media (max-width: 767px) {

   
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .hero-content {
        padding: 2rem 1.25rem 2.5rem;  /* menos espaço em cima e embaixo */
    }

    .hero-logo {
        width: 120px;                  /* mesma logo, só um pouco menor */
        margin-bottom: 1rem;
    }

    .hero-text h1 {
        font-size: 1.6rem;             /* diminui levemente o título */
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .subheading {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    .btn-primary {
        padding: 0.8rem 1.8rem;
    }

    .subtitle {
        margin-top: 0.75rem;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-background img {
        object-position: center;
    }

    .hero-overlay {
        /* no mobile deixamos mais uniforme para leitura */
        background: rgba(255, 255, 255, 0.92);
    }

    .hero-content {
        padding: 3rem 1rem;
    }

    .hero-text {
        max-width: 100%;
    }

    .about-section,
    .doctor-section,
    .expect-section,
    .target-section {
        padding: 3rem 1rem;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .target-image {
        order: -1;
    }

    .expect-item {
        font-size: 0.9rem;
    }

  .footer-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
  }

  .footer-col {
    width: 100% !important;
    display: block !important;
    visibility: visible !important;
  }

  .footer-col p,
  .footer-col h3 {
    display: block !important;
    visibility: visible !important;
  }

  .footer-bottom {
    display: flex !important;
    visibility: visible !important;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
}