/* Estilos gerais */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #eef2f1;
    color: #333;
    overflow-x: hidden;
}

/* Touch-friendly minimum size for buttons and inputs on mobile */
@media (hover: none) and (pointer: coarse) {
    .button,
    .input-field,
    nav a {
        min-height: 44px;
        min-width: 44px;
    }
    
    .button {
        padding: 12px 24px;
    }
}

header {
    text-align: center;
    padding: 28px 20px;
    background: linear-gradient(135deg, #242827 0%, #38403d 58%, #1c6f43 100%);
    color: white;
    border-bottom: 5px solid #f2b705;
}

h1 {
    margin: 0;
    font-size: 2.5em;
    word-wrap: break-word;
}

.logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
}

/* Menu de navegação */
nav {
    background-color: #2f3432;
    padding: 12px 10px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0;
    padding: 10px 20px;
    border-radius: 6px;
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap;
    display: inline-block;
}

nav a:hover {
    background-color: #16a34a;
    color: #f0f0f0;
}

nav a:active {
    background-color: #0f7d32;
}

/* Seções */
.section {
    padding: 28px;
    text-align: center;
    background-color: white;
    margin: 24px auto;
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(36, 40, 39, 0.11);
    max-width: 980px;
    border: 1px solid rgba(47, 52, 50, 0.08);
    box-sizing: border-box;
}

.section h2 {
    margin-bottom: 20px;
    font-size: 2em;
    color: #1DB954;
    word-wrap: break-word;
}

.section h3 {
    font-size: 1.3em;
    color: #2f3432;
    margin: 15px 0 10px;
}

.section p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
    word-wrap: break-word;
}

/* Imagens */
.images {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.images img {
    width: 100%;
    max-width: 45%;
    border-radius: 8px;
    margin: 10px 0;
    transition: transform 0.3s ease;
    height: auto;
    object-fit: cover;
}

.images img:hover {
    transform: scale(1.05);
}

/* Botões */
.button-container {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.button {
    background-color: #1DB954;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 15px 30px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-height: 44px;
    box-sizing: border-box;
}

.button:hover {
    background-color: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(29, 185, 84, 0.24);
}

.button:active {
    transform: translateY(0);
}

.button-primary {
    background-color: #168348;
}

.button-primary:hover {
    background-color: #0f6f3d;
}

.button-outline {
    background-color: #ffffff;
    color: #168348;
    border: 2px solid #168348;
}

.button-outline:hover {
    background-color: #eaf7ef;
    color: #0f6f3d;
}

.button-dark {
    background-color: #2f3432;
}

.button-dark:hover {
    background-color: #1f2422;
}

.whatsapp-button {
    background-color: #25d366;
}

.whatsapp-button:hover {
    background-color: #20ba58;
}

.instagram-button {
    background-color: #E1306C;
    display: flex;
    align-items: center;
    gap: 10px;
}

.instagram-button:hover {
    background-color: #d0215c;
}

.instagram-button img {
    width: 20px;
    height: 20px;
}

.action-strip {
    background: #ffffff;
    position: relative;
}

.action-strip::before {
    content: '';
    display: block;
    width: 72px;
    height: 4px;
    margin: 0 auto 18px;
    background: #f2b705;
    border-radius: 999px;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: #8a6200;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.location-section {
    text-align: left;
}

.location-section h2,
.location-section > p {
    text-align: center;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 28px 0;
}

.location-card {
    padding: 22px;
    border-radius: 8px;
    border: 1px solid #dfe8e3;
    background: #fbfdfc;
    box-shadow: 0 10px 22px rgba(36, 40, 39, 0.08);
}

.location-card.featured {
    border-color: rgba(29, 185, 84, 0.42);
}

.location-card h3 {
    margin: 12px 0 10px;
    color: #25302b;
}

.location-card p {
    text-align: left;
    margin-bottom: 16px;
}

.location-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background-color: #edf8f1;
    color: #116c3a;
    font-size: 0.8rem;
    font-weight: 700;
}

.mini-link {
    color: #126f3d;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid #f2b705;
}

.contact-panel {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 20px;
    align-items: center;
    padding: 22px;
    margin: 24px 0;
    border-radius: 8px;
    background: #27302c;
    color: #ffffff;
}

.contact-panel h3,
.contact-panel p {
    color: #ffffff;
    margin-top: 0;
}

.contact-actions {
    display: grid;
    gap: 10px;
}

/* Mapa */
.map-container {
    text-align: center;
    margin: 20px auto;
    max-width: 800px;
    padding: 0 10px;
    box-sizing: border-box;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 10px;
    display: block;
    margin-bottom: 15px;
}

.map-container iframe:last-child {
    margin-bottom: 0;
}

/* Rodapé */
footer {
    text-align: center;
    padding: 10px 20px;
    background-color: #383838;
    color: white;
    font-size: 0.85em;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin-bottom: 10px;
}

.footer-content p {
    margin: 0;
    font-size: 0.8em;
    line-height: 1.3;
    word-wrap: break-word;
}

.footer-content a.button {
    margin-top: 8px;
    padding: 8px 16px;
    font-size: 0.9em;
}

.footer-logo {
    width: 100%;
    max-width: 80px;
    height: auto;
    margin-top: 10px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

/* Divisor estilizado */
.footer-content::after {
    content: '';
    width: 40px;
    height: 2px;
    background-color: #1DB954;
    margin: 8px auto;
}

/* Modais */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    padding-top: 60px;
    box-sizing: border-box;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.modal-content h2 {
    margin-bottom: 20px;
    font-size: 1.8em;
    color: #1DB954;
    word-wrap: break-word;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

/* Campos de formulário */
.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-content .input-field {
    width: 100%;
    padding: 12px;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    background-color: #ffffff;
    color: #333;
}

.modal-content .input-field:focus {
    border-color: #1DB954;
    outline: none;
    box-shadow: 0 0 5px rgba(29, 185, 84, 0.3);
}

.modal-content select.input-field {
    appearance: none;
    background-color: #ffffff;
    color: #333;
    cursor: pointer;
}

.modal-content textarea.input-field {
    min-height: 94px;
    resize: vertical;
    font-family: inherit;
}

.modal-content .button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background-color: #1DB954;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modal-content .button:hover {
    background-color: #16a34a;
}

/* Responsividade - Tablets e Telas Médias */
@media (max-width: 768px) {
    header {
        padding: 20px 15px;
    }

    h1 {
        font-size: 1.8em;
        margin: 10px 0 5px;
    }

    .logo {
        width: 70%;
        max-width: 300px;
    }

    nav {
        padding: 8px 5px;
    }

    nav a {
        font-size: 1em;
        padding: 8px 12px;
        margin: 0 5px;
    }

    .section {
        padding: 20px;
        margin: 15px auto;
    }

    .section h2 {
        font-size: 1.6em;
        margin-bottom: 15px;
    }

    .section h3 {
        font-size: 1.2em;
    }

    .section p {
        font-size: 1em;
    }

    .images {
        gap: 8px;
    }

    .images img {
        max-width: 100%;
        margin: 8px 0;
    }

    .button-container {
        gap: 8px;
        margin: 15px 0;
    }

    .button {
        padding: 12px 24px;
        font-size: 1em;
        width: auto;
    }

    .location-grid,
    .contact-panel {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 18px;
    }

    .location-section {
        text-align: center;
    }

    .location-card p {
        text-align: center;
    }

    .location-card {
        padding: 18px;
    }

    .contact-actions {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 90%;
        margin: 15% auto;
        padding: 18px;
    }

    .modal-content h2 {
        font-size: 1.6em;
    }

    .modal {
        padding-top: 40px;
    }

    .footer-logo {
        max-width: 70px;
    }

    .footer-content p {
        font-size: 0.85em;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .map-container {
        grid-template-columns: 1fr;
    }
}

/* Responsividade - Celulares Pequenos */
@media (max-width: 640px) {
    header {
        padding: 15px 10px;
    }

    h1 {
        font-size: 1.5em;
    }

    .logo {
        width: 60%;
        max-width: 250px;
    }

    nav {
        padding: 6px 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 0.9em;
        padding: 6px 8px;
        margin: 3px;
        display: inline-block;
    }

    .section {
        padding: 15px;
        margin: 12px auto;
        border-radius: 6px;
    }

    .section h2 {
        font-size: 1.4em;
        margin-bottom: 12px;
    }

    .section h3 {
        font-size: 1.1em;
        margin: 10px 0 8px;
    }

    .section p {
        font-size: 0.95em;
        line-height: 1.5;
    }

    .images {
        flex-direction: column;
        gap: 6px;
    }

    .images img {
        max-width: 100%;
        margin: 6px 0;
    }

    .button-container {
        flex-direction: column;
        gap: 6px;
        margin: 12px 0;
    }

    .button {
        width: 100%;
        padding: 10px 20px;
        font-size: 0.95em;
    }

    .location-grid {
        gap: 12px;
    }

    .location-card {
        padding: 15px;
        border-radius: 6px;
    }

    .location-card h3 {
        font-size: 1em;
        margin: 8px 0;
    }

    .location-card p {
        font-size: 0.9em;
        margin-bottom: 10px;
    }

    .location-tag {
        font-size: 0.75rem;
        padding: 3px 8px;
        min-height: 24px;
    }

    .contact-panel {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 15px;
        margin: 15px 0;
    }

    .contact-panel h3 {
        font-size: 1.1em;
        margin-bottom: 8px;
    }

    .contact-panel p {
        font-size: 0.9em;
        margin-bottom: 8px;
    }

    .contact-actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .action-strip .logo {
        display: none;
    }

    .modal-content {
        width: 95%;
        margin: 20% auto;
        padding: 15px;
        max-width: 100%;
    }

    .modal-content h2 {
        font-size: 1.4em;
        margin-bottom: 15px;
    }

    .modal-content form {
        gap: 12px;
    }

    .input-field {
        padding: 10px;
        font-size: 0.95em;
    }

    .modal-content .button {
        padding: 10px;
        font-size: 1em;
        margin-top: 8px;
    }

    .modal {
        padding-top: 30px;
    }

    footer {
        padding: 12px 10px;
    }

    .footer-content p {
        font-size: 0.8em;
        line-height: 1.2;
    }

    .footer-logo {
        max-width: 50px;
    }

    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }

    .map-container {
        padding: 0 10px;
        gap: 12px;
    }

    .map-container iframe {
        height: 300px;
        border-radius: 6px;
    }
}

/* Responsividade - Celulares Ultra-Pequenos */
@media (max-width: 480px) {
    header {
        padding: 12px 8px;
    }

    h1 {
        font-size: 1.3em;
        margin: 5px 0 3px;
    }

    .logo {
        width: 50%;
        max-width: 200px;
    }

    nav {
        padding: 5px 0;
    }

    nav a {
        font-size: 0.85em;
        padding: 5px 6px;
        margin: 2px;
    }

    .section {
        padding: 12px;
        margin: 10px auto;
    }

    .section h2 {
        font-size: 1.25em;
        margin-bottom: 10px;
    }

    .section h3 {
        font-size: 1em;
        margin: 8px 0 6px;
    }

    .section p {
        font-size: 0.9em;
        line-height: 1.4;
    }

    .images img {
        max-width: 100%;
        margin: 5px 0;
    }

    .button {
        width: 100%;
        padding: 9px 15px;
        font-size: 0.9em;
    }

    .location-card {
        padding: 12px;
    }

    .location-card h3 {
        font-size: 0.95em;
    }

    .location-card p {
        font-size: 0.85em;
    }

    .contact-panel {
        padding: 12px;
        margin: 10px 0;
    }

    .contact-panel h3,
    .contact-panel p {
        font-size: 0.85em;
    }

    .modal-content {
        width: 96%;
        margin: 25% auto;
        padding: 12px;
    }

    .modal-content h2 {
        font-size: 1.2em;
    }

    .modal-content form {
        gap: 10px;
    }

    .input-field {
        padding: 8px;
        font-size: 0.9em;
    }

    .modal-content .button {
        padding: 8px;
        font-size: 0.95em;
    }

    .close {
        font-size: 24px;
    }

    footer {
        padding: 10px 8px;
    }

    .footer-content p {
        font-size: 0.75em;
    }

    .footer-logo {
        max-width: 40px;
    }

    .whatsapp-float {
        bottom: 12px;
        right: 12px;
        width: 45px;
        height: 45px;
    }

    .whatsapp-float svg {
        width: 22px;
        height: 22px;
    }

    .map-container {
        padding: 0 8px;
        gap: 10px;
    }

    .map-container iframe {
        height: 250px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #20ba58;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}
