/* ===== RESET ET BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== FONTS ===== */
@font-face {
    font-family: 'Template2';
    src: url('https://static.tildacdn.com/tild3062-6165-4566-b037-333464616532/QwitcherGrypen-Regul.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Template2';
    src: url('https://static.tildacdn.com/tild3333-3663-4136-b762-316238616139/PlayfairDisplay-Vari.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

/* ===== VARIABLES CSS ===== */
:root {
    --primary-color: #292f38;
    --accent-color: #e2cd96;
    --text-light: #f8f0ed;
    --text-dark: #292f38;
    --font-primary: 'Template2', Arial, sans-serif;
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

/* ===== BASE STYLES ===== */
body {
    font-family: var(--font-primary);
    background-color: var(--primary-color);
    color: var(--accent-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== PRELOADER ===== */
body.loading {
    overflow: hidden;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--primary-color);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.dot-loader {
    font-family: var(--font-primary);
    font-size: 29px;
    color: var(--accent-color);
    display: inline-block;
    white-space: nowrap;
    position: relative;
    left: 3%;
}

.dots {
    display: inline-block;
    width: 1.5em;
    text-align: left;
    overflow: hidden;
    vertical-align: bottom;
    position: relative;
}

.dots::before {
    content: "";
    display: inline-block;
    animation: dots-appear 1.2s steps(4, end) infinite;
    white-space: nowrap;
}

@keyframes dots-appear {
    0%   { content: "";     }
    25%  { content: ".";    }
    50%  { content: "..";   }
    75%  { content: "...";  }
    100% { content: "";     }
}

.loader-ring-wrapper {
    position: relative;
    width: 170px;
    height: 170px;
    background-image: url('images/logo_3_miakac.png');
    background-position: center;
    background-size: 100%;
    margin-bottom: 18px;
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    /* padding: 50px 0; */
    position: relative;
}

.section--hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.section--content {
    background-color: var(--text-light);
    color: var(--text-dark);
    border-radius: var(--border-radius);
    padding: 60px 40px;
    margin: 40px auto;
    max-width: 800px;
    position: relative;
}

/* ===== HERO SECTION ===== */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    position: relative;
}

.hero__image {
    width: 100%;
    max-width: 426px;
    height: auto;
    border-radius: var(--border-radius);
}

.hero__date {
    font-size: 30px;
    /* margin-bottom: 20px; */
    color: var(--accent-color);
}

.hero__names {
    font-size: 75px;
    font-weight: 300;
    /* margin-bottom: 40px; */
    color: var(--accent-color);
}

.hero__scroll {
    font-size: 22px;
    margin-top: 40px;
    /* cursor: pointer; */
    transition: var(--transition);
}

.scroll-down {
    animation: bounce 2s infinite;
    /* margin-top: 20px; */
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===== COUNTDOWN SECTION ===== */
.countdown {
    text-align: center;
    padding: 40px 0;
}

.countdown__title {
    font-size: 25px;
    margin-bottom: 40px;
    color: var(--accent-color);
}

.countdown__numbers {
    font-size: 52px;
    margin: 40px 0;
    color: var(--accent-color);
    font-weight: 300;
}

.countdown__labels {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.countdown__label {
    font-size: 18px;
    color: var(--accent-color);
    min-width: 80px;
}

/* ===== TIMELINE SECTION ===== */
.timeline {
    background-color: var(--text-light);
    color: var(--text-dark);
    border-radius: var(--border-radius);
    padding: 60px 40px;
    margin: 40px auto;
    max-width: 800px;
    position: relative;
}

.timeline__title {
    font-size: 26px;
    margin-bottom: 30px;
    text-align: center;
}

.timeline__date {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 400;
}

.timeline__content {
    /* display: grid; */
    /* grid-template-columns: 1fr auto 1fr; */
    /* gap: 20px; */
    /* align-items: start; */
}

.timeline__events {
    font-size: 17px;
    line-height: 1.8;
}

/* Styles pour le tableau de la timeline */
.timeline-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

.timeline-table td {
    padding: 8px 0;
    vertical-align: top;
}

.timeline-time {
    width: 80px;
    padding-right: 20px;
    text-align: right;
    font-size: 17px;
}

.timeline-event {
    font-weight: normal;
    color: var(--text-dark);
    font-size: 17px;
}

.timeline-location {
    color: var(--text-dark);
    font-style: italic;
    font-size: 15px;
    padding-left: 100px;
    opacity: 0.8;
}

.timeline__locations {
    font-size: 15px;
    line-height: 1.8;
    text-align: center;
}

/* ===== DRESS CODE SECTION ===== */
.dress-code {
    padding: 50px 0;
    text-align: center;
    position: relative;
}

.dress-code__title {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 40px;
    color: var(--accent-color);
}

.dress-code__description {
    font-size: 17px;
    margin-bottom: 40px;
    color: var(--accent-color);
}

.dress-code__colors {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.color-square {
    width: 54px;
    height: 54px;
    border-radius: 5px;
    display: inline-block;
    transition: var(--transition);
    border: 2px solid white;
}

.color-square {
    position: relative;
    cursor: pointer;
}

.color-square:hover {
    transform: scale(1.1);
}

.color-square__tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.color-square__tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--text-dark);
}

.color-square__tooltip.show {
    opacity: 1;
    visibility: visible;
}

.color-beige { background-color: #e8dcca; } /*Beige*/
.color-pink { background-color: #FFC9C9; } /*Rose clair*/
.color-brown { background-color: #5f4a2d; } /*Marron terre*/
.color-dark-green { background-color: #7b815d; } /*Vert olive*/

.dress-code__details {
    background-color: var(--text-light);
    color: var(--text-dark);
    border-radius: var(--border-radius);
    padding: 40px;
    margin: 40px auto;
    max-width: 800px;
}

.dress-code__subtitle {
    font-size: 26px;
    margin-bottom: 20px;
    text-align: center;
}

.dress-code__text {
    font-size: 17px;
    margin-bottom: 30px;
}

/* ===== DRESS CODE EXAMPLES ===== */
.dress-code__examples {
    margin-top: 40px;
}

.dress-code__examples-title {
    font-size: 22px;
    margin-bottom: 25px;
    font-weight: 400;
    color: var(--text-dark);
}

.dress-code__examples-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
    align-items: center;
}

.dress-code__examples-row {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.dress-code__examples-row--single {
    justify-content: center;
}

.dress-code__examples-row--double {
    justify-content: center;
}

.dress-example {
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

/* Animation cascade pour les photos de tenues */
.dress-example--animated {
    animation: fadeInUp 0.6s ease forwards;
}

.dress-example--1 { animation-delay: 0.1s; }
.dress-example--2 { animation-delay: 0.2s; }
.dress-example--3 { animation-delay: 0.3s; }
.dress-example--4 { animation-delay: 0.4s; }
.dress-example--5 { animation-delay: 0.5s; }
.dress-example--6 { animation-delay: 0.6s; }
.dress-example--7 { animation-delay: 0.7s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dress-example:hover {
    transform: translateY(-5px);
}

.dress-example__image {
    width: 100%;
    height: auto;
    max-width: 250px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.dress-example__image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.dress-code__examples-row--single .dress-example__image {
    max-width: 530px; /* 2x250px + 30px de gap */
}

/* Responsive pour les images de tenues */
@media screen and (max-width: 768px) {
    .dress-example__image {
        max-width: 100%;
        width: auto;
        height: auto;
    }
    
    .dress-code__examples-row--single .dress-example__image {
        max-width: 100%;
    }
    
    .dress-code__examples-grid {
        width: 100%;
        padding: 0 20px;
    }
    
    .dress-code__examples-row {
        width: 100%;
        flex-wrap: wrap;
    }
}

.dress-example__image:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}

/* ===== RSVP FORM ===== */
.rsvp {
    background-color: var(--text-light);
    color: var(--text-dark);
    border-radius: var(--border-radius);
    padding: 60px 40px;
    margin: 150px auto;
    max-width: 800px;
    position: relative;
}

.rsvp__title {
    font-size: 26px;
    text-align: center;
    margin-bottom: 40px;
}

.rsvp__image {
    width: 100%;
    height: 500px;
    background-image: url('images/frame4.png');
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
}

/* ===== FORM STYLES ===== */
.t-form {
    font-family: var(--font-primary);
}

.t-input-group {
    margin-bottom: 20px;
}

.t-input-title {
    color: var(--text-dark);
    font-size: 16px;
    font-family: var(--font-primary);
    margin-bottom: 8px;
    display: block;
}

.t-input {
    font-family: var(--font-primary);
    background-color: var(--text-light);
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    padding: 15px;
    color: var(--text-dark);
    width: 100%;
    transition: var(--transition);
}

.t-input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.t-input::placeholder {
    color: var(--text-dark);
    opacity: 0.7;
}

/* Styles pour le textarea */
.t-input-group_text .t-input {
    min-height: 80px;
    resize: vertical;
    font-family: var(--font-primary);
}

/* Styles pour le champ téléphone */
.t-input-group_tel .t-input {
    font-family: var(--font-primary);
}

/* Amélioration de l'espacement entre les groupes de champs */
.t-input-group {
    margin-bottom: 25px;
}

.t-radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.t-radio-group label {
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.t-radio-group label:hover {
    color: var(--accent-color);
}

.t-radio-group input[type="radio"] {
    accent-color: var(--accent-color);
    transform: scale(1.2);
}

.t-submit {
    font-family: var(--font-primary);
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
    width: 100%;
    margin-top: 20px;
}

.t-submit:hover {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

.js-successbox {
    display: none;
    color: var(--text-dark);
    text-align: center;
    margin-top: 15px;
    padding: 15px;
    background-color: #d4edda;
    border-radius: 5px;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background-color: var(--text-light);
    color: var(--text-dark);
    border-radius: var(--border-radius);
    padding: 40px;
    margin: 40px auto;
    max-width: 800px;
    position: relative;
}

.contact__title {
    font-size: 26px;
    margin-bottom: 20px;
    text-align: center;
}

.contact__info {
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
}

.contact__phone {
    font-weight: bold;
    color: var(--accent-color);
}

/* ===== MAP SECTION ===== */
.map-section {
    text-align: center;
    padding: 80px 0;
}

.map-section__title {
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--accent-color);
}

.map-section__iframe {
    width: 100%;
    max-width: 600px;
    height: 400px;
    border: 0;
    border-radius: var(--border-radius);
    margin: 0 auto 40px;
    display: block;
}

.map-section__directions {
    text-align: center;
    margin-top: 20px;
}

.map-section__directions-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: linear-gradient(135deg, var(--accent-color), #d4b87a);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--accent-color);
}

.map-section__directions-link:hover {
    background: linear-gradient(135deg, #d4b87a, var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(226, 205, 150, 0.3);
}

.map-section__directions-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ===== FINAL SECTION ===== */
.final {
    text-align: center;
    padding: 80px 0;
}

.final__text {
    font-size: 26px;
    color: var(--accent-color);
}

/* ===== DECORATIVE ELEMENTS ===== */
.decorative-image {
    position: absolute;
    z-index: 1;
    opacity: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.decorative-image--top-left {
    top: 10px;
    left: 10px;
    width: 120px;
    height: 120px;
}

.decorative-image--top-right {
    top: 10px;
    right: 10px;
    width: 120px;
    height: 120px;
}

.decorative-image--bottom-left {
    bottom: -100px;
    right: -80px;
    width: 200px;
    height: 160px;
}

.decorative-image--bottom-right {
    bottom: 10px;
    right: 10px;
    width: 120px;
    height: 120px;
}

.decorative-image--center-left {
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
}

.decorative-image--center-right {
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
}

.number {
	width: 10%;
}

/* ===== ANIMATIONS ===== */
.t-animate {
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    transform: translateY(30px);
}

.t-animate_started {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 768px) {
    .hero__names {
        font-size: 48px;
    }
    
    .hero__date {
        font-size: 24px;
    }
    
    .countdown__numbers {
        font-size: 36px;
    }
    
    .countdown__labels {
        /* flex-direction: column; */
        gap: 10px;
    }
    
    .timeline__content {
        /* grid-template-columns: 1fr; */
        /* gap: 10px; */
    }
    
    .dress-code__colors {
        gap: 10px;
    }
    
    .dress-code__examples-grid {
        gap: 20px;
        width: 100%;
        padding: 0 20px;
    }
    
    .dress-code__examples-row {
        gap: 20px;
        width: 100%;
        flex-wrap: wrap;
    }
    
    .dress-example__image {
        max-width: 100%;
        width: auto;
        height: auto;
    }
    
    .dress-code__examples-row--single .dress-example__image {
        max-width: 100%;
    }
    
    .section--content {
        padding: 40px 20px;
        margin: 20px;
    }
    
    .rsvp {
        padding: 40px 20px;
        margin: 10px;
		margin-top: 150px;
    }
    
    .contact {
        padding: 30px 20px;
        margin: 20px;
    }
	.timeline__events {
		font-size: 16px;
		line-height: 1.8;
	}
	
	.number {
		width: 30%;
	}

}

@media screen and (max-width: 480px) {
    .hero__names {
        font-size: 36px;
    }
    
    .countdown__numbers {
        font-size: 42px;
    }
    
    .dress-code__title {
        font-size: 36px;
    }
    
    .dress-code__examples-grid {
        gap: 15px;
        width: 100%;
        padding: 0 15px;
    }
    
    .dress-code__examples-row {
        gap: 15px;
        width: 100%;
        flex-wrap: wrap;
    }
    
    .dress-example__image {
        max-width: 100%;
        width: auto;
        height: auto;
    }
    
    .dress-code__examples-row--single .dress-example__image {
        max-width: 100%;
    }
    
    .dress-code__examples-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .decorative-image {
        /* display: none; */
    }
	
	.timeline__events {
		font-size: 16px;
		line-height: 1.8;
	}
	
	.number {
		width: 30%;
	}
    

}

/* ===== PHOTO UPLOAD STYLES ===== */
.photo-upload-container {
    position: relative;
    width: 100%;
}

.photo-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    overflow: hidden;
}

.photo-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--accent-color), #d4b87a);
    color: var(--text-dark);
    border: 2px solid var(--accent-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    text-align: center;
    min-height: 60px;
}

.photo-upload-label:hover {
    background: linear-gradient(135deg, #d4b87a, var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(226, 205, 150, 0.3);
}

.photo-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.photo-preview {
    position: relative;
    margin-top: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#preview-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 300px;
    object-fit: cover;
}

.photo-remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.photo-remove-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.photo-remove-btn svg {
    width: 18px;
    height: 18px;
}

.photo-help-text {
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-light);
    opacity: 0.8;
    text-align: center;
    font-style: italic;
}

/* Responsive pour le champ photo */
@media screen and (max-width: 768px) {
    .photo-upload-label {
        padding: 12px 16px;
        min-height: 50px;
        font-size: 14px;
    }
    
    .photo-icon {
        width: 20px;
        height: 20px;
    }
    
    .photo-preview {
        max-width: 250px;
    }
    
    /* Responsive pour le tableau de la timeline */
    .timeline-time {
        width: 60px;
        padding-right: 15px;
        font-size: 16px;
    }
    
    .timeline-event {
        font-size: 16px;
    }
    
    .timeline-location {
        padding-left: 75px;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .photo-upload-label {
        padding: 10px 14px;
        min-height: 45px;
        font-size: 13px;
    }
    
    .photo-icon {
        width: 18px;
        height: 18px;
    }
    
    .photo-preview {
        max-width: 200px;
    }
    
    /* Responsive pour le tableau de la timeline sur très petits écrans */
    .timeline-table {
        font-size: 14px;
    }
    
    .timeline-time {
        width: 50px;
        padding-right: 10px;
        font-size: 14px;
    }
    
    .timeline-event {
        font-size: 14px;
    }
    
    .timeline-location {
        padding-left: 60px;
        font-size: 12px;
    }
}

/* ===== POP-IN DE FIN ===== */
.end-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.end-popup.show {
    opacity: 1;
    visibility: visible;
}

.end-popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(41, 47, 56, 0.9);
    backdrop-filter: blur(5px);
}

.end-popup__content {
    position: relative;
    background: linear-gradient(135deg, #f8f0ed 0%, #e8dcc6 100%);
    color: var(--text-dark);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s ease;
    border: 3px solid var(--accent-color);
}

.end-popup.show .end-popup__content {
    transform: scale(1) translateY(0);
}

.end-popup__title {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--text-dark);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.end-popup__message {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-dark);
    font-style: italic;
}

.end-popup__button {
    background: linear-gradient(135deg, var(--accent-color) 0%, #d4b877 100%);
    color: var(--text-dark);
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    box-shadow: 0 4px 15px rgba(226, 205, 150, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.end-popup__button:hover {
    background: linear-gradient(135deg, #d4b877 0%, var(--accent-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(226, 205, 150, 0.4);
}

.end-popup__button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(226, 205, 150, 0.3);
}

/* ===== CHAMPS CONDITIONNELS DU FORMULAIRE ===== */
.form-conditional-field {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-bottom: 0;
}

.form-conditional-field.show {
    opacity: 1;
    max-height: 500px;
    margin-bottom: 20px;
}

.form-conditional-field.show .t-input-group_rd,
.form-conditional-field.show .t-input-group_tel,
.form-conditional-field.show .t-input-group_text,
.form-conditional-field.show .t-input-group_photo {
    transform: translateY(0);
    opacity: 1;
}

.form-conditional-field .t-input-group_rd,
.form-conditional-field .t-input-group_tel,
.form-conditional-field .t-input-group_text,
.form-conditional-field .t-input-group_photo {
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
}

/* Responsive pour la pop-in */
@media (max-width: 768px) {
    .end-popup__content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .end-popup__title {
        font-size: 24px;
    }
    
    .end-popup__message {
        font-size: 15px;
    }
    
    .end-popup__button {
        padding: 12px 25px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .end-popup__content {
        padding: 25px 15px;
        margin: 15px;
    }
    
    .end-popup__title {
        font-size: 22px;
    }
    
    .end-popup__message {
        font-size: 14px;
    }
    
    .end-popup__button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.hidden { display: none; }
.visible { display: block; } 