:root {
            --primary: #1a1a2e;
            --secondary: #16213e;
            --accent: #fca311;
            --light: #e6e6e6;
            --white: #ffffff;
            --error: #e63946;
        }
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        /* LOGO NEXTSYS PARTE DE BAIXO*/
        /*footer{ 
            background-color: red;
            text-align: center;
            position: fixed;
            height: 100%;
            width: 100%;
        }
        .foto2{
            position: fixed;
            height:200px; 
            width:auto;}*/
        body {
            background-color: var(--light);
            color: var(--primary);
            line-height: 1.6;
            font-size: 16px;
        }     
        .container {
            max-width: 100%;
            width: 100%;
            margin: 0 auto;
            padding: 15px;
        }
        
        header {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: var(--white);
            padding: 20px 0;
            text-align: center;
            border-bottom: 3px solid var(--accent);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .logo-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 5px;
        }
        .logo {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-weight: bold;
            font-size: 24px;
            margin-bottom: 10px;
        }
        .foto{
            height:200px; 
            width:auto;
        }
        
        h1 {
            font-size: 22px;
            margin-bottom: 5px;
        }
        
        .step-indicator {
            display: flex;
            justify-content: space-between;
            margin: 25px 0;
            position: relative;
        }
        
        .step-indicator:before {
            content: '';
            position: absolute;
            top: 15px;
            left: 0;
            right: 0;
            height: 3px;
            background-color: #ddd;
            z-index: 1;
        }
        
        .step {
            display: flex;
            flex-direction: column;
            align-items: center;
            z-index: 2;
        }
        
        .step-number {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background-color: var(--white);
            color: #777;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin-bottom: 8px;
            border: 3px solid #ddd;
            transition: all 0.3s;
        }
        
        .step.active .step-number {
            background-color: var(--accent);
            color: var(--white);
            border-color: var(--accent);
            transform: scale(1.1);
        }
        
        .step.completed .step-number {
            background-color: var(--secondary);
            color: var(--white);
            border-color: var(--secondary);
        }
        
        .step-text {
            font-size: 12px;
            color: #777;
            text-align: center;
            font-weight: 500;
            max-width: 60px;
            word-break: break-word;
        }
        
        .step.active .step-text {
            color: var(--accent);
            font-weight: bold;
        }
        
        .step.completed .step-text {
            color: var(--secondary);
        }
        
        .step-panel {
            display: none;
            animation: fadeIn 0.4s ease-out;
            margin-bottom: 20px;
        }
        
        .step-panel.active {
            display: block;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(15px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        h2 {
            font-size: 18px;
            margin-bottom: 18px;
            color: var(--primary);
            position: relative;
            padding-bottom: 8px;
        }
        
        h2:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background-color: var(--accent);
        }
        
        .service-options {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px;
            margin-bottom: 20px;
        }
        
        .service-option {
            background-color: var(--white);
            border-radius: 10px;
            padding: 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 3px 6px rgba(0,0,0,0.08);
            border: 1px solid #fae7e7;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .service-option:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.12);
        }
        
        .service-option.selected {
            border-color: var(--accent);
            background-color: rgba(252, 163, 17, 0.08);
            transform: scale(1.02);
        }
        
        .service-info {
            flex: 1;
        }
        
        .service-name {
            font-weight: bold;
            margin-bottom: 6px;
            color: var(--primary);
        }
        
        .service-duration {
            font-size: 13px;
            color: #666;
            display: flex;
            align-items: center;
        }
        
        .service-duration:before {
            content: '⏱';
            margin-right: 5px;
        }
        
        .service-price {
            font-weight: bold;
            color: var(--accent);
            font-size: 18px;
        }
        
        .calendar-container {
            background-color: var(--white);
            border-radius: 10px;
            padding: 16px;
            box-shadow: 0 3px 6px rgba(0,0,0,0.08);
            margin-bottom: 20px;
        }
        
        .month-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 18px;
        }
        
        .month-title {
            font-weight: bold;
            font-size: 16px;
            color: var(--primary);
        }
        
        .nav-btn {
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
            color: var(--primary);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }
        
        .nav-btn:hover {
            background-color: rgba(0,0,0,0.05);
        }
        
        .weekdays {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            text-align: center;
            margin-bottom: 12px;
            font-weight: bold;
            font-size: 14px;
            color: #666;
        }
        
        .days {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 6px;
        }
        
        .day {
            aspect-ratio: 1/1;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.2s;
            font-weight: 500;
            position: relative;
        }
        
        .day.today {
            font-weight: bold;
            color: var(--accent);
        }
        
        .day.today:after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 50%;
            transform: translateX(-50%);
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background-color: var(--accent);
        }
        
        .day:hover:not(.disabled):not(.invalid) {
            background-color: rgba(252, 163, 17, 0.2);
        }
        
        .day.selected {
            background-color: var(--accent);
            color: white;
            font-weight: bold;
            transform: scale(1.1);
        }
        
        .day.weekend {
            font-weight: bold;
            color: var(--primary);
        }
        
        .day.disabled {
            color: #ddd;
            cursor: not-allowed;
        }
        
        .day.invalid {
            color: #ddd;
            cursor: not-allowed;
            background-color: #f9f9f9;
        }
        
        .time-slots-container {
            margin-top: 20px;
        }
        
        .time-slots-title {
            font-size: 16px;
            margin-bottom: 12px;
            color: var(--primary);
        }
        
        .time-slots {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }
        
        .time-slot {
            background-color: var(--white);
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            padding: 12px 8px;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s;
            font-weight: 500;
        }
        
        .time-slot:hover:not(.unavailable) {
            transform: translateY(-2px);
            box-shadow: 0 3px 6px rgba(0,0,0,0.1);
            border-color: var(--accent);
        }
        
        .time-slot.selected {
            background-color: var(--accent);
            color: white;
            border-color: var(--accent);
            transform: translateY(-2px) scale(1.05);
        }
        
        .time-slot.unavailable {
            background-color: #f8f8f8;
            color: #ccc;
            cursor: not-allowed;
            position: relative;
        }
        
        .time-slot.unavailable:after {
            content: '✖';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 24px;
            opacity: 0.3;
        }
        
        .form-group {
            margin-bottom: 18px;
        }
        
        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--primary);
        }
        
        input, select {
            width: 100%;
            padding: 14px;
            border: 1px solid #ffffff;
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.2s;
        }
        
        input:focus, select:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(252, 163, 17, 0.2);
        }
        
        .btn {
            display: inline-block;
            padding: 14px 20px;
            background-color: var(--accent);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            text-align: center;
            width: 100%;
            margin-top: 10px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .btn:hover {
            background-color: #e69500;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        }
        
        .btn:active {
            transform: translateY(0);
        }
        
        .btn-secondary {
            background-color: var(--secondary);
        }
        
        .btn-secondary:hover {
            background-color: #111a33;
        }
        
        .btn:disabled {
            background-color: #ccc;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        
        .navigation-buttons {
            display: flex;
            gap: 12px;
            margin-top: 25px;
        }
        
        .navigation-buttons .btn {
            flex: 1;
        }
        
        .confirmation {
            background-color: var(--white);
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 3px 6px rgba(0,0,0,0.08);
            margin-bottom: 20px;
        }
        
        .confirmation-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 14px;
            padding-bottom: 14px;
            border-bottom: 1px solid #eee;
        }
        
        .confirmation-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        
        .confirmation-label {
            font-weight: bold;
            color: var(--primary);
        }
        
        .confirmation-value {
            color: #555;
            text-align: right;
            max-width: 60%;
        }
        
        .error-message {
            color: var(--error);
            font-size: 14px;
            margin-top: 5px;
            display: none;
        }
        
        .whatsapp-btn {
            background-color: #25D366;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        
        .whatsapp-btn:hover {
            background-color: #128C7E;
        }
        
        .whatsapp-icon {
            font-size: 20px;
        }
        .hidden {
            display: none;
        }
        
        /* Loading state */
        .loading {
            position: relative;
            overflow: hidden;
        }
        
        .loading:after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(255,255,255,0.7);
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        /* Responsive adjustments */
        @media (min-width: 400px) {
            .time-slots {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        @media (min-width: 500px) {
            .container {
                max-width: 500px;
                padding: 20px;
            }
            
            .service-options {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .time-slots {
                grid-template-columns: repeat(4, 1fr);
            }
        }