This repository has been archived on 2026-05-21. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2026-05-21 15:35:54 +02:00

1788 lines
34 KiB
CSS

/* ============================================
RESTAURANT COLIBRI — Stylesheet
Cuisine verte et transparente
============================================ */
/* === SELF-HOSTED BRAND FONTS === */
@font-face {
font-family: 'TT Norms';
src: url('fonts/TTNorms-Regular.woff2.woff2') format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'TT Norms';
src: url('fonts/TTNorms-Medium.woff2.woff2') format('woff2');
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'TT Norms';
src: url('fonts/TTNorms-Bold.woff2.woff2') format('woff2');
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'TT Norms';
src: url('fonts/TTNorms-BoldItalic.woff2.woff2') format('woff2');
font-weight: 700;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Century Old Style';
src: url('fonts/CenturyOldStyleStd-Bold.woff2.woff2') format('woff2');
font-weight: 700;
font-style: normal;
font-display: swap;
}
/* === DESIGN TOKENS (Brand Guideline) === */
:root {
/* Primary */
--color-vert: #246232;
--color-beige: #eee7dc;
--color-white: #FFFFFF;
--color-black: #000000;
/* Text */
--color-heading: #246232;
--color-body: #3a3a3a;
--color-muted: #777;
/* Secondary */
--color-abricot: #e98c45;
--color-aubergine: #a31e59;
--color-citron: #f6c33b;
--color-saumon: #f9b2a8;
--color-lichen: #75ac88;
--color-orange: #e85a25;
--color-mer: #779cb8;
--color-bleuet: #4e62a6;
/* Typography */
--font-primary: 'TT Norms', 'Inter', 'Helvetica Neue', Arial, sans-serif;
--font-secondary: 'Century Old Style', Georgia, serif;
/* Spacing */
--space-2xs: 4px;
--space-xs: 8px;
--space-s: 16px;
--space-m: 24px;
--space-l: 32px;
--space-xl: 48px;
--space-2xl: 64px;
--space-3xl: 96px;
--space-4xl: 128px;
/* Radius */
--radius-sm: 4px;
--radius-md: 8px;
--radius-lg: 12px;
--radius-xl: 16px;
--radius-pill: 999px;
/* Shadows */
--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
--shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
--shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.1);
--shadow-xl: 0 8px 32px rgba(0, 0, 0, 0.12);
/* Animation */
--ease-default: cubic-bezier(0.25, 0.1, 0.25, 1);
--ease-out: cubic-bezier(0, 0, 0.2, 1);
--duration-fast: 150ms;
--duration-normal: 250ms;
--duration-slow: 400ms;
/* Layout */
--container-max: 1280px;
--nav-height: 80px;
--nav-height-mobile: 64px;
}
/* === RESET & BASE === */
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: geometricPrecision;
}
body {
font-family: var(--font-primary);
font-size: 16px;
line-height: 1.6;
color: var(--color-body);
background: var(--color-beige);
overflow-x: hidden;
}
img {
max-width: 100%;
display: block;
}
a {
color: inherit;
text-decoration: none;
}
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-primary);
font-weight: 700;
line-height: 1.15;
color: var(--color-heading);
}
em {
font-family: var(--font-secondary);
font-style: normal;
font-weight: 400;
}
/* === UTILITIES === */
.container {
width: 100%;
max-width: var(--container-max);
margin: 0 auto;
padding: 0 var(--space-m);
}
.section {
padding: var(--space-4xl) 0;
}
/* === SECTION HEADERS === */
.section__header {
text-align: center;
margin-bottom: var(--space-2xl);
}
.section__tag {
display: inline-block;
font-size: 0.8rem;
font-weight: 600;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--color-vert);
background: rgba(36, 98, 50, 0.08);
padding: var(--space-xs) var(--space-s);
border-radius: var(--radius-pill);
margin-bottom: var(--space-s);
}
.section__tag--light {
color: var(--color-white);
background: rgba(255, 255, 255, 0.15);
}
.section__title {
font-size: clamp(2rem, 4vw, 3rem);
color: var(--color-heading);
margin-bottom: var(--space-s);
}
.section__title em {
color: var(--color-vert);
}
.section__desc {
font-size: 1.1rem;
color: #666;
max-width: 600px;
margin: 0 auto;
line-height: 1.7;
}
/* === BUTTONS === */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--space-xs);
font-family: var(--font-primary);
font-size: 0.95rem;
font-weight: 600;
padding: 12px 28px;
border-radius: var(--radius-pill);
border: 2px solid transparent;
cursor: pointer;
transition: all var(--duration-normal) var(--ease-out);
white-space: nowrap;
}
.btn--primary {
background: var(--color-vert);
color: var(--color-white);
border-color: var(--color-vert);
}
.btn--primary:hover {
background: #1a4a25;
border-color: #1a4a25;
transform: translateY(-2px);
box-shadow: var(--shadow-lg);
}
.btn--outline {
background: transparent;
color: var(--color-vert);
border-color: var(--color-vert);
}
.btn--outline:hover {
background: var(--color-vert);
color: var(--color-white);
transform: translateY(-2px);
}
.btn--white {
background: var(--color-white);
color: var(--color-vert);
border-color: var(--color-white);
}
.btn--white:hover {
background: var(--color-beige);
transform: translateY(-2px);
box-shadow: var(--shadow-lg);
}
.btn--outline-light {
background: transparent;
color: var(--color-white);
border-color: rgba(255,255,255,0.4);
}
.btn--outline-light:hover {
background: rgba(255,255,255,0.1);
border-color: var(--color-white);
}
.btn--lg {
padding: 16px 36px;
font-size: 1rem;
}
.btn--sm {
padding: 10px 20px;
font-size: 0.85rem;
}
.btn--full {
width: 100%;
}
/* === TAGS === */
.tag {
display: inline-block;
font-size: 0.75rem;
font-weight: 600;
padding: 4px 10px;
border-radius: var(--radius-pill);
}
.tag--green {
background: rgba(36, 98, 50, 0.1);
color: var(--color-vert);
}
.tag--blue {
background: rgba(119, 156, 184, 0.15);
color: var(--color-bleuet);
}
.tag--orange {
background: rgba(233, 140, 69, 0.15);
color: var(--color-orange);
}
.tag--yellow {
background: rgba(180, 140, 20, 0.12);
color: #8a6d10;
}
/* ============================================
NAVIGATION — Centered logo layout
============================================ */
.nav {
position: fixed;
top: 0;
left: 0;
right: 0;
height: var(--nav-height);
z-index: 1000;
transition: all var(--duration-normal) var(--ease-out);
}
.nav--scrolled {
background: rgba(238, 231, 220, 0.95);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
box-shadow: var(--shadow-sm);
}
.nav--scrolled .nav__link {
color: var(--color-body);
}
.nav--scrolled .nav__logo-img {
/* Au scroll : logo plus petit, vert naturel sur fond beige */
height: 55px;
filter: none;
opacity: 1;
mix-blend-mode: multiply;
}
.nav__container {
display: flex;
align-items: center;
justify-content: space-between;
height: 100%;
}
.nav__left,
.nav__right {
display: flex;
align-items: center;
gap: var(--space-l);
flex: 1;
}
.nav__left {
justify-content: flex-start;
}
.nav__right {
justify-content: flex-end;
}
.nav__logo {
display: flex;
align-items: center;
z-index: 10;
padding: 0 var(--space-xl);
}
.nav__logo-img {
height: 110px;
width: auto;
transition: all var(--duration-normal) var(--ease-default);
/* Par défaut (en haut) : logo blanc/pâle sur hero sombre */
filter: brightness(0) invert(1);
opacity: 0.9;
}
.nav__link {
font-size: 0.9rem;
font-weight: 500;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--color-white);
padding: var(--space-xs) 0;
position: relative;
transition: color var(--duration-fast);
}
.nav__link::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background: var(--color-white);
transition: width var(--duration-normal) var(--ease-out);
}
.nav--scrolled .nav__link::after {
background: var(--color-vert);
}
.nav__link:hover::after {
width: 100%;
}
.nav__cta {
font-size: 0.85rem;
padding: 10px 24px;
letter-spacing: 0.04em;
text-transform: uppercase;
}
/* Burger */
.nav__burger {
display: none;
flex-direction: column;
justify-content: center;
gap: 5px;
width: 32px;
height: 32px;
background: none;
border: none;
cursor: pointer;
z-index: 10;
}
.nav__burger span {
display: block;
width: 100%;
height: 2px;
background: var(--color-white);
border-radius: 2px;
transition: all var(--duration-normal) var(--ease-out);
}
.nav--scrolled .nav__burger span {
background: var(--color-black);
}
.nav__burger.active span:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
}
.nav__burger.active span:nth-child(2) {
opacity: 0;
}
.nav__burger.active span:nth-child(3) {
transform: rotate(-45deg) translate(5px, -5px);
}
/* Mobile Menu */
.mobile-menu {
position: fixed;
inset: 0;
background: var(--color-beige);
z-index: 999;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
pointer-events: none;
transition: opacity var(--duration-slow) var(--ease-out);
}
.mobile-menu.active {
opacity: 1;
pointer-events: all;
}
/* Hide nav logo when mobile menu is open */
.mobile-menu.active ~ .nav .nav__logo,
body:has(.mobile-menu.active) .nav__logo {
opacity: 0;
}
.mobile-menu__nav {
display: flex;
flex-direction: column;
align-items: center;
gap: var(--space-l);
}
.mobile-menu__logo {
height: 70px;
width: auto;
margin-bottom: var(--space-s);
mix-blend-mode: multiply;
opacity: 0;
transform: translateY(-15px);
transition: all 0.4s var(--ease-out);
}
.mobile-menu.active .mobile-menu__logo {
opacity: 1;
transform: translateY(0);
}
.mobile-menu__link {
font-size: 1.8rem;
font-weight: 700;
color: var(--color-heading);
transition: color var(--duration-fast);
/* Stagger animation */
opacity: 0;
transform: translateY(20px);
transition: color var(--duration-fast), opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.mobile-menu.active .mobile-menu__link {
opacity: 1;
transform: translateY(0);
}
.mobile-menu.active .mobile-menu__link:nth-child(2) { transition-delay: 0.08s; }
.mobile-menu.active .mobile-menu__link:nth-child(3) { transition-delay: 0.16s; }
.mobile-menu.active .mobile-menu__link:nth-child(4) { transition-delay: 0.24s; }
.mobile-menu.active .mobile-menu__link:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu__link:hover {
color: var(--color-vert);
}
.mobile-menu__cta {
margin-top: var(--space-m);
font-size: 1.1rem;
padding: 16px 40px;
/* Stagger animation */
opacity: 0;
transform: translateY(20px);
transition: all 0.4s var(--ease-out);
}
.mobile-menu.active .mobile-menu__cta {
opacity: 1;
transform: translateY(0);
transition-delay: 0.4s;
}
/* ============================================
HERO — Full-width photo background
============================================ */
.hero {
position: relative;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
background: var(--color-black);
}
/* Hero Slides */
.hero__slides {
position: absolute;
inset: 0;
z-index: 0;
}
.hero__slide {
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 1.2s ease-in-out;
}
.hero__slide.active {
opacity: 1;
}
.hero__bg-img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
animation: kenBurns 18s ease-in-out infinite alternate;
transform: scale(1.02);
}
@keyframes kenBurns {
0% { transform: scale(1.02) translate(0, 0); }
100% { transform: scale(1.1) translate(-1%, -0.5%); }
}
.hero__overlay {
position: absolute;
inset: 0;
z-index: 1;
background: linear-gradient(
to bottom,
rgba(0, 0, 0, 0.35) 0%,
rgba(0, 0, 0, 0.2) 40%,
rgba(0, 0, 0, 0.5) 100%
);
}
/* Hero Arrows */
.hero__arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 3;
width: 48px;
height: 48px;
border-radius: 50%;
border: 1.5px solid rgba(255,255,255,0.35);
background: rgba(0,0,0,0.15);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
color: var(--color-white);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all var(--duration-normal) var(--ease-out);
}
.hero__arrow:hover {
background: rgba(255,255,255,0.15);
border-color: rgba(255,255,255,0.6);
transform: translateY(-50%) scale(1.08);
}
.hero__arrow--prev {
left: var(--space-m);
}
.hero__arrow--next {
right: var(--space-m);
}
/* Hero Dots */
.hero__dots {
position: absolute;
bottom: var(--space-xl);
left: 50%;
transform: translateX(-50%);
z-index: 3;
display: flex;
gap: var(--space-xs);
}
.hero__dot {
width: 10px;
height: 10px;
border-radius: 50%;
border: 1.5px solid rgba(255,255,255,0.6);
background: transparent;
cursor: pointer;
transition: all var(--duration-normal) var(--ease-out);
padding: 0;
}
.hero__dot.active {
background: var(--color-white);
border-color: var(--color-white);
transform: scale(1.2);
}
.hero__dot:hover {
background: rgba(255,255,255,0.5);
}
.hero__content {
z-index: 2;
text-align: center;
padding: var(--space-4xl) var(--space-m);
max-width: 800px;
}
.hero__title {
font-size: clamp(2.5rem, 6vw, 4.2rem);
color: var(--color-white);
margin-bottom: var(--space-m);
line-height: 1.1;
text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.hero__title em {
color: var(--color-beige);
font-size: 1.05em;
}
.hero__subtitle {
font-size: clamp(1rem, 2vw, 1.2rem);
color: rgba(255,255,255,0.85);
max-width: 550px;
margin: 0 auto var(--space-xl);
line-height: 1.7;
}
.hero__actions {
display: flex;
align-items: center;
justify-content: center;
gap: var(--space-s);
flex-wrap: wrap;
}
/* ============================================
MENU SECTION
============================================ */
.menu {
position: relative;
z-index: 2;
background: var(--color-beige);
}
.menu__tabs {
display: flex;
justify-content: center;
gap: var(--space-xs);
margin-bottom: var(--space-m);
flex-wrap: wrap;
}
/* ---- Dietary Filters (multi-select chips) ---- */
.menu__filters {
display: flex;
justify-content: center;
align-items: center;
gap: 8px;
margin-bottom: var(--space-l);
flex-wrap: wrap;
}
.menu__filter {
font-family: var(--font-primary);
font-size: 0.78rem;
font-weight: 500;
letter-spacing: 0.02em;
padding: 6px 16px;
border-radius: var(--radius-pill);
border: 1.5px solid rgba(0, 0, 0, 0.12);
background: transparent;
color: #777;
cursor: pointer;
transition: all 0.2s var(--ease-out);
white-space: nowrap;
}
.menu__filter:hover {
border-color: var(--color-vert);
color: var(--color-vert);
}
.menu__filter.active {
border-color: var(--color-vert);
background: rgba(36, 98, 50, 0.08);
color: var(--color-vert);
font-weight: 600;
}
.menu__filter-reset {
font-family: var(--font-secondary);
font-size: 0.75rem;
color: #aaa;
background: none;
border: none;
cursor: pointer;
padding: 6px 8px;
transition: all 0.2s var(--ease-out);
opacity: 0;
pointer-events: none;
transform: translateX(-4px);
}
.menu__filter-reset.visible {
opacity: 1;
pointer-events: auto;
transform: translateX(0);
}
.menu__filter-reset:hover {
color: var(--color-vert);
}
/* Filtered-out card state — hidden entirely */
.menu-card.filtered-out {
display: none;
}
/* Empty state message when all items filtered out */
.menu__empty-msg {
text-align: center;
padding: var(--space-xl) var(--space-m);
color: #999;
font-family: var(--font-secondary);
font-size: 0.95rem;
display: none;
width: 100%;
}
.menu__empty-msg.visible {
display: block;
}
.menu__tab {
font-family: var(--font-primary);
font-size: 0.9rem;
font-weight: 600;
padding: 10px 24px;
border-radius: var(--radius-pill);
border: 2px solid transparent;
background: var(--color-white);
color: #666;
cursor: pointer;
transition: all var(--duration-normal) var(--ease-out);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.menu__tab:hover {
border-color: var(--color-vert);
color: var(--color-vert);
}
.menu__tab.active {
background: var(--color-vert);
color: var(--color-white);
border-color: var(--color-vert);
}
.menu__content {
display: none;
position: relative;
}
.menu__content.active {
display: block;
animation: fadeIn var(--duration-slow) var(--ease-out);
}
/* Scroll fade indicator — right edge */
.menu__content.active::after {
content: '';
position: absolute;
top: 0;
right: 0;
width: 60px;
height: calc(100% - var(--space-s));
background: linear-gradient(to left, var(--color-beige) 0%, transparent 100%);
pointer-events: none;
z-index: 5;
opacity: 1;
transition: opacity 0.3s ease;
}
.menu__content.scrolled-end::after {
opacity: 0;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.menu__grid {
display: flex;
gap: var(--space-m);
overflow-x: auto;
scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch;
padding-bottom: var(--space-s);
scrollbar-width: none;
-ms-overflow-style: none;
}
.menu__grid::-webkit-scrollbar {
display: none;
}
/* Menu Card — Floating bowl style */
.menu-card {
display: flex;
flex-direction: column;
border-radius: var(--radius-xl);
transition: all var(--duration-normal) var(--ease-out);
text-align: left;
position: relative;
overflow: visible;
min-width: calc((100% - var(--space-m) * 2) / 3);
max-width: calc((100% - var(--space-m) * 2) / 3);
flex-shrink: 0;
scroll-snap-align: start;
}
.menu-card:hover {
transform: translateY(-4px);
z-index: 10;
}
.menu-card__img {
display: flex;
align-items: center;
justify-content: center;
position: relative;
margin-bottom: var(--space-xs);
height: 300px;
background: var(--color-beige);
border-radius: var(--radius-lg);
overflow: visible;
}
.menu-card__img--empty {
background: linear-gradient(135deg, var(--color-beige) 0%, #e2dbd0 100%);
height: 180px;
}
.menu-card__img--empty::after {
content: '🍽';
font-size: 2.5rem;
opacity: 0.2;
}
.menu-card__img img {
width: 100%;
height: 100%;
object-fit: contain;
transition: transform 0.5s var(--ease-out), filter 0.5s var(--ease-out);
padding: var(--space-s);
}
@media (hover: hover) {
.menu-card:hover .menu-card__img img {
transform: scale(1.08) rotate(-2deg);
z-index: 10;
}
}
.menu-card__emoji {
font-size: 3rem;
}
.menu-card__badge {
position: absolute;
top: var(--space-s);
right: var(--space-m);
background: var(--color-abricot);
color: var(--color-white);
font-size: 0.75rem;
font-weight: 700;
padding: 6px 14px;
border-radius: var(--radius-pill);
z-index: 3;
}
.menu-card__body {
display: flex;
flex-direction: column;
flex: 1;
padding: var(--space-m);
background: var(--color-white);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-sm);
}
.menu-card__top {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: var(--space-xs);
gap: var(--space-s);
}
.menu-card__top h3 {
font-size: 1.05rem;
font-weight: 700;
}
.menu-card__price {
font-family: var(--font-primary);
font-size: 1.05rem;
font-weight: 700;
color: var(--color-vert);
white-space: nowrap;
}
.menu-card__body > p {
font-size: 0.88rem;
color: #777;
line-height: 1.5;
margin-bottom: var(--space-s);
flex: 1;
}
.menu-card__tags {
display: flex;
gap: var(--space-xs);
flex-wrap: wrap;
margin-top: auto;
}
/* All cards uniform — text-only gets empty img placeholder */
.menu-card--text-only .menu-card__body {
border-radius: var(--radius-lg);
}
/* Idle float animation — all menu items with images */
@keyframes bowlFloat {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-8px); }
}
.menu-card__img img {
animation: bowlFloat 3.5s ease-in-out infinite;
}
.menu-card:hover .menu-card__img img {
animation: none;
}
/* Staggered reveal for cards */
.menu-card:nth-child(1) { transition-delay: 0s; }
.menu-card:nth-child(2) { transition-delay: 0.1s; }
.menu-card:nth-child(3) { transition-delay: 0.2s; }
/* Staggered float animation — each card floats slightly offset */
.menu-card:nth-child(2) .menu-card__img img { animation-delay: -0.6s; }
.menu-card:nth-child(3) .menu-card__img img { animation-delay: -1.2s; }
.menu-card:nth-child(4) .menu-card__img img { animation-delay: -0.3s; }
.menu-card:nth-child(5) .menu-card__img img { animation-delay: -0.9s; }
.menu-card:nth-child(6) .menu-card__img img { animation-delay: -1.5s; }
.menu-card:nth-child(7) .menu-card__img img { animation-delay: -0.45s; }
.menu-card:nth-child(8) .menu-card__img img { animation-delay: -1.05s; }
.menu-card:nth-child(9) .menu-card__img img { animation-delay: -1.65s; }
.menu-card:nth-child(10) .menu-card__img img { animation-delay: -0.75s; }
.menu-card:nth-child(11) .menu-card__img img { animation-delay: -1.35s; }
.menu-card:nth-child(12) .menu-card__img img { animation-delay: -2.0s; }
.menu-card:nth-child(13) .menu-card__img img { animation-delay: -0.5s; }
.menu__note {
font-family: var(--font-secondary);
font-size: 0.95rem;
color: #888;
margin-bottom: var(--space-m);
padding-left: var(--space-2xs);
}
.menu__subtitle {
font-family: var(--font-secondary);
font-size: 1.2rem;
font-weight: 700;
color: var(--color-vert);
margin-top: var(--space-xl);
margin-bottom: var(--space-m);
padding-bottom: var(--space-xs);
border-bottom: 2px solid var(--color-lichen);
display: inline-block;
}
.menu__allergen-note {
font-size: 0.85rem;
color: #999;
margin-bottom: var(--space-m);
text-align: center;
}
.menu__footer {
text-align: center;
margin-top: var(--space-2xl);
}
/* ============================================
MISSION BANNER — Full-width photo section
============================================ */
.mission-banner {
position: relative;
min-height: 500px;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.mission-banner__bg {
position: absolute;
inset: 0;
z-index: 0;
}
.mission-banner__img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center right;
}
.mission-banner__overlay {
position: absolute;
inset: 0;
background: rgba(36, 98, 50, 0.7);
}
.mission-banner__content {
position: relative;
z-index: 1;
max-width: 650px;
padding: var(--space-3xl) var(--space-m);
text-align: center;
}
.mission-banner__title {
font-size: clamp(2rem, 4vw, 2.8rem);
color: var(--color-white);
margin-bottom: var(--space-m);
line-height: 1.15;
}
.mission-banner__title em {
color: var(--color-beige);
}
.mission-banner__desc {
font-size: 1.1rem;
color: rgba(255,255,255,0.85);
line-height: 1.8;
margin-bottom: var(--space-xl);
}
/* ============================================
TRAITEUR — with real photo
============================================ */
.traiteur {
background: var(--color-white);
}
.traiteur__layout {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space-3xl);
align-items: center;
}
.traiteur__visual {
position: relative;
}
.traiteur__img-main {
width: 100%;
border-radius: var(--radius-xl);
overflow: hidden;
}
.traiteur__img-main img {
width: 100%;
height: 100%;
object-fit: cover;
aspect-ratio: 4/5;
}
.traiteur__badge-float {
position: absolute;
top: var(--space-m);
right: -20px;
background: var(--color-white);
padding: var(--space-s) var(--space-m);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-lg);
text-align: center;
}
.traiteur__badge-float strong {
display: block;
font-size: 1.6rem;
color: var(--color-vert);
}
.traiteur__badge-float span {
font-size: 0.8rem;
color: #888;
}
.traiteur__content .section__title {
text-align: left;
}
.traiteur__desc {
font-size: 1.1rem;
color: #555;
line-height: 1.7;
margin-bottom: var(--space-xl);
}
.traiteur__features {
display: flex;
flex-direction: column;
gap: var(--space-m);
margin-bottom: var(--space-xl);
}
.traiteur__feature {
display: flex;
gap: var(--space-s);
align-items: flex-start;
}
.traiteur__feature-icon {
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
background: var(--color-beige);
border-radius: var(--radius-lg);
flex-shrink: 0;
color: var(--color-vert);
}
.traiteur__feature strong {
display: block;
font-size: 0.95rem;
margin-bottom: 2px;
}
.traiteur__feature p {
font-size: 0.85rem;
color: #888;
}
/* ============================================
CONTACT
============================================ */
.contact {
background: var(--color-white);
}
.contact__layout {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space-3xl);
align-items: start;
}
.contact__desc {
font-size: 1.05rem;
color: #555;
line-height: 1.7;
margin-bottom: var(--space-xl);
}
.contact__details {
display: flex;
flex-direction: column;
gap: var(--space-m);
}
.contact__detail {
display: flex;
gap: var(--space-s);
align-items: flex-start;
}
.contact__detail-icon {
width: 44px;
height: 44px;
display: flex;
align-items: center;
justify-content: center;
background: var(--color-beige);
border-radius: var(--radius-lg);
flex-shrink: 0;
color: var(--color-vert);
}
.contact__detail strong {
font-size: 0.9rem;
display: block;
margin-bottom: 2px;
}
.contact__detail p {
font-size: 0.88rem;
color: #777;
}
.contact__detail a {
color: var(--color-vert);
transition: color var(--duration-fast);
}
.contact__detail a:hover {
color: #1a4a25;
}
/* Contact Form */
.contact__form {
background: var(--color-beige);
padding: var(--space-xl);
border-radius: var(--radius-xl);
}
.form-group {
margin-bottom: var(--space-m);
}
.form-group label {
display: block;
font-size: 0.88rem;
font-weight: 600;
margin-bottom: var(--space-xs);
color: var(--color-body);
}
.form-group input,
.form-group select,
.form-group textarea {
width: 100%;
padding: 14px var(--space-s);
font-family: var(--font-primary);
font-size: 0.95rem;
border: 2px solid rgba(0,0,0,0.08);
border-radius: var(--radius-md);
background: var(--color-white);
transition: border-color var(--duration-fast);
outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
border-color: var(--color-vert);
}
.form-group textarea {
resize: vertical;
min-height: 120px;
}
.form-group select {
cursor: pointer;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 16px center;
padding-right: 40px;
}
/* ============================================
FOOTER — with newsletter
============================================ */
.footer {
background: var(--color-vert);
color: var(--color-white);
padding: var(--space-3xl) 0 var(--space-xl);
}
.footer__grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: var(--space-2xl);
padding-bottom: var(--space-2xl);
border-bottom: 1px solid rgba(255,255,255,0.25);
}
.footer__logo {
display: flex;
align-items: center;
margin-bottom: var(--space-s);
}
.footer__logo-img {
height: 48px;
width: auto;
border-radius: 50%;
}
.footer__brand p {
font-size: 0.9rem;
color: rgba(255,255,255,0.6);
line-height: 1.6;
}
.footer__social {
display: flex;
flex-direction: column;
gap: var(--space-xs);
}
.footer__social-link {
font-size: 0.88rem;
color: rgba(255,255,255,0.85);
transition: color var(--duration-fast);
}
.footer__social-link:hover {
color: var(--color-white);
}
.footer__col h4 {
font-size: 0.85rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.08em;
margin-bottom: var(--space-m);
color: var(--color-white);
}
.footer__col a,
.footer__col p {
display: block;
font-size: 0.88rem;
color: rgba(255,255,255,0.85);
margin-bottom: var(--space-xs);
transition: color var(--duration-fast);
}
.footer__col a:hover {
color: var(--color-white);
}
.footer__address {
margin-top: var(--space-s);
}
/* Newsletter */
.footer__newsletter {
margin-top: var(--space-xl);
}
.footer__newsletter h4 {
margin-bottom: var(--space-xs);
}
.footer__newsletter-desc {
font-size: 0.85rem;
color: rgba(255,255,255,0.5);
margin-bottom: var(--space-s);
}
.footer__newsletter-form {
display: flex;
gap: var(--space-xs);
}
.footer__newsletter-form input {
flex: 1;
padding: 10px var(--space-s);
font-family: var(--font-primary);
font-size: 0.88rem;
border: 1px solid rgba(255,255,255,0.2);
border-radius: var(--radius-md);
background: rgba(255,255,255,0.08);
color: var(--color-white);
outline: none;
transition: border-color var(--duration-fast);
}
.footer__newsletter-form input::placeholder {
color: rgba(255,255,255,0.4);
}
.footer__newsletter-form input:focus {
border-color: var(--color-white);
background: rgba(255,255,255,0.15);
}
.footer__bottom {
padding-top: var(--space-xl);
text-align: center;
}
.footer__bottom p {
font-size: 0.82rem;
color: rgba(255,255,255,0.7);
}
/* ============================================
MOBILE STICKY CTA
============================================ */
.mobile-cta {
display: none;
}
@media (max-width: 768px) {
.mobile-cta {
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 998;
padding: var(--space-s) var(--space-m);
padding-bottom: calc(var(--space-s) + env(safe-area-inset-bottom, 0px));
background: linear-gradient(to top, rgba(238, 231, 220, 0.98) 70%, rgba(238, 231, 220, 0) 100%);
display: block;
transform: translateY(100%);
opacity: 0;
transition: all 0.4s var(--ease-out);
}
.mobile-cta.visible {
transform: translateY(0);
opacity: 1;
}
.mobile-cta__btn {
width: 100%;
font-size: 1rem;
padding: 16px 32px;
box-shadow: var(--shadow-lg);
}
/* Add bottom padding to footer to avoid CTA overlap */
.footer {
padding-bottom: calc(var(--space-xl) + 80px);
}
}
/* ============================================
ANIMATIONS
============================================ */
.animate-fade-up {
opacity: 0;
transform: translateY(30px);
animation: fadeUp 0.8s var(--ease-out) forwards;
animation-delay: var(--delay, 0s);
}
@keyframes fadeUp {
to {
opacity: 1;
transform: translateY(0);
}
}
/* Scroll reveal */
.reveal {
opacity: 0;
transform: translateY(40px);
transition: all 0.7s var(--ease-out);
}
.reveal.visible {
opacity: 1;
transform: translateY(0);
}
/* ============================================
RESPONSIVE
============================================ */
@media (max-width: 1024px) {
.traiteur__layout {
gap: var(--space-2xl);
}
.menu-card {
min-width: calc((100% - var(--space-m)) / 2.3);
max-width: calc((100% - var(--space-m)) / 2.3);
}
}
@media (max-width: 768px) {
.nav__left,
.nav__right {
display: none;
}
.nav__burger {
display: flex;
}
.nav__container {
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: center;
}
.nav__logo {
margin: 0;
grid-column: 2;
justify-self: center;
}
.nav__burger {
grid-column: 3;
justify-self: end;
}
.nav__logo-img {
height: 60px;
}
.nav--scrolled .nav__logo-img {
height: 40px;
}
.nav {
height: var(--nav-height-mobile);
}
.menu__tabs {
flex-wrap: nowrap;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
justify-content: flex-start;
padding-bottom: var(--space-xs);
scrollbar-width: none;
-ms-overflow-style: none;
}
.menu__tabs::-webkit-scrollbar {
display: none;
}
.menu__tab {
flex-shrink: 0;
}
.menu__filters {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
justify-content: flex-start;
flex-wrap: nowrap;
scrollbar-width: none;
-ms-overflow-style: none;
padding: 0 var(--space-s) var(--space-xs);
margin-bottom: var(--space-l);
}
.menu__filters::-webkit-scrollbar {
display: none;
}
.menu__filter {
flex-shrink: 0;
font-size: 0.72rem;
padding: 5px 12px;
}
.menu__filter-reset {
flex-shrink: 0;
font-size: 0.7rem;
}
.menu-card {
min-width: 82%;
max-width: 82%;
}
.menu__grid {
scroll-padding-left: var(--space-s);
padding-left: var(--space-s);
gap: var(--space-s);
}
.traiteur__layout {
grid-template-columns: 1fr;
gap: var(--space-xl);
}
.traiteur__visual {
max-width: 500px;
margin: 0 auto;
order: -1;
}
.mission-banner {
min-height: 400px;
}
.mission-banner__overlay {
background: rgba(36, 98, 50, 0.75);
}
.mission-banner__content {
max-width: 100%;
padding: calc(var(--nav-height-mobile) + var(--space-xl)) var(--space-m) var(--space-2xl);
}
.mission-banner__title {
font-size: clamp(1.6rem, 5vw, 2.2rem);
}
.mission-banner__desc {
font-size: 0.95rem;
}
.section__title {
font-size: clamp(1.6rem, 5vw, 2.2rem);
}
.contact__layout {
grid-template-columns: 1fr;
gap: var(--space-xl);
}
.footer__grid {
grid-template-columns: 1fr 1fr;
gap: var(--space-xl);
}
.section {
padding: var(--space-2xl) 0;
}
.hero__content {
padding: var(--space-2xl) var(--space-m) var(--space-3xl);
}
/* Hide arrows on mobile — swipe is enough */
.hero__arrow {
display: none;
}
/* Dots above the fold, not overlapping tabs */
.hero__dots {
bottom: var(--space-m);
}
.hero__bg-img {
object-position: center 40%;
}
.hero {
min-height: 75vh;
}
/* Compact hero buttons */
.hero__actions {
flex-direction: column;
width: 100%;
gap: var(--space-xs);
}
.hero__actions .btn {
width: 100%;
padding: 14px 24px;
font-size: 0.9rem;
}
}
@media (max-width: 480px) {
.footer__grid {
grid-template-columns: 1fr;
}
.menu__tabs {
gap: var(--space-xs);
flex-wrap: nowrap;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
justify-content: flex-start;
padding-bottom: var(--space-xs);
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE/Edge */
}
.menu__tabs::-webkit-scrollbar {
display: none; /* Chrome/Safari */
}
.menu__tab {
font-size: 0.78rem;
padding: 8px 16px;
letter-spacing: 0.02em;
flex-shrink: 0;
}
.menu-card__img {
height: 220px;
}
.footer__newsletter-form {
flex-direction: column;
}
}