@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  /* Paleta Dourada */
  --color-yellow-50:  #fff9ea;
  --color-yellow-100: #ffe8b4;
  --color-yellow-200: #f8d477;
  --color-yellow-300: #ffe100;
  --color-yellow-400: #ffcb45;
  --color-yellow-500: #e9a209;

  /* Neutros */
  --color-white:       #ffffff;
  --color-neutral-50:  #fefefe;
  --color-neutral-100: #fffbf0;
  --color-neutral-300: #eeeeee;
  --color-neutral-400: #e0e0e0;
  --color-neutral-500: #dddddd;
  --color-neutral-600: #cccccc;
  --color-neutral-700: #707070;
  --color-neutral-800: #555555;
  --color-neutral-850: #444444;
  --color-neutral-900: #434343;
  --color-neutral-950: #333333;
  --color-black:       #1d1d1d;

  /* Feedback */
  --color-green-whatsapp: #25D366;
  --color-red-error:      #d32f2f;

  /* Semânticos */
  --color-bg-page:        #fff9ea;
  --color-bg-footer:      #ffe8b4;
  --color-bg-card:        #ffffff;
  --color-bg-accordion:   #fff9ea;
  --color-text-primary:   #1d1d1d;
  --color-text-secondary: #707070;
  --color-text-muted:     #555555;
  --color-text-card-name: #444444;
  --color-brand:          #e9a209;
  --color-brand-hover:    #f8d477;
  --color-cta-whatsapp:   #25D366;
  --color-border-light:   #eeeeee;
  --color-border-default: #cccccc;
  --color-error:          #d32f2f;

  /* Espaçamento */
  --space-0:  0;
  --space-1:  3px;
  --space-2:  8px;
  --space-3:  10px;
  --space-4:  12px;
  --space-5:  14px;
  --space-6:  16px;
  --space-7:  20px;
  --space-8:  24px;
  --space-9:  28px;
  --space-10: 40px;
  --space-section-x: 8%;
  --space-section-y: 28px;
  --space-card-pad:  28px;
  --space-card-gap:  24px;

  /* Border-radius */
  --radius-none: 0;
  --radius-sm:   5px;
  --radius-md:   8px;
  --radius-lg:   10px;
  --radius-xl:   12px;
  --radius-2xl:  20px;
  --radius-3xl:  25px;
  --radius-full: 50%;
  --radius-pill: 50px;

  /* Tipografia */
  --font-base: 'Poppins', sans-serif;
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.2rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  1.563rem;
  --text-3xl:  2rem;
  --text-4xl:  2.1875rem;
  --text-5xl:  2.5rem;
  --text-6xl:  3rem;
  --font-normal:   400;
  --font-medium:   500;
  --font-semibold: 600;

  /* Card */
  --card-bg:           #ffffff;
  --card-radius:       25px;
  --card-name-color:   #444444;
  --card-name-size:    1rem;
  --card-name-weight:  600;
  --card-image-height: 16rem;

  /* Sombras */
  --shadow-sm:  0px 0px 10px 2px rgba(0, 0, 0, 0.1);
  --shadow-md:  0px 0px 12px 4px rgba(0, 0, 0, 0.1);
  --shadow-lg:  0px 0px 12px 8px rgba(0, 0, 0, 0.1);
  --shadow-box: 0 1px 4px rgba(0, 0, 0, 0.05);

  /* Legado */
  --color-primary-1: #fff9ea;
  --color-primary-2: #ffe8b4;
  --color-primary-3: #f8d477;
  --color-primary-4: #ffe100;
  --color-primary-5: #ffcb45;
  --color-primary-6: #e9a209;
  --color-neutral-0: #ffffff;
  --color-neutral-1: #1d1d1d;
}

* {
    font-family: var(--font-base);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-page);
    overflow-x: hidden;
}

section {
    padding: var(--space-section-y) var(--space-section-x);
}

.btn-default {
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-yellow-400);
    border-radius: var(--radius-xl);
    padding: var(--space-3) var(--space-5);
    font-weight: var(--font-semibold);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: background-color .3s ease;
}

.btn-default:hover {
    background-color: var(--color-brand-hover);
}

.social-media-buttons {
    display: flex;
    gap: 18px;
}

.social-media-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 40px;
    background-color: var(--color-white);
    font-size: var(--text-lg);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--color-text-primary);
    box-shadow: var(--shadow-md);
    transition: box-shadow .3s ease;
}

.social-media-buttons a:hover {
    box-shadow: var(--shadow-lg);
}

.section-title {
    color: var(--color-brand);
    font-size: var(--text-2xl);
}

.section-subtitle {
    font-size: var(--text-4xl);
}

.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--color-cta-whatsapp);
    color: var(--color-white);
    padding: 1rem;
    border-radius: var(--radius-pill);
    font-weight: var(--font-semibold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1000;
    border: none;
}

.whatsapp-btn:hover {
    cursor: pointer;
}

.slide-container {
    max-width: 1120px;
    width: 100%;
    padding: var(--space-10) 0;
}

.slide-content {
    margin: 0 40px;
    overflow: hidden;
    border-radius: var(--radius-3xl);
}

.card {
    border-radius: var(--radius-3xl);
    background-color: var(--color-bg-card);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.image-content,
.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-3) var(--space-5);
}

.image-content {
    position: relative;
    row-gap: 5px;
    padding: 25px 0;
}

.image-content img {
    filter: drop-shadow(0px 8px 18px rgba(0, 0, 0, 0.22));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.card:hover .image-content img {
    filter: drop-shadow(0px 14px 28px rgba(0, 0, 0, 0.32));
    transform: translateY(-4px);
}

.swiper-navBtn {
    color: var(--color-brand);
    transition: color 0.3s ease;
}

.swiper-navBtn:hover {
    color: var(--color-brand);
}

.swiper-navBtn::before,
.swiper-navBtn::after {
    font-size: var(--text-4xl);
}

.swiper-button-next {
    right: 0;
}

.swiper-button-prev {
    left: 0;
}

.swiper-pagination-bullet {
    background-color: var(--color-brand);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: var(--color-brand);
}

@media screen and (max-width: 768px) {
    .slide-content {
        margin: 0 10px;
    }

    .swiper-navBtn {
        display: none;
    }
}

.accordion {
    margin: 1rem 0;
}

.accordion-item {
    border-bottom: 1px solid var(--color-border-default);
}

.accordion-title {
    cursor: pointer;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
}

.accordion-content {
    display: none;
    padding: 1rem;
    background: var(--color-bg-accordion);
}

.sumario-box {
    background-color: var(--color-neutral-50);
    border: 1px solid var(--color-neutral-500);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-box);
}

.sumario-tema {
    font-size: var(--text-md);
    color: var(--color-brand);
    margin-bottom: 0.5rem;
}

.sumario-tema span {
    color: var(--color-text-primary);
    font-weight: var(--font-normal);
}

.sumario-info {
    font-size: var(--text-base);
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.sumario-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sumario-lista li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border-light);
    font-size: var(--text-base);
}

.sumario-lista li:last-child {
    border-bottom: none;
}

/* Accordion Aninhado - Segundo Nível */
.accordion-subgroup {
    padding: 0;
    margin-top: 0.5rem;
}

.accordion-item-nested {
    border-bottom: 1px solid var(--color-neutral-400);
    margin-bottom: 0.5rem;
}

.accordion-title-nested {
    cursor: pointer;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-white);
    border-radius: var(--radius-sm);
    transition: background-color 0.3s ease;
    font-size: var(--text-base);
}

.accordion-title-nested:hover {
    background-color: var(--color-neutral-100);
}

.accordion-content-nested {
    display: none;
    padding: 1rem;
    padding-left: 0.5rem;
    background: transparent;
}

/* Destaque para títulos principais dos materiais complementares */
.accordion-title.complementar {
    font-weight: var(--font-semibold);
    background-color: var(--color-bg-page);
}

header {
    width: 100%;
    padding: var(--space-9) var(--space-section-x);
    position: sticky;
    top: 0;
    background-color: var(--color-bg-page);
    z-index: 3;
}

#navbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#nav_logo {
    font-size: var(--text-xl);
    color: var(--color-brand);
}

/* Logos no nav */
.nav-logos {
    display: flex;
    gap: 15px;
}

.nav-logo {
    height: 60px;
}

#nav_list {
    display: flex;
    list-style: none;
    gap: 48px;
}

.nav-item a {
    text-decoration: none;
    color: #1d1d1dad;
    font-weight: var(--font-semibold);
}

.nav-item.active a {
    color: var(--color-text-primary);
    border-bottom: 3px solid var(--color-yellow-300);
}

#mobile_btn {
    display: none;
}

#mobile_menu {
    display: none;
}

@media screen and (max-width: 1170px) {
    #nav_list,
    #navbar .btn-default {
        display: none;
    }

    #mobile_btn {
        display: block;
        border: none;
        background-color: transparent;
        font-size: var(--text-xl);
        cursor: pointer;
    }

    #mobile_menu.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #mobile_nav_list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin: 12px 0px;
    }

    #mobile_nav_list .nav-item {
        list-style: none;
        text-align: center;
    }
}

#home {
    display: flex;
    min-height: calc(100vh - 91px);
    position: relative;
}

#cta {
    width: 35%;
    display: flex;
    flex-direction: column;
    gap: var(--space-9);
    margin-top: 5%;
}

#cta .title {
    font-size: var(--text-3xl);
    color: var(--color-text-primary);
}

#cta .title span {
    color: var(--color-brand);
}

#cta .description {
    font-size: var(--text-md);
}

#cta_buttons {
    display: flex;
    gap: var(--space-8);
}

#cta_buttons a {
    text-decoration: none;
    color: var(--color-white);
}

#cta_buttons button {
    text-decoration: none;
    color: var(--color-white);
    border: none;
}

#cta_buttons button:hover {
    cursor: pointer;
}

#phone_button {
    display: flex;
    gap: var(--space-2);
    align-items: center;
    background: var(--color-cta-whatsapp);
    padding: var(--space-2) var(--space-5);
    font-weight: var(--font-medium);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-xl);
    border: none;
}

.wpp-chamada {
    background: var(--color-cta-whatsapp);
    color: var(--color-white);
    padding: 1rem;
    border-radius: var(--radius-pill);
    font-weight: var(--font-semibold);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

.wpp-chamada:hover {
    cursor: pointer;
}

.whatsapp-btn i {
    font-size: 30px;
}

#phone_button button {
    box-shadow: none;
}

#banner {
    display: flex;
    align-items: start;
    justify-content: end;
    width: 70%;
    z-index: 2;
}

/* Imagem do banner hero */
.banner-img {
    height: 25rem;
    border-radius: 5rem;
}

.shape {
    background-color: var(--color-bg-footer);
    width: 50%;
    height: 100%;
    position: absolute;
    border-radius: 40% 30% 0% 20%;
    top: 0;
    right: 0;
    z-index: 1;
}

@media screen and (max-width: 1170px) {
    #home {
        min-height: 100%;
        padding-top: 0px;
    }

    #banner,
    #banner img,
    #home .shape {
        display: none;
    }

    #cta {
        width: 100%;
        text-align: left;
        align-items: center;
    }
}

@media screen and (max-width: 450px) {
    #phone_button button {
        display: none;
    }
}

#menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.materials {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-8);
    margin-top: 32px;
}

.material {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: var(--radius-2xl);
    gap: 18px;
    width: 100%;
    padding: var(--space-7);
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.material-heart {
    position: absolute;
    background-color: var(--color-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    color: var(--color-bg-page);
    width: 70px;
    height: 70px;
    right: -10px;
    top: -10px;
    border-radius: 0px 37.5px 0px 42.5px;
}

.material-image {
    height: var(--card-image-height);
}

.card-name {
    font-size: var(--card-name-size);
    font-weight: var(--card-name-weight);
    color: var(--card-name-color);
    text-align: center;
    padding: var(--space-3) var(--space-4) var(--space-4);
    line-height: 1.4;
    letter-spacing: 0.01em;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.card:hover .card-name {
    color: var(--color-brand);
    border-bottom: 2px solid var(--color-brand);
}

.material-image-dif {
    height: var(--card-image-height);
}

.material-description {
    color: var(--color-neutral-900);
    text-align: center;
}

.material-rate i {
    color: var(--color-brand);
}

.material-price {
    display: flex;
    align-items: center;
    gap: var(--space-7);
}

@media screen and (max-width: 1170px) {
    #materiales {
        flex-wrap: wrap;
        justify-content: center;
    }

    .material {
        width: calc(50% - 12px);
    }
}

@media screen and (max-width: 600px) {
    .material {
        width: 100%;
    }

    #menu .section-subtitle {
        text-align: center;
    }
}

.testimonials {
    min-height: calc(100vh - 91px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

.testimonial_chef {
    width: 450px;
    height: auto;
}

.testimonials .section-subtitle {
    font-size: var(--text-6xl);
}

.testimonials_content {
    width: 50%;
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
    width: 100%;
}

@media (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feedbacks {
    display: flex;
    flex-direction: column;
    gap: var(--space-7);
    margin-bottom: var(--space-10);
    margin-top: 30px;
}

.feedback {
    display: flex;
    align-items: center;
    gap: var(--space-7);
    background-color: var(--color-white);
    padding: var(--space-4);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.feedback-avatar {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.feedback-content p {
    display: flex;
    justify-content: space-between;
}

.feedback-content p span {
    color: var(--color-brand);
}

/* Texto em destaque (substitui inline font-weight: bold) */
.text-bold {
    font-weight: var(--font-semibold);
}

@media screen and (max-width: 1170px) {
    .testimonials {
        flex-direction: column;
    }

    .testimonials .section-subtitle {
        text-align: center;
        font-size: var(--text-5xl);
    }

    .testimonial_chef {
        display: none;
    }

    .testimonials_content {
        width: 70%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 600px) {
    .testimonials .section-subtitle {
        font-size: var(--text-3xl);
    }

    .testimonials_content {
        width: 100%;
    }

    .feedback {
        flex-direction: column;
    }
}

footer {
    background-color: var(--color-bg-footer);
    overflow: hidden;
}

.footer-wave {
    line-height: 0;
    margin-bottom: -2px;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.footer-body {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-10) var(--space-section-x) var(--space-8) var(--space-section-x);
    border-bottom: 1px solid var(--color-border-light);
}

.footer-logos {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-logo {
    height: 50px;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    text-align: center;
}

.footer-cta-text {
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    color: var(--color-text-muted);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    align-items: flex-end;
}

/* Link do footer */
.footer-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--color-brand);
    text-decoration: underline;
}

#footer_items {
    display: flex;
    justify-content: center;
    padding: var(--space-6) var(--space-section-x);
    align-items: center;
}

#copyright {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    font-weight: var(--font-normal);
    text-align: center;
}

@media screen and (max-width: 768px) {
    .footer-body {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }
}

@media screen and (max-width: 600px) {
    #footer_items {
        padding: var(--space-4) var(--space-section-x);
    }
}

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.modal {
    background: var(--color-white);
    padding: var(--space-7);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 400px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    text-align: center;
}

.modal h2 {
    font-size: var(--text-xl);
    margin-bottom: 15px;
    color: var(--color-neutral-950);
    margin-top: 0;
}

#store_select {
    width: 100%;
    min-height: 44px;
    padding: var(--space-4);
    margin: 15px 0;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border-default);
    font-size: var(--text-base);
    color: var(--color-neutral-950);
    background: var(--color-white);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 40px;
}

#store_select:focus {
    outline: 2px solid var(--color-cta-whatsapp);
    border-color: var(--color-cta-whatsapp);
}

#store_select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.modal-buttons {
    display: flex;
    justify-content: space-between;
    gap: var(--space-3);
    margin-top: var(--space-7);
}

.modal-buttons button {
    flex: 1;
    min-height: 44px;
    padding: var(--space-4) var(--space-7);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    transition: all 0.2s ease;
}

.modal-buttons button:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
}

.modal-buttons button:active:not(:disabled) {
    transform: translateY(0);
}

.modal-buttons button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.confirm-button {
    background-color: var(--color-cta-whatsapp);
    color: var(--color-white);
}

.cancel-button {
    background-color: var(--color-neutral-600);
    color: var(--color-neutral-950);
}

.error-message {
    color: var(--color-error);
    font-size: var(--text-sm);
    margin-top: 10px;
    display: block;
    text-align: left;
}

/* ===========================
   MODAL - RESPONSIVIDADE MOBILE
   =========================== */

@media (max-width: 600px) {
    .modal {
        width: 95%;
        padding: var(--space-6);
    }

    .modal h2 {
        font-size: var(--text-base);
    }

    #store_select {
        font-size: var(--text-base); /* Evita zoom automático no iOS */
        min-height: 44px;
    }

    .modal-buttons button {
        min-height: 44px;
        padding: var(--space-4) var(--space-6);
        font-size: var(--text-sm);
    }
}

@media (max-width: 400px) {
    .modal {
        width: 100%;
        border-radius: 0;
        max-height: 100vh;
        padding: var(--space-4);
    }

    .modal h2 {
        font-size: var(--text-base);
        margin-bottom: var(--space-4);
    }

    #store_select {
        margin: var(--space-4) 0;
        padding: var(--space-3);
    }

    .modal-buttons {
        flex-direction: column;
        gap: var(--space-2);
    }

    .modal-buttons button {
        width: 100%;
        min-height: 44px;
    }
}
