/*
Theme Name: F. Coste Location
Theme URI: https://fcostelocation.be
Author: F. Coste Location
Author URI: https://fcostelocation.be
Description: Thème personnalisé pour F. Coste Location - Location de châteaux gonflables et de sonorisations pour anniversaires, fêtes de village, kermesses et événements familiaux.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fco-theme
*/

/* ===== VARIABLES & RESET ===== */
:root {
    --primary-red: #e63946;
    --primary-yellow: #ffd60a;
    --primary-green: #2a9d8f;
    --primary-blue: #2563eb;
    --primary-orange: #f4a261;
    --primary-purple: #8b5cf6;

    --text-dark: #1e293b;
    --text-gray: #64748b;
    --text-light: #94a3b8;

    --bg-cream: #fef9f3;
    --bg-white: #ffffff;
    --bg-dark: #1e293b;

    --gradient-rainbow: linear-gradient(90deg, #e63946 0%, #f4a261 20%, #ffd60a 40%, #2a9d8f 60%, #2563eb 80%, #8b5cf6 100%);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: var(--gradient-rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.logo {
    justify-self: start;
}

.logo img {
    height: 50px;
}

.nav {
    display: flex;
    gap: 30px;
    justify-self: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-gray);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-rainbow);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-self: end;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-red);
    font-weight: 600;
}

.phone-link i {
    font-size: 14px;
}

.btn-reserver {
    background: var(--primary-red);
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition);
}

.btn-reserver:hover {
    background: #c92a36;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
}

/* Cacher le bouton Réserver mobile sur desktop */
.nav-reserver-mobile {
    display: none;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-cream) 0%, #fff5eb 100%);
}

.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.7;
    animation: fall linear infinite;
}

.particle:nth-child(1) {
    width: 8px;
    height: 8px;
    background: var(--primary-red);
    left: 5%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 6px;
    height: 6px;
    background: var(--primary-yellow);
    left: 10%;
    animation-duration: 10s;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    width: 10px;
    height: 10px;
    background: var(--primary-green);
    left: 15%;
    animation-duration: 7s;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    width: 7px;
    height: 7px;
    background: var(--primary-blue);
    left: 20%;
    animation-duration: 9s;
    animation-delay: 0.5s;
}

.particle:nth-child(5) {
    width: 5px;
    height: 5px;
    background: var(--primary-orange);
    left: 25%;
    animation-duration: 11s;
    animation-delay: 3s;
}

.particle:nth-child(6) {
    width: 9px;
    height: 9px;
    background: var(--primary-purple);
    left: 30%;
    animation-duration: 8.5s;
    animation-delay: 1.5s;
}

.particle:nth-child(7) {
    width: 6px;
    height: 6px;
    background: var(--primary-red);
    left: 35%;
    animation-duration: 10s;
    animation-delay: 2.5s;
}

.particle:nth-child(8) {
    width: 8px;
    height: 8px;
    background: var(--primary-yellow);
    left: 40%;
    animation-duration: 7.5s;
    animation-delay: 0.8s;
}

.particle:nth-child(9) {
    width: 7px;
    height: 7px;
    background: var(--primary-green);
    left: 45%;
    animation-duration: 9.5s;
    animation-delay: 4s;
}

.particle:nth-child(10) {
    width: 10px;
    height: 10px;
    background: var(--primary-blue);
    left: 50%;
    animation-duration: 8s;
    animation-delay: 1.2s;
}

.particle:nth-child(11) {
    width: 5px;
    height: 5px;
    background: var(--primary-orange);
    left: 55%;
    animation-duration: 11s;
    animation-delay: 2.8s;
}

.particle:nth-child(12) {
    width: 8px;
    height: 8px;
    background: var(--primary-purple);
    left: 60%;
    animation-duration: 7s;
    animation-delay: 0.3s;
}

.particle:nth-child(13) {
    width: 6px;
    height: 6px;
    background: var(--primary-red);
    left: 65%;
    animation-duration: 9s;
    animation-delay: 3.5s;
}

.particle:nth-child(14) {
    width: 9px;
    height: 9px;
    background: var(--primary-yellow);
    left: 70%;
    animation-duration: 10.5s;
    animation-delay: 1.8s;
}

.particle:nth-child(15) {
    width: 7px;
    height: 7px;
    background: var(--primary-green);
    left: 75%;
    animation-duration: 8s;
    animation-delay: 2.2s;
}

.particle:nth-child(16) {
    width: 5px;
    height: 5px;
    background: var(--primary-blue);
    left: 80%;
    animation-duration: 12s;
    animation-delay: 0.7s;
}

.particle:nth-child(17) {
    width: 10px;
    height: 10px;
    background: var(--primary-orange);
    left: 85%;
    animation-duration: 7.5s;
    animation-delay: 4.5s;
}

.particle:nth-child(18) {
    width: 6px;
    height: 6px;
    background: var(--primary-purple);
    left: 90%;
    animation-duration: 9s;
    animation-delay: 1.1s;
}

.particle:nth-child(19) {
    width: 8px;
    height: 8px;
    background: var(--primary-red);
    left: 95%;
    animation-duration: 10s;
    animation-delay: 3.2s;
}

.particle:nth-child(20) {
    width: 7px;
    height: 7px;
    background: var(--primary-yellow);
    left: 8%;
    animation-duration: 8.5s;
    animation-delay: 2.7s;
}

@keyframes fall {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }

    10% {
        opacity: 0.7;
    }

    90% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes gentle-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.hero-container {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-white);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    animation: gentle-float 3s ease-in-out infinite;
}

.hero-badge i {
    color: var(--primary-green);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title .gradient-text {
    font-size: 4rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.hero-locations {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.hero-locations i {
    color: var(--primary-red);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.btn {
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
}

.btn-primary:hover {
    background: #c92a36;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-dark);
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    border-color: var(--text-dark);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
}

/* ===== CHÂTEAUX SECTION ===== */
.chateaux-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.chateaux-section .container {
    max-width: 1400px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-full);
    background: var(--bg-white);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.filter-btn.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

.chateaux-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.chateau-card {
    background: var(--bg-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.chateau-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.chateau-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.chateau-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.chateau-card:hover .chateau-image img {
    transform: scale(1.05);
}

.chateau-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: white;
    z-index: 2;
}

.chateau-badge.classique {
    background: var(--primary-red);
}

.chateau-badge.aquatique {
    background: var(--primary-blue);
}

.chateau-badge.thematique {
    background: var(--primary-purple);
}

.chateau-badge.petits {
    background: var(--primary-green);
}

.chateau-content {
    padding: 20px 25px 25px;
}

.chateau-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.chateau-description {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
    min-height: 44px;
}

.chateau-specs {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.chateau-specs span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 500;
}

.chateau-specs span:nth-child(1) i {
    color: var(--primary-red);
}

.chateau-specs span:nth-child(2) i {
    color: var(--primary-green);
}

.chateau-specs span:nth-child(3) i {
    color: var(--primary-blue);
}

.chateau-specs i {
    font-size: 14px;
}

.btn-reserver-card {
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    background: transparent;
    transition: var(--transition);
    cursor: pointer;
}

.btn-reserver-card:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

/* Image Overlay */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    cursor: pointer;
    color: white;
    gap: 8px;
}

.image-overlay i {
    font-size: 32px;
}

.image-overlay span {
    font-size: 14px;
    font-weight: 600;
}

.chateau-image:hover .image-overlay {
    opacity: 1;
}

/* ===== GALLERY MODAL ===== */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal-content {
    background: var(--bg-white);
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    padding: 30px;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-dark);
    transition: var(--transition);
    z-index: 10;
}

.gallery-close:hover {
    background: var(--primary-red);
    color: white;
}

.gallery-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-right: 50px;
}

.gallery-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.gallery-main-image {
    max-width: 100%;
    max-height: 60vh;
    border-radius: 16px;
    object-fit: contain;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    background: var(--bg-white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-dark);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.gallery-nav:hover {
    background: var(--primary-red);
    color: white;
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.gallery-thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    border: 3px solid transparent;
}

.gallery-thumbnail:hover {
    opacity: 1;
}

.gallery-thumbnail.active {
    opacity: 1;
    border-color: var(--primary-red);
}

.gallery-counter {
    text-align: center;
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
}

/* ===== CONDITIONS SECTION ===== */
.conditions-section {
    padding: 100px 0;
    background: var(--bg-cream);
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.condition-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.condition-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.condition-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.condition-icon i {
    font-size: 20px;
    color: var(--primary-red);
}

.condition-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.condition-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.condition-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-gray);
}

.condition-list li i {
    color: var(--primary-green);
    margin-top: 4px;
    flex-shrink: 0;
}

.info-box {
    background: #fef3cd;
    border-left: 4px solid var(--primary-orange);
    padding: 25px;
    border-radius: var(--radius-md);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-box>i {
    color: var(--primary-orange);
    font-size: 24px;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.info-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.contact-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-cream);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon.phone {
    background: #fee2e2;
    color: var(--primary-red);
}

.contact-icon.email {
    background: #dbeafe;
    color: var(--primary-blue);
}

.contact-icon.location {
    background: #d1fae5;
    color: var(--primary-green);
}

.contact-icon i {
    font-size: 18px;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 14px;
    color: var(--text-gray);
}

.contact-value {
    font-weight: 600;
    color: var(--text-dark);
}

.contact-value:hover {
    color: var(--primary-red);
}

.owner-info {
    background: var(--bg-cream);
    padding: 25px;
    border-radius: var(--radius-lg);
    margin-top: 10px;
}

.owner-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.owner-info p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.contact-form-container {
    background: var(--bg-cream);
    padding: 40px;
    border-radius: var(--radius-xl);
}

.contact-form-container h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background: #c92a36;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
    background: transparent;
}

.footer-brand .custom-logo-link img,
.footer-brand .custom-logo {
    background: transparent;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.footer-contact-info i {
    width: 16px;
    color: var(--primary-red);
}

.footer-legal-links {
    margin-top: 15px;
}

.footer-legal-links a {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: white;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.footer-contact i {
    width: 16px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid var(--text-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #334155;
    padding-top: 30px;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

.footer-legal-inline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-legal-inline a {
    color: var(--text-light);
    font-size: 14px;
    transition: var(--transition);
}

.footer-legal-inline a:hover {
    color: white;
}

.footer-legal-inline .separator {
    color: var(--text-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .chateaux-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    /* Header mobile */
    .header-container {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }

    /* Logo mobile - logo entier */
    .logo img {
        height: 40px;
        width: auto;
    }

    /* Cacher le bouton Réserver et téléphone sur mobile */
    .header-actions {
        display: none;
    }

    /* Bouton menu hamburger */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        background: var(--bg-cream);
        border-radius: 10px;
        z-index: 1001;
    }

    /* Navigation mobile - menu déroulant */
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 15px;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        z-index: 999;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }

    .nav.active {
        display: flex;
    }

    .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid #f1f5f9;
        font-size: 16px;
        color: var(--text-dark);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link::after {
        display: none;
    }

    /* Bouton Réserver dans le menu mobile */
    .nav-reserver-mobile {
        display: block;
        background: var(--primary-red);
        color: white !important;
        padding: 15px 20px;
        border-radius: 10px;
        text-align: center;
        font-weight: 600;
        margin-top: 10px;
    }

    .nav-reserver-mobile:hover {
        background: #c92a36;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-title .gradient-text {
        font-size: 3rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 30px;
    }

    .chateaux-grid {
        grid-template-columns: 1fr;
    }

    .conditions-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-title .gradient-text {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-form-container {
        padding: 25px;
    }
}

/* =========================================
   14. COOKIE POPUP (PRO VERSION)
   ========================================= */
.cookie-popup {
    position: fixed;
    bottom: 30px;
    left: 30px;
    max-width: 380px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.cookie-popup.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content h4 {
    margin: 0 0 12px;
    font-size: 1.1rem;
    color: #0f172a;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-content h4 i {
    color: var(--primary-red);
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

.cookie-content a {
    color: var(--primary-red);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.cookie-content a:hover {
    color: #b91c1c;
}

.cookie-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-solid,
.btn-text {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
}

.btn-solid {
    background: var(--primary-red);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25);
}

.btn-solid:hover {
    background: #d62f3c;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(230, 57, 70, 0.35);
}

.btn-text {
    background: #f1f5f9;
    color: #475569;
}

.btn-text:hover {
    background: #e2e8f0;
    color: #1e293b;
}

@media (max-width: 480px) {
    .cookie-popup {
        left: 15px;
        right: 15px;
        bottom: 15px;
        max-width: none;
        padding: 20px;
    }
}

/* =========================================
   15. LEGAL MODALS
   ========================================= */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.legal-modal.active {
    display: flex;
    opacity: 1;
}

.legal-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.legal-modal.active .legal-modal-content {
    transform: translateY(0);
}

.legal-modal-header {
    padding: 25px;
    border-bottom: 1px solid #e2e8f0;
}

.legal-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #1e293b;
    font-weight: 700;
}

.legal-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
    font-size: 16px;
}

.legal-modal-close:hover {
    background: #e63946;
    color: #ffffff;
    transform: rotate(90deg);
}

.legal-modal-body {
    padding: 25px;
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
}

.legal-modal-body h4 {
    color: #1e293b;
    margin: 25px 0 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.legal-modal-body h4:first-child {
    margin-top: 0;
}

.legal-modal-body p,
.legal-modal-body ul {
    margin-bottom: 15px;
}

.legal-modal-body ul {
    padding-left: 20px;
}

.legal-modal-body li {
    margin-bottom: 5px;
}