/* ============================================
   LA CAPITANE - Pages intérieures
   ============================================ */

/* === PAGE HERO (petite version) === */
.page-hero {
    background: linear-gradient(135deg, var(--bleu-marine) 0%, var(--bleu-logo) 100%);
    padding: 160px 20px 100px;
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23faf9f7' d='M0,50L60,45C120,40,240,30,360,35C480,40,600,60,720,65C840,70,960,60,1080,50C1200,40,1320,30,1380,25L1440,20L1440,100L1380,100C1320,100,1200,100,1080,100C960,100,840,100,720,100C600,100,480,100,360,100C240,100,120,100,60,100L0,100Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
}

.page-hero-small {
    padding: 140px 20px 80px;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-badge {
    display: inline-block;
    background: var(--dore);
    color: var(--bleu-marine);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.page-hero h1 {
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.page-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* === LOGEMENT DETAIL === */
.logement-detail {
    padding: 60px 0;
    background: var(--blanc-casse);
}

.logement-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Gallery */
.logement-gallery {
    position: sticky;
    top: 100px;
}

.gallery-main {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: var(--shadow-medium);
}

.gallery-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-main img:hover {
    transform: scale(1.02);
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.gallery-thumbs img {
    border-radius: 10px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.gallery-thumbs img:hover,
.gallery-thumbs img.active {
    opacity: 1;
    transform: scale(1.05);
}

/* Quick Info */
.logement-quick-info {
    display: flex;
    gap: 25px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-light);
}

.quick-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--bleu-marine);
}

.quick-item svg {
    color: var(--bleu-logo);
}

/* Description */
.logement-description h2 {
    margin-bottom: 20px;
}

.logement-description p {
    color: var(--gris-texte);
    line-height: 1.8;
}

/* Price Box */
.logement-price-box {
    background: linear-gradient(135deg, var(--bleu-marine) 0%, var(--bleu-logo) 100%);
    color: white;
    padding: 30px;
    border-radius: 16px;
    margin-top: 30px;
    text-align: center;
}

.price-main {
    margin-bottom: 15px;
}

.price-amount {
    font-family: var(--font-titre);
    font-size: 2.5rem;
    font-weight: 600;
}

.price-unit {
    font-size: 1.1rem;
    opacity: 0.9;
}

.price-note {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 20px;
}

.logement-price-box .btn {
    width: 100%;
}

/* === ÉQUIPEMENTS === */
.equipements {
    background: white;
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

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

.equipement-category {
    background: var(--sable-clair);
    padding: 25px;
    border-radius: 12px;
}

.equipement-category h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--bleu-marine);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-family: var(--font-corps);
    font-weight: 600;
}

.equipement-category h3 svg {
    color: var(--bleu-logo);
}

.equipement-category ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.equipement-category li {
    color: var(--gris-texte);
    font-size: 0.95rem;
    padding-left: 20px;
    position: relative;
}

.equipement-category li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--dore);
    font-weight: bold;
}

/* === CTA BUTTONS === */
.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1rem;
}

/* === CONTACT SECTION === */
.contact-section {
    padding: 60px 0 80px;
    background: var(--blanc-casse);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Form */
.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
}

.contact-form-wrapper h2 {
    margin-bottom: 10px;
}

.contact-form-wrapper > p {
    color: var(--gris-clair);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--bleu-marine);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid var(--sable);
    border-radius: 10px;
    font-family: var(--font-corps);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--blanc-casse);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bleu-logo);
    background: white;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.form-checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.form-checkbox label {
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--gris-texte);
}

/* Contact Info */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
}

.contact-card h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-benefits svg {
    color: var(--dore);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-benefits span {
    font-size: 0.95rem;
    color: var(--gris-texte);
}

.contact-benefits strong {
    color: var(--bleu-marine);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
}

.contact-item svg {
    color: var(--bleu-logo);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--bleu-marine);
    margin-bottom: 5px;
}

.contact-item p {
    margin: 0;
    color: var(--gris-texte);
    font-size: 0.95rem;
}

.contact-item a {
    color: var(--bleu-logo);
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Highlight card */
.contact-card-highlight {
    background: linear-gradient(135deg, var(--bleu-marine) 0%, var(--bleu-logo) 100%);
    color: white;
    text-align: center;
}

.rating-badge {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}

.rating-score {
    font-family: var(--font-titre);
    font-size: 3rem;
    font-weight: 700;
}

.rating-label {
    font-size: 1.5rem;
    opacity: 0.8;
}

.contact-card-highlight p {
    margin: 0;
    opacity: 0.9;
}

/* === LIGHTBOX === */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 15px;
    transition: var(--transition);
}

.lightbox-close {
    top: 20px;
    right: 30px;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--dore);
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .logement-grid {
        grid-template-columns: 1fr;
    }
    
    .logement-gallery {
        position: static;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 20px 80px;
    }
    
    .logement-quick-info {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .gallery-main img {
        height: 280px;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-thumbs img {
        height: 70px;
    }
}

@media (max-width: 480px) {
    .logement-quick-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .price-amount {
        font-size: 2rem;
    }
}

/* =========================================
   PAGE LA BAULE
   ========================================= */

.page-hero-small {
    min-height: 200px;
    background: linear-gradient(135deg, var(--bleu-marine) 0%, #2a4a7f 100%);
}

.page-hero-labaule {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.9), rgba(43, 124, 179, 0.8)), 
                url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1920&h=600&fit=crop');
    background-size: cover;
    background-position: center;
}

.page-hero-contact {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.95), rgba(43, 124, 179, 0.9));
}

.labaule-intro {
    padding: 4rem 0;
    background: var(--blanc);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--bleu-marine);
    margin-bottom: 1.5rem;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gris-fonce);
    margin-bottom: 1rem;
}

.labaule-section {
    padding: 4rem 0;
}

.labaule-section:nth-child(even) {
    background: var(--sable-clair);
}

/* Section Grid (2 colonnes) */
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-reverse .section-grid {
    direction: rtl;
}

.section-reverse .section-grid > * {
    direction: ltr;
}

.section-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.section-badge {
    display: inline-block;
    background: var(--dore);
    color: var(--bleu-marine);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-content h2 {
    font-family: var(--font-display);
    color: var(--bleu-marine);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.section-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: #555;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--bleu-logo);
    font-weight: bold;
}

.distance-note {
    background: var(--sable);
    padding: 1rem;
    border-radius: 8px;
    color: var(--bleu-marine);
    font-weight: 500;
}

/* Activities Grid */
.labaule-activities {
    padding: 4rem 0;
    background: white;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.activity-card {
    background: var(--sable-clair);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.activity-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.activity-card h3 {
    color: var(--bleu-marine);
    margin-bottom: 0.75rem;
}

.activity-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Places Grid */
.labaule-places {
    padding: 4rem 0;
    background: var(--sable-clair);
}

.places-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.place-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

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

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

.place-info {
    padding: 1.25rem;
}

.place-info h3 {
    color: var(--bleu-marine);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.place-info p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

/* Pratique Grid */
.labaule-pratique {
    padding: 4rem 0;
}

.pratique-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pratique-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.pratique-card h3 {
    color: var(--bleu-marine);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.pratique-card ul {
    list-style: none;
}

.pratique-card li {
    padding: 0.5rem 0;
    color: #555;
    line-height: 1.6;
}

/* Contact Sidebar Cards */
.sidebar-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}

.sidebar-card h3 {
    color: var(--bleu-marine);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list-simple {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list-simple li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

.benefits-list-simple li:last-child {
    border-bottom: none;
}

.benefits-list-simple strong {
    display: block;
    color: var(--bleu-marine);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.benefits-list-simple p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.benefit-icon {
    font-size: 1.5rem;
    color: var(--bleu-marine);
}

.benefit-icon svg {
    fill: var(--bleu-marine);
    width: 24px;
    height: 24px;
}

.benefits-list strong {
    display: block;
    color: var(--bleu-marine);
    font-size: 0.95rem;
}

.benefits-list p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.contact-direct .contact-info a {
    color: var(--bleu-logo);
    font-weight: 600;
}

.rating-card {
    text-align: center;
    background: linear-gradient(135deg, var(--bleu-marine) 0%, var(--bleu-logo) 100%);
    color: white;
}

.rating-card h3 {
    color: white;
}

.rating-reviews {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Checkbox styling */
.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #555;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.contact-form-container h2 {
    font-family: var(--font-display);
    color: var(--bleu-marine);
    margin-bottom: 0.5rem;
}

.contact-form-container > p {
    color: #666;
    margin-bottom: 2rem;
}

.contact-sidebar {
    position: sticky;
    top: 100px;
}

/* Responsive La Baule */
@media (max-width: 992px) {
    .section-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-reverse .section-grid {
        direction: ltr;
    }
    
    .activities-grid,
    .pratique-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .places-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .contact-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .marche-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .marche-jour {
        min-width: auto;
    }
    
    .intro-content h2 {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .activities-grid,
    .pratique-grid {
        grid-template-columns: 1fr;
    }
    
    .places-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =======================================
   LIGHTBOX
   ======================================= */
.gallery-main {
    position: relative;
    cursor: pointer;
}

.gallery-main .gallery-image {
    transition: transform 0.3s ease;
}

.gallery-main:hover .gallery-image {
    transform: scale(1.02);
}

.gallery-zoom-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-main:hover .gallery-zoom-hint {
    opacity: 1;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover {
    opacity: 1;
}
