/* ============================================================
   SITE DE MARIAGE — Jeanne-Irène & Romual
   Palette : Vert Émeraude · Orange Brûlé · Or · Crème
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Open+Sans:wght@300;400;600;700&family=Montserrat:wght@400;600&display=swap');

/* --- CSS Variables --- */
:root {
    --emerald: #00695C;
    --emerald-dark: #004D40;
    --emerald-light: rgba(0, 105, 92, 0.85);
    --orange: #FF8C00;
    --orange-hover: #E07B00;
    --gold: #D4AF37;
    --gold-light: #FFD700;
    --cream: #F8F5F0;
    --cream-dark: #EDE8E0;
    --text-dark: #2C2C2C;
    --text-light: #F8F5F0;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --radius: 12px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', 'Montserrat', sans-serif;
    margin: 0;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--cream);
    overflow-x: hidden;
}

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

a {
    color: var(--orange);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--emerald);
    line-height: 1.3;
}

.script-title {
    font-family: 'Great Vibes', 'Vivaldi', cursive;
}

/* --- Gold Separator --- */
.gold-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px auto;
    max-width: 300px;
}

.gold-separator::before,
.gold-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.gold-separator .dot {
    width: 8px;
    height: 8px;
    background-color: var(--gold);
    border-radius: 50%;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--emerald-dark);
}

/* Top bar */
.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    flex-wrap: wrap;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.header-logo .monogram {
    width: 50px;
    height: 50px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Great Vibes', cursive;
    font-size: 1.4em;
    color: var(--gold);
    background-color: rgba(0, 0, 0, 0.2);
}

.header-logo .couple-names {
    font-family: 'Great Vibes', cursive;
    font-size: 1.2em;
    color: var(--gold-light);
    letter-spacing: 1px;
}

/* Main Navigation */
.nav-main {
    display: flex;
    align-items: center;
}

.nav-main ul {
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.nav-main ul li a {
    display: block;
    padding: 12px 12px;
    color: var(--gold-light);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.72em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.nav-main ul li a::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--orange);
    transition: width 0.3s ease;
}

.nav-main ul li a:hover::after,
.nav-main ul li a.active::after {
    width: 60%;
}

.nav-main ul li a:hover {
    color: var(--orange);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--gold-light);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================================
   COUNTDOWN SECTION — Flip Clock (visible first after menu)
   ============================================================ */
.countdown-section {
    background-color: var(--cream);
    text-align: center;
    padding: 35px 20px 30px;
}

.countdown-label {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1em;
    color: var(--emerald);
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.countdown-flip {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
}

.flip-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flip-digits {
    display: flex;
    gap: 4px;
}

.flip-card {
    width: 52px;
    height: 66px;
    background: var(--emerald-dark);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.flip-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.2);
}

.flip-card span {
    font-family: 'Playfair Display', serif;
    font-size: 2.4em;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
}

.flip-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.65em;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--emerald);
    margin-top: 6px;
}

.flip-sep {
    font-family: 'Playfair Display', serif;
    font-size: 2.4em;
    font-weight: 700;
    color: var(--emerald-dark);
    line-height: 66px;
    margin: 0 2px;
}

/* ============================================================
   HERO CARD (Accueil) — Photo complète + texte overlay
   ============================================================ */
.hero-card-section {
    background-color: var(--cream);
    display: flex;
    justify-content: center;
    padding: 40px 20px 50px;
}

.hero-card {
    position: relative;
    display: inline-block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    max-width: 550px;
    width: 100%;
}

.hero-card-img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 77, 64, 0.25) 0%,
        rgba(0, 77, 64, 0.55) 50%,
        rgba(0, 77, 64, 0.75) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 30px 20px;
    text-align: center;
}

.hero-card-overlay .welcome-invitation {
    font-family: 'Times New Roman', 'Playfair Display', serif;
    font-size: 1em;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 5px;
    opacity: 0.9;
}

.hero-card-overlay .hero-title {
    font-family: 'Great Vibes', 'Vivaldi', cursive;
    font-size: 3.5em;
    color: var(--gold-light);
    margin-bottom: 10px;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.hero-card-overlay .hero-date {
    font-family: 'Playfair Display', serif;
    font-size: 1.3em;
    color: var(--orange);
    letter-spacing: 3px;
    margin-bottom: 3px;
}

.hero-card-overlay .hero-location {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95em;
    color: var(--cream);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ============================================================
   STORY TRIO — Photo | Texte | Photo
   ============================================================ */
.story-trio {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 30px;
    align-items: start;
}

.story-trio-photo {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.story-trio-photo img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.story-trio-photo:hover img {
    transform: scale(1.03);
}

.story-trio-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.05em;
    line-height: 1.9;
    color: var(--text-dark);
    padding: 10px 0;
}

.story-trio-text p {
    margin-bottom: 15px;
}

/* --- Theme Section (Accueil) --- */
.section-theme {
    background-color: var(--cream);
    padding: 80px 20px;
    text-align: center;
}

.section-theme .theme-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.section-theme .theme-photo {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.section-theme .theme-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.section-theme .theme-photo:hover img {
    transform: scale(1.03);
}

.section-theme .theme-text {
    text-align: left;
}

.section-theme .theme-text h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5em;
    color: var(--emerald);
    margin-bottom: 20px;
}

.section-theme .theme-label {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1em;
    color: var(--emerald);
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-theme .theme-value {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8em;
    color: var(--orange);
    margin-top: 5px;
}

.section-theme .color-swatches {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.section-theme .swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    box-shadow: var(--shadow-light);
}

/* ============================================================
   PAGE SECTIONS (Général)
   ============================================================ */
.page-hero {
    background-color: var(--emerald);
    color: var(--white);
    text-align: center;
    padding: 60px 20px 50px;
    position: relative;
}

.page-hero h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5em;
    color: var(--gold-light);
    margin-bottom: 10px;
}

.page-hero p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--cream);
    font-size: 1.1em;
}

.section {
    padding: 70px 20px;
}

.section-emerald {
    background-color: var(--emerald);
    color: var(--text-light);
}

.section-cream {
    background-color: var(--cream);
}

.section-white {
    background-color: var(--white);
}

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

/* ============================================================
   NOTRE HISTOIRE
   ============================================================ */

/* Hero with background image */
.histoire-hero {
    position: relative;
    background-image: url('/pictures/4.png');
    background-size: cover;
    background-position: center 30%;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.histoire-hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 77, 64, 0.70);
    z-index: 1;
}

.histoire-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Photo pair — equal sizes */
.story-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.story-pair-photo {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 3 / 4;
}

.story-pair-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease;
}

.story-pair-photo:hover img {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .story-pair {
        grid-template-columns: 1fr;
    }

    .histoire-hero {
        min-height: 250px;
    }
}

.story-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.story-block.reverse {
    direction: rtl;
}

.story-block.reverse > * {
    direction: ltr;
}

.story-photo {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: inline-block;
    align-self: start;
}

.story-photo img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.story-photo-full {
    display: flex;
    justify-content: center;
}

.story-photo-full img {
    max-height: 500px;
    width: auto;
}

.story-photo:hover img {
    transform: scale(1.03);
}

.story-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1em;
    line-height: 1.9;
    color: var(--text-dark);
}

.story-text p {
    margin-bottom: 15px;
}

.story-full-photo {
    text-align: center;
    margin: 40px 0;
}

.story-full-photo img {
    max-width: 700px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ============================================================
   PROGRAMME
   ============================================================ */
.programme-date {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.6em;
    color: var(--gold-light);
    letter-spacing: 3px;
    margin-bottom: 40px;
}

/* Lieu cards */
.lieux-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.lieu-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.lieu-card:hover {
    transform: translateY(-5px);
}

.lieu-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.lieu-card .lieu-info {
    padding: 25px;
}

.lieu-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--emerald);
    margin-bottom: 8px;
}

.lieu-card p {
    color: #666;
    font-size: 0.95em;
}

/* Programme simplifié card */
.programme-card {
    background: rgba(0, 77, 64, 0.75);
    border-radius: var(--radius);
    padding: 50px 40px;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(4px);
}

.programme-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent);
    border-radius: 50%;
}

.programme-card h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5em;
    color: var(--gold-light);
    text-align: center;
    margin-bottom: 30px;
}

.programme-card .attention {
    text-align: center;
    color: var(--orange);
    font-weight: 700;
    font-size: 1.1em;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.programme-item {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    align-items: baseline;
}

.programme-item:last-child {
    border-bottom: none;
}

.programme-item .time {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1em;
    color: var(--gold-light);
    min-width: 140px;
    white-space: nowrap;
}

.programme-item .description {
    color: var(--cream);
    font-size: 0.95em;
}

.programme-important {
    text-align: center;
    background-color: rgba(255, 140, 0, 0.15);
    border: 1px solid var(--orange);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 25px;
    color: var(--orange);
    font-weight: 700;
}

/* Programme background section — image continue SNY06214 */
.programme-bg-section {
    position: relative;
    background-image: url('/pictures/SNY06214.png');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

.programme-bg-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 77, 64, 0.80);
    z-index: 1;
}

.programme-bg-content {
    position: relative;
    z-index: 2;
    padding: 70px 20px;
}

/* Programme photo card — like image 6.png */
.programme-photo-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    margin: 0 auto;
}

.programme-photo-img {
    display: block;
    width: 100%;
    height: auto;
}

.programme-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 77, 64, 0.4) 0%,
        rgba(0, 77, 64, 0.75) 35%,
        rgba(0, 77, 64, 0.88) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 25px;
    text-align: center;
}

.programme-photo-overlay h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2em;
    color: var(--gold-light);
    margin-bottom: 15px;
}

.programme-photo-overlay .attention {
    color: var(--orange);
    font-weight: 700;
    font-size: 0.95em;
    margin-bottom: 20px;
}

/* Programme items centered */
.programme-item-centered {
    text-align: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.programme-item-centered:last-of-type {
    border-bottom: none;
}

.programme-item-centered .time {
    display: block;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1em;
    color: var(--gold-light);
    margin-bottom: 3px;
}

.programme-item-centered .description {
    color: var(--cream);
    font-size: 0.9em;
    font-style: italic;
}

/* Menu container — reduced width */
.menu-container {
    max-width: 700px;
}

/* Menu Mariage */
.menu-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 50px 40px;
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 4px solid var(--gold);
}

.menu-card h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5em;
    color: var(--emerald);
    margin-bottom: 30px;
}

.menu-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 25px;
    margin-bottom: 10px;
}

.menu-card p, .menu-card li {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #555;
    font-size: 1.05em;
}

.menu-card ul {
    list-style: none;
    padding: 0;
}

.menu-card li {
    padding: 5px 0;
}

.menu-card .ou-separator {
    color: var(--orange);
    font-weight: 600;
    font-style: normal;
}

/* ============================================================
   INFOS PRATIQUES
   ============================================================ */

/* Hébergements grid */
.hebergements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.hotel-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.hotel-card:hover {
    transform: translateY(-5px);
}

.hotel-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.hotel-card .hotel-info {
    padding: 20px;
}

.hotel-card h3 {
    font-size: 1.1em;
    color: var(--emerald);
    margin-bottom: 5px;
}

.hotel-card p {
    font-size: 0.9em;
    color: #666;
}

.hotel-card a.hotel-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background-color: var(--orange);
    color: var(--white);
    border-radius: 25px;
    font-size: 0.85em;
    font-weight: 600;
    transition: var(--transition);
}

.hotel-card a.hotel-link:hover {
    background-color: var(--gold);
}

/* Transport section */
.transport-section {
    margin-top: 50px;
}

.transport-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.transport-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--gold);
}

.transport-card h3 {
    color: var(--emerald);
    margin-bottom: 15px;
    font-size: 1.3em;
}

.transport-card ul {
    list-style: none;
    padding: 0;
}

.transport-card li {
    padding: 8px 0;
    border-bottom: 1px solid var(--cream-dark);
}

.transport-card li:last-child {
    border-bottom: none;
}

.transport-card a {
    color: var(--orange);
    font-weight: 600;
}

/* Transport visual cards */
.transport-visual-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.transport-visual-card.reverse {
    direction: rtl;
}

.transport-visual-card.reverse > * {
    direction: ltr;
}

.transport-visual-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.transport-img-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.transport-img-duo img {
    height: 100%;
    min-height: 200px;
}

.transport-visual-content {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.transport-visual-content h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 2em;
    color: var(--emerald);
    margin-bottom: 15px;
}

.transport-visual-content p {
    color: #555;
    margin-bottom: 10px;
}

.transport-visual-content ul {
    list-style: none;
    padding: 0;
}

.transport-visual-content li {
    padding: 6px 0;
    border-bottom: 1px solid var(--cream-dark);
    color: #444;
}

.transport-visual-content li:last-child {
    border-bottom: none;
}

.transport-visual-content a {
    color: var(--orange);
    font-weight: 600;
}

@media (max-width: 768px) {
    .transport-visual-card,
    .transport-visual-card.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .transport-visual-img img {
        height: 200px;
    }

    .transport-img-duo img {
        min-height: 150px;
    }
}

/* Bon à savoir */
.bon-a-savoir-card {
    background-color: var(--emerald);
    color: var(--text-light);
    border-radius: var(--radius);
    padding: 40px;
    margin-top: 50px;
}

.bon-a-savoir-card h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5em;
    color: var(--gold-light);
    text-align: center;
    margin-bottom: 30px;
}

.bon-a-savoir-card h3 {
    color: var(--gold-light);
    margin-top: 25px;
    margin-bottom: 10px;
}

.bon-a-savoir-card p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.bon-a-savoir-card a {
    color: var(--orange);
    text-decoration: underline;
}

.itineraire-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 25px;
    background-color: var(--orange);
    color: var(--white);
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.itineraire-btn:hover {
    background-color: var(--gold);
    color: var(--white);
}

/* ============================================================
   CADEAUX
   ============================================================ */
.cadeaux-section {
    position: relative;
    overflow: hidden;
}

/* Cadeaux photo box */
.cadeaux-photo-box {
    max-width: 500px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cadeaux-photo-box img {
    width: 100%;
    height: auto;
    display: block;
}

.cadeaux-message {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.3em;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--cream);
    line-height: 1.8;
}

.cadeaux-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.cadeau-card {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius);
    padding: 30px;
}

.cadeau-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold-light);
    margin-bottom: 15px;
    font-size: 1.3em;
}

.cadeau-card p, .cadeau-card li {
    color: var(--cream);
    font-size: 0.95em;
    line-height: 1.8;
}

.cadeau-card ul {
    list-style: none;
    padding: 0;
}

.cadeau-card strong {
    color: var(--gold-light);
}

/* ============================================================
   RSVP / FORMULAIRE
   ============================================================ */
/* RSVP photo banner */
.rsvp-photo-banner {
    position: relative;
    height: 420px;
    overflow: hidden;
}

.rsvp-photo-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.rsvp-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 77, 64, 0.3), rgba(0, 77, 64, 0.8));
}

.rsvp-section {
    background-color: var(--emerald);
    color: var(--text-light);
    padding: 80px 20px;
}

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

.rsvp-container h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    color: var(--gold-light);
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.rsvp-subtitle {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--cream);
    margin-bottom: 30px;
    font-size: 1.1em;
}

.rsvp-steps {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 35px;
    align-items: center;
}

.rsvp-step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9em;
    color: var(--gold);
    transition: var(--transition);
}

.rsvp-step.active {
    background-color: var(--gold);
    color: var(--emerald-dark);
}

.rsvp-step-line {
    width: 40px;
    height: 2px;
    background-color: rgba(212, 175, 55, 0.4);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--cream);
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(248, 245, 240, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background-color: rgba(255, 255, 255, 0.15);
}

.form-group select option {
    background-color: var(--emerald-dark);
    color: var(--cream);
}

/* Presence buttons */
.presence-buttons {
    display: flex;
    gap: 15px;
}

.presence-btn {
    flex: 1;
    padding: 14px;
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    background-color: transparent;
    color: var(--cream);
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95em;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.presence-btn:hover {
    border-color: var(--gold);
}

.presence-btn.selected-oui {
    background-color: var(--gold);
    color: var(--emerald-dark);
    border-color: var(--gold);
}

.presence-btn.selected-non {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--cream);
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 16px;
    background-color: var(--gold);
    color: var(--emerald-dark);
    border: none;
    border-radius: 6px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: var(--orange);
    color: var(--white);
}

/* ============================================================
   LIVRE D'OR
   ============================================================ */
.guestbook-form-section {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.guestbook-form-section h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 2em;
    color: var(--emerald);
    margin-bottom: 25px;
    text-align: center;
}

.guestbook-form-section input,
.guestbook-form-section textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--cream-dark);
    border-radius: 6px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    transition: var(--transition);
    margin-bottom: 15px;
}

.guestbook-form-section input:focus,
.guestbook-form-section textarea:focus {
    outline: none;
    border-color: var(--emerald);
}

.guestbook-form-section button {
    display: inline-block;
    padding: 14px 40px;
    background-color: var(--emerald);
    color: var(--gold-light);
    border: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1em;
    cursor: pointer;
    transition: var(--transition);
}

.guestbook-form-section button:hover {
    background-color: var(--orange);
    color: var(--white);
}

.guestbook-entry {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--gold);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.guestbook-entry h3 {
    font-family: 'Playfair Display', serif;
    color: var(--emerald);
    font-size: 1.1em;
    margin-bottom: 5px;
}

.guestbook-entry .date {
    font-size: 0.85em;
    color: #999;
    margin-bottom: 10px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background-color: var(--emerald-dark);
    color: var(--cream);
    padding: 0;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 30px 30px;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold-light);
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.footer-section p,
.footer-section li {
    color: var(--cream);
    font-size: 0.9em;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section a {
    color: var(--orange);
}

.footer-section a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    font-size: 0.85em;
    color: rgba(248, 245, 240, 0.7);
}

.footer-bottom .love-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    margin-bottom: 5px;
    color: var(--cream);
}

/* ============================================================
   ANIMATIONS (Fade-in on scroll)
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .hebergements-grid {
        grid-template-columns: 1fr 1fr;
    }

    .story-block {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .story-block.reverse {
        direction: ltr;
    }

    .story-trio {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .section-theme .theme-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .lieux-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-main {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--emerald-dark);
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    .nav-main.open {
        right: 0;
    }

    .nav-main ul {
        flex-direction: column;
        gap: 0;
    }

    .nav-main ul li a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(212, 175, 55, 0.15);
        font-size: 0.95em;
    }

    .nav-main ul li a::after {
        display: none;
    }

    .hero-card-overlay .hero-title {
        font-size: 2.4em;
    }

    .hero-card-overlay .welcome-invitation {
        font-size: 0.8em;
        letter-spacing: 3px;
    }

    .hero-card-overlay .hero-date {
        font-size: 1em;
    }

    .flip-card {
        width: 38px;
        height: 50px;
    }

    .flip-card span {
        font-size: 1.8em;
    }

    .flip-sep {
        font-size: 1.8em;
        line-height: 50px;
    }

    .countdown-flip {
        gap: 5px;
    }

    .hebergements-grid {
        grid-template-columns: 1fr;
    }

    .transport-grid {
        grid-template-columns: 1fr;
    }

    .cadeaux-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-hero h1 {
        font-size: 2.5em;
    }

    .programme-card {
        padding: 30px 20px;
    }

    .programme-item {
        flex-direction: column;
        gap: 5px;
    }

    .programme-item .time {
        min-width: auto;
    }

    .presence-buttons {
        flex-direction: column;
    }

    .rsvp-container h1 {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    .hero-section .hero-title {
        font-size: 2.2em;
    }

    .hero-section {
        padding: 40px 15px;
    }

    .section {
        padding: 50px 15px;
    }

    .flip-card {
        width: 32px;
        height: 42px;
    }

    .flip-card span {
        font-size: 1.4em;
    }

    .flip-sep {
        font-size: 1.4em;
        line-height: 42px;
    }

    .flip-label {
        font-size: 0.55em;
    }
}
