/* ============================================================
   CONKIM LODGE — Feuille de style publique
   ============================================================ */

:root {
    --vert-fonce: #2d3f1f;
    --vert-principal: #47632c;
    --vert-clair: #6b8c46;
    --vert-logo: #6b7c32;
    --creme: #f7f5ef;
    --creme-fonce: #ede8da;
    --blanc: #ffffff;
    --texte: #3c3c3c;
    --texte-clair: #767676;
    --dore: #c9a86a;
    --radius: 10px;
    --ombre: 0 8px 24px rgba(0,0,0,0.08);
    --font-titre: Georgia, 'Times New Roman', serif;
    --font-texte: 'Segoe UI', Arial, sans-serif;
}

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

body {
    font-family: var(--font-texte);
    color: var(--texte);
    line-height: 1.6;
    background: var(--blanc);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

h1, h2, h3, h4 { font-family: var(--font-titre); color: var(--vert-fonce); line-height: 1.25; }

.btn {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .2s ease;
}
.btn-vert { background: var(--vert-principal); color: #fff; }
.btn-vert:hover { background: var(--vert-fonce); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-outline-vert { background: transparent; border-color: var(--vert-principal); color: var(--vert-principal); }
.btn-outline-vert:hover { background: var(--vert-principal); color: #fff; }

.section-label {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--vert-clair);
    font-weight: 700;
    margin-bottom: 8px;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 24px;
    gap: 20px;
}
.site-logo img { width: 54px; height: 54px; border-radius: 50%; }
.site-nav { display: flex; gap: 26px; flex: 1; justify-content: center; flex-wrap: wrap; }
.site-nav a { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; color: var(--texte); padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.active { color: var(--vert-principal); border-bottom-color: var(--vert-principal); }
.btn-reserver { background: var(--vert-principal); color: #fff; padding: 10px 20px; border-radius: 6px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.btn-reserver:hover { background: var(--vert-fonce); }
.burger { display: none; background: none; border: none; font-size: 26px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: #fff;
}
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(20,30,15,0.55) 0%, rgba(20,30,15,0.15) 60%);
}
.hero-content { position: relative; z-index: 2; max-width: 620px; }
.hero-content h1 { font-size: 52px; color: #fff; letter-spacing: 1px; margin-bottom: 6px; }
.hero-content .hero-baseline { font-size: 18px; font-style: italic; color: var(--dore); margin-bottom: 18px; }
.hero-content .hero-tags { font-size: 14px; opacity: 0.9; margin-bottom: 26px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.hero-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; }
.hero-dots span.active { background: #fff; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.85); border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 18px; cursor: pointer; z-index: 2; }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

/* ---------- Bandeau services ---------- */
.services-bandeau { background: #fff; padding: 40px 0; border-bottom: 1px solid #eee; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; text-align: center; }
.service-item .service-icon { font-size: 30px; margin-bottom: 10px; }
.service-item h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.service-item p { font-size: 12px; color: var(--texte-clair); }

/* ---------- Sponsors ---------- */
.sponsors-bandeau { background: var(--creme); padding: 26px 0; }
.sponsors-bandeau-inner { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.sponsor-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 70px;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    flex-shrink: 0;
}
.sponsor-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ---------- Section "Pourquoi visiter" ---------- */
.decouvrir { padding: 70px 0; }
.decouvrir-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.decouvrir-texte h2 { font-size: 32px; margin: 6px 0 16px; }
.decouvrir-texte p { color: var(--texte-clair); margin-bottom: 22px; }
.decouvrir-cartes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.carte-decouvrir { border-radius: var(--radius); overflow: hidden; box-shadow: var(--ombre); }
.carte-decouvrir img { height: 150px; object-fit: cover; width: 100%; }
.carte-decouvrir .carte-texte { padding: 14px; }
.carte-decouvrir h4 { font-size: 13px; text-transform: uppercase; margin-bottom: 4px; }
.carte-decouvrir p { font-size: 12px; color: var(--texte-clair); }

/* ---------- Bandeau rubriques Destination ---------- */
.rubriques-bandeau { background: var(--creme-fonce); padding: 34px 0; }
.rubriques-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.rubriques-icones { display: flex; gap: 34px; flex-wrap: wrap; }
.rubrique-icone { text-align: center; font-size: 12px; color: var(--texte); }
.rubrique-icone .icon { font-size: 24px; margin-bottom: 6px; }

/* ---------- Chiffres clés ---------- */
.chiffres-bandeau { background: var(--vert-fonce); color: #fff; padding: 26px 0; }
.chiffres-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; text-align: center; }
.chiffre-item .valeur { font-size: 24px; font-weight: 700; }
.chiffre-item .label { font-size: 12px; opacity: 0.85; }

/* ---------- Hébergements ---------- */
.hebergements { padding: 70px 0; background: var(--creme); }
.hebergements-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.carte-hebergement { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--ombre); }
.carte-hebergement img { height: 180px; object-fit: cover; width: 100%; }
.carte-hebergement .contenu { padding: 16px; }
.carte-hebergement h4 { font-size: 15px; margin-bottom: 3px; }
.carte-hebergement p { font-size: 12px; color: var(--texte-clair); margin-bottom: 12px; }
.encart-reservation { background: var(--creme-fonce); border-radius: var(--radius); padding: 24px; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; }

/* ---------- Bloc double événements / restaurant ---------- */
.bloc-double { display: grid; grid-template-columns: 1fr 1fr; }
.bloc-double .panel { position: relative; min-height: 300px; background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 40px; color: #fff; }
.bloc-double .panel::after { content: ''; position: absolute; inset: 0; background: rgba(20,30,15,0.55); }
.bloc-double .panel-content { position: relative; z-index: 2; max-width: 380px; }
.bloc-double .panel-content .section-label { color: var(--dore); }
.bloc-double .panel-content h3 { color: #fff; font-size: 26px; margin-bottom: 10px; }
.bloc-double .panel-content p { font-size: 13px; margin-bottom: 16px; opacity: 0.9; }

/* ---------- Actualités ---------- */
.actualites-section { padding: 70px 0; }
.actualites-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.carte-actu { border-radius: var(--radius); overflow: hidden; box-shadow: var(--ombre); }
.carte-actu img { height: 150px; object-fit: cover; width: 100%; }
.carte-actu .contenu { padding: 16px; }
.carte-actu .date { font-size: 11px; color: var(--vert-clair); text-transform: uppercase; font-weight: 700; }
.carte-actu h4 { font-size: 14px; margin: 6px 0; }
.carte-actu p { font-size: 12px; color: var(--texte-clair); margin-bottom: 10px; }
.carte-actu a.lire-suite { font-size: 12px; font-weight: 700; color: var(--vert-principal); }

.section-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.section-header a { font-size: 13px; font-weight: 700; color: var(--vert-principal); }

/* ---------- Galerie ---------- */
.galerie-section { padding: 0 0 70px; }
.galerie-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.galerie-grid img { height: 110px; object-fit: cover; border-radius: 6px; cursor: pointer; transition: transform .2s; }
.galerie-grid img:hover { transform: scale(1.04); }
.galerie-cta { text-align: center; margin-top: 24px; }

/* ---------- Localisation ---------- */
.localisation { display: grid; grid-template-columns: 1fr 2fr; background: var(--vert-fonce); color: #fff; }
.localisation .infos { padding: 50px 40px; }
.localisation .infos p { font-size: 14px; margin: 14px 0 24px; opacity: 0.9; }
.localisation iframe, .localisation .map-placeholder { width: 100%; height: 100%; min-height: 280px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--vert-fonce); color: rgba(255,255,255,0.85); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 30px; padding: 60px 24px 40px; }
.footer-logo { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 14px; }
.footer-brand h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.footer-brand p { font-size: 13px; opacity: 0.75; }
.footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; font-size: 13px; }
.footer-col ul li a { opacity: 0.8; }
.footer-col ul li a:hover { opacity: 1; text-decoration: underline; }
.footer-contact li { opacity: 0.85; }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a { font-size: 12px; border: 1px solid rgba(255,255,255,0.3); padding: 6px 12px; border-radius: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding: 18px 0; text-align: center; font-size: 12px; opacity: 0.7; }

/* ---------- Pages intérieures génériques ---------- */
.page-banniere { position: relative; min-height: 260px; display: flex; align-items: center; background-size: cover; background-position: center; color: #fff; }
.page-banniere::after { content: ''; position: absolute; inset: 0; background: rgba(20,30,15,0.55); }
.page-banniere .container { position: relative; z-index: 2; }
.page-banniere h1 { color: #fff; font-size: 38px; }
.page-banniere p { opacity: 0.9; margin-top: 8px; }

.contenu-page { padding: 60px 0; }
.grille-cartes-generique { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.carte-generique { border-radius: var(--radius); overflow: hidden; box-shadow: var(--ombre); background: #fff; }
.carte-generique img { height: 200px; object-fit: cover; width: 100%; }
.carte-generique .contenu { padding: 18px; }
.carte-generique h3 { font-size: 17px; margin-bottom: 8px; }
.carte-generique p { font-size: 13px; color: var(--texte-clair); }

.formulaire-page { max-width: 620px; margin: 0 auto; }
.formulaire-page .form-group { margin-bottom: 18px; }
.formulaire-page label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.formulaire-page input, .formulaire-page select, .formulaire-page textarea {
    width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; font-family: inherit;
}
.formulaire-page textarea { min-height: 120px; resize: vertical; }
.formulaire-page .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.alerte { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; }
.alerte-succes { background: #eaf6ea; color: #2e7d32; border: 1px solid #b9ddb9; }
.alerte-erreur { background: #fdecea; color: #b3261e; border: 1px solid #f5c2c0; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .decouvrir-grid, .bloc-double, .localisation { grid-template-columns: 1fr; }
    .decouvrir-cartes, .hebergements-grid, .actualites-grid { grid-template-columns: repeat(2, 1fr); }
    .galerie-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .grille-cartes-generique { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; box-shadow: 0 8px 16px rgba(0,0,0,0.08); }
    .site-nav.open { display: flex; }
    .burger { display: block; }
    .hero-content h1 { font-size: 34px; }
    .decouvrir-cartes, .hebergements-grid, .actualites-grid, .footer-top, .grille-cartes-generique { grid-template-columns: 1fr; }
    .galerie-grid { grid-template-columns: repeat(3, 1fr); }
    .formulaire-page .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   ICÔNES SVG ANIMÉES (remplacent les emojis)
   ============================================================ */
.icon-svg {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.15em;
    overflow: visible;
}

/* Tailles standard utilisées dans le site */
.icon-lg { width: 34px; height: 34px; }
.icon-xl { width: 44px; height: 44px; }

/* Icônes de service / rubrique : grandes, animation douce en boucle */
.service-icon .icon-svg,
.rubrique-icone .icon .icon-svg {
    width: 30px;
    height: 30px;
    color: var(--vert-principal);
}

/* --- Animation générique de "respiration" douce --- */
@keyframes icon-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}
/* --- Flottement vertical léger --- */
@keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
/* --- Balancement (pour bateau / vagues) --- */
@keyframes icon-sway {
    0%, 100% { transform: rotate(-4deg); }
    50% { transform: rotate(4deg); }
}
/* --- Battement (coeur, pattes) --- */
@keyframes icon-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.18); opacity: 0.85; }
}
/* --- Rotation lente (globe, roue) --- */
@keyframes icon-spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
/* --- Petit rebond (calendrier, réservation) --- */
@keyframes icon-bounce {
    0%, 100% { transform: translateY(0); }
    30% { transform: translateY(-3px); }
    50% { transform: translateY(0); }
    70% { transform: translateY(-1.5px); }
}
/* --- Tremblement doux (notification, chat) --- */
@keyframes icon-wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(8deg); }
}
/* --- Apparition + zoom (check de succès) --- */
@keyframes icon-pop {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); }
}
/* --- Glissement vers le haut (upload) --- */
@keyframes icon-slide-up {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
/* --- Va-et-vient horizontal (flèche, lien) --- */
@keyframes icon-nudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

.icon-anim-bed, .icon-anim-people, .icon-anim-clipboard, .icon-anim-photo,
.icon-anim-doc, .icon-anim-newspaper, .icon-anim-handshake, .icon-anim-home {
    animation: icon-float 3s ease-in-out infinite;
}
.icon-anim-food, .icon-anim-leaf, .icon-anim-paw {
    animation: icon-pulse 2.2s ease-in-out infinite;
}
.icon-anim-boat, .icon-anim-waves {
    animation: icon-sway 2.6s ease-in-out infinite;
    transform-origin: 50% 90%;
}
.icon-anim-globe {
    animation: icon-spin-slow 12s linear infinite;
}
.icon-anim-calendar, .icon-anim-check-circle {
    animation: icon-bounce 2.4s ease-in-out infinite;
}
.icon-anim-dot {
    animation: icon-pulse 1.4s ease-in-out infinite;
    color: #d97706;
}
.icon-anim-chat {
    animation: icon-wiggle 3s ease-in-out infinite;
}
.icon-anim-check {
    animation: icon-pop 0.5s ease-out;
}
.icon-anim-upload {
    animation: icon-slide-up 1.6s ease-in-out infinite;
}
.icon-anim-arrow-right, .icon-anim-link-ext {
    animation: icon-nudge 1.4s ease-in-out infinite;
}
.icon-anim-palette, .icon-anim-landmark {
    animation: icon-float 3.4s ease-in-out infinite;
}
.icon-anim-plus, .icon-anim-save, .icon-anim-trash, .icon-anim-gear, .icon-anim-user, .icon-anim-door {
    transition: transform 0.2s ease;
}
a:hover .icon-anim-plus, button:hover .icon-anim-plus,
a:hover .icon-anim-save, button:hover .icon-anim-save { transform: scale(1.15); }
a:hover .icon-anim-trash, button:hover .icon-anim-trash { transform: rotate(-8deg); }
a:hover .icon-anim-gear, button:hover .icon-anim-gear { animation: icon-spin-slow 1.2s linear infinite; }
a:hover .icon-anim-door, button:hover .icon-anim-door { transform: translateX(3px); }

/* Respect des préférences d'accessibilité : pas d'animation si demandé par l'utilisateur */
@media (prefers-reduced-motion: reduce) {
    .icon-svg { animation: none !important; }
}

/* ---------- Nos Partenaires (espaces dédiés sponsors) ---------- */
.partenaires-section { padding: 60px 0; background: var(--creme); text-align: center; }
.partenaires-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.carte-partenaire {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--ombre);
    padding: 24px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 260px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.carte-partenaire:hover { transform: translateY(-6px); box-shadow: 0 14px 32px rgba(0,0,0,0.12); }
.carte-partenaire .logo-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
}
.carte-partenaire img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }

/* ============================================================
   ANIMATIONS AU SCROLL (page À propos et au-delà)
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1.is-visible { transition-delay: 0.1s; }
.reveal-delay-2.is-visible { transition-delay: 0.2s; }
.reveal-delay-3.is-visible { transition-delay: 0.3s; }
.reveal-delay-4.is-visible { transition-delay: 0.4s; }
.reveal-delay-5.is-visible { transition-delay: 0.5s; }
.reveal-delay-6.is-visible { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* Effet de zoom lent (Ken Burns) sur les bannières de page */
.page-banniere { overflow: hidden; }
.page-banniere::before {
    content: '';
    position: absolute; inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    animation: banniere-zoom 14s ease-in-out infinite alternate;
    z-index: 0;
}
.page-banniere > * { position: relative; z-index: 2; }
@keyframes banniere-zoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
    .page-banniere::before { animation: none; }
}

/* ---------- Atouts / points forts (page À propos) ---------- */
.atouts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 30px 0 50px;
}
.carte-atout {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--ombre);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.carte-atout:hover { transform: translateY(-8px); box-shadow: 0 16px 34px rgba(0,0,0,0.12); }
.carte-atout .icon-svg { width: 40px; height: 40px; color: var(--vert-principal); margin-bottom: 14px; }
.carte-atout h4 { font-size: 15px; margin-bottom: 8px; }
.carte-atout p { font-size: 13px; color: var(--texte-clair); }

/* ---------- Bandeau chiffres animés (page À propos) ---------- */
.chiffres-anime-bandeau {
    background: var(--vert-fonce);
    color: #fff;
    padding: 46px 0;
    text-align: center;
}
.chiffres-anime-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; }
.chiffre-anime-item .compteur-anime { font-size: 34px; font-weight: 700; display: block; }
.chiffre-anime-item .label { font-size: 13px; opacity: 0.85; margin-top: 6px; }

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