/*!
Theme Name: La Mouette
Theme URI: https://lamouette-saintnazaire.fr/
Author: Marc-Aurele Geffroy
Author URI: https://marcaurelegeffroy.fr
Description: Theme sur mesure du site du bar restaurant La Mouette a Saint-Nazaire (44)
Version: 1.0
Text Domain: lamouette
Tags: custom
*/

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Archivo+Narrow:ital,wght@0,400..700;1,400..700&display=swap');

:root {
	--light-color: #FEF6E0;
	--dark-color: #000000;
	--accent-color-1: #e3902f;
	--accent-color-2: #004632;
	--accent-color-3: #0a3e52;

	--pad: clamp(2rem, 5vw, 12rem);
}

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
}
body.menu-is-open {
	overflow-y: hidden;
}

main {
	display: block;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

b,
strong {
	font-weight: bolder;
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

img {
	border-style: none;
}

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: var(--accent-color-2);
	font-family: "Archivo Narrow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: clamp(1.2rem, calc(1vw), 2rem);
	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: var(--light-color);
}

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

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

ul {
	list-style: none;
	margin: 0 0 2em;
	padding: 0
}
ul:last-child {
	margin-bottom: 0;
}

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;
}

embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}
a {
	color: inherit;
	text-decoration: none;
}
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%;
}

.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;
	}
}

.sticky {
	display: block;
}

.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;
}
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.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;
}

.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;
}

.site-wrapper {
	max-width: 2200px;
	margin-inline: auto;
}
.wrapper {
	max-width: 1400px;
	margin-inline: auto;
}

.padxm {
	padding-left: var(--pad);
	padding-right: var(--pad);
}
.padym {
	padding-top: var(--pad);
	padding-bottom: var(--pad);
}

.center {
	text-align: center;
}

.radius {
	border-radius: 2em;
}

.imgcover {
	object-fit: cover;
	object-position: 50%;
	width: 100%;
	height: 100%;
}

.flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.column {
	flex-direction: column;
}
.grid {
	display: grid;
	gap: var(--pad);
}
.grid-2, .grid-3, .grid-1-2, .grid-2-1 {
	grid-template-columns: 1fr;
}

.gapm {
	gap: var(--pad);
}

.sepm {
	height: var(--pad)
}

.card {
	position: relative;
	border: 3px solid var(--dark-color);
	border-radius: 2em;
	padding: var(--pad);
	box-shadow: 8px 8px 0px 0px var(--dark-color);
}

.bg-light-color {
	background: var(--light-color);
}
.bg-accent-color-1 {
	background: var(--accent-color-1);
	color: var(--accent-color-2);
}
.bg-accent-color-1 .card {
	background-color: var(--accent-color-2);
	color: var(--accent-color-1);
}
.bg-accent-color-2 {
	background: var(--accent-color-2);
	color: var(--accent-color-1);
}
.bg-accent-color-2 .card {
	background: var(--accent-color-1);
	color: var(--accent-color-2);
}



.maxw800 {
	max-width: 800px;
}

h1, .h1 {
	font-family: 'Archivo Black', sans-serif;
	font-size: clamp(1.75rem, calc(5vw + 1.5rem), 6rem);
	line-height: 1;
	font-weight: 900;
	margin-top: 0;
	margin-bottom: 1em;
}
h2, .h2 {
	font-family: 'Archivo Black', sans-serif;
	font-size: clamp(1.3rem, calc(1.5vw + .75rem), 6rem);
	line-height: 1.1;
	font-weight: 900;
	margin-top: 0;
	margin-bottom: 1em;
}
h3, .h3 {
	font-family: 'Archivo Black', sans-serif;
	font-size: clamp(1.2rem, calc(1vw + .75rem), 3rem);
	line-height: 1.2;
	font-weight: 900;
	margin-top: 0;
	margin-bottom: 1em;
}
p, .p {
	font-size: clamp(1.2rem, calc(1vw), 2rem);
    line-height: 1.5;
    font-weight: 500;
    margin-top: 0;
	margin-bottom: 1.25em;
}
h1:last-child, .h1:last-child,
h2:last-child, .h2:last-child,
h3:last-child, .h3:last-child,
p:last-child, .p:last-child {
	margin-bottom: 0
}
.font-xs {
	font-size: .8rem;
}
.bold {
	font-weight: 900;
}

.text-effect-1 {
	transform: rotate(-4deg);
    background: var(--accent-color-1);
    color: var(--light-color);
    padding: .25em .5em;
    display: inline-block;
    border-radius: 999px;
}
.bg-accent-color-1 .text-effect-1 {
    background: var(--accent-color-1);
}
.bg-accent-color-2 .text-effect-1  {
	background: var(--accent-color-2);
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 1em;
	padding: 1em 2em;
	font-weight: bold;
	border-radius: 2em;
	background: var(--accent-color-1);
	color: var(--light-color);
	font-family: "Archivo Black";
	box-shadow: 8px 8px 0px 0px var(--dark-color);
	transition: .2s;
}
.btn:hover {
	transform: scale(1.1);
}

.negative {
	background: var(--dark-color);
	color: var(--light-color);
}
.header-sup {
	position: fixed;
	top: 1em;
	left: 0;
	right: 0;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	z-index: 1001;
}
.header-logo {
	padding: 1em 0;
}
.toggle-menu {
	position: relative;
	width: clamp(3rem, 6vw, 6rem);
	height: clamp(3rem, 6vw, 6rem);
	padding: 1em 2em;
	display: grid;
	place-content: center;
	cursor: pointer;
	z-index: 100000;
}
.toggle-menu:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 9999px;
	background: var(--accent-color-1);
	z-index: -1;
	transition: .2s;
	box-shadow: 8px 8px 0px 0px var(--dark-color);
}
.toggle-menu:hover:before {
	transform: scale(1.1);
}
.toggle-menu .toggle-menu-icon {
	width: clamp(1.5rem, 3vw, 3rem);
    display: flex;
    flex-direction: column;
    grid-gap: 7px;
    transition: .2s;
}
.menu-is-open .toggle-menu .toggle-menu-icon {
	grid-gap: 0;
    transform: rotate(-135deg);
}
.toggle-menu .toggle-menu-icon .bar {
	width: 100%;
    height: 2px;
    background: var(--light-color);
    transition: .2s;
}
.menu-is-open .toggle-menu .toggle-menu-icon .bar:nth-child(2) {
    display: none;
}
.menu-is-open .toggle-menu .toggle-menu-icon .bar:nth-child(3) {
    transform: rotate(90deg);
    margin-top: -1px;
}
.header-sub {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100dvh;
	z-index: 1000;
	pointer-events: none;
}
.menu-is-open .header-sub {
	
}
.header-sub-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--accent-color-2);
	opacity: 0;
	z-index: 900;
	transition: opacity .4s ease-out;
}
.header-sub-panel {
    position: absolute;
	width: 100%;
	height: 100dvh;
	top: 0;
	right: 0;
	background: var(--accent-color-2);
	color: var(--accent-color-1);
	z-index: 950;
	transform: translateX(100%);
	transition: all ease-out .4s;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	z-index: 950;
	pointer-events: all;
}
@media (min-width: 820px) {
	.header-sub-panel {
		width: 50%;
	}
}
.menu-is-open .header-sub-overlay {
	opacity: .5;
}
.menu-is-open .header-sub-panel {
	transform: translateX(0%);
}
.header-sub-nav a {
    display: inline-block;
    text-transform: uppercase;
    line-height: 1.5em;
	transition: color .2s ease-out;
}
.header-sub-nav .current-menu-item,
.header-sub-nav li a:hover {
	color: var(--light-color);
}
.hero {
	width: 100%;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	position: relative;
	overflow: hidden;
	height: 62vh;
    
}
.hero-index {
	height: 100vh;
}
.hero-text {
	text-align: center;
	position: relative;
	z-index: 1;
}
.hero-index-text {
	
}
.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	opacity: .5;
}

.footer {
	background: var(--accent-color-2);
	color: var(--light-color);
	padding-bottom: calc(var(--pad)/2);
	border-radius: 2em 2em 0 0;
}
.footer .footer-logo {
	opacity: .1;
    width: 50%;
    margin-left: auto;
}
.footer .footer-logo svg {
	width: 100%;
	height: auto;
}
.mouette-intro {
	position: absolute;
	bottom: calc(var(--pad)/2);
	right: calc(var(--pad)/2);
	width: 20%;
	z-index: 0;
}

.swiper {
	width: 100%;
}
.swiper-slide {
	aspect-ratio: 1 / 1.5;
    border-radius: 2em;
    overflow: hidden;
	transition: transform .3s ease;
}
.slider-galerie .swiper-slide {
	box-sizing: content-box;
    transition: transform 0.3s;
    box-sizing: border-box;
	border: 3px solid var(--dark-color);
    box-shadow: 8px 8px 0px 0px var(--dark-color);
}
.slider-galerie .swiper-button-next,
.slider-galerie .swiper-button-prev {
    background: white;
    padding: 0;
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    box-shadow: 8px 8px 0px 0px var(--dark-color);
}
.slider-galerie .swiper-button-prev svg,
.slider-galerie .swiper-button-next svg {
	width: 60%;
    height: 60%;
	stroke: var(--dark-color);
}
.slider-galerie .swiper-button-prev svg {
	transform: rotate(180deg);
}

.slider-galerie .swiper-button-next:after,
.slider-galerie .swiper-button-prev:after {
    content: none;
}

/*** ACCORDEON */
/* .accordion-item {
	background: var(--light-color);
	color: var(--dark-color);
	margin-bottom: 1em;
	border-radius: 1rem;
	transition: all ease-out .3s;
}
.accordion-header {
	border-radius: 9999px;
	padding: 1rem;
	cursor: pointer;
	font-weight: bold;
}
.accordion-body {
	height: 0;
	overflow: hidden;
  	transition: height 0.3s ease-in-out;
}
.accordion-body-wrap {
	padding: 0 1em 1em;
}
.accordion-item.open .accordion-body {
	display: block;
}
.accordion-item .accordion-header svg {
	transition: all .3s ease-out;
}
.accordion-item.open .accordion-header svg {
	transform: rotate(180deg);
} */

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.faq-trigger {
    width: 100%;
    padding: 15px;
    background: none;
    border: none;
    text-align: left;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-content {
    display: grid;
    grid-template-rows: 0fr; /* Fermé par défaut */
    transition: grid-template-rows 0.3s ease-out;
    overflow: hidden;
    background: #f9f9f9;
}

.faq-content-inner {
    min-height: 0;
    padding: 0 15px;
}

/* État actif */
.faq-item.is-open .faq-content {
    grid-template-rows: 1fr;
}
.faq-item.is-open .faq-content-inner {
    padding: 15px;
}

.faq-item.is-open .icon {
    transform: rotate(45deg);
}



@media (min-width: 940px) {
	.grid-2 {
		grid-template-columns: 1fr 1fr;
	}
	.grid-3 {
		grid-template-columns:  1fr 1fr 1fr;
	}
	.grid-2-1 {
		grid-template-columns:  2fr 1fr;
	}
	.grid-1-2 {
		grid-template-columns:  1fr 2fr;
	}
}