/* ========================================
   VARIABLES 
   ======================================== */
:root {
    --color-white:      #ffffff;
    --color-charcoal:   #353535;
    --color-brand:     #6d1513;
    --color-accent:     #d9caca;


    --bg-light:         #f8f7f4;
    --section-light-bg: #ffffff;
    --texte-sombre:     #262626;
    --texte-doux:       #3f3f3f;
    --texte-clair:      #ffffff;
    --footer-bg:        #353535;
    --footer-text:      #ffffff;

    /* Fonts */
    --font-heading: 'Edo SZ', serif;
    --font-body: 'Playfair Display', serif;


    /* Vagues — centralisé */
    --wave-height:      90px;
    --wave-overlap:     calc(var(--wave-height) - 2px);
    --wave-svg-light:   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,55 C280,100 560,20 720,55 C880,88 1160,10 1440,50 L1440,90 L0,90 Z' fill='%23ffffff'/%3E%3C/svg%3E");
    --wave-svg-dark:    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,55 C280,100 560,20 720,55 C880,88 1160,10 1440,50 L1440,90 L0,90 Z' fill='%236d1513'/%3E%3C/svg%3E");
}

/* ========================================
   BASE
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--texte-sombre);
    background: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Texture papier subtile */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Ccircle cx='1' cy='1' r='0.5' fill='%23540b0e' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--color-brand);
}

h4{
    font-family: var(--font-body);
    line-height: 1.4;
    font-size: 1.2rem;
    color: black;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}



/* ========================================
   SECTIONS — THÈMES LIGHT / DARK
   ========================================

   HTML pattern :
     hero          (dark implicite)
     #presentation .section          → clair
     #calendrier   .section--dark    → sombre
     #trouver      .section--light   → clair
     #galerie      .section--dark    → sombre
     #contact      .section--light   → clair

   Deux classes suffisent pour tout piloter :
     .section--light  →  fond crème, texte sombre
     .section--dark   →  fond bordeaux, texte clair

   .section (sans modifieur) se comporte comme
   .section--light pour la rétrocompatibilité.
   ======================================== */

/* --- Base commune (padding + position) --- */
.section,
.section--light,
.section--dark {
    position: relative;
    z-index: 1;
    padding: 5.5rem 5%;
}

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

/* --- Thème clair --- */
.section:not(.section--dark),
.section--light {
    background: var(--section-light-bg);
    color: var(--texte-sombre);
}

/* --- Thème sombre --- */
.section--dark {
    background-color: var(--color-brand);
    color: var(--texte-clair);
}



.section--dark .section-title  { color: var(--texte-clair); }
.section--dark .section-subtitle { color: rgba(255, 255, 255, 0.92); }
.section--dark .section-divider  { background: var(--honey-bronze); }

/* ========================================
   VAGUES — SYSTÈME PROPRE
   ========================================

   Principe : chaque section (sauf hero) porte
   un ::before en vague, coloré dans sa PROPRE
   couleur de fond, qui déborde vers le haut
   sur la section précédente.

   → .section--light::before  =  vague crème
   → .section--dark::before   =  vague bordeaux

   Pas de ::after, pas d'override par ID,
   pas de z-index multiples.
   ======================================== */

/* Positionnement commun */
.section::before,
.section--light::before,
.section--dark::before {
    content: '';
    position: absolute;
    top: calc(-1 * var(--wave-overlap));
    left: 0;
    right: 0;
    height: var(--wave-height);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: top center;
    pointer-events: none;
    z-index: 2;
}



/* Vague crème — sections claires */
.section:not(.section--dark)::before,
.section--light::before {
    background-image: var(--wave-svg-light);
}

/* Vague bordeaux — sections sombres */
.section--dark::before {
    background-image: var(--wave-svg-dark);
}

/* ========================================
   SECTION HEADER
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: 1rem;
}

.section-title::before,
.section-title::after {
    content: '✦';
    display: inline-block;
    font-size: 0.82em;
    color: var(--color-brand);
    vertical-align: baseline;
 
}

.section-title::before {
    margin-right: 0.55rem;
    transform: translateY(-1px);
}

.section-title::after {
    margin-left: 0.55rem;
    transform: translateY(-1px);
}

.section--dark .section-title::before,
.section--dark .section-title::after {
    color: var(--color-white);
  
}

.section-divider {
    width: 56px;
    height: 3px;
    background: var(--honey-bronze);
    margin: 0.8rem auto 0;
    border-radius: 2px;
    position: relative;
}

.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--brown-red);
    border-radius: 50%;
}

.section-divider::before { left: -10px; }
.section-divider::after  { right: -10px; }

.section-subtitle {
    margin-top: 1.2rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--texte-doux);
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   CALENDRIER
   ======================================== */
.schedule-board {
    width: min(760px, 100%);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    padding: 1.6rem 1.4rem 1.2rem;
}

.schedule-title {
    color: var(--color-white);
    font-size: clamp(1.2rem, 3vw, 1.55rem);
    margin: 0 auto 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    width: fit-content;
    text-align: center;
    padding: 0.52rem 1.05rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.schedule-list {
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.schedule-item {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    color: var(--color-white);
    line-height: 1;
}

.schedule-day {
    min-width: 2.9ch;
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 7vw, 3.9rem);
    font-weight: 700;
    color: var(--color-white);
}

.schedule-month {
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 4vw, 2.25rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-white);
}

.schedule-separator {
    height: 5px;
    margin: 0.35rem 0 0.45rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1px;
}

/* ========================================
   FADE-IN
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   PLACEHOLDERS
   ======================================== */
.placeholder-block {
    background: rgba(84, 11, 14, 0.05);
    border: 2px dashed rgba(158, 42, 43, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(84, 11, 14, 0.35);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section--dark .placeholder-block {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.7);
}

.placeholder-block--tall { min-height: 320px; }
.placeholder-block--map  { width: 100%; aspect-ratio: 4 / 3; }

/* ========================================
   PRÉSENTATION
   ======================================== */
.presentation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.presentation-image {
    width: 100%;
}

.presentation-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow:
        0 14px 34px rgba(53, 53, 53, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.14);
}

.img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    background: rgba(84, 11, 14, 0.05);
    border: 2px dashed rgba(158, 42, 43, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(84, 11, 14, 0.35);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.presentation-text h3 {
    font-size: 1.7rem;
    color: var(--color-brand);
    margin-bottom: 1.2rem;
}

.presentation-text p {
    color: var(--texte-doux);
    margin-bottom: 1rem;
    line-height: 1.85;
}

.section--dark .presentation-text h3,
.section--dark .presentation-text p {
    color: var(--color-white);
}




/* ========================================
   COMMENT NOUS TROUVER
   ======================================== */
.trouver-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.map-embed {
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(53, 53, 53, 0.14);
}

.trouver-info {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.info-block {
    padding: 0.25rem 0 0.25rem 1.15rem;
    border-left: 3px solid var(--honey-bronze);
}

.info-block h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--color-charcoal);
    margin-bottom: 0.55rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
}

.info-block p {
    color: var(--texte-sombre);
    line-height: 1.9;
    font-size: 1.14rem;
    font-weight: 500;
}

.info-block--access {
    padding-bottom: 0.6rem;
}


.trouver-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.trouver-photos--large {
    margin-top: 2rem;
    gap: 1rem;
}

.trouver-photos--large img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(53, 53, 53, 0.16);
}

.mini-photo-placeholder {
    aspect-ratio: 1;
    border-radius: 8px;
    background: rgba(84, 11, 14, 0.05);
    border: 2px dashed rgba(158, 42, 43, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(84, 11, 14, 0.3);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ========================================
   GALERIE
   ======================================== */
#galerie .section-header {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.gallery-item.gallery-placeholder {
    background: rgba(255, 255, 255, 0.08);
    border: 2px dashed rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: default;
    pointer-events: none;
}

.gallery-item.gallery-placeholder:hover {
    transform: none;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.14),
        0 2px 8px rgba(255, 255, 255, 0.12);
}



/* ========================================
   CONTACT + FOOTER
   ======================================== */
.contact-section {
    padding-top: 4.2rem;
    padding-bottom: 3.2rem;
}

.footer {
    position: relative;
    background: linear-gradient(180deg, #6d1513 0%, #5e110f 100%);
    color: var(--color-white);
    padding: 1.35rem 2.2rem 1.1rem;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(560px, 84%);
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.78) 20%,
        rgba(245, 225, 198, 0.95) 50%,
        rgba(255, 255, 255, 0.78) 80%,
        rgba(255, 255, 255, 0) 100%
    );
    box-shadow: 0 0 10px rgba(245, 225, 198, 0.35);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2.4rem;
}

.footer-top {
    display: grid;
    gap: 1.1rem;
    justify-items: center;
    text-align: center;
}

.footer-text {
    max-width: 640px;
}

.footer-text p {
    font-size: 1.08rem;
    opacity: 0.9;
    margin: 0;
}

.footer-text p + p {
    margin-top: 0.55rem;
}

.footer-title {
    font-family: var(--font-heading);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 1.35rem;
    opacity: 1;
}

.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--color-white);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.footer-link:hover {
    opacity: 1;
    color: var(--color-white);
    transform: translateY(-2px);
}

.footer-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 500;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: transparent;
    color: var(--color-white);
}

.footer-icon[data-icon="phone"]::before {
    content: "\260E";
    font-size: 1.45rem;
}

.footer-icon[data-icon="mail"]::before {
    content: "\2709";
    font-size: 1.3rem;
}

.footer-link:hover .footer-icon,
.footer-link:focus .footer-icon {
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    transform: scale(1.12);
}

.footer-showcase {
    display: grid;
    gap: 0.85rem;
    width: min(460px, 100%);
    margin: 0 auto;
    padding: 1.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.2);
}

.footer-showcase-kicker {
    font-size: 0.85rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    opacity: 0.78;
}

.footer-showcase-title {
    font-size: 1.4rem;
    color: var(--color-white);
    display: block;
    width: fit-content;
    margin: 0 auto;
}

.footer-showcase-note {
    font-size: 0.92rem;
    opacity: 0.8;
}

.footer-insta-frame {
    background: #fafafa;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    min-height: 20px;
}

.footer-insta-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

.footer-insta-cta {
    display: flex;
    justify-content: center;
    width: fit-content;
    margin: auto;
    padding: 0.58rem 1rem;
    border-radius: 999px;
    background: var(--color-white);
    color: var(--color-brand);
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-insta-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.powered-by img {
    height: 30px;
    vertical-align: middle;
    margin-left: 0;
    transition: transform 0.3s ease;
}

.powered-by:hover img {
    transform: scale(1.08);
}

