/*!
Theme Name: Docinho de Framboesa
Theme URI: https://docinhodeframboesa.pt
Author: Agarden Studio
Description: Tema à medida para a Docinho de Framboesa — brunch diário e bolos personalizados por encomenda.
Version: 1.0.8
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: docinho-de-framboesa
Tags: custom-background, custom-logo, custom-menu, featured-images, translation-ready

*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}
/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* ==========================================================================
   Docinho de Framboesa — estilos visuais próprios (a partir daqui)
   ========================================================================== */

  :root {
    --raspberry: #C90018;
    --raspberry-dark: #7A0919;
    --raspberry-pale: #FBE8EA;
    --blush: #FEA0CD;
    --blush-utility: #F594B5;
    --blush-pale: #F7DCE4;
    --blush-dark: #5A2438;
    --cream: #F9F3F0;
    --espresso: #33181C;
    --ink: #000000;
    --ink-soft: #333333;
    --taupe: #E8DCD6;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-padding-top: 140px; }
  #sobre, #brunch, #produtos, #bolos, #galeria { scroll-margin-top: 140px; }
  @media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
  }

  body {
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
  }
  body.page, body.post { margin-bottom: 0; }

  img, svg { display: block; max-width: 100%; }
  a, a:visited { color: inherit; text-decoration: none; }

  .eyebrow {
    font-family: 'Playwrite AU TAS', cursive;
    font-size: 1.6rem;
    font-weight: 400;
    display: inline-block;
  }

  h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; line-height: 1.15; }

  .btn, .dfg-ver-mais-btn.dfg-ver-mais-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 0.95rem;
    text-transform: uppercase; letter-spacing: 0.08em; text-shadow: none;
    padding: 1rem 2.6rem; border-radius: 5px;
    border: 1.5px solid currentColor; background: transparent;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  }
  .btn:hover, .dfg-ver-mais-btn.dfg-ver-mais-btn:hover { transform: translateX(4px); }
  .btn svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
  .btn:hover svg { transform: translateX(2px); }

  /* Header */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    display: grid; grid-template-columns: 1fr auto auto auto 1fr;
    align-items: center; column-gap: clamp(1rem, 2.5vw, 2.25rem);
    padding: 0.75rem clamp(1.25rem, 3vw, 2rem);
    background: rgba(253, 248, 244, 0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--taupe);
    transition: padding 0.25s ease;
  }
  .site-header.is-scrolled { padding: 0.35rem clamp(1.25rem, 3vw, 2rem); }
  .site-header.is-scrolled .mark img { height: 46px; }
  .lang-switch { justify-self: start; align-self: start; margin-top: -0.75rem; display: flex; gap: 0.3rem; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.03em; }
  /* Reset à estrutura real que o WPML gera: div.wpml-ls > ul > li.wpml-ls-item > a.wpml-ls-link > span.wpml-ls-native */
  .lang-switch .wpml-ls { margin: 0; padding: 0; }
  .lang-switch ul { list-style: none; display: flex; gap: 0.3rem; margin: 0; padding: 0; }
  .lang-switch li { list-style: none; margin: 0; padding: 0; }
  .lang-switch img { display: none; } /* sem bandeiras — só o texto PT/EN */
  .lang-switch a, .lang-switch .wpml-ls-link {
    display: inline-block; opacity: 0.5; padding: 0.5rem 0.65rem; border-radius: 0px 0px 4px 4px;
    text-transform: uppercase; text-decoration: none;
  }
  .lang-switch a.active,
  .lang-switch li.wpml-ls-current-language .wpml-ls-link {
    opacity: 1; color: var(--cream); background: var(--blush-utility);
  }
.wpml-ls-link:hover {
  background: var(--blush-utility);
  transition: 0.3s all;
  color: var(--cream);
}
  .site-header .mark { display: flex; align-items: center; }
  .site-header .mark img { display: block; height: 92px; width: auto; transition: height 0.25s ease; }
  .site-header .header-nav {
    list-style: none; margin: 0; padding: 0; display: flex; align-items: center;
    gap: clamp(1rem, 2.2vw, 2.25rem); font-size: clamp(0.82rem, 0.6vw + 0.7rem, 0.95rem);
    font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase;
  }
  .site-header .header-nav a { position: relative; padding-bottom: 4px; white-space: nowrap; transition: color 0.25s ease; }
  .site-header .header-nav a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
    background: currentColor; transform: scaleX(0); transform-origin: center;
    transition: transform 0.3s ease;
  }
  .site-header .header-nav a:hover { color: var(--blush-utility); }
  .site-header .header-nav a:hover::after { transform: scaleX(1); }
  .site-header .header-nav li.current-menu-item > a,
  .site-header .header-nav li.current_page_item > a,
  .site-header .header-nav a.is-active {
    color: var(--blush-utility);
  }
  .site-header .header-nav li.current-menu-item > a::after,
  .site-header .header-nav li.current_page_item > a::after,
  .site-header .header-nav a.is-active::after {
    transform: scaleX(1);
  }
  .social-icons { justify-self: end; align-self: start; margin-top: -0.5rem; display: flex; gap: 1.1rem; }
  .social-icons svg { width: 22px; height: 22px; }
  .social-icons a { opacity: 0.7; transition: opacity 0.2s ease; }
  .social-icons a:hover { opacity: 1; }

  /* Botão de menu mobile — escondido no desktop */
  .mobile-menu-toggle {
    display: none; justify-self: end; align-self: center;
    background: none; border: none; padding: 0.4rem; cursor: pointer; color: var(--ink);
  }
  .mobile-menu-toggle svg { width: 26px; height: 26px; display: block; }
  .mobile-menu-toggle .icon-close { display: none; }
  .site-header.nav-open .mobile-menu-toggle .icon-open { display: none; }
  .site-header.nav-open .mobile-menu-toggle .icon-close { display: block; }

  /* Abaixo deste ponto deixa de haver espaço para os dois grupos de nav +
     logo + idioma + redes sociais numa só linha — troca para o botão de
     hambúrguer em vez de espremer tudo até ficar ilegível. */
  @media (max-width: 1180px) {
    /* A partir daqui o cabeçalho fica sempre no estilo "encolhido" (o
       mesmo que só aparecia ao fazer scroll), já que o menu hambúrguer
       ocupa o espaço que antes era da navegação. */
    .site-header { padding: 0.35rem clamp(1.25rem, 3vw, 2rem); }
    .site-header .mark img { height: 46px; }

    /* Fica só o logo e o hambúrguer — o hambúrguer sai do fluxo da grid
       (fica ancorado à direita) para o logo poder ocupar a linha toda e
       ficar centrado, em vez de preso ao canto esquerdo. */
    .site-header {
      grid-template-columns: 1fr;
      transition: padding 0.25s ease, grid-template-columns 0.4s ease;
    }
    .lang-switch, .social-icons { display: none; }
    .site-header .mark {
      justify-self: center;
      transition: transform 0.4s ease;
    }
    .mobile-menu-toggle {
      display: flex; z-index: 2;
      position: absolute; top: 50%; right: clamp(1.25rem, 3vw, 2rem);
      transform: translateY(-50%);
    }

    .site-header .header-nav { display: none; }

    /* Estado aberto: o cabeçalho passa a painel de ecrã inteiro,
       logo no topo, os dois grupos de navegação em baixo, empilhados. */
    .site-header.nav-open {
      position: fixed; inset: 0; z-index: 100;
      display: flex; flex-direction: column; align-items: center;
      justify-content: flex-start; gap: 0;
      padding: 1.5rem 2rem 3rem; overflow-y: auto;
      background: var(--cream);
    }
    .site-header.nav-open .mark { order: 1; margin: 2.5rem 0 2.5rem; }
    .site-header.nav-open .mark img { height: 77px; } /* 118px - 35% */
    .site-header.nav-open .mobile-menu-toggle {
      position: fixed; top: 1.1rem; right: 1.5rem; order: 0;
    }
    .site-header.nav-open .header-nav {
      display: flex; order: 2; flex-direction: column; align-items: center; gap: 0;
      width: 100%; max-width: 320px;
    }
    .site-header.nav-open .header-nav a {
      width: 100%; text-align: center; padding: 1.1rem 0; font-size: 1.15rem;
    }
    .site-header.nav-open .header-nav a::after { display: none; }

    /* O seletor de idioma e os ícones sociais ficam escondidos a partir
       daqui — sem isto, não há forma nenhuma de mudar de idioma em mobile. */
    .site-header.nav-open .lang-switch,
    .site-header.nav-open .social-icons {
      display: flex; order: 3; margin-top: 2rem;
      justify-self: unset; align-self: center;
    }
    .site-header.nav-open .lang-switch { font-size: 0.9rem; }
    .site-header.nav-open .social-icons { gap: 1.4rem; margin-top: 1.4rem; }
  }
  @keyframes mobile-nav-in { from { opacity: 0; } to { opacity: 1; } }
  @media (prefers-reduced-motion: no-preference) and (max-width: 1180px) {
    .site-header.nav-open { animation: mobile-nav-in 0.25s ease; }
  }

  body.nav-open-lock { overflow: hidden; }

  /* Trust strip */
  .trust-strip {
    background: var(--raspberry-pale); padding: 2rem 1.5rem;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem;
  }
  .trust-item { display: flex; align-items: center; gap: 0.7rem; max-width: 190px; }
  .trust-item img { width: 70px; height: 70px; flex-shrink: 0; object-fit: contain; }
  .trust-item span { font-size: 0.85rem; line-height: 1.3; color: var(--ink-soft); }

  /* Hero split */
  .hero { display: flex; flex-wrap: wrap; min-height: 88vh; position: relative; transition: min-height 0.4s ease; }
  .hero-half {
    flex: 1 1 50%; display: flex; flex-direction: column; justify-content: flex-start;
    padding-top: 30px;
    text-align: center;
    transition: flex-grow 0.5s ease, flex-basis 0.45s ease, min-height 0.4s ease, padding 0.4s ease;
    position: relative; overflow: hidden;
  }
  .hero-half:hover { flex-grow: 1.15; }
  @media (prefers-reduced-motion: reduce) { .hero-half { transition: none; } .hero-half:hover { flex-grow: 1; } }

  .hero-bg { position: absolute; inset: 0; z-index: 0; }
  .bg-img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity 1.2s ease;
  }
  .bg-img.active { opacity: 1; }
  @keyframes bg-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
  @media (prefers-reduced-motion: no-preference) {
    .bg-img.active { animation: bg-zoom 5s ease-out forwards; }
  }

  /* Véu escuro entre a foto e o texto — garante legibilidade
     independentemente da foto usada, sem depender do seu brilho. */
  .hero-half::after {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg,
      rgba(0,0,0,0.72) 0%,
      rgba(0,0,0,0.5) 28%,
      rgba(0,0,0,0.25) 48%,
      rgba(0,0,0,0) 68%);
  }

  .hero-copy { position: relative; z-index: 2; padding: 0rem 2rem; color: var(--cream); text-shadow: 0 1px 3px rgba(0,0,0,0.6), 0 2px 14px rgba(0,0,0,0.4); }
  .hero-half .eyebrow { margin-bottom: 0.5rem; color: var(--blush); font-size: 1.7rem; }
  .hero-half h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 0.9rem; text-transform: uppercase; letter-spacing: 0.03em; }
  .hero-divider { display: block; width: 56px; height: 1px; margin: 0 auto 1.1rem; background: currentColor; opacity: 0.6; }
  .hero-half p { font-family: 'Manrope', sans-serif; font-weight: 300; font-size: 1.05rem; max-width: 340px; margin: 0 auto 1.5rem; opacity: 0.92; }
  .hero-half .btn { background: var(--blush-utility); border-color: var(--blush-utility); color: var(--cream); }
  .hero-half .btn:hover { background: var(--cream); border-color: var(--cream); color: var(--blush-utility); }

  /* A partir do breakpoint do menu hambúrguer, o botão liberta-se do fluxo
     de texto e passa a flutuar a 10% do fundo de cada metade — em
     percentagem, para se manter proporcional mesmo quando a altura da
     hero muda (ecrã mais estreito, meio-a-meio ou empilhado). */
  @media (max-width: 1180px) {
    .hero-copy {
      position: absolute; inset: 0;
      display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
      padding: 30px 2rem 0;
      transition: padding 0.4s ease;
    }
    .hero-half .btn {
      position: absolute; left: 50%; bottom: 10%; transform: translateX(-50%);
      white-space: nowrap;
    }
  }

  /* Abaixo disto deixa de haver largura para as duas metades lado a lado —
     cada uma passa a ocupar a linha toda (em vez de dividir o ecrã ao meio).
     Usa flex-basis (em vez de mudar flex-direction) para que a mudança
     acompanhe a transição em vez de saltar de repente. */
  @media (max-width: 900px) {
    .hero { min-height: auto; }
    .hero-half { flex-basis: 100%; min-height: 60vh; padding-top: 30px; }
  }

  /* About band */
  .about { max-width: 1400px; margin: 0 auto; text-align: center; padding: 5.5rem 1.5rem; }
  .about .eyebrow { color: var(--blush); }
  .about h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0.5rem 0 1.25rem; }
  .about p { color: var(--ink-soft); font-size: 1.05rem; }
  .about .cta-row { margin-top: 2rem; }
  .about .btn, .about .dfg-ver-mais-btn.dfg-ver-mais-btn { border-color: var(--raspberry); color: var(--raspberry); }
  .about .btn:hover, .about .dfg-ver-mais-btn.dfg-ver-mais-btn:hover { background: var(--raspberry); color: var(--cream); }
  .dfg-ver-mais-wrap.dfg-ver-mais-wrap { margin-top: calc(4rem + 25px); }

  /* Shared section rules */
  section.territory { padding: 5rem 2rem; }
  .territory-inner { max-width: 1400px; margin: 0 auto; }
  .territory-head { text-align: center; max-width: 520px; margin: 0 auto 3rem; }
  .territory-head .eyebrow { margin-bottom: 0.25rem; display: block; }
  .territory-head h2 { font-size: clamp(2rem, 4.5vw, 2.75rem); }

  #brunch { background: var(--raspberry-pale); }
  #brunch .eyebrow { color: var(--raspberry); }

  /* Menu completo (shortcode [docinho_menu_completo]) */
  .menu-completo { max-width: 1400px; margin: 0 auto; padding: 3rem 1.5rem; }
  .menu-completo-categoria { margin-bottom: 2.5rem; }
  .menu-completo-categoria:last-child { margin-bottom: 0; }
  .menu-completo-categoria-titulo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--raspberry);
    text-align: center;
    margin-bottom: 1.25rem;
  }

  .menu-list {
    max-width: 1400px;
    margin: 0 auto 2.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 3rem;
    transition: grid-template-columns 0.4s ease;
  }
  @media (min-width: 700px) {
    .menu-list { grid-template-columns: repeat(2, 1fr); }
  }
  .menu-item { margin-bottom: 1.1rem; }
  .menu-item-top { display: flex; align-items: baseline; gap: 0.75rem; }
  .menu-item .name { font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
  .menu-item .leader { flex: 1; min-width: 20px; border-bottom: 1px dotted var(--ink-soft); opacity: 0.5; transform: translateY(-4px); }
  .menu-item .price { font-weight: 600; white-space: nowrap; }
  .menu-item .desc { display: block; margin-top: 0.25rem; color: var(--ink-soft); font-size: 0.9rem; }

  .practical { display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: center; text-align: center; margin-top: 2.5rem; }
  .practical .label { font-size: 1.05rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 0.3rem; }
  .practical .value { font-family: 'Manrope', sans-serif; font-weight: 400; font-size: 1.1rem; }

  .cta-row { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
  #brunch .btn { border-color: var(--raspberry); color: var(--raspberry); }
  #brunch .btn:hover { background: var(--raspberry); color: var(--cream); }

  #bolos { background: var(--blush-pale); }
  #bolos .eyebrow { color: var(--raspberry); }

  .process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 3rem; text-align: center; transition: grid-template-columns 0.4s ease; }
  @media (max-width: 780px) { .process { grid-template-columns: repeat(2, 1fr); } }
  .process-step {
    max-width: none; display: flex; flex-direction: column; align-items: center;
    color: inherit; text-decoration: none; transition: transform 0.2s ease;
  }
  .process .process-step:hover { transform: translateY(-4px); }
  @media (prefers-reduced-motion: reduce) {
    .process-step { transition: none; }
    .process-step:hover { transform: none; }
  }
  .process-step-foto {
    width: 100%; max-width: 200px; aspect-ratio: 3/3; border-radius: 4px;
    background-size: contain; background-position: center; margin-bottom: 0.9rem;
  }
  .process-step .num { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 3rem; color: var(--blush); }
  .process-step .label { font-weight: 600; margin: 0.3rem 0; }
  .process-step .desc { font-size: 0.88rem; color: var(--ink-soft); }

  #bolos .btn { border-color: var(--raspberry-dark); color: var(--raspberry-dark); }
  #bolos .btn:hover { background: var(--raspberry-dark); color: var(--blush-pale); }

  /* Instagram strip */
  .insta { padding: 4.5rem 2rem; text-align: center; }
  .insta .eyebrow { color: var(--blush); display: block; }
  .insta h2 { font-size: 1.4rem; margin: 0.3rem 0 2rem; }
  .insta a { display: inline-block; transition: color 0.2s ease; }
  .insta a:hover h2 { color: var(--blush-utility); }

  /* Footer */
  footer { background: var(--espresso); color: var(--taupe); padding: 4rem 2rem 0; }
  .footer-inner {
    max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem;
    padding-bottom: 3rem; border-bottom: 1px solid rgba(232, 220, 214, 0.2);
    transition: grid-template-columns 0.4s ease, gap 0.4s ease;
  }
  .footer-inner > div { min-width: 0; }
  @media (min-width: 900px) {
    .footer-inner { grid-template-columns: repeat(4, 1fr); }
  }

  /* Abaixo dos 900px: dois blocos em cima, dois em baixo (como já
     acontece por defeito na grid de 2 colunas), mas com o texto todo
     centrado em vez de alinhado à esquerda. */
  @media (max-width: 900px) {
    .footer-inner { text-align: center; }
    .footer-inner > div { display: flex; flex-direction: column; align-items: center; }
    .footer-social { justify-content: center; }
  }

  /* Abaixo dos 500px já não há espaço para dois blocos por linha —
     cada bloco passa a ocupar a linha toda, sempre centrado. */
  @media (max-width: 500px) {
    .footer-inner { grid-template-columns: repeat(1, 1fr); gap: 2rem; }
  }
  footer p, footer a { font-size: 0.92rem; color: var(--taupe); display: block; margin-bottom: 0.4rem; overflow-wrap: break-word; }
  footer .mark { font-family: 'Cormorant Garamond', serif; font-weight: 600; color: var(--cream); font-size: 1.3rem; margin-bottom: 0.5rem; }
  footer .script { font-family: 'Playwrite AU TAS', cursive; color: var(--blush-pale); font-size: 1.1rem; }
  footer .footer-logo { max-width: 160px; height: auto; display: block; }
  footer h4 { font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blush-pale); margin-bottom: 0.8rem; font-weight: 700; }
  footer a:hover { color: var(--cream); }
  .footer-social { display: flex; gap: 1rem; margin-top: 0.2rem; }
  .footer-social a { display: inline-flex; margin-bottom: 0; opacity: 0.85; transition: opacity 0.2s ease, color 0.2s ease; }
  .footer-social a:hover { opacity: 1; }
  .footer-social svg { width: 22px; height: 22px; }
  .footer-bottom { max-width: 1400px; margin: 1.5rem auto 0; padding-bottom: 1.5rem; font-size: 0.8rem; color: var(--taupe); text-align: center; }

  .fade-up {
    opacity: 0;
    transform: translateY(34px) scale(0.97);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
  }
  .fade-up.visible { opacity: 1; transform: translateY(0) scale(1); }
  @media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; transition: none; } }

  /* Cabeçalho das páginas interiores (Direção A) */
  .page-header-hero {
    background: var(--cream);
    padding: 4.5rem 1.5rem 3rem;
    text-align: center;
  }
  .page-header-hero-eyebrow {
    display: block;
    font-family: 'Playwrite AU TAS', cursive;
    color: var(--blush-utility);
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
  }
  .page-header-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--ink);
    font-size: clamp(2.2rem, 5vw, 2.75rem);
    margin: 0 0 1rem;
    line-height: 1.15;
  }
  .page-header-hero-rule {
    display: block;
    width: 48px;
    height: 2px;
    background: var(--raspberry);
    margin: 0 auto;
  }
