@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Nunito:wght@300;400;600&display=swap');

/* ===== FLORAIS DA INTEGRAÇÃO - BASE VISUAL ===== */

:root {
  --color-primary: #7B2FBE;
  --color-secondary: #00AAFF;
  --color-light: #FAFAFA;
  --color-lilac: #F3EEFF;
  --color-title: #3D1A6E;
  --color-text: #2D2D2D;
}

/* Fundo geral */
body {
  background-color: var(--color-light);
  color: var(--color-text);
  font-family: 'Nunito', sans-serif !important;
}

/* Títulos */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-title) !important;
  font-family: 'Cormorant Garamond', serif !important;
  letter-spacing: 0.03em;
}

/* Header */
.site-header,
#masthead {
  background-color: #ffffff !important;
  border-bottom: 2px solid var(--color-primary) !important;
}

/* Menu */
.main-navigation a,
.site-header .main-navigation a {
  color: var(--color-title) !important;
}

.main-navigation a:hover,
.site-header .main-navigation a:hover {
  color: var(--color-secondary) !important;
}

/* Links */
a {
  color: var(--color-secondary);
}

a:hover {
  color: var(--color-primary);
}

/* Seções alternadas */
.wp-block-group,
.entry-content > section:nth-child(even) {
  background-color: var(--color-lilac);
}

/* Botões */
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
  border-color: var(--color-primary) !important;
}

.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background-color: var(--color-secondary) !important;
  color: #ffffff !important;
  border-color: var(--color-secondary) !important;
}

/* Full width apenas em páginas */
.page .site-main article,
.page .site-main .entry-content,
.page .site-main .entry-content-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.page .site-main article {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Footer full width */
#colophon,
#colophon .site-container,
#colophon .content-wrap,
#colophon .kadence-column-gap-default,
#colophon .site-footer-row-container,
#colophon .site-footer-row,
#colophon .site-footer-section,
#colophon .footer-widget-area,
#colophon .site-bottom-footer-wrap,
#colophon .site-middle-footer-wrap,
#colophon .site-top-footer-wrap,
#colophon .site-info-wrap {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Remove espaço acima do hero */
.content-area,
#primary {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.home #inner-wrap {
  padding-top: 0 !important;
}

/* Ajuste pontual: remove a linha branca acima do hero da página /florais/ */
body.page-id-93 .site-main,
body.page-id-93 .content-area,
body.page-id-93 #primary,
body.page-id-93 .entry-content,
body.page-id-93 .entry-content-wrap {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.page-id-93 .entry-content > p:first-child {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  line-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.page-id-93 .fdi-florais-hero-v3 {
  margin-top: 0 !important;
}

@media (max-width: 767px) {
  body.page-id-93 .fdi-header,
  body.page-id-93 .fdi-header-main,
  body.page-id-93 .fdi-header-main-inner {
    margin-bottom: 0 !important;
  }

  body.page-id-93 .site-main,
  body.page-id-93 .content-area,
  body.page-id-93 #primary,
  body.page-id-93 .entry-content,
  body.page-id-93 .entry-content-wrap,
  body.page-id-93 .entry-content > p:first-child,
  body.page-id-93 .wp-block-html:first-child,
  body.page-id-93 .wp-block-html:first-child > p,
  body.page-id-93 .wp-block-html:first-child > section:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.page-id-93 .fdi-florais-hero-v3 {
    margin-top: -1px !important;
  }
}

/* Contato — troca da imagem de fundo do hero */
body.page-id-104 .fdi-contact-hero__bg,
body.page-id-104 .entry-content .fdi-contact-hero__bg {
  background-image: url('/wp-content/uploads/2026/04/Contato-Florais-da-Integracao-scaled.jpeg') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* ===== Botões WooCommerce — compra / adicionar ao carrinho ===== */
body.woocommerce a.button,
body.woocommerce-page a.button,
body.woocommerce button.button,
body.woocommerce-page button.button,
body.woocommerce input.button,
body.woocommerce-page input.button,
body.woocommerce #respond input#submit,
body.woocommerce-page #respond input#submit,
body.woocommerce a.add_to_cart_button,
body.woocommerce-page a.add_to_cart_button,
body.woocommerce .add_to_cart_button,
body.woocommerce-page .add_to_cart_button,
body.woocommerce .single_add_to_cart_button,
body.woocommerce-page .single_add_to_cart_button,
body.woocommerce ul.products li.product .button,
body.woocommerce-page ul.products li.product .button,
.entry-content .woocommerce a.button,
a.button.product_type_simple,
a.button.product_type_variable,
a.add_to_cart_button,
button.single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  width: auto !important;
  min-width: 190px !important;
  max-width: 100% !important;
  min-height: 46px !important;
  padding: 13px 24px !important;
  margin-top: 14px !important;
  background: linear-gradient(135deg, #7b4bb3 0%, #9b6ad6 100%) !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  text-align: center !important;
  box-shadow: 0 10px 22px rgba(123, 75, 179, 0.26) !important;
  overflow: visible !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
}

body.woocommerce a.button:hover,
body.woocommerce-page a.button:hover,
body.woocommerce button.button:hover,
body.woocommerce-page button.button:hover,
body.woocommerce input.button:hover,
body.woocommerce-page input.button:hover,
body.woocommerce #respond input#submit:hover,
body.woocommerce-page #respond input#submit:hover,
body.woocommerce a.add_to_cart_button:hover,
body.woocommerce-page a.add_to_cart_button:hover,
body.woocommerce .add_to_cart_button:hover,
body.woocommerce-page .add_to_cart_button:hover,
body.woocommerce .single_add_to_cart_button:hover,
body.woocommerce-page .single_add_to_cart_button:hover,
body.woocommerce ul.products li.product .button:hover,
body.woocommerce-page ul.products li.product .button:hover,
.entry-content .woocommerce a.button:hover,
a.button.product_type_simple:hover,
a.button.product_type_variable:hover,
a.add_to_cart_button:hover,
button.single_add_to_cart_button:hover {
  background: linear-gradient(135deg, #6a3ca3 0%, #8757c8 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 28px rgba(123, 75, 179, 0.34) !important;
}

/* Remove setas extras nos botões de adicionar ao carrinho */
body.woocommerce a.add_to_cart_button::after,
body.woocommerce-page a.add_to_cart_button::after,
body.woocommerce .add_to_cart_button::after,
body.woocommerce-page .add_to_cart_button::after,
a.add_to_cart_button::after,
a.button.product_type_simple::after,
a.button.product_type_variable::after,
body.woocommerce ul.products li.product .button::after,
body.woocommerce-page ul.products li.product .button::after {
  content: none !important;
  display: none !important;
  margin-left: 0 !important;
}

body.woocommerce a.button:focus,
body.woocommerce-page a.button:focus,
body.woocommerce button.button:focus,
body.woocommerce-page button.button:focus,
body.woocommerce input.button:focus,
body.woocommerce-page input.button:focus,
a.add_to_cart_button:focus,
button.single_add_to_cart_button:focus {
  outline: 2px solid rgba(123, 75, 179, 0.35) !important;
  outline-offset: 3px !important;
}

/* Ajuste específico para botões de vitrines, loja e categorias */
body.woocommerce ul.products li.product .button,
body.woocommerce-page ul.products li.product .button,
.post-type-archive-product .woocommerce ul.products li.product .button,
.tax-product_cat .woocommerce ul.products li.product .button,
.tax-product_tag .woocommerce ul.products li.product .button {
  min-width: 0 !important;
  max-width: 100% !important;
  width: auto !important;
  min-height: 42px !important;
  padding: 12px 18px !important;
  font-size: 12.5px !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  body.woocommerce a.button,
  body.woocommerce-page a.button,
  body.woocommerce button.button,
  body.woocommerce-page button.button,
  body.woocommerce input.button,
  body.woocommerce-page input.button,
  body.woocommerce a.add_to_cart_button,
  body.woocommerce-page a.add_to_cart_button,
  body.woocommerce .add_to_cart_button,
  body.woocommerce-page .add_to_cart_button,
  body.woocommerce .single_add_to_cart_button,
  body.woocommerce-page .single_add_to_cart_button,
  a.button.product_type_simple,
  a.button.product_type_variable,
  a.add_to_cart_button,
  button.single_add_to_cart_button {
    min-width: 0 !important;
    min-height: 42px !important;
    padding: 12px 18px !important;
    font-size: 12.5px !important;
  }

  body.page-id-104 .fdi-contact-hero__bg,
  body.page-id-104 .entry-content .fdi-contact-hero__bg {
    background-position: center center !important;
  }
}