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

html {
    max-width: 100%;
    overflow-x: hidden
}

body {
    font-family: var(--font-corps), sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color)
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-titres), serif;
    color: var(--primary-color);
    margin-bottom: 15px
}

h1 {
    font-size: 2.5em;
    line-height: 1.2
}

h2 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color)
}

h3 {
    font-size: 1.8em
}

h4 {
    font-size: 1.4em;
    margin-bottom: 10px
}

p {
    margin-bottom: 15px
}

a {
    text-decoration: none;
    transition: color .3s ease
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9em;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: var(--transition, all 0.25s ease);
    cursor: pointer;
    border: none;
    text-decoration: none;
    margin-bottom: 12px
}

.btn:hover {
    transform: translateY(-1px)
}

.btn:focus-visible {
    outline: 3px solid var(--btn-color-dark);
    outline-offset: 2px
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(11,37,69,0.3)
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(11,37,69,0.4)
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-gold, var(--primary-color));
    color: var(--accent-gold, var(--primary-color))
}

.btn-secondary:hover {
    background: var(--accent-gold, var(--primary-color));
    color: var(--primary-dark, #000)
}

.ui-icon-primary {
    color: var(--primary-color)
}

.ui-card-title {
    font-family: var(--font-titres), serif;
    font-weight: 700;
    color: var(--text-color)
}

.ui-card-meta {
    font-family: var(--font-corps), sans-serif;
    color: var(--secondary-color);
    font-size: .9em
}

.ui-card-meta i {
    color: var(--primary-color)
}

header {
    background-color: var(--nav-bg);
    padding: 0;
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    border-bottom: 1px solid rgba(201,168,76,0.2)
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.logo {
    font-family: var(--font-titres), serif;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--accent-gold, var(--primary-color))
}

nav ul {
    list-style: none;
    display: flex
}

nav ul li {
    margin-left: 30px
}

nav ul li a {
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    position: relative;
    transition: color 0.25s ease
}

nav ul li a:hover {
    color: var(--accent-gold, var(--primary-light))
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-gold, var(--primary-color));
    left: 0;
    bottom: -5px;
    transition: width .3s
}

nav ul li a:hover::after {
    width: 100%
}

.hamburger-menu {
    display: none;
    cursor: pointer
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 5px 0;
    transition: .4s
}

.hero-section {
    background: var(--hero-bg, #FAFAF7);
    color: var(--hero-text-color, #0B2545);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height, 72px) + 60px) 0 80px;
    position: relative;
    overflow: hidden
}

/* Grande forme géométrique navy en arrière-plan à droite */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: var(--primary-color, #0B2545);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    opacity: 0.06;
    pointer-events: none
}

/* Ligne or horizontale décorative */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold, #C9A84C) 0%, transparent 60%);
    pointer-events: none
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 10
}

.hero-text {
    flex: 1;
    max-width: 580px
}

.hero-text h1 {
    font-family: var(--font-titres);
    font-size: 3.4em;
    line-height: 1.15;
    color: var(--hero-text-color, #0B2545);
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.02em
}

.hero-text h1 span {
    color: var(--accent-gold, var(--accent-color))
}

.hero-description {
    font-size: 1.05em;
    color: var(--text-light, #666677);
    line-height: 1.85;
    max-width: 520px;
    margin-bottom: 36px
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.35);
    color: #8B6914;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px
}

.hero-image {
    position: relative;
    flex-shrink: 0
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: conic-gradient(var(--accent-gold, #C9A84C) 0deg, transparent 120deg, var(--accent-gold, #C9A84C) 240deg, transparent 360deg);
    z-index: 0;
    opacity: 0.7
}

.hero-image .profile-photo {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(11, 37, 69, 0.2);
    border: 6px solid white;
    position: relative;
    z-index: 1;
    display: block;
    transition: transform 0.4s ease
}

.hero-image .profile-photo:hover {
    transform: scale(1.02)
}

.hero-buttons .btn:first-child {
    background: var(--primary-color, #0B2545);
    color: white;
    box-shadow: 0 8px 24px rgba(11,37,69,0.25)
}

.hero-buttons .btn:first-child:hover {
    background: var(--primary-dark, #061629);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(11,37,69,0.35)
}

.hero-buttons .btn:nth-child(2) {
    background: transparent;
    color: var(--primary-color, #0B2545);
    border: 2px solid var(--accent-gold, #C9A84C)
}

.hero-buttons .btn:nth-child(2):hover {
    background: var(--accent-gold, #C9A84C);
    color: var(--primary-dark, #061629);
    transform: translateY(-2px)
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(11,37,69,0.1)
}

.hero-stat-item {
    text-align: left
}

.hero-stat-number {
    font-family: var(--font-titres);
    font-size: 2em;
    font-weight: 700;
    color: var(--primary-color, #0B2545);
    line-height: 1
}

.hero-stat-number span {
    color: var(--accent-gold, #C9A84C)
}

.hero-stat-label {
    font-size: 0.78em;
    color: var(--text-light, #888);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px
}

#hero-animation-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none
}

.btn.fade-in.delay-2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 35px;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-corps), sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all .4s cubic-bezier(.175, .885, .32, 1.275);
    box-shadow: 0 10px 20px rgba(248, 159, 91, .2);
    border: 2px solid transparent
}

.btn.fade-in.delay-2:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(248, 159, 91, .4);
    background-color: var(--bg-color);
    color: var(--primary-color);
    border-color: var(--primary-color)
}

section {
    padding: 80px 0;
    position: relative
}

.section-title {
    margin-bottom: 60px;
    font-size: 3em;
    position: relative;
    padding-bottom: 10px;
    text-align: center
}

.section-title::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-gold, var(--primary-color));
    margin: 16px auto 0;
    border-radius: 2px
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -30px auto 50px;
    color: var(--secondary-color);
    font-family: Montserrat, sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
    font-style: italic;
    letter-spacing: .5px;
    position: relative;
    padding-bottom: 20px
}

.section-subtitle::after {
    content: '•';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-color);
    font-size: 1.2rem;
    opacity: .6
}

.bg-light {
    background-color: var(--bg-light)
}

.section-light {
    background: var(--bg-light, #F8F6F1);
    padding: 80px 0
}

.section-dark {
    background: var(--primary-dark);
    color: white;
    padding: 80px 0
}

.section-white {
    background: white;
    padding: 80px 0
}

.logo-grid .fa-solid,
.logo-grid .fa-brands {
    font-size: 3.5em;
    color: var(--secondary-color);
    opacity: .7;
    transition: color .3s ease, opacity .3s ease, transform .3s ease
}

.logo-grid .fa-solid:hover,
.logo-grid .fa-brands:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: scale(1.1)
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center
}

.about-text {
    line-height: 1.8
}

.about-logos h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary-color)
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    justify-items: center
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px
}

.expertise-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-md, var(--border-radius));
    box-shadow: var(--shadow-sm, var(--box-shadow));
    border: 1px solid var(--border-color);
    border-top: 3px solid transparent;
    text-align: center;
    transition: var(--transition, all 0.25s ease)
}

.expertise-card:hover {
    box-shadow: var(--shadow-md, 0 8px 25px rgba(0,0,0,.1));
    transform: translateY(-4px);
    border-top-color: var(--accent-gold, var(--primary-color))
}

.expertise-card .icon {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--primary-color)
}

.expertise-card h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 15px
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px
}

.value-card {
    background: var(--primary-color);
    color: white;
    padding: 32px;
    border-radius: var(--radius-md, var(--border-radius));
    box-shadow: var(--shadow-md, var(--box-shadow));
    text-align: center;
    transition: var(--transition, all 0.25s ease)
}

.value-card:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg, 0 8px 40px rgba(0,0,0,0.14))
}

.value-card .card-icon {
    color: var(--accent-gold, rgba(255,255,255,0.8));
    font-size: 2em;
    margin-bottom: 16px
}

.value-card .icon {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--text-color-light)
}

.value-card h3 {
    color: var(--text-color-light);
    font-size: 1.6em;
    margin-bottom: 10px
}

.value-card p {
    font-size: 1em;
    line-height: 1.7;
    opacity: .9
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 30px 0 20px 0
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f8f9fa;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 25px;
    font-size: .9rem;
    font-weight: 500;
    transition: all .3s ease;
    border: 2px solid transparent;
    font-family: var(--font-corps), sans-serif
}

.filter-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(248, 151, 91, .3)
}

.filter-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-dark)
}

.filter-btn i {
    font-size: .8rem
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 15px;
    padding: 10px 0
}

.recipes-track {
    display: flex;
    flex-wrap: nowrap !important;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 15px
}

.recipes-track::-webkit-scrollbar {
    display: none
}

.recipe-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
    background: var(--bg-color);
    border-radius: 15px;
    box-shadow: 0 5px 15px #00000014;
    display: flex;
    flex-direction: column;
    scroll-snap-align: center;
    contain: layout style paint
}

.recipe-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    justify-content: center
}

.recipe-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease
}

.recipe-img-wrapper:hover img {
    transform: scale(1.05)
}

.recipe-tag,
.recipe-tag-in {
    position: absolute;
    left: 20px;
    top: 15px;
    background: var(--primary-color);
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 700;
    font-family: var(--font-corps), sans-serif;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
    text-transform: uppercase;
    letter-spacing: .5px
}

.recipe-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-color);
    gap: 12px
}

.recipe-content h3 {
    font-family: var(--font-titres), serif;
    font-size: 1.3rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.recipe-content p {
    font-family: Montserrat, sans-serif;
    font-size: .9rem;
    color: var(--secondary-color);
    line-height: 1.5;
    margin: 0
}

.recipe-link {
    color: var(--primary-color);
    font-family: var(--font-corps), sans-serif;
    font-weight: 700;
    font-size: .9rem;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap .3s ease
}

.recipe-link:hover {
    color: var(--primary-dark);
    gap: 10px
}

.recipe-detail-section {
    padding: 120px 0 80px;
    background: var(--bg-color)
}

.recipe-main-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    margin-bottom: 30px;
    object-fit: cover;
    max-height: 500px
}

.ing-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.4
}

.ing-qty {
    color: var(--primary-color);
    font-weight: 500;
    font-size: .85rem;
    font-style: normal
}

.diet-advice {
    background: #eef7f2;
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid var(--accent-color);
    margin-bottom: 20px
}

.diet-advice h3 {
    color: var(--accent-color);
    font-size: 1.4rem
}

.diet-advice p {
    font-style: italic;
    margin-bottom: 0
}

.nutrition-analysis {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .03)
}

.nutrition-analysis h3 {
    font-family: var(--font-titres), serif;
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 20px;
    text-align: center
}

.macros-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px
}

.macro-bar-item {
    background: #fdfdfd;
    padding: 12px 10px;
    border-radius: 12px;
    border: 1px solid #f5f5f5;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform .3s ease;
    overflow: hidden
}

.macro-bar-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color)
}

.macro-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap
}

.macro-info span {
    font-family: Montserrat, sans-serif;
    font-size: 1rem;
    letter-spacing: .5px;
    color: var(--text-color)
}

.macro-info strong {
    font-family: var(--font-corps), sans-serif;
    font-size: .9rem;
    color: var(--secondary-color)
}

.progress-bg {
    width: 100%;
    height: 6px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 10px;
    transition: width 1s ease-in-out
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    cursor: pointer;
    z-index: 100;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease
}

.nav-btn:hover {
    background: var(--primary-color);
    color: #fff
}

.nav-btn.prev {
    left: 0
}

.nav-btn.next {
    right: 0
}

.nav-btn i {
    font-size: 1.2rem
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px
}

.dot {
    width: 10px;
    height: 10px;
    background: #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    transition: all .3s ease
}

.dot.active {
    background: var(--primary-color);
    width: 25px;
    border-radius: 10px
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .7);
    overflow-y: auto
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px
}

.modal-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px
}

.modal-main {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.recipe-modal-container {
    background: var(--bg-color);
    border-radius: 25px;
    max-width: 1000px;
    margin: 20px auto;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .2)
}

.recipe-modal-header {
    padding: 20px 10px 15px;
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-light), #fff)
}

.recipe-modal-header h1 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin: 15px 0;
    line-height: 1.2
}

.recipe-meta-bar {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 15px;
    color: var(--secondary-color);
    font-weight: 600
}

.recipe-meta-bar span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px !important
}

.recipe-modal-body {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    box-sizing: content-box;
    overflow-x: hidden
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    margin-bottom: 40px
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.ingredients-box ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.ingredients-box li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, .1);
    width: 100%
}

.ingredients-box li:last-child {
    border-bottom: none
}

.diet-advice-card {
    background-color: #EEF7F2;
    padding: 25px;
    border-radius: 15px;
    border-left: 6px solid var(--accent-color);
    margin-bottom: 40px
}

.diet-advice-card p {
    font-family: Montserrat, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #444
}

.diet-advice-card h3 {
    color: #5ab08d;
    margin-top: 0;
    margin-bottom: 10px;
    font-family: var(--font-titres), serif;
    display: flex;
    align-items: center;
    gap: 10px
}

.preparation_steps {
    width: 100%;
    margin-top: 30px
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 5px;
    background: #fff;
    border-radius: 12px;
    border-bottom: 1px solid #f0f0f0
}

.step-num {
    background: var(--primary-color);
    color: #fff;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-corps), sans-serif;
    flex-shrink: 0
}

.step-content p {
    margin: 0;
    font-family: Montserrat, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color)
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 600
}

.empty-message {
    text-align: center;
    color: var(--secondary-color);
    font-style: italic
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: .8s ease-out;
    will-change: transform, opacity
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    will-change: auto
}

.contact-section p {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 40px
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 40px;
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow)
}

.contact-form input[type=text],
.contact-form input[type=email],
.contact-form input[type=tel],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-corps), sans-serif;
    font-size: 1em
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical
}

.contact-form button {
    width: 100%
}

.social-links {
    text-align: center;
    margin-top: 30px
}

.social-links a {
    margin: 0 15px;
    color: var(--primary-color);
    transition: color .3s ease, transform .3s ease;
    font-size: 4rem
}

.social-links a:hover {
    color: var(--primary-dark);
    transform: scale(1.1)
}

footer {
    background-color: #333;
    color: var(--text-color-light);
    text-align: center;
    padding: 30px 0;
    font-size: .9em
}

.skill-item {
    position: relative;
    text-align: center;
    padding: 10px 5px;
    border-radius: var(--border-radius);
    transition: transform .3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.skill-detail {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%) scale(.8);
    width: auto;
    min-width: 150px;
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
    z-index: 20;
    font-size: .85em;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
    white-space: nowrap;
    text-align: center
}

.skill-detail::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    z-index: -1
}

.skill-item:hover .skill-detail {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-100%) scale(1)
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    margin-top: 30px;
    min-height: 68px;
    contain: layout
}

.rdv-spacer {
    flex-basis: 100%;
    height: 0px
}

.seo-hidden {
    display: none;
    visibility: hidden;
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.location-info {
    background: linear-gradient(135deg, rgba(248, 159, 91, .1) 0%, rgba(248, 159, 91, .05) 100%);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin-top: 25px;
    border-radius: 8px
}

.location-info p {
    margin: 10px 0 5px 0;
    font-weight: 500
}

.location-info ul {
    list-style: none;
    padding-left: 0;
    margin: 10px 0 0 0
}

.location-info li {
    padding: 8px 0;
    margin-left: 0;
    padding-left: 0
}

.location-info li:before {
    content: "✓ ";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 8px
}

.rdv-button-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid rgba(248, 159, 91, .12)
}

.btn-primary-rdv {
    background: linear-gradient(135deg, var(--btn-color) 0%, var(--btn-color-dark) 100%);
    color: #fff;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(3, 127, 140, .35);
    transition: all .3s ease;
    border: none;
    cursor: pointer;
    min-height: 52px;
    line-height: 1.2
}

.btn-primary-rdv:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(3, 127, 140, .45);
    background: linear-gradient(135deg, var(--btn-color-dark) 0%, #014d57 100%)
}

.btn-primary-rdv i {
    font-size: 20px
}

@media(max-width:768px) {
    .nav-btn.prev {
        left: 0
    }

    .nav-btn.next {
        right: 0
    }

    .carousel-wrapper {
        padding: 0 15px
    }

    .recipe-card {
        flex: 0 0 100%
    }

    .nav-btn {
        display: none
    }

    .about-grid {
        grid-template-columns: 1fr
    }

    header .container {
        padding: 0 15px
    }

    .hamburger-menu {
        display: block
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        box-shadow: 0 5px 10px rgba(0, 0, 0, .1)
    }

    nav ul.active {
        display: flex
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        justify-content: center
    }

    .rdv-spacer {
        height: 10px
    }

    .btn-primary-rdv {
        padding: 14px 30px;
        font-size: 16px;
        width: 100%;
        justify-content: center
    }

    .header-main-info h1 {
        font-size: 1.3rem !important
    }

    .nutrition-analysis h3 {
        font-size: 1.1rem !important;
        margin-bottom: 15px
    }

    .diet-advice-card h3 {
        font-size: 1.4rem !important
    }

    .ing-name {
        font-size: .95rem !important
    }

    .ing-qty {
        font-size: .8rem !important
    }

    .macro-info strong {
        font-size: .9rem !important
    }

    .macro-info span {
        font-size: 1rem !important;
        letter-spacing: 0
    }

    .recipe-grid-layout {
        display: flex !important;
        flex-direction: column;
        gap: 20px
    }

    .grid-right {
        width: 100%;
        display: flex;
        justify-content: center
    }

    .recipe-slider {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow-x: visible;
        scroll-snap-type: none
    }

    .recipe-card {
        width: 100%
    }

    .nutrition-analysis {
        width: 100% !important;
        padding: 15px !important;
        margin: 0;
        box-sizing: content-box
    }

    .macros-grid {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 8px
    }

    section.hero-section div.hero-content {
        display: flex !important;
        flex-direction: column !important;
        text-align: center;
        gap: 20px
    }

    .hero-text h1 {
        order: 1;
        font-size: 2em !important
    }

    .hero-image {
        order: 2;
        margin-top: 20px
    }

    .hero-image .profile-photo {
        width: 150px;
        height: auto
    }

    .section-title {
        font-size: 2em !important
    }

    .expertise-grid {
        grid-template-columns: 1fr
    }
}

/* ============================================
   GRILLE DE RECETTES (Page /recettes/)
   ============================================ */

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.grid-recipe-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.grid-recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(248, 159, 91, 0.15);
}

.grid-recipe-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.grid-recipe-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.grid-recipe-card:hover .grid-recipe-img img {
    transform: scale(1.05);
}

.grid-recipe-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.grid-recipe-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.grid-recipe-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.grid-recipe-content p {
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
    flex: 1;
}

.grid-recipe-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.grid-recipe-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.grid-recipe-meta i {
    color: var(--primary-color);
}

.grid-recipe-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.grid-recipe-link:hover {
    gap: 10px;
}

.filter-select {
    padding: 12px 40px 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    font-family: var(--font-corps), sans-serif;
    font-weight: 500;
    color: var(--text-color);
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333333' d='M6 9L1 4h10z'/%3E%3C/svg%3E") no-repeat right 16px center;
    background-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.filter-select:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(248, 159, 91, 0.15);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(248, 159, 91, 0.15);
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .recipes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .recipes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .recipes-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .grid-recipe-img {
        height: 200px;
    }
}

/* --- Styles spécifiques à la PWA installée --- */
@media all and (display-mode: standalone) {
    
    /* Cacher le bandeau d'accueil Hero pour gagner de la place */
    .hero-section {
        display: none !important;
    }

    /* Ajuster la navigation pour qu'elle ressemble à une barre d'appli */
    header {
        position: sticky;
        top: 0;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    /* Optionnel : Cacher le footer sur l'appli pour un look plus "clean" */
    footer {
        display: none;
    }
}